I’m currently trying to build a kernel for the PinePhone Pro. So far i get it to boot and all basic functions are working except modules requiring firmware blobs (Looking at the dmesg log the brcmfmac module or regulatory.db fail to load for example).
cat /sys/module/firmware_class/parameters/path returns the firmware store path and
ls /nix/store/myq978as70yp45jd6sn1cgvxdh8l5yqa-firmware/lib/firmware/regulatory.db.zst confirms that the regulatory db exists (as do the other firmware blobs).
The firmware loader has zstd compression support enabled, so that should also not be the issue.
I’m not too knowledgeable about kernel internals and have therefore run out of ideas how to debug this. The kernel and firmware derivation i’m using is available at: GitHub - zimward/ppp-kernel
I can also provide a full sdcard image if someone wants to poke at it.