Comment # 13 on bug 1208173 from
(In reply to Aaron Puchert from comment #12)
> So I can see that there is a package u-boot-starfivevisionfive2 with
> 
> /boot/u-boot-spl.bin
> /boot/u-boot.itb
> 
> Presumably I should flash the former (smaller) file in place of the SDK's
> u-boot-spl.bin.normal.out at 0x0 and the second in place of
> visionfive2_fw_payload.img at 0x100000?

Probably not,
/usr/share/doc/packages/u-boot-starfivevisionfive2-doc/starfive/visionfive2.rst
says

> u-boot-spl.bin cannot be used directly on StarFive VisionFive2,we need
> to convert the u-boot-spl.bin to u-boot-spl.bin.normal.out with
> the below command:
> 
>         ./spl_tool -c -f $(Uboot_PATH)/spl/u-boot-spl.bin

Do we also ship this script somewhere? Or might we directly ship
u-boot-spl.bin.normal.out? Later it suggests

> sf probe
> fatload mmc 1:3 $kernel_addr_r u-boot.itb
> sf update $kernel_addr_r 0x100000 $filesize
> 
> fatload mmc 1:3 $kernel_addr_r u-boot-spl.bin.normal.out
> sf update $kernel_addr_r 0x0 $filesize

So u-boot.itb can apparently replace visionfive2_fw_payload.img despite being a
lot smaller?


You are receiving this mail because: