Hello,
In my project,I use T1024 RDB-64b.In Yocto,I create a core image by using "bitbake fsl-image-core".Then,by following the necessary steps on QorIQ SDK-1.8 "Ramdisk Deployment from TFTP" I inserted the core image on T1024rdb successfully and see it on TerraTerm.However,I want to see a simple output like simple helloworld program when I started the board with this image on TerraTerm.Is there any reference,manual for this purpose or any layer in yocto to write this *.c files?
Another thing is,I create a new layer for this purpose and add a helloworld recipe on it which includes "helloworld.c".Then,I use "bitbake Helloworld" .Subsequently,I use bitbake to generate core image again even though I can not find where it's created.Where can I find the necessary path after this operation?
Thanks for your answers...
Best Regards.
There is he following methed.
NXP offers SDK 2.0-1701 for the T1024RDB board.
This SDK supports toolchain for standalone compiling.
See the Section 3.3.7 (Install the Standalone Toolchain) in the SDK 2.0-1701 documentation:
http://www.nxp.com/assets/documents/data/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
Use similar command sequence for your program compiling:
$ . /opt/fsl-qoriq/2.0/environment-setup-aarch64-fsl-linux
Check result of "source" command. Use "$PATH" command. The "source" command should add path to gcc compiler.
You should see similar message:
echo $PATH
bash: /opt/fsl-qoriq/1.9/sysroots/x86_64-fslsdk-linux/usr/bin:/opt/fsl-qoriq/1.9/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc-fsl-linux-gnuspe:
Look at the foolowing pages about starting your application after boot:
http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html
https://bbs.archlinux.org/viewtopic.php?id=164316
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------