Skip to main content
The board support package (BSP) software components use the persist partition defined for the universal flash storage (UFS) or embedded multimedia card (eMMC) to store persistent data across reboots. Note The files under the persist partition are supposed to remain intact, even after reboots and OTA updates. Therefore, erasing or wiping the entire partition to delete files isn’t recommended.

Persist mount point

The /var/lib/tee directory is a mount point for a file system created on the persist partition. The recipes-bsp/partition/mount-tee-partition_1.0.bb recipe is responsible for installing the var-lib-tee.mountsystemd unit to local-fs.target. At boot up, the var-lib-tee.mount systemd unit creates /var/lib/tee path and mounts /dev/disk/by-partlabel/persist on /var/lib/tee. To verify the systemd mount unit status, run:
systemctl status var-lib-tee.mount
To display the persist mount point, run:
mount | grep "/var/lib/tee"
Expected output:
/dev/sdfX on /var/lib/tee type ext4 (rw,relatime,stripe=128)

Next steps