Just did 2 runs and it worked fine for me. The only issue I had was that I need to run date -s 2022-01-01
first, otherwise tar will spam the console with future timestamp warning.
# Linux Host, Zero in mass storage bootrom
## Wipe mmcblk0 and install vendor U-Boot
sudo dd if=/dev/zero of=/dev/sdX bs=128M status=progress && \
sudo dd if=android-bootloader.img of=/dev/sdX bs=512 seek=1 && \
sync
# Now go to Zero's vendor U-Boot console
# WARNING
# If you have 3 devices instead of 2 listed by the command below,
# you are using upstream U-Boot.
# Change all `mmc dev 1 X` command to `mmc dev 2 X`
mmc list
## Wipe mmcblk0boot0
mmc dev 1 1
mmc erase 0 2000
## Wipe mmcblk0boot1
mmc dev 1 2
mmc erase 0 2000
reset
# Now boot into microSD to install
The vendor U-Boot is now on our website.
Edit: I might speak too soon. 2nd install completed without error but I canāt boot into eMMC. Might have something to do with how I flashed bootloader. However, the script itself gave no error for me.