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  [ 3 posts ] 
Author Message
 Post subject: Difference between arm-elf, arm-linux and arm-eabi compiler.
PostPosted: Tue Jan 18, 2011 3:43 pm 
Offline

Joined: Thu Dec 30, 2010 6:49 pm
Posts: 38
Hi,

I have some issues with getting a good tool chain which supports all the required header files. Here is what i have done till now...

Initially i had got tool chain from codesourcery but it didn't support all the required header files. Then with some difficulty, i was able to make my own tool chain. The result of this tool chain was "arm-elf" type. I tried to compile 2.6.30 and later versions using this tool chain but it errors out with the below error. I Googled but couldn't find much info on this.

ERROR: arch/arm/boot/compressed/misc.o uses VFP instructions

Second problem
Later on i got hold of "arm-linux" tool chain which was being used on a different project. With this i am able to compile the kernel and boot it successfully on the board but it crashes when loading "yaffs2" file system.

Third problem:

I wrote a hello world program, compiled "arm-linux" and flashed it on the board which was running Linux kernel compiled using "arm-eabi" tool chain. When i do ls, i am able to see my hello world program in the flash but when i try to execute ./hello, it says file not found.

Now i am confused as to how to get one tool chain which supports all header files and make things work.... can anyone please help me on this?

-Prashanth


Top
 Profile  
 
 Post subject: Re: Difference between arm-elf, arm-linux and arm-eabi compiler.
PostPosted: Thu Jan 20, 2011 1:20 pm 
Offline
User avatar

Joined: Wed May 12, 2004 6:59 pm
Posts: 161
Location: Bergamo, Italia
Your development system must be completely consistent if you want to work with no pain.
You have to use the same arm-elf || arm-linux || arm-eabi compiler for kernel, filesystem tools and your hello world application.

_________________
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com


Top
 Profile  
 
 Post subject: Re: Difference between arm-elf, arm-linux and arm-eabi compiler.
PostPosted: Fri Feb 25, 2011 5:10 pm 
Offline

Joined: Wed Dec 15, 2010 10:40 am
Posts: 9
A small contribution :
For my developpement I used : arm-none-eabi to compile the bootstrap.
And arm-none-linux to compile Uboot, linux and applications.

Regards.
Seb


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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: