root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# fw_printenv bootcount
bootcount=0
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# fw_printenv bootfirmware_version
bootfirmware_version=84f1cd6cc7f5be0ab2456c260890ef5a
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 14.9G 0 disk
`-sda1 8:1 1 14.9G 0 part
mmcblk0 179:0 0 14.7G 0 disk
|-mmcblk0p1 179:1 0 166.4M 0 part /var/rootdirs/mnt/boot
`-mmcblk0p2 179:2 0 14.5G 0 part /var
/usr
/boot
/
/sysroot
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk
zram0 252:0 0 1.9G 0 disk [SWAP]
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# mount /dev/sda1 /mnt
[ 88.346855] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[ 88.365247] EXT4-fs (sda1): mounted filesystem without journal. Quota mode: disabled.
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# ls /mnt
lost+found ostree_repo tuf
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio#
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio#
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# aklite-offline install --log-level 1 --src-dir /mnt
info: Reading config: "/usr/lib/sota/conf.d/30-rollback.toml"
info: Reading config: "/usr/lib/sota/conf.d/40-hardware-id.toml"
info: Reading config: "/usr/lib/sota/conf.d/46-pkcs11-label.toml"
info: Reading config: "/etc/sota/conf.d/z-99-aklite-callback.toml"
info: Use existing SQL storage: "/var/sota/sql.db"
Configuration file wrong or corrupted
warning: Failed resetting bootcount
Configuration file wrong or corrupted
warning: Failed resetting upgrade_available for u-boot
info: Importing root metadata from a local file system...
info: Successfully imported root role metadata from "/usr/lib/sota/tuf/ci"
error: Signature verification for Root metadata failed: The root metadata had an unmet threshold.
error: Failed to update Image repo metadata: The root metadata had an unmet threshold.
Failed to install the offline update; src-dir: "/var/rootdirs/mnt"; err: Failed to pull TUF metadata: The root metadata had an unmet threshold.root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio#
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio#
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio# fw_printenv bootcount
Configuration file wrong or corrupted
root@imx93-11x11-lpddr4x-evk-d086e3d86c494489b2a546aacb74c21f:/var/rootdirs/home/fio#