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 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