Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to recompile OR rebuild SAMBA 2.11?
PostPosted: Thu Jun 14, 2012 2:22 pm 
Offline

Joined: Mon Dec 19, 2011 7:01 pm
Posts: 25
Hi,
I'm using SAMBA 2.11. (Ubuntu platform) for our customized board (AT91SAM9G25)

I have to recompile SAMBA tool after adding the the details for new flash in the NAND flash models list.

I'm using the cross compiler generated in buildroot-2011.05 (http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRoot_9x5)

I tried recompiling using the command
"make CROSS_COMPILE=arm-linux-"
(Cross compiler path already exported to PATH)
but I got the error:
/projects/samg25/buildroot-2011.05/output/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.5/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: BFD (GNU Binutils) 2.21 assertion fail elf32-arm.c:12472
make[1]: *** [sram] Error 1
make[1]: Leaving directory `/projects/test/sam-ba_2.11_linux/sam-ba_cdc_cdc_linux/applets/sam9xx5/sam-ba_applets/lowlevelinit'
make: *** [applets] Error 2


Please help me in this regard..

Thanks in advance


Top
 Profile  
 
 Post subject: Re: How to recompile OR rebuild SAMBA 2.11?
PostPosted: Mon Jun 25, 2012 8:56 am 
Offline

Joined: Sat Nov 06, 2010 7:00 am
Posts: 5
Hi!
I am using at91sam9x25 on a custom board, and I also rebuild sam-ba scripts.
In sources a saw a link for this compiler
from codesourcery arm-2009q3-68-arm-none-eabi.exe

http://www.codesourcery.com/sgpp/lite/a ... plate=lite

You must register there and download a free version.

In makefile's change

make CROSS_COMPILE=arm-linux-
to
make CROSS_COMPILE=arm-none-eabi-

and remember that codesourcery use cs-make instead of make




It is worked!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: