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:
Fengwei Tan
2026-09-19 18:29:04 +08:00
committed by Thomas Petazzoni
parent 98aa14a186
commit 0df986a59b
2 changed files with 3 additions and 2 deletions

View File

@@ -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