@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:
- Go to VisionFive2 SDK releases:
Releases · starfive-tech/VisionFive2 · GitHub - From newest SDK (atm 2.6.0) assets download:
sdcard.img
u-boot-spl.bin.normal.out
visionfive2_fw_payload.img
- Flash
sdcard.img
to your SD CARD with balena etcher or so - 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
- Now Board should boot successfully (and green light should blink as well)
- ssh to board after some time:
ssh root@{boad_local_ip_address}
Password:starfive
- 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
- Flash Debian image to your SD card again and it will boot successfully this time.
- Do not forget ro resize FS: Extend Partition
My apologies if first explanaition is not clear enough. Probably buildroot image is the best option.