9a1bd7cc1c
Update the commit id for u-boot to include fixes from the starfive-tech u-boot repository: 494e5ef7b807 jh7100: Enable full 2M L2 cache 4571f5a4e1e4 vic7100: enable cache ways (L2 cache) abb06422a5cd Remove fdt_high and initrd_high for Starfive 93099a61c7b0 starfive: beaglev: Disable SIFIVE_CLINT and enable RISCV_TIMER bfb5abac3d1f Revert "riscv: Enable the SiFive CLINT block driver in S-Mode(VIC7100 ONLY)" 7b70e1d44ba9 defconfig: enable cache_wayenable for better performance 7c585978616b configs: earlycon=sbi is deprecated The commit abb06422a5cd ("Remove fdt_high and initrd_high for Starfive") has removed the need for buildroot to patch the fdt_addr_r address. Update linux from commit in the old 5.10 branch that Fedora image was using to head of esmil_starlight branch [1] which is currently based on 5.13-rc5 and represents the best kernel for this board [2]. This commit was tagged as buildroot-20210609 because the branch gets rebased regularly. In addition, the updated kernel now has jh7100-beaglev-starlight.dtb so buildroot no longer needs to copy the dtb from u-boot. [1] https://github.com/starfive-tech/linux/tree/esmil_starlight [2] https://github.com/starfive-tech/linux/issues/26 Signed-off-by: Drew Fustini <drew@beagleboard.org> Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [Arnout: add comment to refer to the tag in linux repo] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
BR2_riscv=y
|
|
BR2_riscv_custom=y
|
|
BR2_RISCV_ISA_CUSTOM_RVM=y
|
|
BR2_RISCV_ISA_CUSTOM_RVF=y
|
|
BR2_RISCV_ISA_CUSTOM_RVD=y
|
|
BR2_RISCV_ISA_CUSTOM_RVC=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
# tag buildroot-20210609 of the 5.13 branch (esmil_starlight)
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,83dba1f25dfc118cacec991c31a7a4cfa7405c89)/linux-83dba1f25dfc118cacec991c31a7a4cfa7405c89.tar.gz"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="starlight"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight"
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_BEAGLEV_DDRINIT=y
|
|
BR2_TARGET_BEAGLEV_SECONDBOOT=y
|
|
BR2_TARGET_OPENSBI=y
|
|
BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y
|
|
# HEAD of the Fedora branch
|
|
BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,opensbi,2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5)/opensbi-2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5.tar.gz"
|
|
BR2_TARGET_OPENSBI_PLAT="starfive/vic7100"
|
|
# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set
|
|
# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
|
|
BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
|
# HEAD of the starfive-tech:Fedora_VIC_7100_2021.04 branch
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,494e5ef7b8071d0b2fba50616d97771e44cbcb7c)/uboot-494e5ef7b8071d0b2fba50616d97771e44cbcb7c.tar.gz"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode"
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_JH71XX_TOOLS=y
|