
directory, contains a series of patches that can be applied to the
mainstream 2.6.30 distribution to get
linux-2.6.30-olimex.tar.bz2.
Compiling and installing the kernel modules require some additional steps.
First you need to ensure that the target root filesystem is accessible from
the build machine. Remember to use "root" user for all
extraction/manipulation procedures! Then enter the Linux source directory
(where you typed "make uImage") and type
make modules
make
INSTALL_MOD_PATH=/path/to/target/root/filesystem
modules_install
Note that the path must be to the target root filesystem's root directory, and
NOT the "lib" or "lib/modules" subdirectories!
TWEAKING THE KERNEL
We welcome any patches and comments for improving the board support
for SAM9-L9261. The starting point for board-specific initialization is the
following file:
arch/arm/mach-at91/board-sam9-l9261.c
Additional AT91SAM9261 chip specific initialization is located at:
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9261_devices.c
ROOT FILESYSTEM
The root filesystem can be built using
http://www.angstrom-
distribution.org
. The other option is to use a ready-made binary
distribution like Debian or some pre-compiled Angstrom image. The root
filesystem used in SAM9-L9261 is a slightly modified version of the official
Atmel Linux demo binary.
Additional software can easily be installed by the command "ipkg", provided
that the board is connected to Internet via Ethernet cable. Run
ipkg
from the SAM9-L9261 shell prompt to see the available options.
Additionally, the
sources/debian-lenny-rootfs
subdirectory contains a flash
image for Debian Lenny based root filesystem. It does not feature a
graphical demo but user can install additional packages via the standard
Debian utilities
apt-get
and
aptitude
.
RUNNING USER-COMPILED BOOTLOADERS AND LINUX
KERNEL
In order to use the newly compiled bootloader and/or kernel do the
following:
1.
Extract the contents of the
sam9-l9261-samba.zip
archive .
2. Overwrite the binary files with the newly compiled ones.
3. Run the installation restoration procedure below.
RESTORING THE INSTALLATION
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from