RISC-V Adventures, Part 2

2023-01-15systemsrisc-vembeddedvisionfive

pic

Prerequisites

Process

scp -O u-boot-spl.bin.normal.out visionfive2_fw_payload.img scp://root@192.168.1.195:22
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00001000 "spl"
mtd1: 00300000 00001000 "uboot"
mtd2: 00100000 00001000 "data"
# 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%)

Things to note:

debian

And that's it. Next time, actual building of stuff.

Sources