[oe-users] How to build and run application on logicpd-pxa270-2.6.17-rc5?
Cliff Brake
cliff.brake at gmail.com
Wed May 16 20:34:57 UTC 2007
On 5/16/07, register at mobitrum.com <register at mobitrum.com> wrote:
> Hi, we are now building project using logicpd PXA270 board. However,
> our application is built on linux system. The software structure is
> like APPLICATION (build on) SHARED LIB (build on) LINUX.
> For the moment, we have been able to download and boot the
> logicpd-pxa270-2.6.17-rc5 linux kernel image onto the board. The linux
> environment runs correctly. However, we don't know how to build and
> excute libraries and applications on this kernel.
> The procedure we used to test how to run application is:
> a. we made a simple helloWorld.cpp on a host linux 2.6.19 machine.
> #include <stdio.h>
> int main() {
> printf("Hello World!\n");
> }
> b. Then we compile the program using cross compiler arm-linux-gcc:
> arm-linux-gcc -c helloWorld.c
> arm-linux-gcc -o hello helloWorld.o
> c. We copied the generated executable to a compact flash and installed
> the compact flash card on the PXA270 board.
> d. After mounted the compact flash card, we tried to execute the
> program in the linux environment. However, the system prompt "Illegal
> instruction". Which means the program was not compiled correctly.
What Linux distribution are you running on the LPD board? Where did
you get it how did you build it? Are you sure the same toolchain used
to build the distribution is the toolchain used to build your test
app?
> So could you please tell us how to build and execute an application on
> the logicpd-pxa270-2.6.17-rc5 kernel? Or the feature we are looking
> for is not currently supported?
Openembedded supports building distributions and applications for the
PXA270 LPD board.
Thanks,
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-users
mailing list