How to install boot loader on a wiped eMMC - TheMediocritist/RadxaZero_Experiments GitHub Wiki
1] Hold the USB Boot button and connect Zero to Linux PC.
2] Release the USB Boot button.
lsusb should show the followling VID/PID:
Bus 002 Device 030: ID 1b8e:c003 Amlogic, Inc. GX-CHIP
This means the Zero is in USB Boot mode
We use pyamlboot to mount the Radxa Zero over USB cable. pyamlboot is a tool by @superna9999 for Amlogic USB Boot.
3] Install pyamlboot tool if you haven't already done this.
pip3 install pyamlboot
4] Download the prebuilt loader:
wget https://dl.radxa.com/zero/images/loader/rz-udisk-loader.bin
5] Load:
sudo boot-g12.py rz-udisk-loader.bin
6] Download U-Boot binary and copy it to the eMMC
wget https://dl.radxa.com/zero/images/loader/u-boot.bin
sudo dd if=u-boot.bin of=/dev/sdx bs=512 seek=1