This was very helpful to me, thank you!
I had to add this to custom_boot.sh:
Code:
[ -d /mnt/rootfs ] || mkdir /mnt/rootfs
mount -t proc proc /proc
sleep 0.1
I also tried to use `CONFIG_INITRAMFS_SOURCE="/path/to/orig.cpio"`, but it resulted in `Kernel panic - not syncing: broken padding`, not sure why.