hello AkterHossain,
could you please also check the UDA partition’s size for disk encryption configuration,
it’s the flash configuration file, flash_l4t_t194_spi_emmc_p3668_enc_rootfs_ab.xml
.
please modify the size as following,
<partition name="UDA" type="data" encrypted="true">
<allocation_policy> sequential </allocation_policy>
<filesystem_type> basic </filesystem_type>
<size> 122880000 </size>
please also review the disk_encryption_helper.func
,
please check it’s using luks1
to maintain backward compatibility,
for example,
# Add the LUKS header
eval ${GEN_LUKS_PASS_CMD} | ${CRYPTSETUP_BIN} \
--type luks1 \
-c aes-cbc-essiv:sha256 \
-s 128 \
--uuid "${__rootfsuuid}" \
luksFormat \
${loop_dev};
chkerr "Add LUKS header on ${__localsysfile} failed.";