sysroot for IMX25 Yocto Project

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

sysroot for IMX25 Yocto Project

2,193 Views
pavanbobba206
Contributor I

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

Labels (2)
0 Kudos
Reply
6 Replies

1,778 Views
pavanbobba206
Contributor I

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

0 Kudos
Reply

1,778 Views
Yuri
NXP Employee
NXP Employee

Hello,

  perhaps, the following helps: https://community.nxp.com/message/653148 

Regards,

Yuri.

0 Kudos
Reply

1,778 Views
pavanbobba206
Contributor I

Thank you Yuri,

   it helped

0 Kudos
Reply

1,778 Views
pavanbobba206
Contributor I

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?

0 Kudos
Reply

1,778 Views
Yuri
NXP Employee
NXP Employee

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.

0 Kudos
Reply

1,778 Views
gusarambula
NXP TechSupport
NXP TechSupport

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:

http://freescale.github.io/

I hope this helps!

Regards,

0 Kudos
Reply