Opkg on apalis imx8 embedded Linux

Hi Toradex,

Is opkg working on imx8’s embedded Linux? When I type opkg update, nothing seems to happen and looking in opkg.conf, no sources are listed. Is this expected?

I am trying to get ‘gcc’ and ‘make’ on my machine.

Hi @myeoh!

Thanks for contacting us.

The Apalis iMX8 uses our new Embedded Linux BSP V3.x. The strategy behind our Linux BSPs changed from version 2.8 to 3.x. You can read a little more about that in this blog post.

In short, opkg still works, but differently from our Angstrom-based BSP v2.8, the v3.x BSPs are based on Yocto’s own distro, Poky, with a few modifications. For this reason, there’s no package feed included.

You can always install an IPK package by compiling it using yocto then transferring it to your board and running opkg install package.ipk.

However, the most practical way to do this is to compile a new image using Yocto. You can refer to this article with thorough instructions.

To add gcc and make to an image, you can add the packagegroup-sdk-target recipe to your image recipe or local.conf.