Embedding rootfs with kernel
Quoted 9 lines · Alexander Voropay
Quoted 5 lines
I was also looking at initramfs but from documentation I found it, appears to expand the cpio.gz into a tmpfs (i.e. RAM) before using it.
Read this nice article:
http://www.linuxdevices.com/articles/AT4017834659.html
Thanks Alexander, I'd read it many months ago, it does clarifies a few issues. Another article on various methods of preparing the initramfs is:
"Including an initramfs Intialization Program in the Kernel"
http://lldn.timesys.com/docs/initramfs?elq=1EE1D775A62A4EF68F0A3E9AEC666D0D
Neither of these seem to help with regards to embedding a read-only file system. It seems like there is no officially supported way of doing this. Presumably these types of file systems are meant to only be used separate from the kernel image, such as in a flash partition.
I guess we can continue to use our current method, but I was hoping to eliminate any changes to non-platform code such as vmlinux.lds.S.
Marc