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:
- Download the latest
Fedora-Server-Host-SpacemiT-*image from https://dl.fedoraproject.org/pub/alt/risc-v/release/42/Server/riscv64/images/ - Decompress the image:
$ unxz Fedora-Server-Host-SpacemiT-*.raw.xz
- Write it to your SD card (replace /dev/sdX with your actual device):
sudo dd if=Fedora-Server-Host-SpacemiT... of=/dev/sdX status=progress bs=16M
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+Cbefore 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.
