Sign in

Not a member? | Forgot your Password?

Search AT91SAM

Search tips

Subscribe to AT91SAM

Free PDF Downloads

Advanced Linux Programming

What Every Programmer Should Know About Memory

Introduction to Embedded Systems

C++ Tutorial

Embedded Systems - Theory and Design Methodology

Microcontroller Programming and Interfacing

Introduction to Microcontrollers


More Free PDF Downloads

Discussion Groups

See Also

ElectronicsDSPFPGA

Find us on Facebook





Discussion Groups | AT91SAM ARM | AT91SAM9 in EABI ?

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

AT91SAM9 in EABI ? - "Vellemans, Noel" - May 14 11:10:12 2008

Hi all,
Did someone manage to get buildroot compiled and running on the
AT91SAM9260EK in "EABI format" ?

+ Buildroot compiles and runs fine in OABI .
+ Buildroot in EABI, compiles but lots of things are not working.. PING
fails , UDHCPC fails, INSMOD/MODPROBE fails .. etc... (kernel seems to
boot).
Note: using BUILDROOT 01/05/2208, gcc version 4.2.1.
Regards Noel,

Why would i like EABI ?
Well because we would like to CROSS-COMPILE applications on a Windos
host (iso a linux machine) and I only can find a gcc-compiler that
supports eabi on windows)

________________________________________

Noel Vellemans BMS bvba

Theodoor Sevenslaan 106, 8500 Kortrijk, Belgium

Tel. +32 56 262 795 - Fax +32 56 262 690

N...@visionbms.com

www.visionbms.com

Textiles Plastics Pharma

________________________________________



Re: AT91SAM9 in EABI ? - Caglar Akyuz - May 14 11:39:39 2008

Vellemans, Noel wrote:

>
> Hi all,
>
> Did someone manage to get buildroot compiled and running on the
> AT91SAM9260EK in "EABI format" ?
>
> + Buildroot compiles and runs fine in OABI .
> + Buildroot in EABI, compiles but lots of things are not working.. PING
> fails , UDHCPC fails, INSMOD/MODPROBE fails .. etc... (kernel seems to
> boot).
>
Hi,

Not much of information, sorry. Just a few thoughts...

Did you check if failing applications OABI or EABI? Did you build all files
after a fresh install or did you re-build a working OABI buildroot configuration?
The latter case may cause problems, even after a clean. As Ulf Samuelsson said before,
buildroot is good at building things, but not good at cleaning them.

Since kernel boots, I assume you also changed kernel to EABI. Did you select
OABI/EABI compatibility? If yes, de-selecting it may help locating the problem.

Ohhh! cross-compiling on a non-Linux host! good luck with that...

Best regards,
Caglar


_____________________________
 Free pdf download: Introduction to Embedded Systems.


Re: AT91SAM9 in EABI ? - "Vellemans, Noel" - May 15 3:14:53 2008

>Hi,
>
>Not much of information, sorry. Just a few thoughts...
>
>Did you check if failing applications OABI or EABI? Did you build all
files

In OABI all seems to work (this means that PING/UDHCPC/MODPROBE .. etc
are working)

In EABI .. same sources ( unzipped sources, started CLEAN, this means in
a NEW dir, restarted all over just changing OABI to EABI in config
files)

lot of things are NOT running.

Uncompressing
Linux........................................................... done,
booting the kernel.

Linux version 2.6.24 (pingo01@Maverick) (gcc version 4.2.1) #1 Thu May
15 08:43:05 CEST 2008

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr053177

Machine: Atmel AT91SAM9260-EK

... removed some stuff...

... removed some stuff...

... removed some stuff...

# ifup eth0

udhcpc (v1.10.1) started

Illegal instruction

after assigning fixed IP (because DHCP is not working)

ping 192.168.205.1

PING 192.168.205.1 (192.168.205.1): 56 data bytes

Illegal instruction

>after a fresh install or did you re-build a working OABI buildroot
configuration?
>The latter case may cause problems, even after a clean. As Ulf
Samuelsson said before,
>buildroot is good at building things, but not good at cleaning them.
>

unzipped sources, started CLEAN, this means in a NEW dir, restarted all
over just changing OABI to EABI in config files!!

I already tried a couple of times, tripple checking everything.. !!! ...
still not running !!

>Since kernel boots, I assume you also changed kernel to EABI. Did you
select
>OABI/EABI compatibility? If yes, de-selecting it may help locating the
problem.

I'll start over again by disabling OABI compatibility .!!

Are there any pointers to this item (AT91SAM9 .. and EABI ) if so any
one you can point me in that direction?

Kind regards,

Noel.

==========================================
>

>> Hi all,
>>
>> Did someone manage to get buildroot compiled and running on the
>> AT91SAM9260EK in "EABI format" ?
>>
>> + Buildroot compiles and runs fine in OABI .
>> + Buildroot in EABI, compiles but lots of things are not working..
PING
>> fails , UDHCPC fails, INSMOD/MODPROBE fails .. etc... (kernel seems
to
>> boot).
>>

>Hi,
>
>Not much of information, sorry. Just a few thoughts...
>
>Did you check if failing applications OABI or EABI? Did you build all
files
>after a fresh install or did you re-build a working OABI buildroot
configuration?
>The latter case may cause problems, even after a clean. As Ulf
Samuelsson said before,
>buildroot is good at building things, but not good at cleaning them.
>
>Since kernel boots, I assume you also changed kernel to EABI. Did you
select
>OABI/EABI compatibility? If yes, de-selecting it may help locating the
problem.
>
>Ohhh! cross-compiling on a non-Linux host! good luck with that...

>Best regards,
>Caglar

_____________________________
 Free pdf download: What Every Programmer Should Know About Memory.


Re: AT91SAM9 in EABI ? - Caglar Akyuz - May 15 3:40:54 2008

Vellemans, Noel wrote:

[...]

>

>
> # ifup eth0
>
> udhcpc (v1.10.1) started
>
> *Illegal instruction*
>
Seems like there are some unwanted instructions in your
binaries. There is a bug report for this at
http://bugs.busybox.net/view.php?id06.

Best regards,
Caglar

_____________________________
 Free pdf download: What Every Programmer Should Know About Memory.