517f032992
Builds the spi-nor.img together with the sdcard.img. Readme is extended with SPI NOR flash writing instructions and recovery. The spi-nor.img layout is based on the following document: https://doc-en.rvspace.org/VisionFive2/Boot_UG/JH7110_SDK/boot_address_allocation.html Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com> [Arnout: extend readme.txt with paragraph that either boot mode works.] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
BR2_riscv=y
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_ROOTFS_OVERLAY="board/visionfive2/overlay"
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/visionfive2/post-image.sh"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.2"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/visionfive2/linux_defconfig"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7110-starfive-visionfive-2-v1.3b"
|
|
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_TARGET_OPENSBI=y
|
|
BR2_TARGET_OPENSBI_CUSTOM_VERSION=y
|
|
BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.4"
|
|
BR2_TARGET_OPENSBI_PLAT="generic"
|
|
# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
|
|
BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES="FW_TEXT_START=0x40000000 FW_OPTIONS=0"
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.04"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_visionfive2"
|
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
|
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
|
|
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
|
|
BR2_TARGET_UBOOT_SPL=y
|
|
BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin.normal.out"
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|