
2022/08/18 19:32 3/4 Radxa Zero
Batocera.linux - Wiki - https://wiki.batocera.org/
This involves editing the eMMC, however only the bootloader will be flashed onto it. Batocera in its
entirety will be flashed onto the micro-SD card.
Flash Batocera onto the micro-SD card using an external reader.1.
Connect the Radxa Zero to the computer via USB2/PWR OTG USB-C port (can use a USB-C-to-2.
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.3.
Flash to micro-SD card using Linux
Install python3-pip for your distribution.1.
Run the following:2.
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
Reboot the Radxa to get into Batocera. 3.
(Optional) Remove the downloaded files if you never intend to flash again.4.
Flash to micro-SD card using Windows
Ensure Python 3 is installed with the PIP3 module (check with pip3 version while inside an1.
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.1.
Confirm that the device is GX-CHIP and that its USB ID is 1B8E:C003.2.
Choose libusb-win32 as the driver and install it.3.
Download Google's Windows Android driver.4.
Right-click android_winusb.inf and click Install.5.
Download and extract Android MTK's Minimal ADB and Fastboot Tool for Windows.2.
Navigate to the platform tools folder. With the default install location, it should be at3.
C:\Program Files\Minimal ADB and Fastboot\platform tools\.
Download the following files into that folder:4.