How to enable only 32 bit OS on i.MX8

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

How to enable only 32 bit OS on i.MX8

2,196 Views
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 Kudos
3 Replies

1,764 Views
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 Kudos

1,764 Views
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 Kudos

1,764 Views
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 Kudos