[yocto] extracting SDK for supporting both 32 and 64 bit applications

Michael Fainstein Michael.Fainstein at ecitele.com
Wed Jan 27 22:45:59 PST 2016


Dear community,

I am using Freescale's SDK 1.8 based on poky 1.6.2.

How can extract SDK that supports building of both 32 and 64 bit applications?

I defined configuration for my board to be 32 bit with 64 bit kernel and extracted SDK for application development.
Everything works fine: I can build 32 bit applications and execute them on my board and peek at PCI memory that is far above 32 bit memory limit.
I can build and load kernel loadable modules using bitbake.
However, building kernel modules using extracted SDK fails: while there are 64 bit tools in bitbake environment, there are no 64 bit tools and 64 bit headers in extracted SDK environment.
I tried also to define my board as 64 bit with multilibs and added to my image 32-bit libraries. However, in this configuration the extracted SDK didn't contain 32 bit tools and headers. How do I add both 32 and 64 bit tools and headers to native SDK?


Thank you,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160128/61d376aa/attachment.html>


More information about the yocto mailing list