You will need to use FEL mode for now and use the xfel tool. On a board with fixed boot media (e.g. SPI flash like on the Nezha), keep the FEL button pressed when powering on to enter FEL mode instead and cancel the regular boot process.
There are prebuilt binaries:
- https://metaspora.org/oreboot-licheerv.bin
- https://metaspora.org/oreboot-nezha.bin
- oreboot + Linux 5.18 for Lichee RV
xfel ddr d1
xfel write 0x40000000 oreboot-nezha.bin
xfel exec 0x40000000
https://github.com/orangecms/linux/tree/5.18-kexec
These are Linux 5.18.0-RC + smaeul's patches + kexec fixes + device tree adjustments for fixed memory size and a DRAM controller/mbus fixup.
Use the following defconfig:
ARCH=riscv make d1_defconfig
https://github.com/orangecms/linux/tree/v5.15.5-openwrt
These are Linux 5.15.5 + smaeul's patches + kexec fixes + device trees for Nezha and Lichee RV
There are different device trees for Lichee RV Dock boards as well.
https://github.com/oreboot/oreboot/blob/main/src/mainboard/sunxi/nezha/linux.config