I has a success in flashing both dev-board and prod-board with encrypted SSD partition using JetPack 6
Now we have troubles with RTC and GPIO on Jetpack 6 and need to downgrade the system to Jetpack 5.1.2; We can’t use 5.1.3 also, because it doesn’t have IMX477 camera support.
I was failed when I tried just to repeat the steps leading to success on Jetpack 6
7.281377] Mount initrd as rootfs and enter recovery mode
Finding OTA work dir on external storage devices
Checking whether device /dev/mmcblk?p1 exist
Device /dev/mmcblk?p1 does not exist
Checking whether device /dev/sd?1 exist
Device /dev/sd?1 does not exist
Checking whether device /dev/nvme?n1p1 exist
Looking for OTA work directory on the device(s): /dev/nvme0n1p1
mount /dev/nvme0n1p1 /mnt
[ 7.303333] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
is_boot_only_partition /mnt
The mounted /dev/nvme0n1p1 is boot partition, try locating rootfs partition and mount it...
mount_rootfs_partition /dev/nvme0n1p1 /mnt
Found encrypted rootfs partition /dev/nvme0n1p2 through UUID(2d4e885a-38cb-41ce-b117-9eb84bcb76fe)
umount /mnt
unlock_encrypted_partition /dev/nvme0n1p2 dm_crypt_ota dm_crypt
is_luks_partition /dev/nvme0n1p2
[ 7.364701] random: ld-linux-aarch6: uninitialized urandom read (4 bytes read)
is_unlocked /dev/nvme0n1p2 unlocked_device_name
get_uuid_for_luks_partition /dev/nvme0n1p2 luks_uuid
[ 7.372101] random: ld-linux-aarch6: uninitialized urandom read (4 bytes read)
[ 7.379682] random: ld-linux-aarch6: uninitialized urandom read (4 bytes read)
[ 7.905114] mmc1: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit
No key available with this passphrase.
Failed to unlock the LUKS partition /dev/nvme0n1p2(UUID=2d4e885a-38cb-41ce-b117-9eb84bcb76fe)
Failed to run "unlock_encrypted_partition /dev/nvme0n1p2 dm_crypt_ota dm_crypt"
Failed to run "moutn_rootfs_partition /dev/nvme0n1p1 /mnt"
Failed to run "mount_ota_work_partition /dev/nvme0n1p1 /mnt"
Finding OTA work dir on internal storage device
mount /dev/mmcblk0p1 /mnt
mount: /mnt: special device /dev/mmcblk0p1 does not exist.
Failed to mount /dev/mmcblk0p1 on the /mnt
Failed to run "mount_ota_work_partition /dev/mmcblk0p1 /mnt"
OTA work directory is not found on internal and external storage devices
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.0# [ 1080.257916] random: crng init done
I recorded full UART logs and host logs while I flash Jetpack 5.1.2 using my guide linked above
minicom.log (162.3 KB)
Also device keep doing something if I don’t touch it
minicom_2.log (168.6 KB)
flash_5-1_0_20240707-162722.log (39.7 KB)
Successful SDK manager flashing logs
flash_5-1_0_20240707-155326.log (41.1 KB)
MY BOARD SPECIFICS
In fact, I got a fresh Jetson Orin Nano 8GB dev-board, then update it to Jetpack 6 with SSD encrypted, then downgrade it back to 5.1.2 and now I’m working with it.
When I’m using SDK manager, Linux kernel flashing normally, but other packages fail: sometimes all of them, sometimes about 20% - there is no pattern, each of them could be installed or not.
Logs of my SDK manager 5.1.2 flashing:
SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_Orin_Nano_modules_2024-07-08_09-07-21.zip (585.6 KB)
UART logs:
minicom_sdkmanager_jp512.log (186.2 KB)
If I flash only Jetson Linux - no issues
Host logs:
SDKM_logs_JetPack_5.1.2_Linux_for_Jetson_Orin_Nano_modules_2024-07-08_10-17-34.zip (511.0 KB)
Uart logs:
minicom_skdmanager_02_short.log (187.4 KB)