SAM-BAThe SAM Boot Assistant (SAM-BA) comes with the AT91 In-system Programmer (ISP). It allows to program flash media through RS232, USB or Jtag SAM-ICE link. SAM-BA only runs on Windows.
SAM-BA Linux initiativeA revision of SAM-BA is ported to Linux. It is at the side of the official SAM-BA ISP revision.SAM-BA Linux uses the USB connexion through CDC usbserial driver to communicate with the device.
USB CDC Serial driver mount procedure :
- Login with administrator rights
- Unload usbserial module if it is already running
rmmod usbserial
- Load usbserial kernel module
modprobe usbserial vendor=0x03eb product=0x6124
- Verify that the USB connection is established
lsusb -d 03eb:6124
Bus 004 Device 006: ID 03eb:6124 Atmel Corp
- Know which USB connection is established
dmesg
...
kernel: usb 4-2: new full speed USB device using uhci_hcd and address 5
kernel: usb 4-2: configuration #1 chosen from 1 choice
kernel: usbserial_generic 4-2:1.0: generic converter detected
kernel: usbserial_generic: probe of 4-2:1.0 failed with error -5
kernel: usbserial_generic 4-2:1.1: generic converter detected
kernel: usb 4-2: generic converter now attached to ttyUSBx
=> you will have to use /dev/ttyUSBx instead of \usb\ARM0 to connect to your board
You can also use .tcl scripts from this flavor of SAM-BA. This is useful if you want to runGettingStarted#DemoArchiveBinaries demos.
Cross ToolchainCodeSourcery provides regular, validated releases of the GNU Toolchain for arm processor.
This document refers to arm2007q1-10 version of CodeSourcery toolchain.
Features in this release include:
- Based on GCC 4.2
- Support EABI
- Support for uClinux
- Support for Cortex-M1 (ARMV6-M) CPUs
- Improved code generation for Cortex-A8 and Cortex-R4 CPUs
- Thumb-2 GLIBC binaries
Links:
mkimage (U-Boot)The mkimage U-Boot tool is used to convert a standard kernel image into uImage format needed bybootm U-Boot command.
Make Not needed for newer U-Boot.
Some newer version of make produce errors while compiling some older revision of U-Boot. The compiling of this old code has been validated with make-3.80 : Take it and compile it on your host machine (pace in /usr/local directory for example). You can use it calling the right binary while issuing the cross-compile command:
/usr/local/bin/make-3.80 CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->
r24 - 23 Jul 2009 - 12:38:30 - NicolasFerre
|