how to run application in i.mx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to run application in i.mx6

455 Views
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?

Labels (1)
0 Kudos
1 Reply

353 Views
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 Kudos