2026-05-11 12:51 AM
Hi,
I am working with the OEMiRoT reference project (STM32U385) and I need to configure a single Secure application image without TrustZone isolation (S-only application), while still keeping the Secure Data Image enabled.
From flash_layout.h, I see the following:
#define MCUBOOT_APP_IMAGE_NUMBER 1
#define FLASH_NS_PARTITION_SIZE (0x32000) /* default case */
and also this condition:
#if (MCUBOOT_APP_IMAGE_NUMBER == 1) && (FLASH_NS_PARTITION_SIZE == 0)which seems to define the “FULL SECURE” case.
To correctly implement an S-only application (no S/NS split) in OEMiRoT:
OR
The header comment suggests that some Flash layout values are automatically generated by the ROT provisioning scripts depending on the selected boot path, so it is unclear whether manual modification is supported or recommended.
Any clarification on the correct and recommended configuration flow would be appreciated.