Skip to content

scripts/mkimg.arm.sh: add support for Raspberry Zero 2 W

Joonas Kuorilehto requested to merge joneskoo/aports:zero-2-w into master

Add support for Raspberry Zero 2 W.

I've only tested with alpine-rpi-3.15.0-aarch64.tar.gz. That didn't boot on Zero 2 W but when I added:

[pi02]
kernel=boot/vmlinuz-rpi
initramfs boot/initramfs-rpi

everything worked flawlessly.

Based on https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters , my understanding is that none of the existing device filters would match on Zero 2 W so we need to add new model filter for each architecture being built for Raspberry. I copied the kernel/initramfs as used on 3B+ as the Zero 2 W has 64bit ARM just like 3B+.

Merge request reports