I'm using Buildroot to generate an embedded Linux with a kernel v. 2.6.39, which in the end starts busybox. Everything works fine when building with Initramfs as rootfs. But Initramfs isn't the best for my needs, so i want to switch to other fs like SquashFS or even better not compressing it at all.Anyways i can't figure out how to tell the kernel it shall boot for instance the SquashFS file. What i do know, is that this is done by some kernel command line parameters. Unfortunately i can't find more about this with different search engines or here. And so it doesn't work. It always ends, as expected, with a kernelpanic.And how is it done if I haven't got it compressed and therefor it just has to be copied from Flash to RAM ?
Change the root filesystem on an embedded system
filesystems;kernel;linux kernel;embedded;buildroot
Make sure you build what ever file system you want directly into the kernel and not as a module. SquashFS is readonly so you can't use that alone. You may be better off booting from initramfs then loading root from an image, but that's your call. 