how to run application in i.mx6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to run application in i.mx6

872件の閲覧回数
owen_lin
Contributor I

Dear all,

this is my first time do this,

i'm build i.mx6 and  create sd card finish. That sd card can run. 

( DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build & bitbake fsl-image-qt5)

i build test application and i add the sd card, but i can't find that application when i.mx 6 is run.

how to do add application in the i.mx 6?

ラベル(1)
0 件の賞賛
返信
1 返信

770件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi owen,

To build an application you may use metatoolchain. E.g.

$ bitbake meta-toolchain
$ sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.4.1.sh
$ source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
$ arm-poky-linux-gnueabi-gcc -v
$ arm-poky-linux-gnueabi-gcc hello.c -o hello

Once you have the binary output you need to copy it into the root filesystem. Please note in your sdcard you will have 2 partitions:

- One FAT partition containing zImage and device tree. This partition is visible in Windows and Linux.

-One Linux partition containing the root filesystem. This partition is only visible in Linux and here you must copy the binary output that you want to run.


Regards,
Carlos
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信