openEuler on Visionfive 2

Did anyone managed to make openEuler work on Visionfive 2 and boot from a NVME drive? Any tutorials on how to do that?

I got this image:
https://mirror.iscas.ac.cn/openeuler-sig-riscv/openEuler-RISC-V/testing/20230405_openEuler-23.03-V1-riscv64/Visionfive2/
Extracted the .img from the .zst file, dd-ed the .img file onto /dev/nvme0n1, booted into it and got an error inside the serial console “L2CACHE flush retry” or something, repeatedly. HDMI never got any output.

Any ideas or tutorials on how I can boot openEuler from NVME?

Thank you!

Edit: Error is “L2CACHE: flush64 out of range: 6000000(384000), skip flush” and I get that error regardless if I want to boot from the SD card or NVME.

1 Like
  1. Make your nvme boot up with debian.
  2. Copy out debian’s /lib/modules/* & /lib/firmware & /etc/fstab .
  3. Format or Delete all in debian’s rootfs partition.
  4. Download openeuler img. and copy out the rootfs into debian’s rootfs partition.(You can mount the img with qemu-nbd.)
  5. Copy debian’s /lib/modules/* & firmware & fstab to openeuler.
  6. Boot VF2 with this nvme & PRAY. :sweat_smile: