VisionFive 2 Debian Image Released

@Maztitos, I am not sure about HDMI, I have used serial console only.
And in this step it will not boot, because you still need to set kernel_comp_addr_r and kernel_comp_size, this is why only RED light is present.
If you are not able to use serial console probably it is not possible to enter u-boot commands.

Anyway, I have tried to flash old firmware to reproduce issue and try to fix with buildroot image.
There is advantage that you do not need to use serial console but instead ssh to client instead so maybe it is easier!

So the steps are:

  1. Go to VisionFive2 SDK releases:
    Releases · starfive-tech/VisionFive2 · GitHub
  2. From newest SDK (atm 2.6.0) assets download:
    sdcard.img
    u-boot-spl.bin.normal.out
    visionfive2_fw_payload.img
  3. Flash sdcard.img to your SD CARD with balena etcher or so
  4. copy u-boot-spl.bin.normal.out and visionfive2_fw_payload.img. (wget in buildroot is built without TLS support, so you can not download files directly):

OPTION 1: Mount this SD CARD to your computer and copy to root homepath location
sudo cp u-boot-spl.bin.normal.out visionfive2_fw_payload.img /media/{user}/rootfs/root/
OPTION 2: use SCP to copy files after device boots and connects to network

  1. Now Board should boot successfully (and green light should blink as well)
  2. ssh to board after some time:
    ssh root@{boad_local_ip_address}
    Password: starfive
  3. now you can flash new firmware from this build:
    flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
    flashcp -v visionfive2_fw_payload.img /dev/mtd1
  4. Flash Debian image to your SD card again and it will boot successfully this time.
  5. Do not forget ro resize FS: Extend Partition

My apologies if first explanaition is not clear enough. Probably buildroot image is the best option.

4 Likes