Quick Start Guide
5 Appendix B: Updating Firmware and u-boot
www.starfivetech.com
Page 30
V1.1 (2022-03-01)
TFTP_DIRECTORY
refers to the directory to store
bootloader
,
ddr init
, and
u-
boot
files.
Step 6
Restart the tftp server by executing:
sudo systemctl restart tftpd-hpa
Step 7
Power on the VisionFive and wait until it enters the u-boot mode.
Step 8
Configure the environment variables by executing:
setenv ipaddr 192.168.120.200;setenv serverip 192.168.120.12
Generally, the default IP of a router is
192.168.120.1
. In this case, use the server
IP as the IP assigned by the DHCP server of the router and use the VisionFive IP as
. However, if your router IP is different (for example,
192.168.2.1
), make sure the server IP and VisionFive IP are in the same IP domain
).
Step 9
Check the connectivity by pinging the host PC from VisionFive:
Example Command:
ping 192.168.120.12
Result:
The following output indicates that the host PC and VisionFive has established com-
munication on the same network.
Figure 5-21
Example Output
Step 10
Connect to SPI Flash:
sf probe
Example Output
:
Figure 5-22
Example Output
Information:
In the commands of the following step 9 to 11:
0x90000000
refers to the ddr address
192.168.120.12
refers to the tftp server IP
0x0
refers to the SPI flash offset for bootloader.
0x10000
refers to the SPI flash offset for ddrinit.
0x40000
refers to the SPI flash offset for u-boot.
If VisionFive fails to boot up after restart, refer to the
StarFive