Hi,
I am using yocto project distribution to cross compile applications for imx25. I got the arm-poky-linux-gnueabi-gcc tool chain. but to cross compile an application , we need target sysroot for imx 25. I don't know how to get sysroot for imx 25. Any help appreciated
Dear Gusarambula and Yuri,
Thank you for your help. But, here the problem is:
I have generated arm-poky-linux-gnueabi-gcc tool chain for imx25 pdk usint Yocto.
and built sysroot for the arm using Yocto. when i am trying to compile a simple hello world programme using the newly built tool chain and sysroot,
I am getting the following error
ld: cannot find crtbegin.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc
Thank you Yuri,
it helped
Actually, i need to cross compile Qt for imx 25.But Qt (Version 5.11.1) devices having support only for below devices:
linux-imx53qsb-g++
linux-imx6-g++
linux-imx7-g++.
Do we can create Qt for any of above devices and use it for imx 25?
when i am trying to configure Qt for linux-imx6-g++(Cross compiler is built using Yocto for imx25PDK, which i done by your reply in above question), below error is coming:
collect2: error: ld returned 1 exit status
> Makefile:66: recipe for target 'verifyspec' failed
> make: *** [verifyspec] Error 1
Do you have any idea what did it mean?
Hello,
the following app note may be useful:
“Building for i.MX Mature Boards”
https://www.nxp.com/docs/en/application-note/AN12024.pdf
Regards,
Yuri.
Hello Pavan Bobba,
There is not a BSP Release for the i.MX25 that is based in Yocto. However, the Community BSP does have support for the i.MX25 so you could build the sysroot from there. You can find more details on the Community BSP page:
I hope this helps!
Regards,