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

Locate the JH7110 Software Development Kit (SDK) with the following information.The U-boot DTS file is in the following path:
freelight-u-sdk/u-boot/arch/riscv/dts/jh7110-u-boot.dtsi

For 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.

Table 1. 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