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!
-----------------------------------------------------------------------------------------------------------------------