Hi,
I need do the secure boot setup in verdin imx8mp board, but for the reference image there is no guideness for secure and it is available only for the torizon OS, So how I need to implement the secure any recipes or layer for the scarthgap version 7.5.0 is available for this, below I have attached my device board configs info and at the same I have the mutlipe partitions setup so for that the trust of chain will be formed for all the partitions and do the dm-variety and dm-crypt is there any way to build that via the yocto project,
Verdin imx8mp Board and Linux Image OS info:
root@verdin-imx8mp-15722244:~# cat /etc/os-release
ID=tdx-xwayland
NAME="TDX Wayland with XWayland"
VERSION="7.5.0-devel-20260122114211+build.0 (scarthgap)"
VERSION_ID=7.5.0-devel-20260122114211-build.0
VERSION_CODENAME="scarthgap"
PRETTY_NAME="TDX Wayland with XWayland 7.5.0-devel-20260122114211+build.0 (scarthgap)"
CPE_NAME="cpe:/o:openembedded:tdx-xwayland:7.5.0-devel-20260122114211+build.0"
root@verdin-imx8mp-15722244:~# tdx-info
Software summary
------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 6.6.101-7.5.0-devel #1 SMP PREEMPT Mon Oct 27 12:24:20 UTC 2025
Kernel command line: root=PARTUUID=ce424098-9e4f-4dd5-a55e-949519f0f740 ro rootwait console=tty1 console=ttymxc2,115200 console=null quiet loglevel=0 vt.global_cursor_default=0 vt.default_redraw=0 consoleblank=0
Distro name: NAME="TDX Wayland with XWayland"
Distro version: VERSION_ID=7.5.0-devel-20260122114211-build.0
Distro variant: -
Hostname: verdin-imx8mp-15722244
------------------------------------------------------------
Hardware info
------------------------------------------------------------
HW model: Toradex Verdin iMX8M Plus WB on Ivy
Toradex version: 0070 V1.1A
Serial number: 15722244
Processor arch: aarch64
------------------------------------------------------------
root@verdin-imx8mp-15722244:~# uname -a
Linux verdin-imx8mp-15722244 6.6.101-7.5.0-devel #1 SMP PREEMPT Mon Oct 27 12:24:20 UTC 2025 aarch64 GNU/Linux
root@verdin-imx8mp-15722244:~# uname -r
6.6.101-7.5.0-devel
root@verdin-imx8mp-15722244:~# uname
Linux
root@verdin-imx8mp-15722244:~#
root@verdin-imx8mp-15722244:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk2 179:0 0 29.1G 0 disk
|-mmcblk2p1 179:1 0 64M 0 part /run/media/BOOT_A-mmcblk2p1
|-mmcblk2p2 179:2 0 64M 0 part /run/media/BOOT_B-mmcblk2p2
|-mmcblk2p3 179:3 0 3G 0 part /run/media/ROOTFS_A-mmcblk2p3
|-mmcblk2p4 179:4 0 3G 0 part /
|-mmcblk2p5 179:5 0 512M 0 part /run/media/FACTORY-mmcblk2p5
|-mmcblk2p6 179:6 0 512M 0 part /run/media/DATA-mmcblk2p6
`-mmcblk2p7 179:7 0 22G 0 part /run/media/RECOVERY-mmcblk2p7
mmcblk2boot0 179:8 0 4M 1 disk
mmcblk2boot1 179:16 0 4M 1 disk
root@verdin-imx8mp-15722244:~#
By default there is meta-security layer is find in the reference image yocto bsp layer’s, is this useful for the secure boot or need any other additional layer meta-toradex-security is needed here,
hari@Administrator:~/oe-core/layers$ ls
meta-arm meta-freescale-3rdparty meta-openembedded meta-toradex-bsp-common meta-toradex-nxp
meta-browser meta-freescale-distro meta-qt5 meta-toradex-chromium meta-toradex-ti
meta-custom meta-imx meta-security meta-toradex-demos meta-yocto
meta-freescale meta-lokbest meta-ti meta-toradex-distro openembedded-core
hari@Administrator:~/oe-core/layers$ ls meta-security/.
COPYING.MIT conf kas meta-integrity recipes-compliance recipes-kernel recipes-scanners wic
README.md docs lib meta-parsec recipes-core recipes-mac recipes-security
classes dynamic-layers meta-hardening meta-tpm recipes-ids recipes-perl scripts
hari@Administrator:~/oe-core/layers$
I need to develop the secure boot in this scenario way:
Power ON
ROM verifies signed imx-boot (mmcblk2boot0)
SPL runs
U-Boot runs
U-Boot verifies FIT kernel signature
Kernel boots
Kernel mounts rootfs
- if dm-verity → verified read-only
systemd starts
services run