mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
board/visionfive2, configs/visionfive2: add support for v1.2a board
There are two revisions of the VisionFive 2: v1.2a and v1.3b. The main difference between them is that v1.2a has one Gigabit Ethernet port and one Fast Ethernet port, while v1.3b has two Gigabit Ethernet ports. Unless explicitly set, U-Boot automatically sets $fdtfile based on the EEPROM product data during initialization, enabling <fdtdir>/<fdtfile> to be loaded via extlinux.conf. Additionally, since $fdtfile contains the directory name, preserve the directory structure of the DTBs when copying them to the target directory. Signed-off-by: Fengwei Tan <tfx2001@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
98aa14a186
commit
0df986a59b
@@ -1,4 +1,4 @@
|
||||
label linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/jh7110-starfive-visionfive-2-v1.3b.dtb
|
||||
fdtdir /boot
|
||||
append console=ttyS0,115200 root=/dev/mmcblk1p1 rootwait
|
||||
|
||||
@@ -11,7 +11,8 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.51"
|
||||
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_INTREE_DTS_NAME="starfive/jh7110-starfive-visionfive-2-v1.2a starfive/jh7110-starfive-visionfive-2-v1.3b"
|
||||
BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
|
||||
Reference in New Issue
Block a user