StarFive VisionFive 2 Notes

Failed to load DTB

Booting from Image 69 gave me this:

Failed to load '/boot/dtbs/starfive/starfive_visionfive2.dtb'
kernel_comp_addr_r or kernel_comp_size is not provided!

I found the discussion here.

Rather than any of the fixes listed there, you can “fix” this by interrupting u-boot and setting the following variables:

setenv fdtfile starfive/jh7110-visionfive-v2.dtb
setenv kernel_comp_addr_r 0x50000000
setenv kernel_comp_size 0x1000000
saveenv

The you can boot with:

run bootcmd