how to make jetson tx2 root file system always run from external ssd hard disk?

Hi,
i have connected and mounted a 1TB external SSD hdd.

  • How to use this hdd for root file system always
  • Even if i reflash, how to redirect to hdd instead of 32GB eMMC in future?

Hi jaiganesh.kesavaram,

Please following Topic-1060950 steps to flash on external devices.

I see the below steps from that forum as,
1). Create GPT and partition using gdisk on the external device
2). Get the UUID for the partition on the external device. For example, if the device partition is /dev/sda1, then execute …
$ sudo blkid /dev/sda1
/dev/sda1: UUID=“93A6-26BA” TYPE=“vfat” PARTLABEL=“Linux filesystem” PARTUUID=“018eff62-2d07-4ca5-8619-c30c18b0a181”
3). Write the PARTUUID shown from the previous command to the following file …
echo ‘018eff62-2d07-4ca5-8619-c30c18b0a181’ > bootloader/l4t-rootfs-uuid.txt
4). Copy the rootfs folder to your sdcard (/dev/sda1)
5). Flash the board: (external is for sdcard, usb and sata)
$ sudo ./flash.sh jetson-tx2 external

My question is where to find flash.sh?
Also are these steps work with Jetpack 4.2.2 and R32.2?

Meanwhile, i also tried GitHub - jetsonhacks/buildJetsonTX2Kernel: Build the NVIDIA Jetson TX2 Kernel on the device itself, tried to build kernel and got the below erros,

arch/arm64/mm/dma-mapping.c:1376:2: error: #error ARM Coherent DMA allocator does not (yet) support huge TLB
#error ARM Coherent DMA allocator does not (yet) support huge TLB
^~~~~
arch/arm64/kernel/topology.c: In function ‘parse_cluster’:
arch/arm64/kernel/topology.c:114:40: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Werror=format-truncation=]
snprintf(name, sizeof(name), “cluster%d”, i);
^~
arch/arm64/kernel/topology.c:114:32: note: directive argument in the range [0, 2147483647]
snprintf(name, sizeof(name), “cluster%d”, i);
^~~~~~~~~~~
arch/arm64/kernel/topology.c:114:3: note: ‘snprintf’ output between 9 and 18 bytes into a destination of size 10
snprintf(name, sizeof(name), “cluster%d”, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/topology.c:129:37: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=]
snprintf(name, sizeof(name), “core%d”, i);
^~
arch/arm64/kernel/topology.c:129:32: note: directive argument in the range [0, 2147483647]
snprintf(name, sizeof(name), “core%d”, i);
^~~~~~~~
arch/arm64/kernel/topology.c:129:3: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 10
snprintf(name, sizeof(name), “core%d”, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/topology.c:59:39: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Werror=format-truncation=]
snprintf(name, sizeof(name), “thread%d”, i);
^~
arch/arm64/kernel/topology.c:59:32: note: directive argument in the range [0, 2147483647]
snprintf(name, sizeof(name), “thread%d”, i);
^~~~~~~~~~
arch/arm64/kernel/topology.c:59:3: note: ‘snprintf’ output between 8 and 17 bytes into a destination of size 10
snprintf(name, sizeof(name), “thread%d”, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:261: recipe for target ‘arch/arm64/mm/dma-mapping.o’ failed
make[1]: *** [arch/arm64/mm/dma-mapping.o] Error 1
Makefile:973: recipe for target ‘arch/arm64/mm’ failed
make: *** [arch/arm64/mm] Error 2
make: *** Waiting for unfinished jobs…

Can you please help?

You can download the “driver package” separately, or simply run JetPack/SDK Manager, and don’t remove the content after it runs (you might even have this available now). Just don’t mix versions. Once you have this, you will have directory “~/nvidia/nvidia_sdk/”. Within that will be a JetPack directory named after the JetPack version and the particular board. The TX2 is the P3310. So for example, if you’ve installed JetPack4.2, and downloaded (you don’t have to flash to get content) or flashed for the TX2, then you would have:

~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/

The “Linux_for_Tegra/” subdirectory contains flash.sh, and is essentially the “driver package”. See also the downloads:
https://developer.nvidia.com/embedded/linux-tegra-archive
https://developer.nvidia.com/embedded/jetpack-archive
(you will probably have to go to the link, log in, and then go to the link again…redirect does not work)

Hi jaiganesh.kesavaram,

My question is where to find flash.sh?
Also are these steps work with Jetpack 4.2.2 and R32.2?
→ Please check #4 linuxdev answer.

Please follow L4T Documentation to building NVIDIA kernel. Thanks!

hi linuxdev,

I can find flash.sh now. thanks.
Regarding step 3, from https://devtalk.nvidia.com/default/topic/1060950/jetson-tx2/how-can-we-flash-everything-apart-bootloader-to-extern-sdcard-on-tx2-like-jetson-nano-with-no-intern-/post/5373638/#5373638,

3). Write the PARTUUID shown from the previous command to the following file …
echo ‘018eff62-2d07-4ca5-8619-c30c18b0a181’ > bootloader/l4t-rootfs-uuid.txt

where to find bootloader/l4t-rootfs-uuid.txt?

The directory “Linux_for_Tegra/bootloader/” is what this refers to (which in turn would be a subdirectory to somewhere like “~/nvidia/nvidia_sdk/JetPack_4.2.1_Linux_P3310/Linux_for_Tegra/”…adjust for any version differences). The echo command will create the file if it does not exist; if the file already exists, then the echo will replace the original file.

Hi jaiganesh.kesavaram,

Please create l4t-rootfs-uuid.txt file by yourself:

cd ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/bootloader
sudo vim l4t-rootfs-uuid.txt
Write the PARTUUID in file and save

hi,
this is what i did,
On my Jetson TX2 hw,

  1. Format the external hdd
  2. Get the block id as,
    $ sudo blkid /dev/sda

then go to linux host machine,
3.
$ cd ~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra
$ echo ‘99bd1234-0e5a-4f05-b7fa-26c28f126bbf’ > bootloader/l4t-rootfs-uuid.txt

  1. Put Jetson tx2 in reflash mode

$ sudo ./flash.sh jetson-tx2 external

and the output is,

[ 21.8448 ] […] 100%
[ 21.9015 ]
[ 21.9016 ] Flashing completed

[ 21.9018 ] Coldbooting the device
[ 21.9047 ] tegradevflash_v2 --reboot coldboot
[ 21.9077 ] Bootloader version 01.00.0000
[ 22.0128 ]
*** The target t186ref has been flashed successfully. ***
Make the target filesystem available to the device and reset the board to boot from external external

But when the Jetson TX2 hw can’t boot and showing the below prints continuosly and stopped at bash terminal,
mount: can’t find PARTUUID=99bd1234-0e5a-4f05-b7fa-26c28f126bbf
mount: can’t find PARTUUID=99bd1234-0e5a-4f05-b7fa-26c28f126bbf
mount: can’t find PARTUUID=99bd1234-0e5a-4f05-b7fa-26c28f126bbf
mount: can’t find PARTUUID=99bd1234-0e5a-4f05-b7fa-26c28f126bbf


/mnt/ is not mountpoint
bash-4.3#

“sda” is the disk as a whole. You should create a partition (perhaps with gdisk), format the partition, and use the ID of the partition (you’ll need this to be the first partition, which is “/dev/sda1”). I’d then use “lsblk -f” and look for the “sda1” partition ID instead of the disk ID.

still i face the same error with sda1 partuuid. Is there anything else i am missing/doing wrong? Pls help

jaiganesh@JAI-OMEN: ~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra
$ sudo ./flash.sh jetson-tx2 external
###############################################################################

L4T BSP Information:

R32 , REVISION: 2.1

###############################################################################

Target Board Information:

Name: jetson-tx2, Board Family: t186ref, SoC: Tegra 186,

OpMode: production, Boot Authentication: NS,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin” --skipuid --cmd “dump eeprom boardinfo cvm.bin”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0026 ] Generating RCM messages
[ 0.0034 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0041 ] RCM 0 is saved as rcm_0.rcm
[ 0.0045 ] RCM 1 is saved as rcm_1.rcm
[ 0.0045 ] List of rcm files are saved in rcm_list.xml
[ 0.0045 ]
[ 0.0045 ] Signing RCM messages
[ 0.0051 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0058 ] Assuming zero filled SBK key
[ 0.0093 ]
[ 0.0093 ] Copying signature to RCM mesages
[ 0.0100 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0110 ]
[ 0.0110 ] Boot Rom communication
[ 0.0116 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0122 ] RCM version 0X180001
[ 0.2128 ] Boot Rom communication completed
[ 1.2196 ]
[ 2.2240 ] tegrarcm_v2 --isapplet
[ 2.2267 ] Applet version 01.00.0000
[ 2.3322 ]
[ 2.3354 ] Retrieving EEPROM data
[ 2.3358 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/cvm.bin
[ 2.3377 ] Applet version 01.00.0000
[ 2.7304 ] Saved platform info in /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/cvm.bin
[ 2.8028 ]
Board ID(3310) version(B02) sku(1000) revision(E.0)
Using UUID 491ba3d8-ccd4-403f-8952-9580056e7676 for mounting root partition.
copying bctfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)… done.
copying misc_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)… done.
copying pmic_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)… done.
copying pmc_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)… done.
copying prod_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)… done.
copying scr_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)… done.
copying dev_params(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)… done.
Existing scefile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
generating system.img for booting…
Making system.img…
populating rootfs from /tmp/tmp.NrpxvKXODK … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image…

---- Raw to Sparse Image Converter v1.0 ----------------------------
0: RAW: 4222976( 1031 blks) ==> 28:4222988
1: SKP: 57344( 14 blks) ==> 4223016:12
2: RAW: 4096( 1 blks) ==> 4223028:4108
3: SKP: 61440( 15 blks) ==> 4227136:12
4: RAW: 4096( 1 blks) ==> 4227148:4108
5: SKP: 33550336( 8191 blks) ==> 4231256:12
6: RAW: 24576( 6 blks) ==> 4231268:24588
7: SKP: 96292864( 23509 blks) ==> 4255856:12
8: RAW: 20480( 5 blks) ==> 4255868:20492
9: SKP: 4194304( 1024 blks) ==> 4276360:12
10: RAW: 1372160( 335 blks) ==> 4276372:1372172
11: SKP: 253952( 62 blks) ==> 5648544:12
12: RAW: 372736( 91 blks) ==> 5648556:372748
13: SKP: 2174976( 531 blks) ==> 6021304:12
14: RAW: 4194304( 1024 blks) ==> 6021316:4194316
15: SKP: 4194304( 1024 blks) ==> 10215632:12
16: RAW: 15548416( 3796 blks) ==> 10215644:15548428
17: SKP: 49152( 12 blks) ==> 25764072:12
18: RAW: 147456( 36 blks) ==> 25764084:147468
19: SKP: 4096( 1 blks) ==> 25911552:12
20: RAW: 77824( 19 blks) ==> 25911564:77836
21: SKP: 4096( 1 blks) ==> 25989400:12
22: RAW: 331776( 81 blks) ==> 25989412:331788
23: SKP: 4096( 1 blks) ==> 26321200:12
24: RAW: 790528( 193 blks) ==> 26321212:790540
25: SKP: 4096( 1 blks) ==> 27111752:12
26: RAW: 57344( 14 blks) ==> 27111764:57356
27: SKP: 8192( 2 blks) ==> 27169120:12
28: RAW: 143360( 35 blks) ==> 27169132:143372
29: SKP: 290816( 71 blks) ==> 27312504:12
30: RAW: 4190208( 1023 blks) ==> 27312516:4190220
31: SKP: 4096( 1 blks) ==> 31502736:12
32: RAW: 196608( 48 blks) ==> 31502748:196620
33: SKP: 274432( 67 blks) ==> 31699368:12
34: RAW: 278528( 68 blks) ==> 31699380:278540
35: SKP: 8192( 2 blks) ==> 31977920:12
36: RAW: 434176( 106 blks) ==> 31977932:434188
37: SKP: 4096( 1 blks) ==> 32412120:12
38: RAW: 4096( 1 blks) ==> 32412132:4108
39: SKP: 1339392( 327 blks) ==> 32416240:12
40: RAW: 49152( 12 blks) ==> 32416252:49164
41: SKP: 368640( 90 blks) ==> 32465416:12
42: RAW: 20480( 5 blks) ==> 32465428:20492
43: SKP: 4096( 1 blks) ==> 32485920:12
44: RAW: 16384( 4 blks) ==> 32485932:16396
45: SKP: 4096( 1 blks) ==> 32502328:12
46: RAW: 4096( 1 blks) ==> 32502340:4108
47: SKP: 16384( 4 blks) ==> 32506448:12
48: RAW: 4096( 1 blks) ==> 32506460:4108
49: SKP: 4096( 1 blks) ==> 32510568:12
50: RAW: 4096( 1 blks) ==> 32510580:4108
51: SKP: 8192( 2 blks) ==> 32514688:12
52: RAW: 4096( 1 blks) ==> 32514700:4108
53: SKP: 8192( 2 blks) ==> 32518808:12
54: RAW: 4096( 1 blks) ==> 32518820:4108
55: SKP: 8192( 2 blks) ==> 32522928:12
56: RAW: 6426624( 1569 blks) ==> 32522940:6426636
57: SKP: 69632( 17 blks) ==> 38949576:12
58: RAW: 12288( 3 blks) ==> 38949588:12300
59: SKP: 8192( 2 blks) ==> 38961888:12
60: RAW: 1597440( 390 blks) ==> 38961900:1597452
61: SKP: 8192( 2 blks) ==> 40559352:12
62: RAW: 327680( 80 blks) ==> 40559364:327692
63: SKP: 12288( 3 blks) ==> 40887056:12
64: RAW: 266240( 65 blks) ==> 40887068:266252
65: SKP: 28672( 7 blks) ==> 41153320:12
66: RAW: 12288( 3 blks) ==> 41153332:12300
67: SKP: 12288( 3 blks) ==> 41165632:12
68: RAW: 4096( 1 blks) ==> 41165644:4108
69: SKP: 218148864( 53259 blks) ==> 41169752:12
70: RAW: 20480( 5 blks) ==> 41169764:20492
71: SKP: 268414976( 65531 blks) ==> 41190256:12
72: RAW: 20480( 5 blks) ==> 41190268:20492
73: SKP: 268414976( 65531 blks) ==> 41210760:12
74: RAW: 20480( 5 blks) ==> 41210772:20492
75: SKP: 268414976( 65531 blks) ==> 41231264:12
76: RAW: 20480( 5 blks) ==> 41231276:20492
77: SKP: 939503616( 229371 blks) ==> 41251768:12
78: RAW: 8192( 2 blks) ==> 41251780:8204
79: SKP: 57344( 14 blks) ==> 41259984:12
80: RAW: 4096( 1 blks) ==> 41259996:4108
81: SKP: 61440( 15 blks) ==> 41264104:12
82: RAW: 4096( 1 blks) ==> 41264116:4108
83: SKP: 33550336( 8191 blks) ==> 41268224:12
84: RAW: 12288( 3 blks) ==> 41268236:12300
85: SKP: 100519936( 24541 blks) ==> 41280536:12
86: RAW: 696320( 170 blks) ==> 41280548:696332
87: SKP: 1073045504( 261974 blks) ==> 41976880:12
88: RAW: 20480( 5 blks) ==> 41976892:20492
89: SKP: 268414976( 65531 blks) ==> 41997384:12
90: RAW: 20480( 5 blks) ==> 41997396:20492
91: SKP: 671068160( 163835 blks) ==> 42017888:12
92: RAW: 4096( 1 blks) ==> 42017900:4108
93: SKP: 2147479552( 524287 blks) ==> 42022008:12
94: RAW: 4096( 1 blks) ==> 42022020:4108
95: SKP: 134213632( 32767 blks) ==> 42026128:12
96: RAW: 20480( 5 blks) ==> 42026140:20492
97: SKP: 2013245440( 491515 blks) ==> 42046632:12
98: RAW: 4096( 1 blks) ==> 42046644:4108
99: SKP: 2147479552( 524287 blks) ==> 42050752:12
100: RAW: 4096( 1 blks) ==> 42050764:4108
101: SKP: 134213632( 32767 blks) ==> 42054872:12
102: RAW: 20480( 5 blks) ==> 42054884:20492
103: SKP: 2013245440( 491515 blks) ==> 42075376:12
104: RAW: 4096( 1 blks) ==> 42075388:4108
105: SKP: 2147479552( 524287 blks) ==> 42079496:12
106: RAW: 8192( 2 blks) ==> 42079508:8204
107: SKP: 134209536( 32766 blks) ==> 42087712:12
108: RAW: 73728( 18 blks) ==> 42087724:73740
109: SKP: 1610539008( 393198 blks) ==> 42161464:12
110: RAW: 20480( 5 blks) ==> 42161476:20492
111: SKP: 402632704( 98299 blks) ==> 42181968:12
112: RAW: 4096( 1 blks) ==> 42181980:4108
113: SKP: 2147479552( 524287 blks) ==> 42186088:12
114: RAW: 4096( 1 blks) ==> 42186100:4108
115: SKP: 2147479552( 524287 blks) ==> 42190208:12
116: RAW: 4096( 1 blks) ==> 42190220:4108
117: SKP: 2147479552( 524287 blks) ==> 42194328:12
118: RAW: 4096( 1 blks) ==> 42194340:4108
119: SKP: 2147479552( 524287 blks) ==> 42198448:12
120: RAW: 4096( 1 blks) ==> 42198460:4108
121: SKP: 2147479552( 524287 blks) ==> 42202568:12
122: RAW: 4096( 1 blks) ==> 42202580:4108
123: SKP: 2147479552( 524287 blks) ==> 42206688:12
– Total: ---------------------------------------------------
124 CHUNK 30064771072(7340032 blks) ==> 42206700(10304 blks)

done.
system.img built successfully.
Existing tbcfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)… done.
copying cfgfile(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg --bins “mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos-trusty.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb”
saving flash command in /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/jaiganesh/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0348 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0374 ] Assuming zero filled SBK key
[ 0.0377 ]
[ 0.0378 ] Generating RCM messages
[ 0.0553 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0581 ] RCM 0 is saved as rcm_0.rcm
[ 0.0592 ] RCM 1 is saved as rcm_1.rcm
[ 0.0593 ] List of rcm files are saved in rcm_list.xml
[ 0.0593 ]
[ 0.0593 ] Signing RCM messages
[ 0.0619 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0645 ] Assuming zero filled SBK key
[ 0.0776 ]
[ 0.0777 ] Copying signature to RCM mesages
[ 0.0804 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0838 ]
[ 0.0839 ] Parsing partition layout
[ 0.1323 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.1367 ]
[ 0.1368 ] Creating list of images to be signed
[ 0.1587 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.3104 ]
[ 0.3106 ] Generating signatures
[ 0.3133 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.3159 ] Assuming zero filled SBK key
[ 0.5704 ]
[ 0.5704 ] Generating br-bct
[ 0.6003 ] Updating dev and MSS params in BR BCT
[ 0.6003 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 0.6597 ]
[ 0.6598 ] Updating bl info
[ 0.6604 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.6617 ]
[ 0.6617 ] Updating smd info
[ 0.6623 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 0.6632 ]
[ 0.6632 ] Updating Odmdata
[ 0.6639 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 0.6648 ]
[ 0.6648 ] Get Signed section of bct
[ 0.6654 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 0.6660 ]
[ 0.6667 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.6673 ] Assuming zero filled SBK key
[ 0.6674 ]
[ 0.6674 ] Updating BCT with signature
[ 0.6680 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[ 0.6689 ]
[ 0.6689 ] Generating coldboot mb1-bct
[ 0.6695 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.6701 ] MB1-BCT version: 0xf
[ 0.6703 ] Copying Sdram info from 2 to 3 set
[ 0.6826 ] Packing sdram param for instance[0]
[ 0.6828 ] Packing sdram param for instance[1]
[ 0.6829 ] Packing sdram param for instance[2]
[ 0.6831 ] Packing sdram param for instance[3]

[ 0.6860 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[ 0.6864 ] Appending platform config data of size :- 3048

[ 0.6867 ] Parsing config file :mobile_scr.cfg
[ 0.6869 ] Appending platform config data of size :- 12240

[ 0.6924 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[ 0.6927 ] Appending platform config data of size :- 24

[ 0.6929 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[ 0.6932 ] Appending platform config data of size :- 648

[ 0.6934 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[ 0.6937 ] Appending platform config data of size :- 64

[ 0.7015 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.7018 ] Appending platform config data of size :- 1628
[ 0.7088 ]
[ 0.7088 ] Updating mb1-bct with firmware information
[ 0.7095 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 0.7102 ] MB1-BCT version: 0xf
[ 0.7107 ]
[ 0.7107 ] Updating mb1-bct with storage information
[ 0.7113 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.7120 ] MB1-BCT version: 0xf
[ 0.7125 ]
[ 0.7132 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[ 0.7138 ]
[ 0.7145 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 0.7152 ]
[ 0.7161 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[ 0.7168 ] Assuming zero filled SBK key
[ 0.7183 ]
[ 0.7193 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 0.7202 ]
[ 0.7202 ] Generating recovery mb1-bct
[ 0.7209 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.7216 ] MB1-BCT version: 0xf
[ 0.7217 ] Copying Sdram info from 2 to 3 set
[ 0.7354 ] Packing sdram param for instance[0]
[ 0.7356 ] Packing sdram param for instance[1]
[ 0.7357 ] Packing sdram param for instance[2]
[ 0.7359 ] Packing sdram param for instance[3]

[ 0.7361 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[ 0.7364 ] Appending platform config data of size :- 3048

[ 0.7366 ] Parsing config file :minimal_scr.cfg
[ 0.7368 ] Appending platform config data of size :- 12240

[ 0.7465 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[ 0.7468 ] Appending platform config data of size :- 24
[ 0.7468 ]
[ 0.7468 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[ 0.7468 ] Appending platform config data of size :- 648
[ 0.7468 ]
[ 0.7468 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[ 0.7468 ] Appending platform config data of size :- 64
[ 0.7468 ]
[ 0.7468 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.7468 ] Appending platform config data of size :- 1628
[ 0.7468 ]
[ 0.7468 ] Updating mb1-bct with firmware information
[ 0.7476 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 0.7482 ] MB1-BCT version: 0xf
[ 0.7487 ]
[ 0.7487 ] Updating mb1-bct with storage information
[ 0.7494 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.7500 ] MB1-BCT version: 0xf
[ 0.7505 ]
[ 0.7512 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 0.7519 ]
[ 0.7526 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 0.7534 ]
[ 0.7544 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[ 0.7551 ] Assuming zero filled SBK key
[ 0.7564 ]
[ 0.7573 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 0.7581 ]
[ 0.7582 ] Copying signatures
[ 0.7590 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.8103 ]
[ 0.8104 ] Boot Rom communication
[ 0.8122 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 0.8139 ] BootRom is not running
[ 6.2311 ]
[ 7.2354 ] tegrarcm_v2 --isapplet
[ 7.2380 ] Applet version 01.00.0000
[ 7.5807 ]
[ 7.5807 ] Sending BCTs
[ 7.5815 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 7.5823 ] Applet version 01.00.0000
[ 7.9504 ] Sending bct_bootrom
[ 7.9508 ] […] 100%
[ 7.9524 ] Sending bct_mb1
[ 7.9528 ] […] 100%
[ 7.9688 ]
[ 7.9689 ] Generating blob
[ 7.9697 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin
[ 7.9704 ]
[ 7.9710 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[ 7.9720 ]
[ 7.9728 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[ 7.9734 ] Assuming zero filled SBK key
[ 7.9782 ]
[ 7.9791 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[ 7.9800 ]
[ 7.9808 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery.bin
[ 7.9814 ]
[ 7.9821 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[ 7.9829 ]
[ 7.9837 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[ 7.9843 ] Assuming zero filled SBK key
[ 7.9863 ]
[ 7.9872 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[ 7.9880 ]
[ 7.9887 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin
[ 7.9894 ]
[ 7.9900 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[ 7.9908 ]
[ 7.9916 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[ 7.9922 ] Assuming zero filled SBK key
[ 7.9937 ]
[ 7.9945 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[ 7.9953 ]
[ 7.9960 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin
[ 7.9967 ]
[ 7.9973 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[ 8.0004 ]
[ 8.0013 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[ 8.0019 ] Assuming zero filled SBK key
[ 8.0439 ]
[ 8.0448 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[ 8.0473 ]
[ 8.0480 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin
[ 8.0486 ]
[ 8.0492 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[ 8.0505 ]
[ 8.0513 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[ 8.0518 ] Assuming zero filled SBK key
[ 8.0625 ]
[ 8.0633 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[ 8.0644 ]
[ 8.0651 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[ 8.0657 ]
[ 8.0664 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[ 8.0675 ]
[ 8.0683 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[ 8.0688 ] Assuming zero filled SBK key
[ 8.0781 ]
[ 8.0790 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[ 8.0801 ]
[ 8.0808 ] tegrahost_v2 --chip 0x18 --align blob_tos-trusty.img
[ 8.0814 ]
[ 8.0820 ] tegrahost_v2 --appendsigheader blob_tos-trusty.img zerosbk
[ 8.0829 ]
[ 8.0837 ] tegrasign_v2 --key None --list blob_tos-trusty_sigheader.img_list.xml
[ 8.0842 ] Assuming zero filled SBK key
[ 8.0905 ]
[ 8.0914 ] tegrahost_v2 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk
[ 8.0923 ]
[ 8.0930 ] tegrahost_v2 --chip 0x18 --align blob_eks.img
[ 8.0936 ]
[ 8.0942 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[ 8.0948 ]
[ 8.0956 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[ 8.0962 ] Assuming zero filled SBK key
[ 8.0964 ]
[ 8.0972 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[ 8.0978 ]
[ 8.0985 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[ 8.0991 ]
[ 8.0997 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 8.1007 ]
[ 8.1015 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[ 8.1021 ] Assuming zero filled SBK key
[ 8.1093 ]
[ 8.1101 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[ 8.1112 ]
[ 8.1119 ] tegrahost_v2 --chip 0x18 --generateblob blob.xml blob.bin
[ 8.1125 ] number of images in blob are 9
[ 8.1127 ] blobsize is 4097288
[ 8.1128 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 203312
[ 8.1142 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 89360
[ 8.1146 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63104
[ 8.1150 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144
[ 8.1154 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 533904
[ 8.1157 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466240
[ 8.1163 ] Added binary blob_tos-trusty_sigheader.img.encrypt of size 313152
[ 8.1167 ] Added binary blob_eks_sigheader.img.encrypt of size 1440
[ 8.1170 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 344480
[ 8.1171 ]
[ 8.1172 ] Sending bootloader and pre-requisite binaries
[ 8.1179 ] tegrarcm_v2 --download blob blob.bin
[ 8.1185 ] Applet version 01.00.0000
[ 8.2199 ] Sending blob
[ 8.2202 ] […] 100%
[ 8.6834 ]
[ 8.6864 ] tegrarcm_v2 --boot recovery
[ 8.6897 ] Applet version 01.00.0000
[ 9.0227 ]
[ 10.0271 ] tegrarcm_v2 --isapplet
[ 10.1303 ]
[ 10.1637 ] tegradevflash_v2 --iscpubl
[ 10.1666 ] Cannot Open USB
[ 10.8187 ]
[ 11.8231 ] tegrarcm_v2 --isapplet
[ 12.1577 ]
[ 12.1609 ] tegradevflash_v2 --iscpubl
[ 12.1626 ] Bootloader version 01.00.0000
[ 12.2843 ] Bootloader version 01.00.0000
[ 12.2850 ]
[ 12.2851 ] Retrieving storage infomation
[ 12.2875 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[ 12.2882 ] Applet is not running on device. Continue with Bootloader
[ 12.6949 ]
[ 12.6974 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[ 12.6980 ] Bootloader version 01.00.0000
[ 12.8112 ] Saved platform info in storage_info.bin
[ 12.8156 ]
[ 12.8157 ] Flashing the device
[ 12.8187 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[ 12.8726 ]
[ 12.8759 ] tegradevflash_v2 --pt flash.xml.bin --create
[ 12.8786 ] Bootloader version 01.00.0000
[ 13.0464 ] Erasing sdmmc_boot: 3 … [Done]
[ 13.0819 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin
[ 13.0840 ] […] 100%

[ 13.1327 ] Erasing sdmmc_user: 3 … [Done]
[ 16.6980 ] Writing partition master_boot_record with mbr_1_3.bin
[ 16.6990 ] […] 100%
[ 16.7033 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[ 16.7102 ] […] 100%
[ 16.7147 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[ 16.7224 ] […] 100%

[ 16.7339 ] Writing partition mb1 with mb1_prod.bin.encrypt
[ 16.7346 ] […] 100%
[ 16.7415 ] Writing partition mb1_b with mb1_prod.bin.encrypt
[ 16.7636 ] […] 100%
[ 16.7709 ] Writing partition dram-ecc-fw with dram-ecc_sigheader.bin.encrypt
[ 16.7945 ] […] 100%
[ 16.8006 ] Writing partition badpage-fw with badpage_sigheader.bin.encrypt
[ 16.8343 ] […] 100%
[ 16.8394 ] Writing partition badpage-fw_b with badpage_sigheader.bin.encrypt
[ 16.8931 ] […] 100%
[ 16.8980 ] Writing partition spe-fw with spe_sigheader.bin.encrypt
[ 16.9525 ] […] 100%
[ 16.9599 ] Writing partition spe-fw_b with spe_sigheader.bin.encrypt
[ 17.0158 ] […] 100%
[ 17.0231 ] Writing partition mb2 with nvtboot_sigheader.bin.encrypt
[ 17.0547 ] […] 100%
[ 17.0625 ] Writing partition mb2_b with nvtboot_sigheader.bin.encrypt
[ 17.1031 ] […] 100%
[ 17.1118 ] Writing partition mts-preboot with preboot_d15_prod_cr_sigheader.bin.encrypt
[ 17.1581 ] […] 100%
[ 17.1641 ] Writing partition mts-preboot_b with preboot_d15_prod_cr_sigheader.bin.encrypt
[ 17.2170 ] […] 100%
[ 17.2235 ] Writing partition SMD with slot_metadata.bin
[ 17.2795 ] […] 100%
[ 17.2841 ] Writing partition SMD_b with slot_metadata.bin
[ 17.2906 ] […] 100%
[ 17.2948 ] Writing partition master_boot_record with mbr_1_3.bin
[ 17.2970 ] […] 100%
[ 17.3015 ] Writing partition APP with system.img
[ 17.3026 ] […] 100%
[ 19.4787 ] Writing partition mts-bootpack with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 19.4985 ] […] 100%
[ 19.5816 ] Writing partition mts-bootpack_b with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 19.5974 ] […] 100%
[ 19.6881 ] Writing partition cpu-bootloader with cboot_sigheader.bin.encrypt
[ 19.7035 ] […] 100%
[ 19.7169 ] Writing partition cpu-bootloader_b with cboot_sigheader.bin.encrypt
[ 19.7230 ] […] 100%
[ 19.7372 ] Writing partition bootloader-dtb with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 19.7438 ] […] 100%
[ 19.7589 ] Writing partition bootloader-dtb_b with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 19.7661 ] […] 100%
[ 19.7806 ] Writing partition secure-os with tos-trusty_sigheader.img.encrypt
[ 19.7870 ] […] 100%
[ 19.8009 ] Writing partition secure-os_b with tos-trusty_sigheader.img.encrypt
[ 19.8089 ] […] 100%
[ 19.8232 ] Writing partition eks with eks_sigheader.img.encrypt
[ 19.8300 ] […] 100%
[ 19.8343 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt
[ 19.8364 ] […] 100%
[ 19.8438 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt
[ 19.8481 ] […] 100%
[ 19.8571 ] Writing partition bpmp-fw with bpmp_sigheader.bin.encrypt
[ 19.8613 ] […] 100%
[ 19.8834 ] Writing partition bpmp-fw_b with bpmp_sigheader.bin.encrypt
[ 19.8934 ] […] 100%
[ 19.9165 ] Writing partition bpmp-fw-dtb with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 19.9273 ] […] 100%
[ 19.9441 ] Writing partition bpmp-fw-dtb_b with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 19.9549 ] […] 100%
[ 19.9727 ] Writing partition sce-fw with camera-rtcpu-sce_sigheader.img.encrypt
[ 19.9812 ] […] 100%
[ 19.9893 ] Writing partition sce-fw_b with camera-rtcpu-sce_sigheader.img.encrypt
[ 19.9936 ] […] 100%
[ 20.0011 ] Writing partition sc7 with warmboot_wbheader.bin.encrypt
[ 20.0114 ] […] 100%
[ 20.0165 ] Writing partition sc7_b with warmboot_wbheader.bin.encrypt
[ 20.0190 ] […] 100%
[ 20.0240 ] Writing partition BMP with bmp.blob
[ 20.0263 ] […] 100%
[ 20.0330 ] Writing partition BMP_b with bmp.blob
[ 20.0368 ] […] 100%
[ 20.0431 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 20.0469 ] […] 100%
[ 20.0656 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 20.0746 ] […] 100%
[ 20.0925 ] Writing partition kernel-dtb with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 20.1041 ] […] 100%
[ 20.1185 ] Writing partition kernel-dtb_b with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 20.1253 ] […] 100%
[ 20.1469 ]
[ 20.1495 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 20.1520 ] Bootloader version 01.00.0000
[ 20.3223 ] Writing partition BCT with br_bct_BR.bct
[ 20.3225 ] […] 100%
[ 20.3817 ]
[ 20.3970 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 20.3996 ] Bootloader version 01.00.0000
[ 20.5653 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 20.5664 ] […] 100%
[ 20.6332 ]
[ 20.6362 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 20.6391 ] Bootloader version 01.00.0000
[ 20.7393 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 20.7408 ] […] 100%
[ 20.7974 ]
[ 20.7975 ] Flashing completed

[ 20.7976 ] Coldbooting the device
[ 20.8006 ] tegradevflash_v2 --reboot coldboot
[ 20.8036 ] Bootloader version 01.00.0000
[ 20.9740 ]
*** The target t186ref has been flashed successfully. ***
Make the target filesystem available to the device and reset the board to boot from external external.

jaiganesh@JAI-OMEN: ~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3310/Linux_for_Tegra
$

The above is the complete log when i run flash.sh from my host machine.

I don’t know about the external target, I’m guessing you still have to put the full filesystem on that, but the flash itself was correct and succeeded. Someone else will need to answer what has to be done with the external drive itself (it’s probably just a case of getting the right filesystem on it, but perhaps the kernel Image will also need another driver).

Hi jaiganesh.kesavaram,

Could you show your “l4t-rootfs-uuid.txt” file information? Thanks!

cd Linux_for_Tegra/bootloader
sudo vim l4t-rootfs-uuid.txt
Paste: 99bd1234-0e5a-4f05-b7fa-26c28f126bbf
save and exit

Hi,
The information here looks great but JetPack 4.5 doesn’t have the same directory structure.
Could one of you knowledgable folks update the questions:

  1. What is the step by step procedure to move the contents of the TX2 eMMC to a bootable SSD? I’ve already partitioned and formatted the drive for [ext4] and it shows up in “Files” and the dev tree.
  2. What is the step-by-step procedure to set up the SSD as the “boot disk” - please pardon my newbie ignorance.
  3. How do I make sure that future OS upgrades get flashed to the SSD?
    Many thanks!!
    Rusty

Which directory structure? Are you speaking of the host PC side? FYI, the file “l4t-rootfs-uuid.txt” is one you would have to add in order for the flash software to be told how to find the external filesystem.

There are many ways to name a partition for mounting, and naming the Universally Unique ID is very specific. Once you’ve formatted a hard drive’s partition there will be a UUID associated with that partition and no other partition. The software searching for that partition will not have any need to guess which specific hardware has the partition, and will never mistake another device for that partition. The Jetson will “memorize” that UUID during flash using memory local to the Jetson itself, but only if that file is present on the host PC.

The directory that is missing is ’ ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/bootloader’
None of that path exists on either host or target, there is no `/nvidia on either host or target, after sdkmanager reported a complete, successful flash and sdk install on both target and host. Cuda examples also compile and run on the Jetson.
Cheers,
Rusty

That content would be host side only. Note that the path you named is missing part of the path. Do you have this?
~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra/

Your path " ~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/bootloader" is missing the “Linux_for_Tegra/” subdirectory just before “bootloader/”.

I copied and pasted that path from the post at the beginning of this topic so I can’t speak to its veracity. HOWEVER, I don’t have an ~/nvidia directory on my host even though sdkmanager reported a successful install of Jetpack4.5 on both host and target (also successfully flashed and running samples).

  • Rusty.