building application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

building application

3,570 次查看
MuhammadOmarFar
Contributor I

hey, i have a task to write a helo world program at I.MX 53 quick start board with linux operating system using eclipse SDK. i am a student and doing my internship. can any one guide me ? or tell me any document which tells the procedure step by step.

Thanks

标签 (1)
0 项奖励
回复
10 回复数

3,063 次查看
MuhammadOmarFar
Contributor I

actually my project is to build application for image processing using openCV. i think it will be better to write code on host and then run the binary on target. i am afraid have little knowledge about tftpboot , NFS etc , but still i am setting up the host and target by acting upon the instructions that are mentioned in documentation without knowing whats the meaning of these commands :)

i have built and install LTIB , the next step is to run image on target board. the instruction for it are so complex that i am confused.. do you know any other document where they explain it in more detail.

thanks

0 项奖励
回复

3,063 次查看
RandyKrakora
NXP Employee
NXP Employee

Any application can be built on the host and run on the target, that's how most developers - with respect to QSB - work. But a few build and run on the target. If you decide to build on the host, look into tftpboot the kernel and NFS mounting your rootfs, saves you from having to burn a card every time you make a change. But if you are building only applications or scripts, building on the target is fine, just make sure you back up regularly. :)

0 项奖励
回复

3,064 次查看
Yuri
NXP Employee
NXP Employee

Note - application developing is done on host machine, and relatively simple applications
(as "Hello World") may be build on host and then run on the target demo image. 

Yuri Muhin said:

The following app notes may be useful :


"AN3870 : Developing an Application for the i.MX Devices on Linux Platform"

http://cache.freescale.com/files/dsp/doc/app_note/AN3870.pdf

"AN4553 : Using Open Source Debugging Tools for Linux on i.MX Processors "


http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf

0 项奖励
回复

3,064 次查看
MuhammadOmarFar
Contributor I

ok. thanks

0 项奖励
回复

3,064 次查看
RandyKrakora
NXP Employee
NXP Employee

I know a customer who was booting into Ubuntu on the QSB and building there, it's Linux and Ubuntu, so connect it to a network to install any necessary packages ( sudo apt-get install pkg_name ) or use the Ubuntu package manager. You should be able to do builds, etc.

0 项奖励
回复

3,064 次查看
MuhammadOmarFar
Contributor I

ok i will check for it.i want to know that can i build an application directly on imx platform ? i read the document which tells how to build application on host computer and then compile it to run on imx board. is the host computer necessary ?

0 项奖励
回复

3,064 次查看
RandyKrakora
NXP Employee
NXP Employee

If you download the BSP docs, it has a guide on how to setup the BSP and run ltib.

Also, for some extra VM and ltib setup you can look around here: http://www.imxdev.org/wiki/index.php?title=All_Boards_LTIB

0 项奖励
回复

3,064 次查看
MuhammadOmarFar
Contributor I

thanks Yuri . this document tells how to setup eclipse SDK but i am afraid i don't even have BSP running on IMX platform. can you tell me any document from where i can start building LTIB  and install linux on my IMX platform. 

i put a linux image in memory card and then run IMX board and it works fine. can't i use image ?

0 项奖励
回复

3,064 次查看
Yuri
NXP Employee
NXP Employee

The following app notes may be useful :


"AN3870 : Developing an Application for the i.MX Devices on Linux Platform"

http://cache.freescale.com/files/dsp/doc/app_note/AN3870.pdf

"AN4553 : Using Open Source Debugging Tools for Linux on i.MX Processors "


http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf

0 项奖励
回复

3,064 次查看
RandyKrakora
NXP Employee
NXP Employee

Here's a start:

http://www.imxdev.org/wiki/index.php?title=All_Boards_TCP

The eclipse section is not complete, but shouldn't be too difficult to finish.

0 项奖励
回复