704c62bbc5
Add a defconfig for the Starfive VisionFive2 board, a board built around the Starfive JH7110 RISC-V 64bit SoC. This board comes with functional lowlevel and U-Boot bootloaders in SPI flash. The defconfig reuses these and only builds a (5.15 based) kernel and rootfs. The factory shipped U-Boot is hard coded to look at MMC partition 3. Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com> [Peter: add to DEVELOPERS] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
808 B
Plaintext
19 lines
808 B
Plaintext
BR2_riscv=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_OVERLAY="board/visionfive2/overlay"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/visionfive/genimage.cfg"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,7b7b4eddd8d5ae55f6e0ee09b93e16e23ab4f97b)/linux-7b7b4eddd8d5ae55f6e0ee09b93e16e23ab4f97b.tar.gz"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="starfive_visionfive2"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7110-visionfive-v2"
|
|
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|