Zero v1.5 does not boot

Fresh Zero out of the box.

I’ve erased EMMC according to the wiki guide, using radxa-zero-erase-emmc.bin and now board stalls on boot.

Serial output:

G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:0;READ:0;0.0
                                                                                                                           l2_stage_init 0x01
bl2_stage_init 0x81
hw id:

Tried two different flash cards with Armbian_23.5.1_Radxa-zero_jammy_current_6.1.30.img.xz and radxa-zero-ubuntu-focal-server-arm64-20220801-0346-mbr.img.xz, both flashed via usbimager. Same result :frowning:

Also i’ve tried two different usb power adapters with different usb cables - no changes

Something weird is going on.

I’ve plugged Zero with USB BOOT button pressed down.

Zero shows up as “GX-CHIP”, relevant dmesg output:

[ 2306.133615] usb 2-2.1.1: new high-speed USB device number 15 using xhci_hcd
[ 2306.246797] usb 2-2.1.1: New USB device found, idVendor=1b8e, idProduct=c003, bcdDevice= 0.20
[ 2306.246803] usb 2-2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2306.246807] usb 2-2.1.1: Product: GX-CHIP
[ 2306.246809] usb 2-2.1.1: Manufacturer: Amlogic

Looks like boot-g12.py works fine:

$ boot-g12.py g12-images/rz-udisk-loader.bin
Firmware Version :
ROM: 3.2 Stage: 0.0
Need Password: 0 Password OK: 1
Writing g12-images/rz-udisk-loader.bin at 0xfffa0000...
[DONE]
Running at 0xfffa0000...
[DONE]
AMLC dataSize=16384, offset=65536, seq=0...
[DONE]
AMLC dataSize=49152, offset=393216, seq=1...
[DONE]
AMLC dataSize=16384, offset=229376, seq=2...
[DONE]
AMLC dataSize=49152, offset=245760, seq=3...
[DONE]
AMLC dataSize=16384, offset=65536, seq=4...
[DONE]
AMLC dataSize=49152, offset=393216, seq=5...
[DONE]
AMLC dataSize=16384, offset=229376, seq=6...
[DONE]
AMLC dataSize=49152, offset=245760, seq=7...
[DONE]
AMLC dataSize=49152, offset=294912, seq=8...
[DONE]
AMLC dataSize=16384, offset=65536, seq=9...
[DONE]
AMLC dataSize=1380720, offset=81920, seq=10...
[DONE]
[BL2 END]
$ 

“GX-CHIP” device disconnects, but no new devices are appearing :frowning: dmesg output:

[ 2306.133615] usb 2-2.1.1: new high-speed USB device number 15 using xhci_hcd
[ 2306.246797] usb 2-2.1.1: New USB device found, idVendor=1b8e, idProduct=c003, bcdDevice= 0.20
[ 2306.246803] usb 2-2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2306.246807] usb 2-2.1.1: Product: GX-CHIP
[ 2306.246809] usb 2-2.1.1: Manufacturer: Amlogic
[ 2400.870931] usb 2-2.1.1: USB disconnect, device number 15

rz-fastboot-loader.bin on the other hand somewhat works, yet fails to flash EMMC

Loads okay:

$ boot-g12.py g12-images/rz-fastboot-loader.bin
Firmware Version :
ROM: 3.2 Stage: 0.0
Need Password: 0 Password OK: 1
Writing g12-images/rz-fastboot-loader.bin at 0xfffa0000...
[DONE]
Running at 0xfffa0000...
[DONE]
AMLC dataSize=16384, offset=65536, seq=0...
[DONE]
AMLC dataSize=49152, offset=393216, seq=1...
[DONE]
AMLC dataSize=16384, offset=229376, seq=2...
[DONE]
AMLC dataSize=49152, offset=245760, seq=3...
[DONE]
AMLC dataSize=16384, offset=65536, seq=4...
[DONE]
AMLC dataSize=49152, offset=393216, seq=5...
[DONE]
AMLC dataSize=16384, offset=229376, seq=6...
[DONE]
AMLC dataSize=49152, offset=245760, seq=7...
[DONE]
AMLC dataSize=49152, offset=294912, seq=8...
[DONE]
AMLC dataSize=16384, offset=65536, seq=9...
[DONE]
AMLC dataSize=1380720, offset=81920, seq=10...
[DONE]
[BL2 END]

GX-CHIP disconnects, then new device appears:

dmesg:

[ 3475.017927] usb 2-2.1.1: new high-speed USB device number 28 using xhci_hcd
[ 3475.131162] usb 2-2.1.1: New USB device found, idVendor=1b8e, idProduct=c003, bcdDevice= 0.20
[ 3475.131168] usb 2-2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3475.131171] usb 2-2.1.1: Product: GX-CHIP
[ 3475.131174] usb 2-2.1.1: Manufacturer: Amlogic
[ 3496.795491] usb 2-2.1.1: USB disconnect, device number 28
[ 3498.569598] usb 2-2.1.1: new high-speed USB device number 29 using xhci_hcd
[ 3498.682164] usb 2-2.1.1: New USB device found, idVendor=1b8e, idProduct=2200, bcdDevice= 2.27
[ 3498.682170] usb 2-2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3498.682173] usb 2-2.1.1: Product: USB download gadget
[ 3498.682176] usb 2-2.1.1: Manufacturer: U-Boot
[ 3498.682179] usb 2-2.1.1: SerialNumber: RADXA

Yet EMMC flashing fails:

# fastboot devices -l
RADXA                  fastboot usb:2-2.1.1
# fastboot flash 0x200 u-boot.bin
target reported max download size of 117440512 bytes
sending '0x200' (1410 KB)...
OKAY [  0.079s]
writing '0x200'...
FAILED (remote: no such device)
finished. total time: 0.112s
#