To add a partition in tsv file by edit yocto receipe
Hi STM:
I'm developing with developer package and want to add a slot like below
PED 0x12 rootfs2 ENV mmc1 0x44A00000 none
or
PED 0x12 rootfs2 ENV mmc1 0x44A00000 st-image-core-openstlinux-weston-stm32mp13-disco.root2fs.ext4
About the second case
I have modified layers/meta-st/meta-st-stm32mp/conf/machine/include/st-machine-flashlayout-stm32mp.inc, add below
STM32MP_ROOTFS2_LABEL ?= "rootfs2"
STM32MP_ROOTFS2_SIZE ?= "1048576"
STM32MP_ROOTFS2_IMAGE ?= "st-image-root2fs"
PARTITIONS_IMAGES[rootfs2] = "${STM32MP_ROOTFS2_IMAGE},${STM32MP_ROOTFS2_LABEL},,${STM32MP_ROOTFS2_SIZE},FileSystem"
STM32MP_ROOTFS2_PROGRAMMER_NAME ?= "rootfs2"
FLASHLAYOUT_PARTITION_ENABLE:${STM32MP_ROOTFS2_PROGRAMMER_NAME} = "PED"
FLASHLAYOUT_PARTITION_ID:${STM32MP_ROOTFS2_PROGRAMMER_NAME} = "0x15"
STM32MP_ROOTFS2_MOUNTPOINT ?= "/usr/rootfs2"
ST_ROOTFS2 ?= "1"
PARTITIONS_CONFIG[rootfs2] = "${STM32MP_ROOTFS2_IMAGE},${STM32MP_ROOTFS2_LABEL},${STM32MP_ROOTFS2_MOUNTPOINT},${STM32MP_ROOTFS2_SIZE},FileSystem"
PARTITIONS_LIST += "rootfs2"
PARTITIONS_LIST_EFI += "rootfs2"
But the tsv file is not generated with below warning
Cannot generate FlashLayout_emmc_stm32mp135f-dk-optee.tsv file: the st-image-root2fs-openstlinux-weston-stm32mp13-disco.rootfs2.ext4 binary for rootfs2 partition is missing in deploy folder
Please kindly help to provide any suggest
Many thanks
