Linux & Open Source related information for AT91 Smart ARM Microcontrollers

View   r40  >  r39  >  r38  >  r37  >  r36  ...

GettingStarted 40 - 27 Jun 2008 - Main.PatriceVilchez
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Getting Started

Line: 72 to 72
 
AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK (REV-A)
AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK (REV-A)
Changed:
<
<
!AT91SAM9XE-EK !AT91SAM9RL-EK !AT91SAM9263-EK (REV-B)
>
>
!AT91SAM9XE-EK !AT91SAM9RL-EK AT91SAM9263-EK (REV-B) 1 sort

Notes

1: AT91SAM9263 MRLA or MRLB could be soldered on this board revision. To identity which chip revision you have, check AT91SAM9263-EK user guide at http://atmel.com/dyn/products/tools_card.asp?tool_id=4057


 
AT91SAM9XE-EK AT91SAM9RL-EK AT91SAM9263-EK (REV-B)

GettingStarted 39 - 25 Jun 2008 - Main.PatriceVilchez
Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Getting Started

Line: 43 to 43
 
  1. The kernel sets up the caches, initializes each of the hardware devices via the init function in each driver, mounts the root filesystem and execs the init process, which is the ultimate parent of all user mode processes, typically /sbin/initd.
  2. Executing the first program linked against the shared C runtime library (often init) causes the shared runtime library to be loaded. In a typical Linux system, init reads /etc/inittab to execute the appropriate run control script from /etc/rc.d, which execute the start scripts to initialize networking and other system services
Changed:
<
<

Linux4SAM demo - FLASH memory map

>
>

Linux4SAM DataFlash demo - Memory map

 
Changed:
<
<
demo_flash_map.png
>
>
demo_dataflash_map.png
 
Changed:
<
<
* : On AT91 chips with embedded FLASH 2, AT91Bootstrap is located into the internal FLASH and not in the DataFlash.

Notes

2: Embedded FLASH available on AT91SAM9XE for instance.


>
>
* : On AT91 chips with embedded FLASH 2, AT91Bootstrap is located into the internal FLASH and not in the DataFlash nor NandFlash.

Linux4SAM NandFlash demo - Memory map

demo_nandflash_map.png

* : On AT91 chips with embedded FLASH 2, AT91Bootstrap is located into the internal FLASH and not in the DataFlash nor NandFlash.

 

Requirements

Line: 65 to 71
 
AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK (REV-A)
Changed:
<
<
AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
>
>
AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK (REV-A)
 
!AT91SAM9XE-EK !AT91SAM9RL-EK !AT91SAM9263-EK (REV-B)
| AT91SAM9XE-EK | AT91SAM9RL-EK |
Line: 87 to 93
 
Board Description Binary Sources location
Changed:
<
<
at91sam9260ek Linux4SAM console demo archive linux4sam-angstrom-at91sam9260ek.zip (~ 8 MB) OpenEmbeddedAngstromBuild
at91sam9xeek Linux4SAM console demo archive linux4sam-angstrom-at91sam9xeek.zip (~ 8 MB)
at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 26 MB)
at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 26 MB)
at91sam9rlek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9rlek.zip (~ 26 MB) 3

Notes

3: Touchscreen driver not available yet ; check LinuxKernel#2_6_24_at91_exp_patch


>
>
at91sam9260ek Linux4SAM console demo archive linux4sam-angstrom-at91sam9260ek.zip (~ 14 MB) AT91Bootstrap
U-Boot
Linux Kernel
OpenEmbedded-Angstrom
at91sam9xeek Linux4SAM console demo archive linux4sam-angstrom-at91sam9xeek.zip (~ 14 MB)
at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 27 MB)
at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 27 MB)
at91sam9rlek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9rlek.zip (~ 27 MB) 3
 

Flashing a demo on AT91 boards

Line: 103 to 109
 

Changed:
<
<
!AT91SAM9260-EK !AT91SAM9261-EK !AT91SAM9263-EK
>
>
!AT91SAM9260-EK !AT91SAM9261-EK !AT91SAM9263-EK (RevA)
 |
Line: 125 to 131
 
  • reinsert the DataFlash Card in J9
  • |
    Changed:
    <
    <
    !AT91SAM9XE-EK !AT91SAM9RL-EK  
    >
    >
    !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
    Line: 139 to 145
     
  • verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
  • close DataFlash and NAND Flash Jumpers (J12 & J13)
  • Changed:
    <
    <
     
    >
    >
    • 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)
     
    Changed:
    <
    <
    • launch the .bat file : this script will run SAM-BA with proper parameters
    >
    >
    • launch the proper .bat file : this script will run SAM-BA with proper parameters
     
    • when the programmation logfile.log appears (this will take a few minutes), remove the USB cable
    • power cycle the board
    • look the system booting on the LCD screen or trough the serial line
    Line: 183 to 199
     
    META FILEATTACHMENT attachment="9rl_board_presentation_tiny.png" attr="" comment="" date="1208280766" name="9rl_board_presentation_tiny.png" path="9rl_board_presentation_tiny.png" size="12697" stream="9rl_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9263_revb_board_presentation.png" attr="" comment="" date="1214302072" name="9263_revb_board_presentation.png" path="9263_revb_board_presentation.png" size="187397" stream="9263_revb_board_presentation.png" user="Main.PatriceVilchez" version="1"
    META FILEATTACHMENT attachment="9263_revb_board_presentation_tiny.png" attr="" comment="" date="1214302081" name="9263_revb_board_presentation_tiny.png" path="9263_revb_board_presentation_tiny.png" size="15611" stream="9263_revb_board_presentation_tiny.png" user="Main.PatriceVilchez" version="1"
    Added:
    >
    >
    META FILEATTACHMENT attachment="demo_dataflash_map.png" attr="" comment="" date="1214409821" name="demo_dataflash_map.png" path="demo_dataflash_map.png" size="16562" stream="demo_dataflash_map.png" user="Main.PatriceVilchez" version="1"
    META FILEATTACHMENT attachment="demo_nandflash_map.png" attr="" comment="" date="1214409836" name="demo_nandflash_map.png" path="demo_nandflash_map.png" size="13910" stream="demo_nandflash_map.png" user="Main.PatriceVilchez" version="1"

    GettingStarted 38 - 25 Jun 2008 - Main.PatriceVilchez
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 38 to 38
     linux_boot_sequence.png

    1. Processor comes out of reset and branches to the ROM startup code.
    Changed:
    <
    <
    1. The ROM startup code initializes the CPU and memory controller, performing only minimal initialization of on-chip devices, such as the console serial port (typically SMC1 on 8xx devices) to provide boot diagnostic messages. It also sets up the memory map for the kernel to use in a format that is consistent across platforms, and then jumps to the boot loader.
    >
    >
    1. The ROM startup code initializes the CPU and memory controller, performing only minimal initialization of on-chip devices, such as the console serial port to provide boot diagnostic messages. It also sets up the memory map for the kernel to use in a format that is consistent across platforms, and then jumps to the boot loader.
     
    1. The boot loader decompresses the kernel into RAM, and jumps to it.
    2. The kernel sets up the caches, initializes each of the hardware devices via the init function in each driver, mounts the root filesystem and execs the init process, which is the ultimate parent of all user mode processes, typically /sbin/initd.
    3. Executing the first program linked against the shared C runtime library (often init) causes the shared runtime library to be loaded. In a typical Linux system, init reads /etc/inittab to execute the appropriate run control script from /etc/rc.d, which execute the start scripts to initialize networking and other system services

    GettingStarted 37 - 24 Jun 2008 - Main.PatriceVilchez
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 64 to 64
     
    Changed:
    <
    <
    !AT91SAM9260-EK !AT91SAM9261-EK !AT91SAM9263-EK
    >
    >
    !AT91SAM9260-EK !AT91SAM9261-EK !AT91SAM9263-EK (REV-A)
     
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    Changed:
    <
    <
    !AT91SAM9XE-EK !AT91SAM9RL-EK  
    >
    >
    !AT91SAM9XE-EK !AT91SAM9RL-EK !AT91SAM9263-EK (REV-B)
     | AT91SAM9XE-EK |
    Changed:
    <
    <
    AT91SAM9RL-EK | |
    >
    >
    AT91SAM9RL-EK | AT91SAM9263-EK (REV-B) |
     
    Line: 180 to 181
     
    META FILEATTACHMENT attachment="9xe_board_presentation_tiny.png" attr="" comment="" date="1200585135" name="9xe_board_presentation_tiny.png" path="9xe_board_presentation_tiny.png" size="12700" stream="9xe_board_presentation_tiny.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="9rl_board_presentation.png" attr="" comment="" date="1208280748" name="9rl_board_presentation.png" path="9rl_board_presentation.png" size="140062" stream="9rl_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9rl_board_presentation_tiny.png" attr="" comment="" date="1208280766" name="9rl_board_presentation_tiny.png" path="9rl_board_presentation_tiny.png" size="12697" stream="9rl_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    Added:
    >
    >
    META FILEATTACHMENT attachment="9263_revb_board_presentation.png" attr="" comment="" date="1214302072" name="9263_revb_board_presentation.png" path="9263_revb_board_presentation.png" size="187397" stream="9263_revb_board_presentation.png" user="Main.PatriceVilchez" version="1"
    META FILEATTACHMENT attachment="9263_revb_board_presentation_tiny.png" attr="" comment="" date="1214302081" name="9263_revb_board_presentation_tiny.png" path="9263_revb_board_presentation_tiny.png" size="15611" stream="9263_revb_board_presentation_tiny.png" user="Main.PatriceVilchez" version="1"

    GettingStarted 36 - 22 Apr 2008 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 90 to 90
     
    at91sam9xeek Linux4SAM console demo archive linux4sam-angstrom-at91sam9xeek.zip (~ 8 MB) ^
    at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 26 MB) ^
    at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 26 MB) ^
    Changed:
    <
    <
    at91sam9rlek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9rlek.zip (~ 26 MB) ^
    >
    >
    at91sam9rlek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9rlek.zip (~ 26 MB) 3 ^
     

    Flashing a demo on AT91 boards


    GettingStarted 35 - 15 Apr 2008 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 66 to 66
     
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    Changed:
    <
    <
    !AT91SAM9XE-EK    
    AT91SAM9XE-EK    
    >
    >
    !AT91SAM9XE-EK !AT91SAM9RL-EK  
    AT91SAM9XE-EK AT91SAM9RL-EK  
     
    Line: 89 to 90
     
    at91sam9xeek Linux4SAM console demo archive linux4sam-angstrom-at91sam9xeek.zip (~ 8 MB) ^
    at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 26 MB) ^
    at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 26 MB) ^
    Added:
    >
    >
    at91sam9rlek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9rlek.zip (~ 26 MB) ^
     

    Flashing a demo on AT91 boards

    Before flashing the demo, make sure that you have installed the SAM-BA tool on your host computer.

    Line: 121 to 124
     
  • reinsert the DataFlash Card in J9
  • |
    Changed:
    <
    <
    !AT91SAM9XE-EK    
    >
    >
    !AT91SAM9XE-EK !AT91SAM9RL-EK  
     |
    • 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
    Changed:
    <
    <
       
    >
    >
    • 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)
     
     

    • launch the .bat file : this script will run SAM-BA with proper parameters
    Line: 168 to 178
     
    META FILEATTACHMENT attachment="9263_board_presentation_tiny.png" attr="" comment="" date="1192199127" name="9263_board_presentation_tiny.png" path="9263_board_presentation_tiny.png" size="13517" stream="9263_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9xe_board_presentation.png" attr="" comment="" date="1200585115" name="9xe_board_presentation.png" path="9xe_board_presentation.png" size="166744" stream="9xe_board_presentation.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="9xe_board_presentation_tiny.png" attr="" comment="" date="1200585135" name="9xe_board_presentation_tiny.png" path="9xe_board_presentation_tiny.png" size="12700" stream="9xe_board_presentation_tiny.png" user="Main.NicolasFerre" version="2"
    Added:
    >
    >
    META FILEATTACHMENT attachment="9rl_board_presentation.png" attr="" comment="" date="1208280748" name="9rl_board_presentation.png" path="9rl_board_presentation.png" size="140062" stream="9rl_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9rl_board_presentation_tiny.png" attr="" comment="" date="1208280766" name="9rl_board_presentation_tiny.png" path="9rl_board_presentation_tiny.png" size="12697" stream="9rl_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"

    GettingStarted 34 - 18 Jan 2008 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 48 to 48
     demo_flash_map.png
    Added:
    >
    >
    * : On AT91 chips with embedded FLASH 2, AT91Bootstrap is located into the internal FLASH and not in the DataFlash.
     

    Requirements

    Line: 158 to 160
     
    META FILEATTACHMENT attachment="9261_board_presentation.png" attr="" comment="" date="1189699725" name="9261_board_presentation.png" path="9261_board_presentation.png" size="152791" stream="9261_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9261_board_presentation_tiny.png" attr="" comment="" date="1189699735" name="9261_board_presentation_tiny.png" path="9261_board_presentation_tiny.png" size="11446" stream="9261_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="linux_boot_sequence.png" attr="" comment="" date="1190116516" name="linux_boot_sequence.png" path="linux_boot_sequence.png" size="77406" stream="linux_boot_sequence.png" user="Main.NicolasFerre" version="2"
    Changed:
    <
    <
    META FILEATTACHMENT attachment="demo_flash_map.png" attr="" comment="" date="1190116235" name="demo_flash_map.png" path="demo_flash_map.png" size="32232" stream="demo_flash_map.png" user="Main.NicolasFerre" version="1"
    >
    >
    META FILEATTACHMENT attachment="demo_flash_map.png" attr="" comment="with 9xe map" date="1200652045" name="demo_flash_map.png" path="demo_flash_map.png" size="16363" stream="demo_flash_map.png" user="Main.NicolasFerre" version="3"
     
    META FILEATTACHMENT attachment="Screenshot-6.png" attr="" comment="" date="1192096930" name="Screenshot-6.png" path="Screenshot-6.png" size="13982" stream="Screenshot-6.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9260_board_presentation.png" attr="" comment="" date="1192199054" name="9260_board_presentation.png" path="9260_board_presentation.png" size="166717" stream="9260_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9260_board_presentation_tiny.png" attr="" comment="" date="1192199090" name="9260_board_presentation_tiny.png" path="9260_board_presentation_tiny.png" size="12763" stream="9260_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"

    GettingStarted 33 - 17 Jan 2008 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 58 to 58
     
    • USB Device Cable ;
    • serial Cross Cable (Female-Female) ;
    • eventually a DataFlash Card => check Boot capabilities matrix (for AT91SAM9263-EK for example) ;
    Changed:
    <
    <
    • AT91SAM926x-EK Evaluation Kit. Check below how kits look like and how to connect them :
    >
    >
    • AT91SAM9-EK Evaluation Kit. Check below how kits look like and how to connect them :
     
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    Added:
    >
    >
    !AT91SAM9XE-EK    
    AT91SAM9XE-EK    
     
    Line: 82 to 84
     
    Board Description Binary Sources location
    at91sam9260ek Linux4SAM console demo archive linux4sam-angstrom-at91sam9260ek.zip (~ 8 MB) OpenEmbeddedAngstromBuild
    Added:
    >
    >
    at91sam9xeek Linux4SAM console demo archive linux4sam-angstrom-at91sam9xeek.zip (~ 8 MB) ^
     
    at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 26 MB) ^
    at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 26 MB) ^

    Flashing a demo on AT91 boards

    Line: 90 to 93
     
    • connect a USB cable on the board
    • connect a serial link on DBGU connector and open the terminal emulator program
    Added:
    >
    >
    • choose the proper procedure depending on your chip through the following table :
     

    Line: 115 to 119
     
  • reinsert the DataFlash Card in J9
  • |
    Added:
    >
    >
    !AT91SAM9XE-EK    
    • 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
       
     

    • launch the .bat file : this script will run SAM-BA with proper parameters
    Line: 152 to 164
     
    META FILEATTACHMENT attachment="9260_board_presentation_tiny.png" attr="" comment="" date="1192199090" name="9260_board_presentation_tiny.png" path="9260_board_presentation_tiny.png" size="12763" stream="9260_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9263_board_presentation.png" attr="" comment="" date="1192199110" name="9263_board_presentation.png" path="9263_board_presentation.png" size="162787" stream="9263_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9263_board_presentation_tiny.png" attr="" comment="" date="1192199127" name="9263_board_presentation_tiny.png" path="9263_board_presentation_tiny.png" size="13517" stream="9263_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    Added:
    >
    >
    META FILEATTACHMENT attachment="9xe_board_presentation.png" attr="" comment="" date="1200585115" name="9xe_board_presentation.png" path="9xe_board_presentation.png" size="166744" stream="9xe_board_presentation.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="9xe_board_presentation_tiny.png" attr="" comment="" date="1200585135" name="9xe_board_presentation_tiny.png" path="9xe_board_presentation_tiny.png" size="12700" stream="9xe_board_presentation_tiny.png" user="Main.NicolasFerre" version="2"

    GettingStarted 32 - 16 Oct 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 73 to 73
     Serial communication parameters 115200 8-N-1 :
    Baud rate 115200
    Data 8 bits
    Parity None
    Stop 1 bit
    Flow control None

    • AT91 ISP 1.10 (or higher) ; containing the SAM-BA tool => Check the SoftwareTools page ;
    • the demo archive provide just below. This archive contains :
    Changed:
    <
    <
      • all 4 components binaries : AT91Bootstrap, u-boot, Linux kernel, root filesystem ;
    >
    >
      • all 4 components binaries : AT91Bootstrap, u-boot, Linux kernel, root filesystem ;
     
      • a TCL/SAM-BA script that interfaces with the SAM-BA tool to flash the demo ;
      • a .bat script able to run the flashing script calling SAM-BA itself.

    GettingStarted 31 - 16 Oct 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 47 to 47
     
    demo_flash_map.png
    Added:
    >
    >
     

    Requirements

    Hardware

    Line: 132 to 134
     

    Going Forward

    Changed:
    <
    <
    If you want to rebuild this demo from sources, go through each component topic and you will have a comprehensive explanation of it role and how to build it.
    >
    >
    If you want to rebuild this demo from sources, go through each component topic and you will have a comprehensive explanation of it role and how to build it.
     For people in a hurry, there is a summary page which collects all material to build from sources : it allows you GoingForward quickly.
    Added:
    >
    >
     

    META FILEATTACHMENT attachment="SAM9_Boot_Strategies.ppt" attr="" comment="SAM9 boot strategie addressed by product" date="1189600004" name="SAM9_Boot_Strategies.ppt" path="SAM9_Boot_Strategies.ppt" size="509440" stream="SAM9_Boot_Strategies.ppt" user="Main.NicolasFerre" version="1"

    GettingStarted 30 - 12 Oct 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 29 to 29
     Several pieces of software are involved to boot a linux kernel on SAM9 products. First is the ROM code which is in charge to check if a valid application is present on supported media (FLASH, DATAFLASH, NANDFLASH, SDCARD).

    The boot sequence of linux4SAM is done in several steps :

    Changed:
    <
    <
    1. Boot Program - Check if a valid application is present in FLASH and if it is the case download it into internal SRAM.
      For more informations on this topic, please check the Boot strategies section and particularly the Boot capabilities matrix.
    >
    >
    1. Boot Program - Check if a valid application is present in FLASH and if it is the case download it into internal SRAM.
      For more information on this topic, please check the Boot strategies section and particularly the Boot capabilities matrix.
     
    1. AT91Bootstrap - In charge of hardware configuration, download U-Boot binary frome FLASH to SDRAM, start the bootloader
    2. U-Boot - The bootloader, in charge of download kernel binaries from FLASH, network, USB key, etc. Start the kernel.
    3. Linux kernel - The operating system kernel.
    Line: 61 to 61
     
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    Changed:
    <
    <
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    >
    >
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
     
    Line: 145 to 145
     
    META FILEATTACHMENT attachment="linux_boot_sequence.png" attr="" comment="" date="1190116516" name="linux_boot_sequence.png" path="linux_boot_sequence.png" size="77406" stream="linux_boot_sequence.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="demo_flash_map.png" attr="" comment="" date="1190116235" name="demo_flash_map.png" path="demo_flash_map.png" size="32232" stream="demo_flash_map.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="Screenshot-6.png" attr="" comment="" date="1192096930" name="Screenshot-6.png" path="Screenshot-6.png" size="13982" stream="Screenshot-6.png" user="Main.NicolasFerre" version="1"
    Added:
    >
    >
    META FILEATTACHMENT attachment="9260_board_presentation.png" attr="" comment="" date="1192199054" name="9260_board_presentation.png" path="9260_board_presentation.png" size="166717" stream="9260_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9260_board_presentation_tiny.png" attr="" comment="" date="1192199090" name="9260_board_presentation_tiny.png" path="9260_board_presentation_tiny.png" size="12763" stream="9260_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9263_board_presentation.png" attr="" comment="" date="1192199110" name="9263_board_presentation.png" path="9263_board_presentation.png" size="162787" stream="9263_board_presentation.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="9263_board_presentation_tiny.png" attr="" comment="" date="1192199127" name="9263_board_presentation_tiny.png" path="9263_board_presentation_tiny.png" size="13517" stream="9263_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"

    GettingStarted 29 - 11 Oct 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"
    Deleted:
    <
    <
     

    Getting Started

    Line: 126 to 125
     Ok, now you should have the Linux demo up'n running on your board ! Have a walk through applications of this demo.
    Added:
    >
    >
    Screenshot-6.png
     

    Going Forward

    If you want to rebuild this demo from sources, go through each component topic and you will have a comprehensive explanation of it role and how to build it.

    Changed:
    <
    <
    For people in a hurry, there is a summary page which collects all material to build from sources : il allows you GoingForward quickly.
    >
    >
    For people in a hurry, there is a summary page which collects all material to build from sources : it allows you GoingForward quickly.
     
    Line: 140 to 144
     
    META FILEATTACHMENT attachment="9261_board_presentation_tiny.png" attr="" comment="" date="1189699735" name="9261_board_presentation_tiny.png" path="9261_board_presentation_tiny.png" size="11446" stream="9261_board_presentation_tiny.png" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="linux_boot_sequence.png" attr="" comment="" date="1190116516" name="linux_boot_sequence.png" path="linux_boot_sequence.png" size="77406" stream="linux_boot_sequence.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="demo_flash_map.png" attr="" comment="" date="1190116235" name="demo_flash_map.png" path="demo_flash_map.png" size="32232" stream="demo_flash_map.png" user="Main.NicolasFerre" version="1"
    Added:
    >
    >
    META FILEATTACHMENT attachment="Screenshot-6.png" attr="" comment="" date="1192096930" name="Screenshot-6.png" path="Screenshot-6.png" size="13982" stream="Screenshot-6.png" user="Main.NicolasFerre" version="1"

    GettingStarted 28 - 10 Oct 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 126 to 126
     Ok, now you should have the Linux demo up'n running on your board ! Have a walk through applications of this demo.
    Added:
    >
    >

    Going Forward

    If you want to rebuild this demo from sources, go through each component topic and you will have a comprehensive explanation of it role and how to build it.

    For people in a hurry, there is a summary page which collects all material to build from sources : il allows you GoingForward quickly.

     

    META FILEATTACHMENT attachment="SAM9_Boot_Strategies.ppt" attr="" comment="SAM9 boot strategie addressed by product" date="1189600004" name="SAM9_Boot_Strategies.ppt" path="SAM9_Boot_Strategies.ppt" size="509440" stream="SAM9_Boot_Strategies.ppt" user="Main.NicolasFerre" version="1"

    GettingStarted 27 - 27 Sep 2007 - Main.RfoLnx4sam
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 62 to 62
     
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
    Changed:
    <
    <
    AT91SAM9260-EK AT91SAM9261-EK  
    >
    >
    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
     
    Line: 122 to 122
     
    • look the system booting on the LCD screen or trough the serial line
    • calibrate accurately the LCD screen (if needed)
    Changed:
    <
    <
    Ok, now you should have the Linux demo up'n running on your board !
    >
    >

    Playing with the demo

    Ok, now you should have the Linux demo up'n running on your board ! Have a walk through applications of this demo.

     

    GettingStarted 26 - 27 Sep 2007 - Main.RfoLnx4sam
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 78 to 78
     
    Changed:
    <
    <
    Board Description Binary
    at91sam9260ek Linux4SAM demo archive xxx.zip
    >
    >
    Board Description Binary Sources location
    at91sam9260ek Linux4SAM console demo archive linux4sam-angstrom-at91sam9260ek.zip (~ 8 MB) OpenEmbeddedAngstromBuild
    at91sam9261ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9261ek.zip (~ 26 MB)
    at91sam9263ek Linux4SAM graphical demo archive linux4sam-angstrom-at91sam9263ek.zip (~ 26 MB)
     

    Flashing a demo on AT91 boards

    Before flashing the demo, make sure that you have installed the SAM-BA tool on your host computer.

    Line: 124 to 124
     Ok, now you should have the Linux demo up'n running on your board !
    Added:
    >
    >

     
    META FILEATTACHMENT attachment="SAM9_Boot_Strategies.ppt" attr="" comment="SAM9 boot strategie addressed by product" date="1189600004" name="SAM9_Boot_Strategies.ppt" path="SAM9_Boot_Strategies.ppt" size="509440" stream="SAM9_Boot_Strategies.ppt" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="Linux4SAM_GettingStarted.png" attr="" comment="" date="1189673152" name="Linux4SAM_GettingStarted.png" path="Linux4SAM_GettingStarted.png" size="74896" stream="Linux4SAM_GettingStarted.png" user="Main.NicolasFerre" version="2"
    META FILEATTACHMENT attachment="9261_board_presentation.png" attr="" comment="" date="1189699725" name="9261_board_presentation.png" path="9261_board_presentation.png" size="152791" stream="9261_board_presentation.png" user="Main.NicolasFerre" version="1"

    GettingStarted 25 - 26 Sep 2007 - Main.RfoLnx4sam
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started


    GettingStarted 24 - 26 Sep 2007 - Main.SdcLnx4sam
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started


    GettingStarted 23 - 19 Sep 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 89 to 89
     
    • connect a USB cable on the board
    • connect a serial link on DBGU connector and open the terminal emulator program
    Changed:
    <
    <
    AT91SAM9260? -EK AT91SAM9261? -EK AT91SAM9263? -EK
    >
    >

    AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK
     |
    • J7 must be opened (BMS=1) to boot from the on-chip Boot ROM
    Changed:
    <
    <
  • _on AT91SAM9260-EK platform, there is no way to disconnect the on board DataFlash. If valid code is present in the first DataFlash page the chip will execute it before connecting to SAM-BA._ http://www.atmel.com/dyn/resources/prod_documents/doc6281.pdf
  • >
    >
  • follow the AT91SAM9260EKSamBaRecovery recovery method, if needed
  •  
  • power up the board
  • Changed:
    <
    <
  • >
    >
  • 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
    Changed:
    <
    <
  • verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area(
  • >
    >
  • 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
    Added:
    >
    >
  • verify that the USB connection is established (ATMEL AT91xxxxx Test Board appears in taskbar notification area)
  •  
  • reinsert the DataFlash Card in J9
  • |
    Added:
    >
    >
     
    • launch the .bat file : this script will run SAM-BA with proper parameters
    • when the programmation logfile.log appears (this will take a few minutes), remove the USB cable
    Line: 117 to 122
     
    • look the system booting on the LCD screen or trough the serial line
    • calibrate accurately the LCD screen (if needed)
    Changed:
    <
    <
    Note about the boot : The bootram.nb0 features the dataflash recovery method. An erase of the first dataflash page is performed if button BP4 on the board is pressed after reset. To erase the first dataflash page : Push the button BP4 Push the reset button while BP4 is pressed The following message is displayed on hyperterminal " INFO : Low Level Init : OK Starting main ... Testing BP4 BP4 is pressed. Erasing First Page of SPI data Flash CS1 Please reboot.... "
    >
    >
    Ok, now you should have the Linux demo up'n running on your board !
     
    META FILEATTACHMENT attachment="SAM9_Boot_Strategies.ppt" attr="" comment="SAM9 boot strategie addressed by product" date="1189600004" name="SAM9_Boot_Strategies.ppt" path="SAM9_Boot_Strategies.ppt" size="509440" stream="SAM9_Boot_Strategies.ppt" user="Main.NicolasFerre" version="1"
    META FILEATTACHMENT attachment="Linux4SAM_GettingStarted.png" attr="" comment="" date="1189673152" name="Linux4SAM_GettingStarted.png" path="Linux4SAM_GettingStarted.png" size="74896" stream="Linux4SAM_GettingStarted.png" user="Main.NicolasFerre" version="2"

    GettingStarted 22 - 19 Sep 2007 - Main.NicolasFerre
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 91 to 91
     
    • connect a serial link on DBGU connector and open the terminal emulator program
    AT91SAM9260? -EK AT91SAM9261? -EK AT91SAM9263? -EK
    |
    Deleted:
    <
    <
  •  
  • J7 must be opened (BMS=1) to boot from the on-chip Boot ROM
  • Changed:
    <
    <
  • remove DataFlash Jumper (J21)
  • >
    >
  • _on AT91SAM9260-EK platform, there is no way to disconnect the on board DataFlash. If valid code is present in the first DataFlash page the chip will execute it before connecting to SAM-BA._ http://www.atmel.com/dyn/resources/prod_documents/doc6281.pdf
  •  
  • power up the board
  • Changed:
    <
    <
  • plug DataFlash Jumper (J21) back in position 1-2
  • >
    >
  •   |
    • J4 must be opened (BMS=1) to boot from the on-chip Boot ROM
    • remove DataFlash Jumper (J21)
    • power up the board
    Added:
    >
    >
  • 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
  • |

    GettingStarted 21 - 19 Sep 2007 - Main.TWikiGuest
    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Getting Started

    Line: 101 to 101
     
  • J4 must be opened (BMS=1) to boot from the on-chip Boot ROM
  • remove DataFlash Jumper (J21)
  • power up the board
  • Changed:
    <
    <
  • plug DataFlash Jumper (J21) back in position 1-2
  • \
    >
    >
  • 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)