I have created my custom initramfs that is working with raspbian, but when I try to boot to it with openwrt, it is ignored.
To use initramfs with raspbian you only need to edit the config.txt: initramfs initramfs.cpio.gz followkernel
The same config does nothing on openwrt. Maybe someone has encountered the same problem?
The problem was with how initramfs is passed via the config.txt. I used initramfs <name> <place> and it didn’t work. When I tried with the old method: ramfsaddr and ramfsfile, it worked.
Additionally, I added these kernel parameters: CONFIG_BLK_DEV_INITRD and CONFIG_RD_GZIP for gzip support