Embedded Freaks..

January 28, 2009

Differentiating Old-EABI and EABI Cross Compilers

Filed under: ARM9, embedded-linux, linux-device-driver — Tags: , , — kunilkuda @ 11:46 am

I had some difficulties with my cross compiler. It seems like my hello world program cannot be run in the board’s root fs (I’m using Debian ARM as my root fs). After seeking here and there, I found this page on debian site.

So, I tested my compiled binary (using objdump -p), and I found out that my installed Debian ARM was based on Old-EABI, while my current compiler (from Codesourcery) is based on new EABI. The result is that my binaries, application and modules, cannot work on the board’s Debian, but the kernel (since it’s independent from any of root fs) could run on it.

The solution for this is to download the correct cross compiler toolchain from TS-Logic website (here..watch the EABI when you download it).

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: