Section 2, Qil-a9260 from scratch, At91bootstrap – Rainbow Electronics QIL-A9260-C11 User Manual

Page 4

Advertising
background image

S

ECTION

2

1. QIL-A9260 from scratch

1.1. AT91Bootstrap

The AT91Bootstrap loader is used to download the second level bootloader that is to say
UBOOT from the NAND Flash memory. When the AT91SAM9260 boots, the AT91
Bootstrap loader is copied into the 4Kbytes internal SRAM and executed by branching at
address 0x0000_0000 after remap.

Here are the steps needed to compile the AT91bootstrap loader.

Download the source code from the calao ftp site

cd AT91BOOTLOADER/board/qil-a9260/nandflash/

Edit the make file to set the name of the cross compiler you are using.
set CROSS_COMPILE=arm-elf- for example

then issue the make command

Datasheet GSG-00006-A01

4/34

The file generated by your cross-compiler should be less than 4096 bytes.
For more information about the AT91 Bootstrap loader see the following link:

http://www.atmel.com/dyn/resources/prod_documents/doc6277.pdf

Advertising