Linux4SAM - Software Tools
Software Tools
SAM-BA
The 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.
Description | Binary | FAQ applicable |
---|---|---|
SAM Boot Assistant (SAM-BA ) on http://www.atmel.com |
AT91 In-system Programmer (ISP) | for at91sam9xe (SAM-BA 2.8), for at91sam9g20 (SAM-BA 2.8), for at91sam9263 (SAM-BA 2.7) |
SAM Boot Assistant(
SAM-BA
)는 AT91 In-system Programmer (ISP) 함께 제공된다. 그것은 RS232, USB, Jtag SAM-ICE link를 통해 flash media에 program을 가능하게 한다. SAM-BA는 Windows에서만 동작한다.SAM-BA Linux initiative
A revision of SAM-BA is ported to Linux. It is at the side of the official SAM-BA ISP revision.
SAM-BA revision은 Linux에 ported되었다. 그것은 공식적인 SAM-BA revision 중 하나다.
SAM-BA Linux uses the USB connexion through CDC usbserial
driver to communicate with the device.
SAM-BA Linux는 USB connection을 사용하며, device와 통신하기 위해 CDC usbserial driver를 통한다.
USB CDC Serial driver mount procedure :
USB CDC Serial driver의 mount 과정은 다음과 같다.
- Login with administrator rights
- administrator계정으로 login한다.
- Unload usbserial module if it is already running
- 이미 running 중이라면 usbserial module을 unload한다.
rmmod usbserial
- Load usbserial kernel module
- usbserial kernel module을 load한다.
modprobe usbserial vendor=0x03eb product=0x6124
- Verify that the USB connection is established
- USB connection이 연결되었는지 확인한다.
lsusb -d 03eb:6124 Bus 004 Device 006: ID 03eb:6124 Atmel Corp
- Know which USB connection is established
- USB conneciton이 연결되었음을 알린다.
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
보드에 연결하기 위해 \usb\ARM0 대신 /dev/ttyUSBx를 사용해야 한다.
You can also use
.tcl
scripts from this flavor of SAM-BA. This is useful if you want to run GettingStarted#DemoArchiveBinaries demos.
Description | Binary | FAQ applicable |
---|---|---|
SAM Boot Assistant (SAM-BA 2.9) Linux port initiative using CDC |
sam-ba_2.9_cdc_linux.zip | |
SAM Boot Assistant (SAM-BA 2.8) Linux port initiative using CDC |
sam-ba_cdc_2.8.linux_01.zip | for at91sam9xe, for at91sam9g20 |
SAM Boot Assistant (SAM-BA 2.7) Linux port initiative using CDC |
sam-ba_cdc_2.7.linux_01.zip | for at91sam9263 |
다른 방법으로 SAM-BA의 flavor로부터 .tcl scripts를 사용할 수 있다. 이것은 GettingStarted#DemoArchiveBinaries demo를 구동할 때 유용하다.
Cross Toolchain
CodeSourcery provides regular, validated releases of the GNU Toolchain for arm processor.
This document refers to arm2007q1-10 version of CodeSourcery toolchain.
CodeSourcery는 arm processor의 GNU Toolchain의 releases를 제공한다.
이 문서는 CodeSourcery toolchain의 arm2007q1-10 version을 참조한다.
Features in this release include:
이 release의 특징은 다음과 같다.
- 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:
- CodeSourcery website : http://www.codesourcery.com
- FAQ: https://support.codesourcery.com/GNUToolchain/target_arch1?@template=faq
- Binaries:
Description | Binary |
---|---|
CodeSourcery GNU cross-toolchain for ARM | arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 |
mkimage (U-Boot)
The mkimage
U-Boot tool is used to convert a standard kernel image into uImage format needed by bootm U-Boot command.
Description | Sources | Binary |
---|---|---|
Pre-built static version of the u-boot mkimage tool |
u-boot sources directory | mkimage |
mkimage U-Boot tool은 standard kernel image를 bootm U-Boot command를 사용하기 위한 uImage format로 변환하기 위해 사용된다.
Make
Some newer version of 어떤 make의 새 버전은 U-Boot의 older revision을 컴파일하는 동안 errors가 발생한다. old code의 컴파일은 make-3.80 일때 유효하다. /usr/local/bin/make-3.80 CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->
| ||||||