From Fedora Project Wiki

Orange Pi RV2

Write Fedora to storage

The generic "server" image will not work. You must use the SpacemiT specific image. Follow the next steps:

Configure U-Boot

This board requires manual U-Boot configuration on the first boot via the Serial Console. Connect a USB-to-Serial adapter to the debug UART pins (Baud rate: 115200). Run the following commands to configure the bootloader and add a 3-second delay for future debugging:

setenv bootdelay 3
setenv bootcmd 'mmc rescan; ext4load mmc 0:2 ${fdt_addr_r} dtb/spacemit/${product_name}.dtb; fatload mmc 0:1 ${kernel_addr_r} EFI/fedora/shimriscv64.efi; bootefi ${kernel_addr_r} ${fdt_addr_r}'
saveenv boot

Important: The default boot delay is 0 seconds. To reach the => prompt, use one of these two methods:

  • Option A: rapidly press Ctrl+C before and during power-on.
  • Option B: power on without the SD card inserted. Wait for the boot to fail, get the prompt, and then insert the SD card.