Dear all,
I am developing a application by C/C++ on windows.
Sometime before, I try to cross-compile it for Raspberry Pi by Cygwin.
Now, I want to cross-compile again, but for i.MX6 Platform.
Can you show me how to do it?
ps: Sorry, I have no much knowledge about make file and the building system :smileysad:
Hello Nguyen Cao Bai,
You can find the Linux BSPs on the link below:
If you are using the i.MX6 the latest supported Kernel is 5.4.3. You can download the documentation on the link below (you may need to login to download)
https://www.nxp.com/webapp/Download?colCode=L5.4.3_1.0.0_LINUX_DOCS
Please follow the i.MX Yocto Project User’s Guide to install the BSP and there is an option to extract the i.MX6 toolchain (look for the instructions on the documentation, search for the populate_sdk instruction). Once the toolchain is extracted you can install it to cross compile.
I hope this helps!
Regards,
Dear gusaarambula
Thank for answer, this time I want to cross-compile on a Ubuntu host.
Do you have any instruction?
As I know, we usually use gcc, however there are many issues.
So, it is better if give me the instruction to do.
Hello Nguyen Cao Bai,
Please download the documentation for the BSP Release and check the i.MX Porting Guide. In section 2.1.1. “How to build and load Kernel in standalone environment” you will find the command to extract an SDK with the toolchain to cross compile for the i.MX processor.
You could also check the i.MX Linux User’s Guide in section 4.5.11, which has the same general information. (These sections are for the latest BSP Release, L5.4.3_1.0.0)
I hope this helps!
Regards,