************************************************************* * * * Step 1: Start the host connected device flashing process * * * ************************************************************* blockdev: cannot open /dev/mmcblk0boot0: No such file or directory [ 0]: l4t_flash_from_kernel: Starting to create gpt for external device Active index file is /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/flash.idx Number of lines is 13 max_index=12 writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, f4baf7fe097cacb63acc0e780c7fc4fdd00186d7 Writing primary_gpt partition with gpt_primary_9_0.bin Offset is not aligned to K Bytes, no optimization is applied dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_primary_9_0.bin of=/dev/sdc bs=1 skip=0 seek=512 count=16896 16896+0 records in 16896+0 records out 16896 bytes (17 kB, 16 KiB) copied, 0.0517753 s, 326 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/sdc appears to be used, you can fix the GPT to use all of the space (an extra 1829793199 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=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_secondary_9_0.bin of=/dev/sdc bs=1 skip=0 seek=63350750720 count=16896 16896+0 records in 16896+0 records out 16896 bytes (17 kB, 16 KiB) copied, 0.123234 s, 137 kB/s Writing secondary_gpt partition done 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)? Fix/Ignore? Fix Warning: Not all of the space available to /dev/sdc appears to be used, you can fix the GPT to use all of the space (an extra 1829793199 blocks) or continue with the current setting? Fix/Ignore? Fix Model: HGST HTS 721010A9E630 (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 2 20.5kB 67.1MB 67.1MB kernel msftdata 3 67.1MB 134MB 67.1MB kernel_b msftdata 4 134MB 135MB 459kB kernel-dtb msftdata 5 135MB 135MB 459kB kernel-dtb_b msftdata 6 135MB 219MB 83.9MB recovery msftdata 7 219MB 220MB 524kB recovery-dtb msftdata 8 220MB 324MB 105MB RECROOTFS msftdata 9 324MB 392MB 67.1MB esp boot, esp 10 392MB 392MB 18.4kB UDA msftdata 1 392MB 15.4GB 15.0GB APP msftdata [ 6]: l4t_flash_from_kernel: Successfully create gpt for external device [ 11]: l4t_flash_from_kernel: Starting to flash to external device Active index file is /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/flash.idx Number of lines is 13 max_index=12 writing item=0, 9:0:master_boot_record, 0, 512, mbr_9_0.bin, 512, fixed--0, 694898d1c345bdb31b377790ed7fc0b0db184bf7 writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, f4baf7fe097cacb63acc0e780c7fc4fdd00186d7 writing item=2, 9:0:kernel, 20480, 67108864, boot.img, 42057728, fixed--2, 135409bacea6ee6103085c2c24e21a351cb1b80d Writing kernel partition with boot.img Get size of partition through connection. 42057728 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img to /dev/sdc: 1KB block=41072 remainder=0 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img of=/dev/sdc bs=1K skip=0 seek=160 count=41072 41072+0 records in 41072+0 records out 42057728 bytes (42 MB, 40 MiB) copied, 2.50982 s, 16.8 MB/s Writing kernel partition done writing item=3, 9:0:kernel_b, 67129344, 67108864, boot.img, 42057728, fixed--3, 135409bacea6ee6103085c2c24e21a351cb1b80d Writing kernel_b partition with boot.img Get size of partition through connection. 42057728 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img to /dev/sdc: 1KB block=41072 remainder=0 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img of=/dev/sdc bs=1K skip=0 seek=524448 count=41072 41072+0 records in 41072+0 records out 42057728 bytes (42 MB, 40 MiB) copied, 2.24675 s, 18.7 MB/s Writing kernel_b partition done writing item=4, 9:0:kernel-dtb, 134238208, 458752, kernel_tegra194-p3668-0001-p3509-0000.dtb, 323850, fixed--4, 17be71eba78134f329187e7148e5cfb9060f760d Writing kernel-dtb partition with kernel_tegra194-p3668-0001-p3509-0000.dtb Get size of partition through connection. 323850 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb to /dev/sdc: 1KB block=316 remainder=266 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb of=/dev/sdc bs=1K skip=0 seek=1048736 count=316 316+0 records in 316+0 records out 323584 bytes (324 kB, 316 KiB) copied, 0.481973 s, 671 kB/s dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb of=/dev/sdc bs=1 skip=323584 seek=1074229248 count=266 266+0 records in 266+0 records out 266 bytes copied, 0.0102532 s, 25.9 kB/s Writing kernel-dtb partition done writing item=5, 9:0:kernel-dtb_b, 134696960, 458752, kernel_tegra194-p3668-0001-p3509-0000.dtb, 323850, fixed--5, 17be71eba78134f329187e7148e5cfb9060f760d Writing kernel-dtb_b partition with kernel_tegra194-p3668-0001-p3509-0000.dtb Get size of partition through connection. 323850 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb to /dev/sdc: 1KB block=316 remainder=266 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb of=/dev/sdc bs=1K skip=0 seek=1052320 count=316 316+0 records in 316+0 records out 323584 bytes (324 kB, 316 KiB) copied, 0.416637 s, 777 kB/s dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra194-p3668-0001-p3509-0000.dtb of=/dev/sdc bs=1 skip=323584 seek=1077899264 count=266 266+0 records in 266+0 records out 266 bytes copied, 0.0035025 s, 75.9 kB/s Writing kernel-dtb_b partition done writing item=6, 9:0:recovery, 135155712, 83886080, recovery.img, 45836288, fixed--6, a9c0030533cbf4512b72a60c77c16ea31b9a94b5 Writing recovery partition with recovery.img Get size of partition through connection. 45836288 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/recovery.img to /dev/sdc: 1KB block=44762 remainder=0 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/recovery.img of=/dev/sdc bs=1K skip=0 seek=1055904 count=44762 44762+0 records in 44762+0 records out 45836288 bytes (46 MB, 44 MiB) copied, 3.09966 s, 14.8 MB/s Writing recovery partition done writing item=7, 9:0:recovery-dtb, 219041792, 524288, tegra194-p3668-0001-p3509-0000.dtb.rec, 323850, fixed--7, 17be71eba78134f329187e7148e5cfb9060f760d Writing recovery-dtb partition with tegra194-p3668-0001-p3509-0000.dtb.rec Get size of partition through connection. 323850 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/tegra194-p3668-0001-p3509-0000.dtb.rec to /dev/sdc: 1KB block=316 remainder=266 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/tegra194-p3668-0001-p3509-0000.dtb.rec of=/dev/sdc bs=1K skip=0 seek=1711264 count=316 316+0 records in 316+0 records out 323584 bytes (324 kB, 316 KiB) copied, 0.341122 s, 949 kB/s dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/tegra194-p3668-0001-p3509-0000.dtb.rec of=/dev/sdc bs=1 skip=323584 seek=1752657920 count=266 266+0 records in 266+0 records out 266 bytes copied, 0.00121485 s, 219 kB/s Writing recovery-dtb partition done writing item=8, 9:0:RECROOTFS, 219566080, 104857600, , , fixed--8, [ 21]: l4t_flash_from_kernel: Warning: skip writing RECROOTFS partition as no image is specified writing item=9, 9:0:esp, 324423680, 67108864, esp.img, 67108864, fixed--9, 8e64d50d4f1ae75f399c106b4c41acb5bf1ae60f Writing esp partition with esp.img Get size of partition through connection. 67108864 bytes from /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/esp.img to /dev/sdc: 1KB block=65536 remainder=0 dd if=/media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/esp.img of=/dev/sdc bs=1K skip=0 seek=2534560 count=65536 65536+0 records in 65536+0 records out 67108864 bytes (67 MB, 64 MiB) copied, 4.00291 s, 16.8 MB/s Writing esp partition done writing item=10, 9:0:UDA, 391532544, 18432, , , fixed--10, [ 26]: l4t_flash_from_kernel: Warning: skip writing UDA partition as no image is specified writing item=11, 9:0:APP, 391553024, 15032385536, , , fixed--1, Formatting APP partition /dev/sdc1 ... mke2fs 1.44.1 (24-Mar-2018) Creating filesystem with 3670016 4k blocks and 917504 inodes Filesystem UUID: 195e374b-ed09-42f1-b705-18d23b3e4d6d Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: 0/112 done Writing inode tables: 0/112 done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: 0/112 done Formatting APP parition done Formatting APP partition /dev/sdc1 ... tar --xattrs -xpf /media/gary/D/projects/8253_5.0/JetPack_5.0.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images/external/system.img --checkpoint=10000 --warning=no-timestamp --numeric-owner -C /tmp/ci-NbIMpjPDj5 tar: Read checkpoint 10000 tar: Read checkpoint 20000 tar: Read checkpoint 30000 tar: Read checkpoint 40000 tar: Read checkpoint 50000 tar: Read checkpoint 60000 tar: Read checkpoint 70000 tar: Read checkpoint 80000 tar: Read checkpoint 90000 tar: Read checkpoint 100000 tar: Read checkpoint 110000 tar: Read checkpoint 120000 tar: Read checkpoint 130000 tar: Read checkpoint 140000 tar: Read checkpoint 150000 tar: Read checkpoint 160000 tar: Read checkpoint 170000 tar: Read checkpoint 180000 tar: Read checkpoint 190000 tar: Read checkpoint 200000 tar: Read checkpoint 210000 tar: Read checkpoint 220000 tar: Read checkpoint 230000 tar: Read checkpoint 240000 tar: Read checkpoint 250000 tar: Read checkpoint 260000 tar: Read checkpoint 270000 tar: Read checkpoint 280000 tar: Read checkpoint 290000 tar: Read checkpoint 300000 tar: Read checkpoint 310000 tar: Read checkpoint 320000 tar: Read checkpoint 330000 tar: Read checkpoint 340000 tar: Read checkpoint 350000 tar: Read checkpoint 360000 tar: Read checkpoint 370000 tar: Read checkpoint 380000 tar: Read checkpoint 390000 tar: Read checkpoint 400000 tar: Read checkpoint 410000 tar: Read checkpoint 420000 tar: Read checkpoint 430000 tar: Read checkpoint 440000 tar: Read checkpoint 450000 tar: Read checkpoint 460000 tar: Read checkpoint 470000 tar: Read checkpoint 480000 tar: Read checkpoint 490000 tar: Read checkpoint 500000 tar: Read checkpoint 510000 tar: Read checkpoint 520000 tar: Read checkpoint 530000 tar: Read checkpoint 540000 tar: Read checkpoint 550000 tar: Read checkpoint 560000 tar: Read checkpoint 570000 tar: Read checkpoint 580000 tar: Read checkpoint 590000 tar: Read checkpoint 600000 tar: Read checkpoint 610000 tar: Read checkpoint 620000 writing item=12, 9:0:secondary_gpt, 63350750720, 16896, gpt_secondary_9_0.bin, 16896, fixed--0, 5ce96a6c76027a7322bef0c6cae4b77f07c9e134 [ 105]: l4t_flash_from_kernel: Successfully flash the external device [ 105]: l4t_flash_from_kernel: Flashing success [ 105]: 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. Success Cleaning up...