Hi community,
I am in the process of upgrading our build machine for our own imx8mm board. We are still using version 5.4.47 as our BSP base and ran our builds on an Ubuntu 18.04
# Used repo
repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml
Since ubuntu 18.04 is no longer really up-to-date, I set up a new machine with ubuntu 24.04. After a few stumbling blocks I was able to build the yocto package for the SDK+BSP version 6.6.52.
# Used repo for newes BSP
repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-scarthgap -m imx-6.6.52-2.2.0.xml
However, since our already sold products use version 5.4.47, we need to build our new binaries with SDK 5.4.47.
In the first step, I tried to use the SDK from ubuntu 18.04, but that ends up in build errors with missing libraries on ubuntu 24.04, so it seems like the SDK has a hard dependency on the build system itself.
As a next step, I tried to build the Yocto package for 5.4.47 on Ubuntu 24.04, which didn't really work. The first issue are the Python versions. You definitely need to use version 2.7 and 3.9, which are not directly available. By using pyenv, the Python issues can be solved.
Now I end up in a build error of the package m4-native, which I have to date.
ERROR: Task (/home/starke/imx-yocto-bsp-5.4.47/sources/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code '1'
The question is: Is it right to try the build of SDK version 5.4.47 on the new Ubuntu 24.04, or should the SDK from the old Ubuntu machine also work and I just need to figure out how to install the missing libraries?
Also, if anyone knows how to get version 5.4.47 running on Ubuntu 24.04, I'm very interested in how that might work.
Any help would be appreciated.