Unusable samba for Linux / samba patch on Atmel site

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

Harbour
Posts: 23
Joined: Fri May 10, 2013 6:26 pm

Unusable samba for Linux / samba patch on Atmel site

Fri Sep 13, 2013 3:04 pm

Hello,

1. The 2.12 samba for Linux hangs forever on the SAMA5Dx boards at first applet loading attemt, the short log below:

....
-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.12 on : linux
-I- Connection : /dev/ttyACM0 (target(comType) = 0)
-I- Board : at91sama5d3x-ek
-I- Traces Level : 4
-I- target(handle) : file7
Read device Chip ID at 0xfffff240 --- get 0x00000000
Read device Chip ID at 0xffffee40 --- get 0x8a5c07c2
-I- Found processor : at91sama5d3x (Chip ID : 0x8a5c07c2)
sourcing device file sam-ba_cdc_cdc_linux/tcl_lib/devices/at91sama5d3x.tcl
sourcing board description file sam-ba_cdc_cdc_linux/tcl_lib/at91sama5d3x-ek/at91sama5d3x-ek.tcl
-I- Loading applet applet-lowlevelinit-sama5d3x.bin at address 0x308000
......

2. There is no patched samba Linux distro exists on the Atmel site.

3. The patch that included in samba for windows package (!?) is broken for Linux samba distro version (despite the readme says) as has many rejects especially in sama5dx related files.

Seems like samba is totally unusable for SAMA5Dx CPU's under Linux for now ;(
Rus
----------
SfinxSoft
http://sfinxsoft.com
mahengunawardena
Posts: 31
Joined: Sun Jul 21, 2013 12:55 pm

Re: Unusable samba for Linux / samba patch on Atmel site

Sun Sep 15, 2013 3:01 pm

@Harbour

After about a 3-4 days effort I was able to get the sam-ba working on Unbutu 12.04 LTS to flash SAMA5D31.

How I got it to work?

1. Create a shell script
2. Provide the necessary parameters to sam-ba, review the user guide for details. To get it working I used at91sama5d3x-ek for the second parameter and sama5d3ek_nandflash.tcl for the third parameter
3. Copy the uImage and .img files to the same directory as sam-ba application


HTH

Good luck
Last edited by mahengunawardena on Mon Sep 16, 2013 3:55 pm, edited 2 times in total.
Harbour
Posts: 23
Joined: Fri May 10, 2013 6:26 pm

Re: Unusable samba for Linux / samba patch on Atmel site

Sun Sep 15, 2013 3:59 pm

@HTH

I did not state that samba do not works - I state that it is unusable for SAMA5D3 under Linux, especially when trying to patch to 4-th level.
Rus
----------
SfinxSoft
http://sfinxsoft.com

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 3 guests