Looking for a full example that shows how to network boot (and keep running with whatever is baked into the ramdisk image) without any kind of SDcard in the PI.
What I've done up until this point.
Followed the instructions here: Link and got my raspberry pi v3 to network boot and use an NFS share as a root file system.
Now, I am looking at network booting and using a ramdisk rootfs. I have build a minimal initrd image w/ busybox and copied the compressed image into /tftpboot.
ls -la /tftpboot/initrd-3b.img
-rw-r--r-- 1 pi pi 1087650 Feb 7 00:22 /tftpboot/initrd-3b.img
1087650 => 1098A2
I have tried just about every possible combination or the initrd params in config.txt and cmdline.txt.
Setup 1
/tftpboot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 rw ip=dhcp rootwait elevator=deadline loglevel=6 initrd=0x01f00000
/tftpboot/config.txt
initramfs initrd-3b.img 0x01f00000
Outcome 1 I see the DHCP traffic + Pi get the correct IP
- I see both the kernel and the initrd being tftpd to the Pi. At around 5 seconds in, it crashes with a Kernel Panic (secondary_start_kernel) from [<0010196c>] (0x10196c)
Setup 2
/tftpboot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 rw ip=dhcp rootwait elevator=deadline loglevel=6 initrd=0x01f00000,0x1098a2
/tftpboot/config.txt
initramfs initrd-3b.img 0x01f00000
Outcome 2 Same, at around 5 seconds in, it crashes with a Kernel Panic (secondary_start_kernel) from [<0010196c>] (0x10196c)
Also attempted to do:
initramfs initrd-3b.img followkernel
but this also does not work.