AT91SAM9 in EABI ?

Started by "Vellemans, Noel" May 14, 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

________________________________________

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

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