From Portaboom Wiki

AntLinux: LinuxOnSoekris

The contents of this website are Copyright (c)2003 by Brian Manning <brian at antlinux dot com>. Please do not reuse any of the content on this website without permission from the author.

I have a HowTos.LinksysWRT54 page, it's also a hackable embedded device that runs Linux.

FIXME move the kernel build stuff to one of the KernelBuild pages. Move application builds to their own pages.

Linux on Soekris

What's on this page:

Related pages in this wiki:

The reason why this page exists is to document my experiences with the Soekris Engineering net4501 embedded device. In past versions of this page, I never linked the Soekris website, nor the Soekris box I am using for all of the below information. Let me rectify that now:

The initrd and kernel images that I created with the below instructions are here:

http://files.antlinux.com/linux/soekris/18Feb2003-initrd.gz http://files.antlinux.com/linux/soekris/18Feb2003-vmlinuz

Those two files should be loadable from a DOS formatted CF card using loadlin, or from a Linux formatted CF card using GRUB. Personally, I was PXEbooting them from another server. See how PXEbooting is done on the HowTos.SetupPxeBoot page. Not all of the packages below are installed on the initrd image, the initrd image only has enough software to get you to a shell prompt.

Linux on Soekris Links

Overview pages

Mini-Soekris enabled Linux distros

Other OS's on the Soekris

Other Soekris related software

The interface can be used similar to the ipv4 "switches" in /proc.

To turn the LED on:
echo -n 1 > /proc/driver/errroled

To turn the LED off:
echo -n 0 > /proc/driver/errroled

Flashing/Blinking of led automatically
Write a value 2 ~[slow] to 9 ~[fastest]

To see the status of the LED:
cat /proc/driver/errorled

Linux on Soekris Notes

Manifest file contents (from LNX-BBC)

A package maintainer can specify the locations, permissions, and modes of a file (or collection of files) in a file called manifest. This file contains a list of installation tuples (one per line) of the following format:

source:destination[:mode[:owner[:group]]]

An installation tuple may use shell variables taken from the GAR environment, but must enclose them in curly braces instead of parentheses. Thus, a sample manifest file may contain the following:

${WORKSRC}/nwall:${DESTDIR}${bindir}/nwall:2755:root:tty
${WORKSRC}/src/foo:${DESTDIR}${sharedstatedir}/foo
${WORKSRC}/yoink:${DESTDIR}${sysconfdir}/yoink:0600

Note that all options after the destination location for the file are optional, but one must provide all preceeding options in order to define a given optional field. Thus to specify the owner of a file, one must also specify the mode.

Current core software build notes ( 2003_013.1 )

Some setup before you get into the below: export ANTLINUX=/usr/local/src/antlinux
export ANT_BASE=/usr/local/src/antlinux/base

Other software build notes

Test Driving your new system

TODOs

Retrieved from http://wiki.portaboom.com/pmwiki.php?n=AntLinux.LinuxOnSoekris
Page last modified on February 01, 2007, at 10:47 PM