RISC-V Adventures, Part 2
Prerequisites
- StarFive VisionFive 2 (Super Early Bird edition in my case)
- version 2.5.0 of the bootloader software
Process
scp -O u-boot-spl.bin.normal.out visionfive2_fw_payload.img scp://root@192.168.1.195:22
- Verify the mtd layout
# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00001000 "spl"
mtd1: 00300000 00001000 "uboot"
mtd2: 00100000 00001000 "data"
- Update firmware:
# flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
Erasing blocks: 32/32 (100%)
Writing data: 124k/124k (100%)
Verifying data: 124k/124k (100%)
# flashcp -v visionfive2_fw_payload.img /dev/mtd1
Erasing blocks: 682/682 (100%)
Writing data: 2727k/2727k (100%)
Verifying data: 2727k/2727k (100%)
- Now you can boot the Image-69 Debian
Things to note:
- Logging in to a graphical session as root is not recommended, there's actually an undocumented user in the image, with the creative name user, using the same password ('starfive')
- At the very first login, it will fail. This is a known issue, they will probably fix it at some point, just log in one more time.
And that's it. Next time, actual building of stuff.