U-Boot Driver
For the JH-7110 SoC platform, U-Boot is not only used for system bring-up, but also for burning and upgrading.
A U-Boot program usually has the following functions.
- Boot the kernel:
Load image from storage media nand/mmc/spinor to DRAM and run.
- Mass-production and upgrading:
Mass-production of cards, USB sticks, private data burning and firmware upgrade.
- Fast-boot:
Use standard fast-boot commands to flash images on boards.
U-Boot Device Tree
-
Repository: https://github.com/starfive-tech/VisionFive2
-
Branch: JH7110_VisionFive2_devel
-
Tag: Select the newest tag. For example, VF2_v2.11.5 is newer than VF2_v2.10.10.
freelight-u-sdk/u-boot/arch/riscv/dts/jh7110-u-boot.dtsiFor JH-7110 EVB, use the following DTS file: starfive_evb-u-boot.dtsi.
For VisionFive 2, use the following DTS file: starfive_visionfive2-u-boot.dtsi.
Make sure you reference the correct file for configurations. The following table lists an example of the configuration options.
| Configuration Item | Option |
|---|---|
| CONFIG_DEFAULT_DEVICE_TREE | jh7110.dtsi |
| CONFTG_TARGET_STARFIVE_EVB | jh7110-evb.dts |
| CONFTG_TARGET_STARFIVE_VISIONFIVE | jh7110-visionfive-v2.dts |