This is an old revision of the document!
Radxa Zero
Under construction. Be warned, some sets of instructions are incomplete.
Some manual steps are required to install custom operating systems onto the Radxa Zero. You will need a computer with Python 3 (with PIP3) installed with a live environment running.
Flash onto 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.
- Flash Batocera onto the micro-SD card using an external reader.
- Connect the Radxa Zero to the computer via
USB2/PWROTG USB-C port (can use a USB-C-to-USB-C or USB-C-to-full-sized USB-A cable). This is the port closest to the corner. - Press the USB button underneath the board.
- Open up a terminal window on your computer:
- If on Arch Linux:
- Run the following:
sudo pacman -S fastboot wget python3-pip sudo pip3 install pyamlboot wget https://dl.radxa.com/zero/images/loader/factory-loader.img sudo boot-g12.py factory-loader.img sudo fastboot flashing unlock_critical sudo fastboot flashing unlock wget https://dl.radxa.com/zero/images/loader/rz-fastboot-loader.bin sudo boot-g12.py rz-fastboot-loader.bin sudo fastboot erase bootloader sudo fastboot erase 0 sudo fastboot erase 1 wget https://dl.radxa.com/zero/images/loader/rz-udisk-loader.bin sudo boot-g12.py rz-udisk-loader.bin wget https://dl.radxa.com/zero/images/loader/u-boot.bin sudo dd if=u-boot.bin of=/dev/sdx bs=512 seek=1
- (Optional) Remove the downloaded files if you never intend to flash again.
(these instructions are incomplete) If on Windows:
- Ensure Python 3 is installed with the PIP3 module (check with
pip3 versionwhile inside an interactive Python environment) and accessible in your command prompt from any directory.- You may have to install the driver using Zadig:
- Install and run Zadig.
- Confirm that the device is
GX-CHIPand that its USB ID is1B8E:C003. - Choose libusb-win32 as the driver and install it.
- Download Google's Windows Android driver.
- Right-click
android_winusb.infand click Install.
- Download and extract Android's SDK Platform Tools for Windows to get the
fastboottool. - Navigate to the
platform toolsfolder. - Download rz-udisk-loader.bin and save it to the
platform toolsfolder. - Open a command prompt with administrative privileges and navigate to the
platform toolsfolder:cd "C:\path\to\platform tools\"
- Run the following (you should be in the same directory as where you saved the
rz-udisk-loader.binfile to):pip3 install git+https://github.com/superna9999/pyamlboot boot-g12.py rz-udisk-loader.bin rest of the code is WIP
- Reboot the Radxa to get into Batocera.
Flash onto eMMC
- Remove any Micro-SD card that you might have in the Radxa Zero.
- Connect the Radxa Zero to the computer via
USB2/PWROTG USB-C port (can use a USB-C to USB-C or USB-C to full-sized USB-A cable). This is the port closest to the corner. - 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 Zadig:
- Install and run Zadig.
- Confirm that the device is
GX-CHIPand that its USB ID is1B8E:C003. - Choose libusb-win32 as the driver and install it.
- Download Google's Windows Android driver.
- Right-click
android_winusb.infand click Install.
- Open up a terminal window on your computer:
- If on Windows:
- Ensure Python 3 is installed with the PIP3 module (check with
pip3 versionwhile inside an interactive Python environment) and accessible in your command prompt from any directory. - Download rz-udisk-loader.bin and store it somewhere easy to access.
- Open a command prompt with administrative privileges and run the following in the same directory you saved the BIN file to:
pip3 install pyamlboot boot-g12.py rz-udisk-loader.bin
- If on a generic Linux distribution with coreutils and Python3:
- Install
python3-pipfor your distribution. - Run the following:
sudo pip3 install pyamlboot wget https://dl.radxa.com/zero/images/loader/rz-udisk-loader.bin sudo boot-g12.py rz-udisk-loader.bin
- At some point the Radxa's internal eMMC should have appeared as a regular USB storage device on your computer. Flash Batocera onto it as you would any other micro-SD card.
- Reboot your Radxa and enjoy.
- hardware/radxa_zero.1632997220.txt.gz
- Last modified: 5 years ago
- by atari