Meta-updater integration for Yocto BSP5 build for Colibri iMX6ULL


I have done a BSP5 build with yocto and succesfully integrated our custom company layer for Colibri iMX6ULL. I’m using dunfell branch.

repo init -u -b dunfell-5.x.y -m tdxref/default.xml

Now, what I am trying to achieve is to integrate meta-updater layer so I can have OStree and can make OTA updates. I don’t need all Torizon features such as docker. I understand that iMX6ULL is not fully supported by Torizon Ecosystem.

The strategy I’m using is to look what is being made on meta-toradex-torizon, all patches, bbappends and etc, and trying to replicate that on my BSP5 build.

I was able to build an image tdx-reference-minimal-image without errors and flash it to imx6ull via EasyInstaller, but when I try to boot the image I get the error:

ERROR: Did not find a cmdline Flattened Device Tree

And it is stuck at “Starting kernel …”

So my question is what may I be missing on integrating meta-updater with BSP5? Maybe something related to device tree or u-boot that TorizonCore does and I’m not doing?

If needed, I can give more information such as my u-boot environment variables, boot messages and etc.

Hi @giobauermeister.

Unfortunately, the integration of OSTree is not easy nor simple.

We suggest you to use as a starting point the TorizonCore, and you can use TorizonCore-Lite as a reference.

Please let me know if that helped.

Best regards,
André Curvello