Updating SPL and U-Boot
To update SPL and U-Boot for JH-7110 DevKit, perform the following steps:
- Prepare the TFTP server. The following is an example command for Ubuntu
distribution.
sudo apt install tftpd-hpa
Note: For instructions to deploy the TFTP server, refer to the step 2 to step 6 in Using Ethernet section of the VisionFive Single Board Computer Quick Start Guide. - Power on JH-7110 DevKit and wait until it enters the U-Boot command line interface.
- Configure the environment variables by
executing:
StarFive # setenv ipaddr 192.168.120.222;setenv serverip 192.168.120.99
- Check the connectivity by pinging the host PC from JH-7110 DevKit.
- Initialize SPI
flash:
StarFive # sf probe
- Update SPL
binary:
StarFive # tftpboot 0xa0000000 ${serverip}:u-boot-spl.bin.normal.out StarFive # sf update 0xa0000000 0x0 $filesize
- Update U-Boot
binary:
StarFive # tftpboot 0xa0000000 ${serverip}:devkits_fw_payload.img StarFive # sf update 0xa0000000 0x100000 $filesize