I am stuck at a different spot. I'm running Zero 2 W headless.
- Fresh install of aarch64 to sdcard
- Connected to Zeros UART
First try no response at all. Then I added this dtb to boot partition
https://github.com/raspberrypi/firmware ... zero-2.dtb and got the following boot log over UART:
$this->bbcode_second_pass_code('', '
U-Boot 2021.04-1 (May 27 2021 - 18:44:02 +0000) Arch Linux ARM
DRAM: 448 MiB
RPI: Board rev 0x12 unknown
RPI Unknown model (0x902120)
MMC: mmc@7e202000: 0, mmcnr@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
Out: vidconsole
Err: vidconsole
Net: No ethernet found.
starting USB...
Bus usb@7e980000: USB DWC2
scanning bus usb@7e980000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
708 bytes read in 2 ms (345.7 KiB/s)
## Executing script at 02c00000
39852544 bytes read in 1648 ms (23.1 MiB/s)
Failed to load '/dtbs/broadcom/bcm283x-rpi-other.dtb'
SCRIPT FAILED: continuing...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@7e202000.blk...
Card did not respond to voltage select! : -110
Scanning disk mmcnr@7e300000.blk...
Disk mmcnr@7e300000.blk not ready
Found 3 disks
Missing RNG device for EFI_RNG_PROTOCOL
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
Card did not respond to voltage select! : -110
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
U-Boot>
')
Looking at
https://source.denx.de/u-boot/u-boot/-/ ... /rpi/rpi.c it seems that Zero 2 W is not in the list of known revision codes and therefore it tries to load /dtbs/broadcom/bcm283x-rpi-other.dtb.
@alteriks could you please share what you did with dtb files to get aarch64 to boot?