Update toolchain using opkg-cl


BSP: Toradex BSP v2.4
Board: Colibri Solo IMX6 256MB

After generate and install the toolchain , I would like to keep my toolchain updated .

So I’m following the documentation: Yocto Project Application Developer's Guide

But after the opkg-cl , only the packages from /deploy//ipk/all are available to install in my toolchain (I’m using the same base-conf_sdk.conf in my board and works very well)

source /usr/local/oecore-x86_64/environment-setup-armv7at2hf-vfp-neon-angstrom-linux-gnueabi 

opkg-cl -f ~/tmp/base-feed_sdk.conf --add-arch armv7at2hf-vfp-neon  -o $OECORE_TARGET_SYSROOT update

src/gz all
src/gz colibri-imx6
src/gz armv7at2hf-vfp-neon
src/gz armv7at2hf-vfp-neon-mx6qdl
src/gz x86_64-nativesdk

I’m trying to add an arch using --add-arch armv7at2hf-vfp-neon but had no effect.

What I’m doing wrong?
Thank you!


Caio Pereira

You could find which architectures are available using this command bellow (try in your board):
opkg print-architecture

root@colibri-imx6:~# opkg print-architecture
arch all 1
arch any 6
arch noarch 11
arch armv5hf-vfp 16
arch armv5thf-vfp 21
arch armv5ehf-vfp 26
arch armv5tehf-vfp 31
arch armv6hf-vfp 36
arch armv6thf-vfp 41
arch armv7ahf-vfp 46
arch armv7at2hf-vfp 51
arch armv7ahf-vfp-neon 56
arch armv7at2hf-vfp-neon 61
arch armv7at2hf-vfp-neon-mx6qdl 66
arch colibri_imx6 71

I added this follow command in my toolchain terminal:

opkg-cl -f ~/tmp/base-feed_sdk.conf --add-arch any:0 --add-arch armv7at2hf-vfp-neon:5 --add-arch all:2 --add-arch colibri-imx6:2 --add-arch armv7at2hf-vfp:3 -o $OECORE_TARGET_SYSROOT update

opkg-cl -f ~/tmp/base-feed_sdk.conf --add-arch any:0 --add-arch armv7at2hf-vfp-neon:5 --add-arch all:2 --add-arch colibri-imx6:2 --add-arch armv7at2hf-vfp:3 -o $OECORE_TARGET_SYSROOT list