Home/Support/Support Forum/How to compile for imx28 on a 64bits machine ?
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to compile for imx28 on a 64bits machine ?

0 votes

We are making the move from the imx28 card to the connect core 6ul card. We currently have two virtual machines with linux distributions : a recent 64 bits Ubuntu for Yocto / eclipse for imx6ul, and an old 32 bits kubuntu with the default imx28 toolchain.

We would like to easily compile the code for both platforms from the same (virtual) machine (the Ubuntu 64bits).

Do we need to recompile the imx6ul cross-compiler for it to run on the 64bits machine ? Do we need to just use a different sysroot ? (with the imx6ul compiler)
Does this seem possible, or too "hacky" ? (and we will have to keep two different machines)

Thanks in advance,
Mathieu Galle, Vitirover
asked Jan 11, 2021 in Linux by vitirover New to the Community (6 points)

Please log in or register to answer this question.

1 Answer

0 votes
I ma compiling Yocto on 64 bit Ubuntu 16.04 with no issues, using precompiled or my own generated SDK:
leonidm@leonid-Linux:~/Downloads$ uname -a
Linux leonid-Linux 4.4.0-198-generic #230-Ubuntu SMP Sat Nov 28 01:30:29 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

For Imx28 it should work as well. Take a look at this guide:
answered Jan 14, 2021 by LeonidM Veteran of the Digi Community (4,490 points)