
The board Linux installation can be restored using the SAM-BA script in
the
sam9-l9261-samba.zip
archive. Windows installation along with the
SAM-BA tool from Atmel are required for that.
Restoration procedure:
1.
Make sure AT91-ISP v1.12 or higher is installed. It is freely available from
http://www.atmel.com/products/at91
.
2. Power down the board.
3. Remove the AT/SD jumper.
4. Power up the board.
5. Connect the PC host to the board USB device connector.
6. Put the AT/SD jumper at the AT position.
7. Windows might ask for drivers. Select automatic driver installation.
Windows should find the necessary drivers from the previous AT91-
ISP installation.
8.
Extract the contents of the
sam9-l9261-samba.zip
archive to a temporary directory.
9. Run the sam9_l9261_demo_linux.bat script from that directory.
10. After a couple of minutes Notepad will be opened with the log file of
the write operation.
11. Reset or power cycle SAM9-L9261.
WARNING:
All memory contents will be ERASED, including any data stored
in the NAND partition.
TIP:
If restoration of the root filesystem in NAND is not required then its
erasure can be spared. Open sam9_l9261_demo_linux.tcl and uncomment
the last few lines concerning the writing of NAND. Lines in TCL are
commented if the first character on the line is '#'. The result should be like
this:
.....lots of TCL code......
puts "-I- === Load the Kernel image ==="
send_file {DataFlash AT45DB/DCB} "$df_mapping(kernelFileName)"
$df_mapping(kernelOff) 0
#puts "-I- === Initialize the NAND access ==="
#NANDFLASH::Init
#puts "-I- === Erase all the NAND flash blocs and test the erasing ==="
#NANDFLASH::EraseAllNandFlash
#puts "-I- === Load the linux file system ==="
#send_file {NandFlash} "$nf_mapping(diskFileName)" $nf_mapping(diskOff) 0
LEDS
The board has three user-controllable LEDs. The default Linux
configuration for these is:
LED #
Configuration
Description
LED1
nand-disk
LED is switched on on every access to the
NAND flash.
LED2
none
No function assigned.
LED3
heartbeat
Repeatedly switched on and off following the
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from