
GETTING STARTED
Connect a null-modem cable to the board and make sure the RS232
jumpers are in the DRXD and DTXD positions. Start a terminal emulation
program and set it for 115200 bps, 8 bits, no parity, 1 stop bit. Plug a
regulated 5V DC power supply to power up the board. You will see the
bootloaders' and kernel's startup messages. Please be patient - booting can
take a couple of minutes, especially on the first boot. Login as root.
Password is not needed.
NOTE:
By default the root account in the Angstrom root filesystem image
does not have a password. This will prevent remote logins via ssh. In order
to create a password run as root the following command:
passwd
The root account in the Debian root filesystem image has password
“olimex”.
TOOLCHAIN
The sources for the bootloaders and the Linux kernel must be compiled
under Linux PC host. We don't intend to support Cygwin.
The projects were compiled using Codesourcery G++ lite 2009q1, freely
available from
http://www.codesourcery.com
. A convenience tarball
is provided that contains the Codesourcery binaries along with some useful
shell scripts. This tarball must be extracted in user's home directory.
Example:
#
cd $HOME
# tar xjf codesourcery-toolchain-2009q1-repack.tar.bz2
The latter will create a directory
$HOME/bin/codesourcery-armgcc-2009q1
along with some shell scripts that must be sourced before compilation:
# source
$HOME/bin/linux_cross_compile.sourceme
# source $HOME/bin/bootloader_cross_compile.sourceme
BOOT LOADERS
The SAM9-L9261 board requires a three-stage boot loader before booting
the Linux kernel.
RomBOOT
->
at91bootstrap ->
u-boot ->
Linux kernel
(internal ROM)
(dataflash)
(dataflash)
(dataflash)
The typical operation of each boot loader is to load the next stage program
into SDRAM and then execute a JUMP to its start address.
AT91BOOTSTRAP
Version 2.4 of at91bootstrap has been used, along with minor modifications
to add support for the SAM9-L9261 board. To compile from source:
Extract the sources:
tar xjf at91bootstrap-2.4-olimex.tar.bz2
cd at91bootstrap-2.4-olimex
Downloaded from
Downloaded from
Downloaded from
Downloaded from