Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| hardware:radxa_zero [2021/09/30 10:44] – restructure 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. | + | |
| - | </ | + | |
| - | Some manual steps are required | + | Supported since Batocera **v33**, this little chip is a micro-powerhouse! |
| + | |||
| + | 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 | ||
| + | |||
| + | You will need a computer with Python 3 (including PIP3) installed. | ||
| + | |||
| + | ===== 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 ===== | ===== Flash Batocera to the Radxa Zero's micro-SD card ===== | ||
| - | This involves editing the eMMC, however only the bootloader will be flashed onto it. Batocera will be flashed onto the 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 | ||
| - [[: | - [[: | ||
| Line 15: | Line 63: | ||
| - Press the USB button underneath the board. | - Press the USB button underneath the board. | ||
| - | ==== Flash to micro-SD card using Arch Linux ==== | + | ==== Flash to micro-SD card using Linux ==== |
| + | - Install '' | ||
| - Run the following: < | - Run the following: < | ||
| - | sudo pacman -S fastboot wget python3-pip | ||
| 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 | ||
| - (Optional) Remove the downloaded files if you never intend to flash again. | - (Optional) Remove the downloaded files if you never intend to flash again. | ||
| ==== Flash to micro-SD card using Windows ==== | ==== Flash to micro-SD card using Windows ==== | ||
| - | |||
| - | <WRAP center round todo> | ||
| - | These instructions are incomplete. Attempt at your own peril! | ||
| - | </ | ||
| - Ensure [[https:// | - Ensure [[https:// | ||
| Line 53: | Line 98: | ||
| - Download [[https:// | - Download [[https:// | ||
| - Right-click '' | - Right-click '' | ||
| - | - Download and extract [[https://developer.android.com/studio/ | + | - Download and extract [[https://androidmtk.com/download-minimal-adb-and-fastboot-tool|Android |
| - | - Navigate to the '' | + | - Navigate to the '' |
| - | - Download [[https:// | + | - Download |
| - | - Open a command prompt with administrative privileges and navigate to the '' | + | * [[https:// |
| + | * [[https:// | ||
| + | * [[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 '' | - Run the following (you should be in the same directory as where you saved the '' | ||
| - | pip3 install | + | pip3 install pyamlboot |
| boot-g12.py rz-udisk-loader.bin | boot-g12.py rz-udisk-loader.bin | ||
| - | rest of the code is WIP | + | boot-g12.py factory-loader.img |
| - | </ | + | fastboot flashing unlock_critical |
| - | | + | fastboot flashing unlock |
| - | ===== Flash Batocera to the Radxa Zero's eMMC ===== | + | boot-g12.py rz-fastboot-loader.bin |
| + | fastboot erase bootloader | ||
| + | fastboot erase 0 | ||
| + | fastboot erase 1 | ||
| - | | + | boot-g12.py rz-udisk-loader.bin |
| - | | + | |
| - | - Press the USB button underneath the board. The Radxa is now attempting to connect to your computer as a USB device. | + | |
| - | ==== Flash onto eMMC using Linux ==== | + | dd if=u-boot.bin of=/dev/sdx bs=512 seek=1 |
| - | + | ||
| - | | + | |
| - | - Run the following: < | + | |
| - | wget https://dl.radxa.com/ | + | |
| - | sudo boot-g12.py rz-udisk-loader.bin | + | |
| </ | </ | ||
| - | - Check '' | + | - Reboot |
| - | - Run '' | + | - (Optional) Remove |
| - | - Run the following: < | + | |
| - | dd if=/ | + | |
| - | </ | + | |
| - | - Reboot your Radxa and enjoy! | + | |
| - | + | ||
| - | ==== 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 '' | + | |
| - | + | ||
| - | When you no longer have an " | + | |
| - | - Ensure [[https:// | + | |
| - | - Download [[https:// | + | |
| - | - Open a command prompt with administrative privileges and run the following in the same directory | + | |
| - | boot-g12.py rz-udisk-loader.bin | + | |
| - | </ | + | |
| - | - At some point the Radxa' | + | |
| - | - Reboot your Radxa and enjoy. :-D | + | |
- hardware/radxa_zero.1632998684.txt.gz
- Last modified: 5 years ago
- by atari