| | |
|
AT91Bootstrap 42 - 25 Jun 2008 - Main.PatriceVilchez
|
| |
| META TOPICPARENT | name="WebHome" |
AT91Bootstrap | | | More information see the AT91Bootstrap application note.
Pre-built binaries | |
< < | | > > | DataFlash
| | | | |
< < | | > > | | | | | |
< < |
| > > | NandFlash
| | | | |
> > |
| | |
This section describes How to load AT91Bootstrap into the boot media with SAM-BA. | | |
| Product | Boot from DataFlash (SPI0 CS0) | Boot from DataFlash (SPI0 CS1) | Boot from NAND Flash | Boot from SD card | Boot from NOR Flash | Boot from Internal Flash 1 |
| at91rm9200ek | | | | | | |
Notes
1: Only available on products with embedded Flash
| |
< < |
Notes
2: On board DataFlash chip
3: Please check at91sam9260 errata # 44.2.1.1
| > > | | | | | at91sam9xeek |
|
|
|
|
|
|
| at91sam9261ek |
2 |
|
|
|
|
|
| |
< < | | at91sam9263ek |
4 |
|
5 |
5 |
|
|
| at91sam9rlek |
2 |
|
|
|
|
|
Notes
4: Removable DataFlash card
5: Supported on SAM9263 rev B and above
| > > | | at91sam9263ek |
4 |
|
5 |
5 |
|
|
| at91sam9rlek |
2 |
|
|
|
|
|
| | |
The Dataflash version of AT91Bootstrap will load a second level bootloader or application from the address 0x8000. |
|
|
AT91Bootstrap 41 - 18 Apr 2008 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | | AT91Bootstrap is a first step bootloader providing a set of algorithms to manage hardware initialization (GPIO, Clock, SDRAM, etc), to download your main application from specified FLASH media to main memory and to start it. | |
< < | In the linux4SAM pre-built demo it is used to configure the hardware and to load and start the standard U-Boot bootloader, it can start also be configured to start directly the linux kernel. | > > | In the linux4SAM pre-built demo it is used to configure the hardware and to load and start the standard U-Boot bootloader, it can also be configured to start directly the linux kernel. | | | More information see the AT91Bootstrap application note. |
|
|
AT91Bootstrap 39 - 14 Feb 2008 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | |
| |
< < | | META FILEATTACHMENT |
attachment="dataflash_at91sam9260ek.bin" attr="" comment="" date="1185439874" name="dataflash_at91sam9260ek.bin" path="dataflash_at91sam9260ek.bin" size="3292" stream="dataflash_at91sam9260ek.bin" user="Main.PatriceVilchez" version="1" |
|---|
| > > | | META FILEATTACHMENT |
attachment="dataflash_at91sam9260ek.bin" attr="" comment="" date="1202997297" name="dataflash_at91sam9260ek.bin" path="dataflash_at91sam9260ek.bin" size="3420" stream="dataflash_at91sam9260ek.bin" user="Main.NicolasFerre" version="2" |
|---|
| | | | META FILEATTACHMENT |
attachment="dataflash_at91sam9261ek.bin" attr="" comment="" date="1185439893" name="dataflash_at91sam9261ek.bin" path="dataflash_at91sam9261ek.bin" size="3760" stream="dataflash_at91sam9261ek.bin" user="Main.PatriceVilchez" version="1" |
| META FILEATTACHMENT |
attachment="dataflash_at91sam9263ek.bin" attr="" comment="" date="1185439915" name="dataflash_at91sam9263ek.bin" path="dataflash_at91sam9263ek.bin" size="3872" stream="dataflash_at91sam9263ek.bin" user="Main.PatriceVilchez" version="1" |
| META FILEATTACHMENT |
attachment="SAM-BA_mainwin-bootstrap.png" attr="" comment="SAM-BA main window flashing bootstrap" date="1189513665" name="SAM-BA_mainwin-bootstrap.png" path="SAM-BA_mainwin-bootstrap.png" size="29337" stream="SAM-BA_mainwin-bootstrap.png" user="Main.NicolasFerre" version="1" |
|---|
|
|
|
AT91Bootstrap 38 - 17 Jan 2008 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | |
| Board | Description | Binary |
| at91sam9260ek | AT91Bootstrap binary with 2nd level application in Dataflash chip (SPI 0 CS 1) | dataflash_at91sam9260ek.bin |
| |
> > | | | | | | | | META FILEATTACHMENT |
attachment="dataflash_at91sam9263ek.bin" attr="" comment="" date="1185439915" name="dataflash_at91sam9263ek.bin" path="dataflash_at91sam9263ek.bin" size="3872" stream="dataflash_at91sam9263ek.bin" user="Main.PatriceVilchez" version="1" |
| META FILEATTACHMENT |
attachment="SAM-BA_mainwin-bootstrap.png" attr="" comment="SAM-BA main window flashing bootstrap" date="1189513665" name="SAM-BA_mainwin-bootstrap.png" path="SAM-BA_mainwin-bootstrap.png" size="29337" stream="SAM-BA_mainwin-bootstrap.png" user="Main.NicolasFerre" version="1" |
| META FILEATTACHMENT |
attachment="9263_rom_boot_sequence.png" attr="" comment="" date="1190129964" name="9263_rom_boot_sequence.png" path="9263_rom_boot_sequence.png" size="43622" stream="9263_rom_boot_sequence.png" user="Main.NicolasFerre" version="1" |
|---|
| |
> > | | META FILEATTACHMENT |
attachment="dataflash_at91sam9xeek.bin" attr="" comment="" date="1200586005" name="dataflash_at91sam9xeek.bin" path="dataflash_at91sam9xeek.bin" size="3492" stream="dataflash_at91sam9xeek.bin" user="Main.NicolasFerre" version="1" |
|---|
|
|
|
AT91Bootstrap 37 - 17 Jan 2008 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | | | Product |
Boot from DataFlash (SPI0 CS0) |
Boot from DataFlash (SPI0 CS1) |
Boot from NAND Flash |
Boot from SD card |
Boot from NOR Flash |
Boot from Internal Flash 1 |
| at91rm9200ek |
|
|
|
|
|
|
| at91sam9260ek |
|
2 |
3 |
|
|
|
| |
> > | | at91sam9xeek |
|
|
|
|
|
|
| | | | at91sam9261ek |
2 |
|
|
|
|
|
| at91sam9263ek |
4 |
|
5 |
5 |
|
|
|
|
|
AT91Bootstrap 34 - 21 Nov 2007 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | |
| Product | Boot from DataFlash (SPI0 CS0) | Boot from DataFlash (SPI0 CS1) | Boot from NAND Flash | Boot from SD card | Boot from NOR Flash | Boot from Internal Flash 1 |
| at91rm9200ek | | | | | | |
| |
< < | | > > | | | | | at91sam9261ek |
2 |
|
|
|
|
|
| at91sam9263ek |
4 |
|
5 |
5 |
|
|
|
|
|
AT91Bootstrap 33 - 12 Oct 2007 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | | In the linux4SAM pre-built demo it is used to configure the hardware and to load and start the standard U-Boot bootloader, it can start also be configured to start directly the linux kernel. | |
< < | More informations see the AT91Bootstrap application note. | > > | More information see the AT91Bootstrap application note. | | | Pre-built binaries
| | | If no application is available then SAM-BA application is executed. It waits for transactions either on the USB device, or on the DBGU serial port, Then the SAM-BA tool can be used to program FLASH or EEPROM present on your board. | |
< < | For more informations on this topic, please check the corresponding SAM product datasheet section Boot Program . You can find a valuable summary in the document named SAM9 Boot Strategies or see the cross matrix below.. | > > | For more information on this topic, please check the corresponding SAM product datasheet section Boot Program . You can find a valuable summary in the document named SAM9 Boot Strategies or see the cross matrix below.. | | | ROM Code boot Sequence example |
|
|
AT91Bootstrap 29 - 19 Sep 2007 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | | In the linux4SAM pre-built demo it is used to configure the hardware and to load and start the standard U-Boot bootloader, it can start also be configured to start directly the linux kernel. | |
< < | More informations see AT91Bootstrap on atmel.com. | > > | More informations see the AT91Bootstrap application note. | | | Pre-built binaries
| | | This section describes How to load AT91Bootstrap into the boot media with SAM-BA. | |
< < |
- Make sure that the chip can execute the bootROM monitor SAM-BA-boot. Depending on board you can remove the dataflash card, unselect media by jumper or use the AT91Bootstrap recovery method.
- Reset the board
| | |
- Connect the USB Device Interface to your host machine using the USB Device Cable
| |
> > |
- Make sure that the chip can execute the bootROM monitor SAM-BA-boot :
| AT91SAM9260-EK | AT91SAM9261-EK | AT91SAM9263-EK (RevA) |
- J7 must be opened (BMS=1) to boot from the on-chip Boot ROM
- follow the AT91SAM9260EKSamBaRecovery recovery method, if needed
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
| - J4 must be opened (BMS=1) to boot from the on-chip Boot ROM
- remove DataFlash Jumper (J21)
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
- plug DataFlash Jumper (J21) back in position 1-2
| - J5-6 must be opened (BMS=1) to boot from the on-chip Boot ROM
- remove DataFlash Card (J9)
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
- reinsert the DataFlash Card in J9
|
| AT91SAM9XE-EK | AT91SAM9RL-EK | AT91SAM9263-EK (RevB) |
- erase the content of the internal FLASH by putting the J7 jumper in position 1-2
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
- open now J7 (or put in position 2-3), to boot in normal operating mode
| - J11 must be on 1-2 position (BMS=1) to boot from the on-chip Boot ROM
- remove DataFlash and NAND Flash Jumpers (J12 & J13)
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
- close DataFlash and NAND Flash Jumpers (J12 & J13)
| - J5-6 must be opened (BMS=1) to boot from the on-chip Boot ROM
- remove DataFlash Card (J9)
- remove NAND Flash Jumpers (J29)
- power up the board
- verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
- reinsert the DataFlash Card in J9 (only for DataFlash demo)
- close NAND Flash Jumper (J29)
|
| | |
- Start SAM-BA GUI Application
- Select the the board in the drop-down menu and choose the USB Connection

| | |
| |
< < | Sources and build process are described in AT91Bootstrap application note on atmel.com. | > > | Sources and build process are described in AT91Bootstrap application note. | | | | |
< < | in brief
TODO | > > | In brief | | | | |
> > | To compile an AT91Bootstrap project:
- go into the board directory
- select your board by going into the corresponding board directory
- select your media by going into the corresponding directory
- run make
Example:
To compile a DataFlash boot project for AT91SAM9260-EK board, type the following commands:
cd board/at91sam9260ek/dataflash
make clean
and
make
or if you want to specify the cross-compiler :
make CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->
path_to_cross-compiler is only needed if it is not in your PATH.
Usually cross-compiler-prefix- looks like arm-linux- or arm-elf-
| | |
| META FILEATTACHMENT |
attachment="dataflash_at91sam9260ek.bin" attr="" comment="" date="1185439874" name="dataflash_at91sam9260ek.bin" path="dataflash_at91sam9260ek.bin" size="3292" stream="dataflash_at91sam9260ek.bin" user="Main.PatriceVilchez" version="1" |
|---|
|
|
|
AT91Bootstrap 25 - 11 Sep 2007 - Main.NicolasFerre
|
| | | META TOPICPARENT |
name="WebHome" |
|---|
AT91Bootstrap | | |
- Connect the USB Device Interface to your host machine using the USB Device Cable
- Start SAM-BA GUI Application
- Select the the board in the drop-down menu and choose the USB Connection
| |
< < |  | > > | 
| | |
- Eventually plug back a jumper to access the media on which u-boot must be loaded to
- In the main SAM-BA window :
| |
< < | <
| |
|