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

December 18, 2008

Creating Simple Root Filesystem for Embedded Linux

Filed under: embedded-linux — Tags: — kunilkuda @ 11:28 am

During the last few posts, I’ve been using Debian-ARM from TS-Logic site as the root filesystem. Debian is a nice distro, but it’s too much for learning embedded linux development. Therefore, I’m creating a new simpler root filesystem to make it faster to boot, and reduce the complexity.

The new root filesystem is very simple, so it only have single user (root), a shell, and no-login. It cannot mount any media, send/receive TCP/IP connection, etc. But, we’ll learn how to do it (mounting media, detecting media, detecting ethernet card, etc) step-by-step later.

(more…)

December 16, 2008

Setting Netbeans for Embedded Linux Application Development

Filed under: embedded-linux, embedded-tips — Tags: , — kunilkuda @ 6:57 pm

I’m using Netbeans as my IDE to build embedded linux application. Here’s the small guide to setup your Netbeans for cross compiler IDE.

(more…)

Older Posts »

Blog at WordPress.com.