2026-04-22 2:40 AM
Hello,
coming from OpenSTLinux 4.2 (mickledore) we are in the process of migrating to OpenSTLinux 6.2 (scarthgap).
The process of how multiple partitions (bootfs, vendorfs, userfs) are "split out" of the rootfs appears to have changed considerably.
After switching all relevant meta layers to the commit/version used in OpenSTLinux 6.2, we effectively get bitbake QA errors for every image recipe (even the ones not being built). The errors appear related to the new bbclass "stsplitpartitions".
The release notes of OpenSTLinux 6.2 mention the change as "Add image class to split rootfs image on several partitions: ST SPLIT PARTITIONS", but fail to provide any guideline on how to migrate existing projects to the new partitioning scheme.
For testing, I removed all our proprietary layers and only kept the ST layers and standard Bitbake/OpenEmbedded layers.
But the errors persist even for this minimal setup when building the standard ST image recipe st-image-core.
How does st-split-partitions/stsplitpartitions need to be configured? Which variables do I need to set?
A short guideline on how the new release 6.2 can be used without breaking existing projects would be very helpful and highly appreciated.
Kind regards,
/amuew
bitbake st-image-core
NOTE: Started PRServer with DBfile: /work/build-openstlinux-scarthgap/cache/prserv.sqlite3, Address: 127.0.0.1:39083, PID: 356
WARNING: You have included the meta-security layer, but 'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-security README for details on enabling security support.
WARNING: You have included the meta-tpm layer, but 'tpm or tpm2' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-tpm README for details on enabling tpm support.
Loading cache: 100% |#############################################################################################################| Time: 0:00:00
Loaded 130 entries from dependency cache.
ERROR: /work/layers/meta-openembedded/meta-perl/recipes-core/images/meta-perl-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: Parsing halted due to errors, see error messages above
ERROR: /work/layers/openembedded-core/meta/recipes-graphics/images/core-image-weston.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-multimedia/recipes-multimedia/images/meta-multimedia-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-extended/images/core-image-testcontroller.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-core/images/core-image-minimal-dev.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-python/recipes-core/images/meta-python-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-core/images/core-image-minimal-mtdutils.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/meta-tpm/recipes-core/images/security-tpm-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/meta-tpm/recipes-core/images/security-tpm2-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-sato/images/core-image-sato.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-networking/recipes-core/images/meta-networking-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-sato/images/core-image-sato-sdk.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
NOTE: /work/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled
ERROR: /work/layers/openembedded-core/meta/recipes-graphics/images/core-image-x11.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/recipes-core/images/security-client-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-oe/recipes-core/images/meta-oe-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/recipes-core/images/security-server-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-multimedia/recipes-multimedia/images/multimedia-libcamera-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/recipes-core/images/security-test-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-core.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-security/recipes-core/images/security-build-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-extended/images/core-image-full-cmdline.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-extended/images/core-image-kernel-dev.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-core/images/core-image-base.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-filesystems/recipes-filesystems/images/meta-filesystems-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-initramfs/recipes-core/images/meta-initramfs-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-graphics/images/core-image-weston-sdk.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-sato/images/core-image-sato-dev.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/openembedded-core/meta/recipes-rt/images/core-image-rt.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
ERROR: /work/layers/meta-openembedded/meta-webserver/recipes-core/images/meta-webserver-image-all.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'stsplitpartitions' - possibly invalid type name or missing support class
2026-04-22 5:48 AM
Hello @amuew ,
Do you have the possibility to share this minimal config you talk about ?
Did you try to make a diff (meld) between your distro Yocto sources and the ones provided by ST on OSTL 6.2 ?
I would more particularly highlight what is done in st-machine-common-stm32mp.inc (with the new require conf/machine/include/st-machine-image-partition-stm32mp.inc) and the new bbclass added.
Maybe try to check if you are fully aligned on this side first.
Kind regards,
Erwan.
2026-04-24 12:58 AM
Thank you @Erwan SZYMANSKI, I will follow your suggestion and have a look at `st-machine-image-partition-stm32mp.inc`.
Regarding the minimal example to reproduce the issue, I first need to inquire if there is anything in those files that I cannot share publicly.
Kind Regards,
/muelaw