打印
[Atmel]

转:烧写at91sam7s64软件SAM-BA的linux版本

[复制链接]
1284|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ddllxxrr|  楼主 | 2015-6-11 20:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式




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.
Description
Binary
FAQ applicable
SAM Boot Assistant (SAM-BA) onhttp://www.atmel.comAT91 In-system Programmer (ISP)for at91sam9xe (SAM-BA 2.8),
for at91sam9g20 (SAM-BA 2.8),
for at91sam9263 (SAM-BA 2.7)

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.

Description
Binary
FAQ applicable
SAM Boot Assistant (SAM-BA 2.9) Linux port initiative using CDCsam-ba_2.9_cdc_linux.zip
SAM Boot Assistant (SAM-BA 2.8) Linux port initiative using CDCsam-ba_cdc_2.8.linux_01.zipfor at91sam9xe, for at91sam9g20
SAM Boot Assistant (SAM-BA 2.7) Linux port initiative using CDCsam-ba_cdc_2.7.linux_01.zipfor at91sam9263

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:
Description
Binary
CodeSourcery GNU cross-toolchain for ARMarm-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 bybootm U-Boot command.

Description
Sources
Binary
Pre-built static version of the u-boot mkimage toolu-boot sources directory

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->

Description
Sources
Binary
Pre-built static version of the make toolmake sources directorymake-3.80


make-3.80.binprops, move
931.9 K
16 Nov 2007 - 10:10NicolasFerre
mkimage.binprops, move
460.7 K
17 Jul 2007 - 13:11PatriceVilchez


r24 - 23 Jul 2009 - 12:38:30 - NicolasFerre



相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:http://shop34182318.taobao.com/ http://shop562064536.taobao.com

2399

主题

6963

帖子

68

粉丝