Don't worry dude, I've successfully booted archlinux aarch64 on my rpi zero 2 w.
- 屏幕截图_20230206_223040.png (12.03 KiB) Viewed 4863 times
If follow the
official, you could get a rainbow screen. Now follow the below operation:
$this->bbcode_list('1')
Mount your boot partition of SD-Card on any Linux. (Below I will assume the / is the root of the boot partition.)Cp /dtbs/broadcom/bcm2837-rpi-zero-2-w.dtb to /. (This will allow zero to boot into u-boot, but don't be too eager, u-boot will fail to start the kernel because it cannot load the correct .dtb file at this time.)Add setenv fdtfile broadcom/bcm2837-rpi-zero-2-w.dtb line at the beginning of the /boot.txt file, like this:
$this->bbcode_second_pass_code('', '
# After modifying, run ./mkscr
setenv fdtfile broadcom/bcm2837-rpi-zero-2-w.dtb
# Set root partition to the second partition of boot device
part uuid ${devtype} ${devnum}:2 uuid
setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}"
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /Image; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi
')run ./mkscrNow you should be able to boot ArchLinuxArm aarch64 on your rpi zero 2 w, but my Wi-Fi module is not loaded after booting Arch successfully, this is still a problem.