reServer Industrial J4012 Flash Error

Error when flashing Reserver Industrial J4012. Boots into recovery mode without issue, visible in USB list on host Ubunutu with lsusb

Following this guide: reServer Industrial | Seeed Studio Wiki

Eventually fails with these errors:

Failed to write to APP
Error flashing external drive
Flash failure
Cleaning up…

Here is the entire log below the line. I removed some lines to fit in the post limit:

hsuser@hsuser-ubuntu:/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs
[sudo] password for hsuser:
/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 1-5 --device-instance 0 --flash-only --external-device nvme0n1p1 -c “tools/kernel_flash/flash_l4t_nvme.xml” -S 80GiB --network usb0 reserver-orin-industrial external


  •                                        *
    
  • Step 1: Build the flashing environment *
  •                                        *
    

Create flash environment 0
/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial/bootloader /media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial
/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial
Finish creating flash environment 0.


  •                                              *
    
  • Step 2: Boot the device with flash initrd image *
  •                                              *
    

/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial/temp_initrdflash/bootloader0 /media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-p3767-0000-p3509-a02.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd “rcmboot” --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt --bins “psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt; kernel boot0.img; kernel_dtb tegra234-p3767-0000-p3509-a02.dtb” --secondary_gpt_backup --bct_backup --boot_chain A --instance 1-5
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

Entering RCM boot

[ 0.0508 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0508 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0508 ] rcm boot with presigned binaries
[ 0.0522 ] tegrarcm_v2 --instance 1-5 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.0535 ] BR_CID: 0x80012344705DD80B1400000006038140
[ 0.0672 ] Sending bct_br
[ 0.0825 ] Sending mb1
[ 0.0831 ] Sending psc_bl1
[ 0.0946 ] Sending bct_mb1
[ 0.1011 ] Generating blob for T23x
[ 0.1098 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.1134 ] The number of images in blob is 18
[ 0.1155 ] blobsize is 73509987
[ 0.1164 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3190848
[ 0.1791 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[ 0.1801 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[ 0.1811 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[ 0.1819 ] Not supported type: mb2_applet
[ 0.1824 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 437984
[ 0.1835 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[ 0.1844 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 9097216
[ 0.1889 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1915 ] Added binary blob_bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt of size 1048000
[ 0.1930 ] Added binary blob_tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt of size 138880
[ 0.1946 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[ 0.1952 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[ 0.1960 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400960
[ 0.1968 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1977 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1064752
[ 0.1985 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1994 ] Added binary blob_boot0.img of size 55498752
[ 0.2470 ] Added binary blob_tegra234-p3767-0000-p3509-a02.dtb of size 344819
[ 0.3163 ] tegrarcm_v2 --instance 1-5 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.3175 ] BL: version 0.32.0.1-t234-54845784-1cb23efd last_boot_error: 0
[ 0.3324 ] Sending bct_mem
[ 0.3449 ] Sending blob
[ 3.5066 ] RCM-boot started

/media/hsuser/Backup/mfi_reserver-orin-nx-16g-industrial-5.1-35.3.1-2023-08-05/mfi_reserver-orin-industrial


  •                                 *
    
  • Step 3: Start the flashing process *
  •                                 *
    

Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
[ 2]: l4t_flash_from_kernel: Successfully create gpt for emmc
[ 2]: l4t_flash_from_kernel: Starting to create gpt for external device
Active index file is /mnt/external/flash.idx
Number of lines is 18
max_index=17
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 1d1515da6c9b4d250b3dd33e601c604a0807dac2
Writing primary_gpt partition with gpt_primary_9_0.bin
Offset is not aligned to K Bytes, no optimization is applied
dd if=/mnt/external/gpt_primary_9_0.bin of=/dev/nvme0n1 bs=1 skip=0 seek=512 count=16896
16896+0 records in
16896+0 records out
16896 bytes (17 kB, 16 KiB) copied, 0.0228882 s, 738 kB/s
Writing primary_gpt partition done
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
Warning: Not all of the space available to /dev/nvme0n1 appears to be used, you can fix the GPT to use all of the space (an extra 50069679 blocks) or continue with the current setting?
Writing secondary_gpt partition with gpt_secondary_9_0.bin
Offset is not aligned to K Bytes, no optimization is applied
dd if=/mnt/external/gpt_secondary_9_0.bin of=/dev/nvme0n1 bs=1 skip=0 seek=102399983104 count=16896
16896+0 records in
16896+0 records out
16896 bytes (17 kB, 16 KiB) copied, 0.0209206 s, 808 kB/s
Writing secondary_gpt partition done
Fix/Ignore? Fix
Fix/Ignore? Fix
Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/nvme0n1 appears to be used, you can fix the GPT to use all of the space (an extra 50069679 blocks) or continue with the current setting?
Model: NHESR128GTLEW-I3C-2 (nvme)
Disk /dev/nvme0n1: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 20.5kB 85.9GB 85.9GB ext4 APP msftdata
2 85.9GB 86.0GB 67.1MB kernel msftdata
3 86.0GB 86.0GB 459kB kernel-dtb msftdata
4 86.0GB 86.0GB 33.6MB reserved_for_chain_A_user msftdata
5 86.0GB 86.1GB 67.1MB kernel_b msftdata
6 86.1GB 86.1GB 459kB kernel-dtb_b msftdata
7 86.1GB 86.1GB 33.6MB reserved_for_chain_B_user msftdata
8 86.1GB 86.2GB 83.9MB recovery msftdata
9 86.2GB 86.2GB 524kB recovery-dtb msftdata
10 86.2GB 86.5GB 315MB RECROOTFS msftdata
11 86.5GB 86.6GB 67.1MB fat32 esp boot, esp
12 86.6GB 86.7GB 83.9MB recovery_alt msftdata
13 86.7GB 86.7GB 524kB recovery-dtb_alt msftdata
14 86.7GB 86.7GB 67.1MB esp_alt msftdata
15 86.7GB 102GB 15.7GB UDA msftdata

[ 16]: l4t_flash_from_kernel: Expanding last partition to fill the storage device
[ 16]: l4t_flash_from_kernel: Successfully create gpt for external device
[ 16]: l4t_flash_from_kernel: Starting to flash to emmc
[ 16]: l4t_flash_from_kernel: Starting to flash to external device
Active index file is /mnt/internal/flash.idx
Active index file is /mnt/external/flash.idx
Flash index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
Number of lines is 18
max_index=17
Number of lines is 58
max_index=57
[ 16]: l4t_flash_from_kernel: Starting to flash to qspi
writing item=0, 9:0:master_boot_record, 0, 512, mbr_9_0.bin, 512, fixed--0, 694898d1c345bdb31b377790ed7fc0b0db184bf7
QSPI storage size: 67108864 bytes.
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 1d1515da6c9b4d250b3dd33e601c604a0807dac2
writing item=2, 9:0:APP, 20480, 85899345920, , , fixed--1,
Formatting APP partition /dev/nvme0n1p1 …
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done
Creating filesystem with 20971520 4k blocks and 5242880 inodes
Filesystem UUID: 58b0ae38-6e5e-4e1d-8fa2-409149ed3eaf
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000

Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): [ 17]: l4t_flash_from_kernel: Successfully flash the emmc
done
Writing superblocks and filesystem accounting information: done

Formatting APP parition done
mount: only root can do that (effective UID is 1000)
[ 18]: l4t_flash_from_kernel: Failed to mount APP partition /dev/nvme0n1p1
Erased 67108864 bytes from address 0x00000000 in flash
Flash index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
Writing br_bct_BR.bct (parittion: BCT) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/br_bct_BR.bct
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:0
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00000000 in flash
[ 179]: l4t_flash_from_kernel: QSPI erase block size is 65536
[ 179]: l4t_flash_from_kernel: Writing 16 copies of /mnt/internal/br_bct_BR.bct
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:65536
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00010000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:131072
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00020000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:196608
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00030000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:262144
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00040000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:327680
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00050000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:393216
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00060000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:458752
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00070000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:524288
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00080000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:589824
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x00090000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:655360
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000a0000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:720896
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000b0000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:786432
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000c0000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:851968
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000d0000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:917504
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000e0000 in flash
Writing /mnt/internal/br_bct_BR.bct (8192 bytes) into /dev/mtd0:983040
Copied 8192 bytes from /mnt/internal/br_bct_BR.bct to address 0x000f0000 in flash
Writing mb1_t234_prod_aligned_sigheader.bin.encrypt (parittion: A_mb1) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/mb1_t234_prod_aligned_sigheader.bin.encrypt
Writing /mnt/internal/mb1_t234_prod_aligned_sigheader.bin.encrypt (268336 bytes) into /dev/mtd0:1048576
Copied 268336 bytes from /mnt/internal/mb1_t234_prod_aligned_sigheader.bin.encrypt to address 0x00100000 in flash
Writing psc_bl1_t234_prod_aligned_sigheader.bin.encrypt (parittion: A_psc_bl1) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/psc_bl1_t234_prod_aligned_sigheader.bin.encrypt
Writing /mnt/internal/psc_bl1_t234_prod_aligned_sigheader.bin.encrypt (119616 bytes) into /dev/mtd0:1572864
Copied 119616 bytes from /mnt/internal/psc_bl1_t234_prod_aligned_sigheader.bin.encrypt to address 0x00180000 in flash
Writing mb1_cold_boot_bct_MB1_sigheader.bct.encrypt (parittion: A_MB1_BCT) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
Writing /mnt/internal/mb1_cold_boot_bct_MB1_sigheader.bct.encrypt (17056 bytes) into /dev/mtd0:1835008
Copied 17056 bytes from /mnt/internal/mb1_cold_boot_bct_MB1_sigheader.bct.encrypt to address 0x001c0000 in flash
Writing mem_coldboot_sigheader.bct.encrypt (parittion: A_MEM_BCT) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/mem_coldboot_sigheader.bct.encrypt
Writing /mnt/internal/mem_coldboot_sigheader.bct.encrypt (243712 bytes) into /dev/mtd0:1966080
Copied 243712 bytes from /mnt/internal/mem_coldboot_sigheader.bct.encrypt to address 0x001e0000 in flash
[ 180]: l4t_flash_from_kernel: Warning: skip writing A_tsec-fw partition as no image is specified
Writing nvdec_t234_prod_sigheader.fw.encrypt (parittion: A_nvdec) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt
Writing /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt (294912 bytes) into /dev/mtd0:3276800
Copied 294912 bytes from /mnt/internal/nvdec_t234_prod_sigheader.fw.encrypt to address 0x00320000 in flash
Writing mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (parittion: A_mb2) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt
Writing /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt (437984 bytes) into /dev/mtd0:4325376
Copied 437984 bytes from /mnt/internal/mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt to address 0x00420000 in flash
Writing xusb_t234_prod_sigheader.bin.encrypt (parittion: A_xusb-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/xusb_t234_prod_sigheader.bin.encrypt
Writing /mnt/internal/xusb_t234_prod_sigheader.bin.encrypt (164864 bytes) into /dev/mtd0:4849664
Copied 164864 bytes from /mnt/internal/xusb_t234_prod_sigheader.bin.encrypt to address 0x004a0000 in flash
Writing bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt (parittion: A_bpmp-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt
Writing /mnt/internal/bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt (1048000 bytes) into /dev/mtd0:5111808
Copied 1048000 bytes from /mnt/internal/bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt to address 0x004e0000 in flash
Writing tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt (parittion: A_bpmp-fw-dtb) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt
Writing /mnt/internal/tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt (138880 bytes) into /dev/mtd0:6684672
Copied 138880 bytes from /mnt/internal/tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt to address 0x00660000 in flash
Writing pscfw_t234_prod_sigheader.bin.encrypt (parittion: A_psc-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/pscfw_t234_prod_sigheader.bin.encrypt
Writing /mnt/internal/pscfw_t234_prod_sigheader.bin.encrypt (375168 bytes) into /dev/mtd0:10878976
Copied 375168 bytes from /mnt/internal/pscfw_t234_prod_sigheader.bin.encrypt to address 0x00a60000 in flash
Writing mce_flash_o10_cr_prod_sigheader.bin.encrypt (parittion: A_mts-mce) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/mce_flash_o10_cr_prod_sigheader.bin.encrypt
Writing /mnt/internal/mce_flash_o10_cr_prod_sigheader.bin.encrypt (190592 bytes) into /dev/mtd0:11665408
Copied 190592 bytes from /mnt/internal/mce_flash_o10_cr_prod_sigheader.bin.encrypt to address 0x00b20000 in flash
Writing sc7_t234_prod_sigheader.bin.encrypt (parittion: A_sc7) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/sc7_t234_prod_sigheader.bin.encrypt
Writing /mnt/internal/sc7_t234_prod_sigheader.bin.encrypt (167376 bytes) into /dev/mtd0:12189696
Copied 167376 bytes from /mnt/internal/sc7_t234_prod_sigheader.bin.encrypt to address 0x00ba0000 in flash
Writing camera-rtcpu-t234-rce_sigheader.img.encrypt (parittion: B_rce-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt
Writing /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt (537952 bytes) into /dev/mtd0:61014016
Copied 537952 bytes from /mnt/internal/camera-rtcpu-t234-rce_sigheader.img.encrypt to address 0x03a30000 in flash
Writing adsp-fw_sigheader.bin.encrypt (parittion: B_adsp-fw) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/adsp-fw_sigheader.bin.encrypt
Writing /mnt/internal/adsp-fw_sigheader.bin.encrypt (400960 bytes) into /dev/mtd0:62062592
Copied 400960 bytes from /mnt/internal/adsp-fw_sigheader.bin.encrypt to address 0x03b30000 in flash
[ 215]: l4t_flash_from_kernel: Warning: skip writing B_reserved_on_boot partition as no image is specified
[ 215]: l4t_flash_from_kernel: Warning: skip writing uefi_variables partition as no image is specified
[ 215]: l4t_flash_from_kernel: Warning: skip writing uefi_ftw partition as no image is specified
[ 215]: l4t_flash_from_kernel: Warning: skip writing worm partition as no image is specified
Writing bct_backup.img (parittion: BCT-boot-chain_backup) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/bct_backup.img
Writing /mnt/internal/bct_backup.img (32768 bytes) into /dev/mtd0:66715648
Copied 32768 bytes from /mnt/internal/bct_backup.img to address 0x03fa0000 in flash
[ 215]: l4t_flash_from_kernel: Warning: skip writing reserved_partition partition as no image is specified
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt_backup) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:66846720
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03fc0000 in flash
Writing qspi_bootblob_ver.txt (parittion: B_VER) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/qspi_bootblob_ver.txt
Writing /mnt/internal/qspi_bootblob_ver.txt (109 bytes) into /dev/mtd0:66912256
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fd0000 in flash
Writing qspi_bootblob_ver.txt (parittion: A_VER) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/qspi_bootblob_ver.txt
Writing /mnt/internal/qspi_bootblob_ver.txt (109 bytes) into /dev/mtd0:66977792
Copied 109 bytes from /mnt/internal/qspi_bootblob_ver.txt to address 0x03fe0000 in flash
Writing gpt_secondary_3_0.bin (parittion: secondary_gpt) into /dev/mtd0
Sha1 checksum matched for /mnt/internal/gpt_secondary_3_0.bin
Writing /mnt/internal/gpt_secondary_3_0.bin (16896 bytes) into /dev/mtd0:67091968
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
[ 216]: l4t_flash_from_kernel: Successfully flash the qspi
[ 216]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
[ 216]: l4t_flash_from_kernel: Failed to write to APP
[ 216]: l4t_flash_from_kernel: Error flashing external device
Flash failure
Cleaning up…

Update: Tried Method 2 and it flashed successfully.

1 Like