Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| hardware:radxa_zero [2021/09/30 10:20] – created (WIP) atari | hardware:radxa_zero [2026/01/12 15:27] (current) – added dd progress feedback lbrpdx | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Radxa Zero ====== | ====== Radxa Zero ====== | ||
| - | <WRAP center round todo 60%> | + | {{ hardware: |
| - | Under construction. Be warned, some sets of instructions are incomplete. | + | |
| - | </ | + | |
| + | Supported since Batocera **v33**, this little chip is a micro-powerhouse! | ||
| - | Some manual steps are required | + | The Radxa Zero comes with a u-boot from the factory that does not allow booting off the micro-SD card, so it is recommended instead |
| - | == Flash onto micro-SD card == | + | You will need a computer with Python 3 (including PIP3) installed. |
| - | This involves editing the eMMC, however only the bootloader will be flashed onto it. Batocera will be flashed onto the micro-SD card. | + | ===== Flash Batocera to the Radxa Zero's eMMC ===== |
| + | |||
| + | - Remove any Micro-SD card that you might have in the Radxa Zero. | ||
| + | - Connect the Radxa Zero to the computer via '' | ||
| + | - Press the USB button underneath the board. The Radxa is now attempting to connect to your computer as a USB gadget (OTG). | ||
| + | - Download the latest nightly build of Batocera (despite its name, it's pretty stable): https:// | ||
| + | |||
| + | ==== Flash onto eMMC using Linux ==== | ||
| + | |||
| + | - Install '' | ||
| + | - Run the following: < | ||
| + | wget https:// | ||
| + | sudo boot-g12.py rz-udisk-loader.bin | ||
| + | </ | ||
| + | - Check '' | ||
| + | - Run '' | ||
| + | - Run the following: < | ||
| + | dd if=batocera-s905gen2-< | ||
| + | </ | ||
| + | - Reboot your Radxa and enjoy! :-D | ||
| + | |||
| + | ==== Flash onto eMMC using Windows ==== | ||
| + | |||
| + | If on **Windows** you may have to install the driver using [[https:// | ||
| + | - Install and run Zadig. | ||
| + | - Confirm that the device is '' | ||
| + | - Choose **libusb-win32** as the driver and install it. | ||
| + | - Download [[https:// | ||
| + | - Right-click '' | ||
| + | - Reboot Windows. You always have to reboot Windows to do anything... | ||
| + | |||
| + | When you no longer have an " | ||
| + | - Ensure the latest [[https:// | ||
| + | - Download [[https:// | ||
| + | - Open a command prompt with administrative privileges and run the following in the same directory you saved the BIN file to: < | ||
| + | boot-g12.py rz-udisk-loader.bin | ||
| + | </ | ||
| + | You can open a command prompt at the currently opened directory by holding '' | ||
| + | </ | ||
| + | - At some point the Radxa' | ||
| + | - Reboot your Radxa and enjoy. :-D | ||
| + | |||
| + | ===== Flash Batocera to the Radxa Zero's micro-SD card ===== | ||
| + | |||
| + | <WRAP center round important> | ||
| + | Flashing to eMMC as mentioned above is the recommended and easier method, if you're a beginner with these sorts of things it's best just to stick to that. However, should you be a tinkerer, and for whatever reason you want to leave the eMMC completely unused and boot directly off the micro-SD card, then this is for you. | ||
| + | </ | ||
| + | |||
| + | This involves editing the eMMC, however only the bootloader will be flashed onto it. Batocera | ||
| - [[: | - [[: | ||
| - Connect the Radxa Zero to the computer via '' | - Connect the Radxa Zero to the computer via '' | ||
| - Press the USB button underneath the board. | - Press the USB button underneath the board. | ||
| - | | + | |
| - | * If on **Arch | + | ==== Flash to micro-SD card using Linux ==== |
| - | - Run the following: < | + | |
| - | sudo pacman -S fastboot wget python3-pip | + | - Install '' |
| + | | ||
| sudo pip3 install pyamlboot | sudo pip3 install pyamlboot | ||
| Line 38: | Line 86: | ||
| sudo dd if=u-boot.bin of=/dev/sdx bs=512 seek=1 | sudo dd if=u-boot.bin of=/dev/sdx bs=512 seek=1 | ||
| </ | </ | ||
| - | | + | - Reboot the Radxa to get into Batocera. :-D |
| - | * FIXME (these instructions are incomplete) If on **Windows**: | + | |
| - | - Ensure [[https:// | + | |
| - | * You may have to install the driver using [[https:// | + | |
| - | - Install and run Zadig. | + | |
| - | - Confirm that the device is '' | + | |
| - | - Choose **libusb-win32** as the driver and install it. | + | |
| - | - Download [[https:// | + | |
| - | - Right-click '' | + | |
| - | - Download and extract [[https:// | + | |
| - | - Navigate to the '' | + | |
| - | - Download [[https:// | + | |
| - | - Open a command prompt with administrative privileges and navigate to the '' | + | |
| - | - Run the following (you should be in the same directory as where you saved the '' | + | |
| - | pip3 install git+https:// | + | |
| - | boot-g12.py rz-udisk-loader.bin | + | |
| - | rest of the code is WIP | + | ==== Flash to micro-SD card using Windows ==== |
| - | </ | + | |
| - | - Reboot the Radxa to get into Batocera. | + | |
| - | == Flash onto eMMC == | + | |
| - | + | * You may have to install the driver using [[https:// | |
| - | | + | |
| - | - Connect | + | |
| - | - Press the USB button underneath the board. The Radxa is now attempting to connect to your computer as a USB device. | + | |
| - | * If on **Windows** you may have to install the driver using [[https:// | + | |
| - Install and run Zadig. | - Install and run Zadig. | ||
| - Confirm that the device is '' | - Confirm that the device is '' | ||
| Line 70: | Line 98: | ||
| - Download [[https:// | - Download [[https:// | ||
| - Right-click '' | - Right-click '' | ||
| - | - Open up a terminal window on your computer: | + | - Download and extract |
| - | * If on **Windows**: | + | - Navigate to the '' |
| - | - Ensure | + | - Download |
| - | - Download [[https:// | + | * [[https:// |
| - | - Open a command prompt with administrative privileges and run the following in the same directory you saved the BIN file to: < | + | * [[https:// |
| + | * [[https:// | ||
| + | | ||
| + | - Run the following | ||
| + | pip3 install pyamlboot | ||
| boot-g12.py rz-udisk-loader.bin | boot-g12.py rz-udisk-loader.bin | ||
| + | |||
| + | boot-g12.py factory-loader.img | ||
| + | fastboot flashing unlock_critical | ||
| + | fastboot flashing unlock | ||
| + | |||
| + | boot-g12.py rz-fastboot-loader.bin | ||
| + | fastboot erase bootloader | ||
| + | fastboot erase 0 | ||
| + | fastboot erase 1 | ||
| + | |||
| + | boot-g12.py rz-udisk-loader.bin | ||
| + | |||
| + | dd if=u-boot.bin of=/dev/sdx bs=512 seek=1 | ||
| </ | </ | ||
| - | * If on a generic **Linux** distribution with coreutils and Python3: | + | |
| - | | + | - (Optional) Remove |
| - | - Run the following: < | + | |
| - | wget https:// | + | |
| - | sudo boot-g12.py rz-udisk-loader.bin | + | |
| - | </ | + | |
| - | - At some point the Radxa' | + | |
| - | - Reboot your Radxa and enjoy. :-D | + | |
- hardware/radxa_zero.1632997220.txt.gz
- Last modified: 5 years ago
- by atari