Foonas-em:Build-n1200

From foonas

Jump to: navigation, search

Contents

About

How it works

foonas-em uses initramfs for the root filesystem these platforms. Normally foonas-em will store this within the kernel, although in this case it lives in a separate file. On boot the kernel unpacks the cpio/gzipped archive into the RAM disk and runs /init.

Building foonas-em

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

Note that the resulting file must be under <fillmein> bytes to fit into flash. It is up to you to check this.

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"

Build Process

The build process takes less than an hour on my machine, including building the toolchain (Yorkfield Quad). Because we require some post-processing to the generated image builds of foonas-em for the n1200 use the image recipe for building not the kernel.

$ cd /stuff/build/
$ bitbake foonas-em-image

You should now have a kernel and initramfs (ramdisk) files inside in tmp/deploy/uclibc/images/n1200.

Personal tools