doc: fix StarFive VisionFive v2 documentation

The number of the partition that U-Boot SPL loads the main U-Boot from is
defined as 2 by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2. The
partition type GUID is not used currently.

Reword the description of the boot process to make it clearer.

Fixes: 5ecf9b0b8a75 ("board: starfive: add StarFive VisionFive v2 board support")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt 2023-05-01 14:20:48 +02:00
parent e942fabe8a
commit eb59b9e88b

View File

@ -81,14 +81,19 @@ This will generate u-boot-spl.bin.normal.out file.
Flashing Flashing
~~~~~~~~ ~~~~~~~~
SPL loads the U-Boot SPL (u-boot-spl.bin.normal.out) from a partition with GUID type The device firmware loads U-Boot SPL (u-boot-spl.bin.normal.out) from the
2E54B353-1271-4842-806F-E436D6AF6985 partition with type GUID 2E54B353-1271-4842-806F-E436D6AF6985. You are free
to choose any partition number.
U-Boot SPL expects a U-Boot FIT image (u-boot.itb) from a partition with GUID With the default configuration U-Boot SPL loads the U-Boot FIT image
type BC13C2FF-59E6-4262-A352-B275FD6F7172 (u-boot.itb) from partition 2 (CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2).
When formatting it is recommended to use GUID
BC13C2FF-59E6-4262-A352-B275FD6F7172 for this partition.
FIT image (u-boot.itb) is a combination of fw_dynamic.bin, u-boot-nodtb.bin and The FIT image (u-boot.itb) is a combination of OpenSBI's fw_dynamic.bin,
device tree blob (jh7110-starfive-visionfive-2-v1.3b.dtb/jh7110-starfive-visionfive-2-v1.2a.dtb) u-boot-nodtb.bin and the device tree blob
(jh7110-starfive-visionfive-2-v1.3b.dtb or
jh7110-starfive-visionfive-2-v1.2a.dtb).
Format the SD card (make sure the disk has GPT, otherwise use gdisk to switch) Format the SD card (make sure the disk has GPT, otherwise use gdisk to switch)
@ -119,7 +124,9 @@ Program the SD card
Booting Booting
~~~~~~~ ~~~~~~~
Change DIP switches MSEL[1:0] are set to 10, select the boot mode to SD. The board provides the DIP switches MSEL[1:0] to select the boot device.
To select booting from SD-card set the DIP switches MSEL[1:0] to 10.
Once you plugin the sdcard and power up, you should see the U-Boot prompt. Once you plugin the sdcard and power up, you should see the U-Boot prompt.
Sample boot log from StarFive VisionFive2 board Sample boot log from StarFive VisionFive2 board