risc-v: updating vision-five2 firmware

1. Go to https://github.com/starfive-tech/VisionFive2/releases
2. Download the sdcard.img and flash an SD with it; boot the board;
3. Download the visionfive2_fw_payload.img and u-boot-spl.bin.normal.out directly on the board;
# flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
Erasing blocks: 32/32 (100%)
Writing data: 127k/127k (100%)
Verifying data: 127k/127k (100%)

# flashcp -v visionfive2_fw_payload.img /dev/mtd1
Erasing blocks: 683/683 (100%)
Writing data: 2731k/2731k (100%)
Verifying data: 2731k/2731k (100%)

NOTE: Before you reboot make sure ALL of the commands are SUCCEEDED, otherwise you need to debug the root cause BEFORE rebooting the board.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s