[Soekris] very basic questions on booting from compactflash
ardenfort at gmail.com
Wed Dec 26 02:51:11 UTC 2007
I now have a Soekris 4521 board running Linux and some utilities on it. I
did all of my initial application development using NFS as it was a simple
thing to do. On my laptop, /nfs directory now contains all the files and
directories that the board needs.
I used buildroot. It created a file system in tar. I untar it into /nfs. I
customize the files under /nfs. The board performs a PXE boot, downloads
kernel from /tftpboot of the laptop. The pxelinux.cfg/default directory
tells the board to look for the root file system under /nfs.
The total size of all files and directories in /nfs is ("du -s /nfs") about
128MB. The compactflash has 1GB. The board has 64MB of RAM. When the kernel
has loaded and other modules have loaded, about 9MB of the main memory is in
use. So far so good.
I have one issue that is still not resolved. How do create a bootable
compact-flash with what is available on /nfs? What are the steps? I am
missing some fundamentals of the boot process here. It seems like I should
create a ramdisk image of a subnet of files from /nfs and place the ramdisk
image in /nfs/boot directory. Should the ramdisk-image be created for 64MB
of RAM that the board has?
On my laptop, /nfs/boot/ - this contains the kernel "bzImage" and also
"grub" the kernel-loader. Buildroot didn't create menu.lst by default.
/dev/ram exists. What would be a common menu.lst file if the system boots
Any pointers (books, website anything) will be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Soekris-tech