How to enable only 32 bit OS on i.MX8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to enable only 32 bit OS on i.MX8

3,940 次查看
mohammedmustafa
Contributor I

I want to try 32 bit on imx8mqevk and disable 64 bit kernel. I have yocto setup. I am using DISTRO=fsl-imx-x11 and bitbake core-image-minimal on ubuntu 14.04. 

Can someone help me in disabling 64 bit completely and to enable only 32 bit kernel?

Thanks

0 项奖励
回复
3 回复数

3,507 次查看
jimmychan
NXP TechSupport
NXP TechSupport

i.MX8M is 64bit ARCH. If you want to build 32 bit applications on 64bit OS, please read the Yocto User's Guide 5.6.9. for details.

0 项奖励
回复

3,507 次查看
mohammedmustafa
Contributor I

    Thanks jimmychan for your answer.

    I would like to know about how to get the 32 bit image on a 64 bit imx8mqevk. I already have the 32 bit application running on 64 bit OS using multilib.

Is this is possible to get 32 bit kernel on 64 bit i.MX8?

0 项奖励
回复

3,507 次查看
vincx77
Contributor I

Same thing here. Porting an old toolchain to iMX8 and step 1 is to start from 32 bit, as there are various drivers 32 bit only. In conf/local.conf I put "PACKAGE_FEED_ARCHS = "armhf armhf_mx8 imx8qxpmek noarch"", but still aarch64 is used, so seemingly DISTRO sets some variables that need to be overridden. I just found one new cue to try: the reverse of https://www.nxp.com/docs/en/application-note/AN12212.pdf - there also my plan B is described: multilib.

What's your progress?

0 项奖励
回复