Hey guys,
I was hoping the TC team can help me with this (even though the question isn't entirely TC related). I'm currently building a kernel/OS from scratch using Buildroot (I'd love to use TC but I can't as we have to customize every little thing). Buildroot generates a rootfs.ext2 filesystem (or ext3 or ext4 or whatever the partition type may be) that can be dd'ed onto the target partition (which will put /bin, /etc, /tmp/ /usr all on the partition properly). However, I wanted to load this rootfs entirely from RAM so that I can store everything on the one boot partition. This also makes updates a breeze and corruption a non-issue. What are the steps I'd need to take to launch this gzipped file into memory (from the kernel perspective and Syslinux perspective)? I want to follow whatever approach TC took to do this. I will definitely look at TC sources but I wanted more of a general overview of what I'd have to do. Thanks. This is still by far my favorite tiny Linux distribution and we are using it on multiple projects here for a wide variety of applications.
Should my starting point be that I take the TC 3.8.x modified kernel and do a make oldconfig to use that for Buildroot's new kernel? That should have the proper config options set for initramfs correct? I would do this, but I'm looking to understand the process rather than hack it together.