From foonas
Jump to: navigation, search



How it works

foonas-em uses initramfs for the root filesystem these platforms. On boot the kernel unpacks the cpio/gzipped archive (contained within the kernel, although it could be a separate archive) into the RAM disk and runs /init, hence this process differs somewhat to the normal procedure because we use the kernel recipe to build the distribution.

Building foonas-em

Building foonas-em for the above platform is possible (but not supported) in subversion revision <fill me in> or newer.

Install foonas Sources

Follow the standard Installation Guide to the end, however do not build anything yet!

Extra Configuration

Firstly modify the DISTRO variable in your local.conf to foonas-em. If you built any packages before this (or have built for foonas already) trash the tmp directory. For example:

DISTRO = "foonas-em"

Now the kernel build file needs to know where your rootfs will end up so that when it builds it can compress it and archive it inside for use in the initramfs. Modify the defconfig in packages/linux/linux-orion/foonas-em/defconfig-* and change the following line to a path that is relevant to your configuration:


Build Process

The build process takes less than an hour on my machine, including building the toolchain (Yorkfield Quad).

$ cd /stuff/build/
$ bitbake linux-orion

You should now have a kernel with rootfs inside in tmp/deploy/uclibc/images/kuropro.

Personal tools