I also encountered one error when disk encryption is enabled after removing “–external-only”:
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
Error: When disk encryption is enabled, root device cannot be nvme0n1p1
It comes from code below in flash.sh:
if [[ “${rootdev_type}” == “external” && “${disk_enc_enable}” -eq 1 ]]; then
echo “Error: When disk encryption is enabled, root device cannot be ${target_rootdev}”
exit 1;
fi;
If I just avoid the " exit 1" in this check, it works !
Can I somehow avoid this error or this check is needed ?
Do we need to set the jetson board to recovery before creating image for QSPI ?
Ideally, we want to create the final image in an offline mode without the board to be in recovery mode.
Are these commands equivalent to create QSPI images ?