Site Tools


projects:software:fedora_on_radxa_cm5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:software:fedora_on_radxa_cm5 [2025/08/01 10:07] – created Andrew Yongprojects:software:fedora_on_radxa_cm5 [2025/09/03 18:29] (current) – [Building DTBs] no wiki format for -- Andrew Yong
Line 23: Line 23:
         - Press F10 -> Y to save the settings         - Press F10 -> Y to save the settings
         - Press Ctrl + Alt + Del to reset the system         - Press Ctrl + Alt + Del to reset the system
-    - Wait for Fedora to boot+    - Wait for Fedora to boot\\ **Be very patient, especially if your USB disk is slow**
       - There will be no boot progress indication, it will take several minutes to boot into the desktop environment       - There will be no boot progress indication, it will take several minutes to boot into the desktop environment
       - Gnome shell will take a few more minutes to load       - Gnome shell will take a few more minutes to load
-      - Wait until you see the first-time setup dialog of Fedora +      - You may see an “Oh no! Something has gone wrong.” pop up, you can ignore it, continue waiting 
-      - **Be very patient, especially if your USB disk is slow**+      - The Fedora welcome and first-time setup dialog will eventually appear 
 +      - Finish the first-time setup
   - Prepare DTB   - Prepare DTB
     - Open a Terminal window     - Open a Terminal window
     - `cd /boot/dtb/rockchip`     - `cd /boot/dtb/rockchip`
 +    - `cp rk3588s-rock-5c.dtb rk3588s-radxa-cm5-rpi-cm4-io.dtb`
 +    - Reboot the system
 +    - Press F2 within 5 seconds to enter UEFI Setup
 +    - Device Manager -> Rockchip Platform Configuration -> ACPI / Device Tree
 +      * Config Table Mode: Device Tree
 +      * Compatibility Mode: Mainline
 +      * Force UEFI GOP Display: Disabled
 +      * Support DTB override & overlays: Enabled
 +      * Firmware Fix-ups: Enabled
 +    - Press F10 -> Y to save the settings
 +    - Press Ctrl + Alt + Del to reset the system
 +  - Install Fedora to eMMC
     - TODO FIXME     - TODO FIXME
 +
 +====== New Instructions using Live Image and NVMe SSD ======
 +
 +  - Prerequisites
 +    - MicroSD card for UEFI image
 +    - USB disk for Fedora live ISO
 +    - NVMe SSD as system drive (installation target)
 +  - Prepare physical media
 +    - Download radxa-cm5_UEFI_Release_v//...//.img from [[https://github.com/kwankiu/edk2-rk3588/releases]]
 +    - Write to a microSD card, insert into Radxa CM5
 +    - Download Fedora-Workstation-Live-Rawhide-//...//.n.0.aarch64.iso image from [[https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Workstation/aarch64/iso/]]
 +    - Write to USB disk, insert into Radxa CM5
 +  - First boot (ACPI mode)
 +    - Power on Radxa CM5
 +    - Press F2 within 5 seconds to enter UEFI Setup
 +      - If the display is not at the native resolution of your monitor, 
 +        - Device Manager -> Rockchip Platform Configuration -> Display -> Preferred Mode
 +        - Set it to the actual native resolution of your LCD instead of Native
 +        - Press F10 -> Y to save the settings
 +        - Press Ctrl + Alt + Del to reset the system
 +    - Wait for Fedora to boot\\ **Be very patient, especially if your USB disk is slow**
 +      - There will be no boot progress indication, it will take several minutes to boot into the desktop environment
 +      - Install Fedora to NVMe SSD (do not reboot after install is completed)
 +      - Open a Terminal
 +        - `cd /mnt/sysroot/boot/dtb/rockchip/`
 +        - `sudo cp rk3588s-rock-5c.dtb rk3588s-radxa-cm5-rpi-cm4-io.dtb`
 +        - `sudo reboot now`
 +      - TODO FIXME
 +
 +===== Building DTBs =====
 +
 +  * ''sudo dnf group install development-tools''
 +  * ''%%git clone --single-branch --branch rk3588s-radxa-cm5-rpi-cm4-io --depth 1 %%https://github.com/ndoo/linux.git%%%%''
 +  * ''make defconfig''
 +  * ''make -j$(nproc) dtbs''
 +  * ''sudo cp arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5*.dtb /boot/dtb/rockchip/''
projects/software/fedora_on_radxa_cm5.1754042834.txt.gz · Last modified: by Andrew Yong