PCN214041

Hello,

35.6.5 is supporting PCN214041 but we are currently having issue to generate the images using the same commands we use for 35.6.2 where it seems to fail during mfi generation for mass flash.

Thus, we would like to know which exact files are addressing this PCN so we can as temporary workaround inject them in our current version.

Thanks

This is the error we get only in 35.6.5:

Error: /home/sebastien/builddir/images/35.6.5/ornx/dev/Linux_for_Tegra/bootloader/enc_signed/flash.idx is not found
Error: failed to relocate images to /home/sebastien/builddir/images/35.6.5/ornx/dev/Linux_for_Tegra/tools/kernel_flash/images

Please find some log in attachement, it seems that the error is that somehow the variable in the xml file are not expended. Is there some change in the version in the flashing mechanism?

The command used is:

ROOTFS_AB=1 ROOTFS_ENC=1 sudo ./tools/kernel_flash/l4t_initrd_flash.sh
-S 28GiB
–external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_nvme_rootfs_ab_enc.xml
-i sym2.key
-u pkc.pem
-v sbk.key
–uefi-keys uefi/uefi_keys.conf
–uefi-enc sym.key
-p “–generic-passphrase --reuse-uuid”
–showlogs
–external-only
–append
–network usb0
–no-flash
ornx external

log2.txt (91.6 KB)

log.txt (66.4 KB)

Look to the incorrect size:

[ 6.4073 ] partition_id partition_name StartingLba EndingLba
[ 6.4074 ] 1 APP 64 819263
[ 6.4076 ] 2 APP_b 819264 1638463
[ 6.4077 ] 3 APP_ENC 1638464 1638463
[ 6.4078 ] 4 APP_ENC_b 1638464 1638463
[ 6.4080 ] 5 A_kernel 1638464 1900607
[ 6.4082 ] 6 A_kernel-dtb 1900608 1902143
[ 6.4084 ] 7 A_reserved_on_user 1902144 1966911
[ 6.4085 ] 8 B_kernel 1966912 2229055
[ 6.4087 ] 9 B_kernel-dtb 2229056 2230591
[ 6.4087 ] 10 B_reserved_on_user 2230592 2295359
[ 6.4087 ] 11 recovery 2295360 2459199
[ 6.4087 ] 12 recovery-dtb 2459200 2460223
[ 6.4087 ] 13 esp 2460224 2591295
[ 6.4087 ] 14 recovery_alt 2591296 2755135
[ 6.4087 ] 15 recovery-dtb_alt 2755136 2756159
[ 6.4087 ] 16 esp_alt 2756160 2887231
[ 6.4087 ] 17 UDA 2887232 3706431
[ 6.4087 ] 18 reserved 3706432 4688447
[ 6.4087 ] 19 ERXSSD 4688448 122159063
[ 6.4087 ] gpt_secondary_9_0.bin:
[ 6.4087 ] partition_id partition_name StartingLba EndingLba
[ 6.4087 ] 1 APP 64 819263
[ 6.4087 ] 2 APP_b 819264 1638463
[ 6.4087 ] 3 APP_ENC 1638464 1638463
[ 6.4087 ] 4 APP_ENC_b 1638464 1638463

[ 6.4087 ] 5 A_kernel 1638464 1900607
[ 6.4087 ] 6 A_kernel-dtb 1900608 1902143
[ 6.4087 ] 7 A_reserved_on_user 1902144 1966911
[ 6.4087 ] 8 B_kernel 1966912 2229055
[ 6.4087 ] 9 B_kernel-dtb 2229056 2230591
[ 6.4087 ] 10 B_reserved_on_user 2230592 2295359
[ 6.4087 ] 11 recovery 2295360 2459199
[ 6.4087 ] 12 recovery-dtb 2459200 2460223
[ 6.4087 ] 13 esp 2460224 2591295
[ 6.4087 ] 14 recovery_alt 2591296 2755135
[ 6.4087 ] 15 recovery-dtb_alt 2755136 2756159
[ 6.4087 ] 16 esp_alt 2756160 2887231
[ 6.4087 ] 17 UDA 2887232 3706431
[ 6.4087 ] 18 reserved 3706432 4688447
[ 6.4087 ] 19 ERXSSD 4688448 122159063
[ 6.4087 ]

Again the exact same set of command work fine with 35.6.2.

log_nocrypt.txt (37.5 KB)

Hi,

Even disabling secure boot and disk encrpytion does not help, see logs in attachment. So there is something that has been changed that make our commands no longer compatible with 35.6.5. Please advise.

Also, why we see on this log the like of:

Error: /home/sebastien/builddir/images/35.6.5/ornx/nocrypt/Linux_for_Tegra/bootloader/signed/flash.idx is not found

This is kind of urgent as we might receive modules with this PCN anytime at our factory. So a timely reply is most appreciated.

Thanks

Hi,

Please try change the order

-ROOTFS_AB=1 ROOTFS_ENC=1 sudo ./tools/kernel_flash/l4t_initrd_flash.sh
+sudo  ROOTFS_AB=1 ROOTFS_ENC=1 ./tools/kernel_flash/l4t_initrd_flash.sh

If issue still observed, please provide the r35.6.5 fail log and the r35.6.2 success log.

Thanks

Hi,

Seems to do the job. Strange it uses to work on earlier version.