I’m trying to use MAAS images on Raspberry Pi 4, like I do with amd64 images for x86 hardware. I’m not actually using MAAS application, I only use the images (kernel, initrd, squashfs) available at images.maas.io. For deployment I combine dnsmasq with a small cherrypy app for feeding the machines with cloud-init data. I’m not using NFS either. The process works fine on x86, but I got stuck with the Pi. I got it to PXE boot, but the kernel and initramfs from the official ubuntu focal raspberry pi image don’t support root squashfs over http, among other things, so the boot process gets stuck waiting for root. The arm64 images from MAAS leave a blank screen, although I see that they are being downloaded from the the tftp server. My guess is that the arm64 images available through MAAS aren’t compatible with Pi.
How do I build such images?