Unfortunately, it seems installing the vendor kernel isn't enough to bring up the VisionFive 2 Lite. It hangs on the boot splash screen (drawn by the on flash U-Boot I believe). The device trees are there in /usr/lib, but I suspect grub isn't loading. Need to see serial output to confirm.
Build Debian images for the VisionFive 2
VisionFive 2 Lite support #2
open
opened by
engielolz.ritsuko.akizuki.best
engielolz.ritsuko.akizuki.best
(author)
edited
engielolz.ritsuko.akizuki.best
(author)
Trying to load a device tree along with grub will cause it to run out of memory when loading the Linux kernel
engielolz.ritsuko.akizuki.best
(author)
The U-Boot supplied by Debian uses a command bootflow scan to boot grub and Linux. This command doesn't exist in the U-Boot on the VF2L's provided flash. No luck in making grub work, so for the time being I'll have to add support for its extlinux style booting. This will probably be in a separate branch.
engielolz.ritsuko.akizuki.best
(author)
Got it working. A branch that supports the VisionFive 2 Lite will follow shortly.
As expected it doesn't try to find grub, it looks for uEnv_Lite.txt and extlinux stuff before giving up. Attempting to manually load grub with
fatload mmc 0:3 /EFI/BOOT/BOOTRISCV64.EFIandbootefiwill successfully load grub, but Linux crashes immediately withfollowed by a stack trace (I think). I suspect
grubu-boot is not loading the device tree like it's supposed to.