3cc157e2e3
Add a defconfig for the Starfive VisionFive board, a board built around the Starfive JH7100 RISC-V 64bit SoC (same as Beaglev). This board comes with functional lowlevel and U-Boot bootloaders in SPI flash. The defconfig reuses these and only builds a (6.0 based) kernel and rootfs. The factory shipped U-Boot is hard coded to look at MMC partition 3 and misses some variables, so we provide a uEnv.txt to fix that up, based on what is done in provided Fedora image. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
18 lines
767 B
Plaintext
18 lines
767 B
Plaintext
BR2_riscv=y
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_OVERLAY="board/visionfive/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,cfcb617265422c0af0ae5bc9688dceba2d10b27a)/linux-cfcb617265422c0af0ae5bc9688dceba2d10b27a.tar.gz"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="visionfive"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-starfive-visionfive-v1"
|
|
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_PACKAGE_HOST_GENIMAGE=y
|