************************************************************* * * * 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 /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/flash.idx Number of lines is 17 max_index=16 writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 3b5d869ab3c1def3ab85f664d530905059067b82 Writing primary_gpt partition with gpt_primary_9_0.bin Offset is not aligned to K Bytes, no optimization is applied dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_primary_9_0.bin of=/dev/sdb bs=1 skip=0 seek=512 count=16896 16896+0 records in 16896+0 records out 16896 bytes (17 kB, 16 KiB) copied, 0.017268 s, 978 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/sdb appears to be used, you can fix the GPT to use all of the space (an extra 2080 blocks) or continue with the current setting? Writing secondary_gpt partition with gpt_secondary_9_0.bin 16896 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_secondary_9_0.bin to /dev/sdb: 1KB block=16 remainder=512 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_secondary_9_0.bin of=/dev/sdb bs=1K skip=0 seek=122227679 count=16 16+0 records in 16+0 records out 16384 bytes (16 kB, 16 KiB) copied, 0.0312613 s, 524 kB/s dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/gpt_secondary_9_0.bin of=/dev/sdb bs=1 skip=16384 seek=125161159680 count=512 512+0 records in 512+0 records out 512 bytes copied, 0.000621091 s, 824 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/sdb appears to be used, you can fix the GPT to use all of the space (an extra 2080 blocks) or continue with the current setting? Fix/Ignore? Fix Model: SanDisk SanDisk 3.2 Gen1 (scsi) Disk /dev/sdb: 125GB Sector size (logical/physical): 512B/512B 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 67.6MB 459kB kernel-dtb msftdata 4 67.6MB 101MB 33.6MB reserved_for_chain_A_user msftdata 5 101MB 168MB 67.1MB kernel_b msftdata 6 168MB 169MB 459kB kernel-dtb_b msftdata 7 169MB 202MB 33.6MB reserved_for_chain_B_user msftdata 8 202MB 286MB 83.9MB recovery msftdata 9 286MB 287MB 524kB recovery-dtb msftdata 10 287MB 601MB 315MB RECROOTFS msftdata 11 601MB 668MB 67.1MB esp boot, esp 12 668MB 752MB 83.9MB recovery_alt msftdata 13 752MB 753MB 524kB recovery-dtb_alt msftdata 14 753MB 820MB 67.1MB esp_alt msftdata 1 820MB 65.2GB 64.4GB APP msftdata [ 4]: l4t_flash_from_kernel: Successfully create gpt for external device [ 5]: l4t_flash_from_kernel: Starting to flash to external device Active index file is /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/flash.idx Number of lines is 17 max_index=16 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, 3b5d869ab3c1def3ab85f664d530905059067b82 writing item=2, 9:0:kernel, 20480, 67108864, boot.img, 42065920, fixed--2, d65392efdad42717bdb8445d3123b7b69ec586f6 Writing kernel partition with boot.img Get size of partition through connection. 42065920 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img to /dev/sdb: 1KB block=41080 remainder=0 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img of=/dev/sdb bs=1K skip=0 seek=20 count=41080 41080+0 records in 41080+0 records out 42065920 bytes (42 MB, 40 MiB) copied, 3.3112 s, 12.7 MB/s Writing kernel partition done writing item=3, 9:0:kernel-dtb, 67129344, 458752, kernel_tegra234-p3767-0000-p3509-a02.dtb, 341468, fixed--3, 60907cadac1a11448e9eeb7166bc673eed164ef7 Writing kernel-dtb partition with kernel_tegra234-p3767-0000-p3509-a02.dtb Get size of partition through connection. 341468 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb to /dev/sdb: 1KB block=333 remainder=476 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb of=/dev/sdb bs=1K skip=0 seek=65556 count=333 333+0 records in 333+0 records out 340992 bytes (341 kB, 333 KiB) copied, 0.121859 s, 2.8 MB/s dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb of=/dev/sdb bs=1 skip=340992 seek=67470336 count=476 476+0 records in 476+0 records out 476 bytes copied, 0.00196294 s, 242 kB/s Writing kernel-dtb partition done writing item=4, 9:0:reserved_for_chain_A_user, 67588096, 33554432, , , fixed--4, [ 8]: l4t_flash_from_kernel: Warning: skip writing reserved_for_chain_A_user partition as no image is specified writing item=5, 9:0:kernel_b, 101142528, 67108864, boot.img, 42065920, fixed--5, d65392efdad42717bdb8445d3123b7b69ec586f6 Writing kernel_b partition with boot.img Get size of partition through connection. 42065920 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img to /dev/sdb: 1KB block=41080 remainder=0 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/boot.img of=/dev/sdb bs=1K skip=0 seek=98772 count=41080 41080+0 records in 41080+0 records out 42065920 bytes (42 MB, 40 MiB) copied, 3.38829 s, 12.4 MB/s Writing kernel_b partition done writing item=6, 9:0:kernel-dtb_b, 168251392, 458752, kernel_tegra234-p3767-0000-p3509-a02.dtb, 341468, fixed--6, 60907cadac1a11448e9eeb7166bc673eed164ef7 Writing kernel-dtb_b partition with kernel_tegra234-p3767-0000-p3509-a02.dtb Get size of partition through connection. 341468 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb to /dev/sdb: 1KB block=333 remainder=476 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb of=/dev/sdb bs=1K skip=0 seek=164308 count=333 333+0 records in 333+0 records out 340992 bytes (341 kB, 333 KiB) copied, 0.0416216 s, 8.2 MB/s dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/kernel_tegra234-p3767-0000-p3509-a02.dtb of=/dev/sdb bs=1 skip=340992 seek=168592384 count=476 476+0 records in 476+0 records out 476 bytes copied, 0.00547233 s, 87.0 kB/s Writing kernel-dtb_b partition done writing item=7, 9:0:reserved_for_chain_B_user, 168710144, 33554432, , , fixed--7, [ 12]: l4t_flash_from_kernel: Warning: skip writing reserved_for_chain_B_user partition as no image is specified writing item=8, 9:0:recovery, 202264576, 83886080, recovery.img, 46153728, fixed--8, 195a7e161845a874e96d74308d7abcdbbca30969 Writing recovery partition with recovery.img Get size of partition through connection. 46153728 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/recovery.img to /dev/sdb: 1KB block=45072 remainder=0 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/recovery.img of=/dev/sdb bs=1K skip=0 seek=197524 count=45072 45072+0 records in 45072+0 records out 46153728 bytes (46 MB, 44 MiB) copied, 3.63256 s, 12.7 MB/s Writing recovery partition done writing item=9, 9:0:recovery-dtb, 286150656, 524288, tegra234-p3767-0000-p3509-a02.dtb.rec, 341468, fixed--9, 60907cadac1a11448e9eeb7166bc673eed164ef7 Writing recovery-dtb partition with tegra234-p3767-0000-p3509-a02.dtb.rec Get size of partition through connection. 341468 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/tegra234-p3767-0000-p3509-a02.dtb.rec to /dev/sdb: 1KB block=333 remainder=476 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/tegra234-p3767-0000-p3509-a02.dtb.rec of=/dev/sdb bs=1K skip=0 seek=279444 count=333 333+0 records in 333+0 records out 340992 bytes (341 kB, 333 KiB) copied, 0.0272435 s, 12.5 MB/s dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/tegra234-p3767-0000-p3509-a02.dtb.rec of=/dev/sdb bs=1 skip=340992 seek=286491648 count=476 476+0 records in 476+0 records out 476 bytes copied, 0.000304259 s, 1.6 MB/s Writing recovery-dtb partition done writing item=10, 9:0:RECROOTFS, 286674944, 314572800, , , fixed--10, [ 18]: l4t_flash_from_kernel: Warning: skip writing RECROOTFS partition as no image is specified writing item=11, 9:0:esp, 601247744, 67108864, esp.img, 67108864, fixed--11, d8ccfe3b853999188eb9544a921ada2ae97844ed Writing esp partition with esp.img Get size of partition through connection. 67108864 bytes from /home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/esp.img to /dev/sdb: 1KB block=65536 remainder=0 dd if=/home/ubu/Downloads/defaultbsp/sources_orin/Linux_for_Tegra/tools/kernel_flash/images/external/esp.img of=/dev/sdb bs=1K skip=0 seek=587156 count=65536 65536+0 records in 65536+0 records out 67108864 bytes (67 MB, 64 MiB) copied, 9.12649 s, 7.4 MB/s Writing esp partition done writing item=12, 9:0:recovery_alt, 668356608, 83886080, , , fixed--12, [ 27]: l4t_flash_from_kernel: Warning: skip writing recovery_alt partition as no image is specified writing item=13, 9:0:recovery-dtb_alt, 752242688, 524288, , , fixed--13, [ 27]: l4t_flash_from_kernel: Warning: skip writing recovery-dtb_alt partition as no image is specified writing item=14, 9:0:esp_alt, 752766976, 67108864, , , fixed--14, [ 27]: l4t_flash_from_kernel: Warning: skip writing esp_alt partition as no image is specified writing item=15, 9:0:APP, 819875840, 64424509440, , , fixed--1, 8192 bytes (8.2 kB, 8.0 KiB) copied, 2 s, 5.4 kB/s 2+1 records in 2+1 records out 10240 bytes (10 kB, 10 KiB) copied, 1.5429 s, 6.6 kB/s writing item=16, 9:0:secondary_gpt, 125161143296, 16896, gpt_secondary_9_0.bin, 16896, fixed--0, 5c5d15834a37abc0586bd8889359d829dbdfbca4 [ 60]: l4t_flash_from_kernel: Successfully flash the external device [ 60]: l4t_flash_from_kernel: Flashing success [ 60]: 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...