, Johann Schmitz

I decided to run a gentoo with uclibc, because it has a really small memory footprint (only 8 MB after boot). Due to the limit resources on the alix i set up a KVM Virtual Machine wich acts as the buildhost for the alix. The buildhost creates binary packages for the alix (shared via NFS).

Settings for make.conf:

CFLAGS="-march=geode -Os -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i486-gentoo-linux-uclibc"

If you wonder why i have a i486 CHOST not a i586 one, read this post. The installation of gentoo is basically the same as described in the Gentoo Handbook. I've used the PXE Boot option of the alix board.

Kernel Configuration

There a several important settings in the kernel configuration for the Alix boards. Here is the {% file file1 title="kernel configuration for sys-kernel /gentoo-sources-2.6.36-r5" %}.

Configuring grub

To get input/output on the serial console, add these lines to your /boot/grub/grub.conf:

serial --unit=0 --speed=38400 --word=8 --parity=none --stop=1
terminal --timeout=3 console serial

To redirect the input/output of your kernel, add console=ttyS0,38400 to the kernel command line.