Nvme boot support on Jetson Xavier NX

Hi

From Jetson Xavier NX cboot log:

[0002.266] I> Load in CBoot Boot Options partition and parse it
[0002.272] E> Error -9 when finding node with path /boot-configuration
[0002.278] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0002.285] I> Using default boot order
[0002.289] I> boot-dev-order :-
[0002.291] I> 1.sd
[0002.293] I> 2.usb
[0002.295] I> 3.nvme
[0002.297] I> 4.emmc
[0002.299] I> 5.net
[0002.301] I> Hit any key to stop autoboot:   

It seems Jetson Xavier NX has already supported nvme(M.2 SSD) directly from cboot, right?
I checked dts file: JetPack_4.5_Linux_JETSON_XAVIER_NX/Linux_for_Tegra/bootloader

bootloader/cbo.dts file,
/ {
        compatible = "nvidia,cboot-options-v1";
        boot-configuration {
                /* nvme boot-order can be in "nvme:C<n>", "nvme:pcie@<addr>", or "nvme" format */
                boot-order = "sd", "usb","nvme", "emmc", "net";
                tftp-server-ip = /bits/ 8 <192 168 0 1>;
                dhcp-enabled;
                /* remove dhcp-enabled if uncommenting static-ip configuration */
                /* static-ip = /bits/ 8 <0 0 0 0>;
                 * ip-netmask = /bits/ 8 <255 255 255 0>;
                 * ip-gateway = /bits/ 8 <0 0 0 0>;
                 */
        };
};
How to change the default boot order from Nvme (M.2 SSD)?

I tried to follows url steps:
https://elinux.org/Jetson/L4T/Boot_From_External_Device#Use_NVMe_.2B_Xavier_NX_as_example

to enable NVMe boot,
sudo ./flash.sh jetson-xavier-nx-devkit-emmc external

However, it still boot from sd cards and system hang at boots up.

if I only flash SD/MMC, everything seems good. 
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

Serial port log:

 [0029.586] I> Welcome to MB2(TBoot-BPMP) Recovery (version: 00.00.2018.32-mobile-3047f1e7)
[0029.587] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0029.588] I> Default Heap @ [0xd486400 - 0xd48a400]
[0029.589] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0029.595] W> device prod register failed
[0029.599] I> parsing oem signed section of bpmp-fw header done
[0029.607] I> bpmp-fw binary copied from blob
[0029.609] I> oem authentication of bpmp-fw header done
[0029.613] I> bpmp-fw: Authentication init Done
[0029.618] I> parsing oem signed section of cpubl header done
[0029.624] I> cpubl binary copied from blob
[0029.627] I> bpmp-fw: Authentication Finalize Done
[0029.632] I> oem authentication of cpubl header done
[0029.637] I> cpubl: Authentication init Done
[0029.641] I> parsing oem signed section of tos header done
[0029.647] I> tos binary copied from blob
[0029.650] I> Relocating BR-BCT
[0029.653] I> cpubl: Authentication Finalize Done
[0029.657] I> oem authentication of tos header done
[0029.662] I> tos: Authentication init Done
[0029.666] I> parsing oem signed section of bpmp-fw-dtb header done
[0029.672] I> bpmp-fw-dtb binary copied from blob
[0029.676] I> tos: Authentication Finalize Done
[0029.682] I> oem authentication of bpmp-fw-dtb header done
[0029.686] I> bpmp-fw-dtb: Authentication init Done
[0029.691] I> parsing oem signed section of cpubl-dtb header done
[0029.697] I> cpubl-dtb binary copied from blob
[0029.701] I> bpmp-fw-dtb: Authentication Finalize Done
[0029.777] I> oem authentication of cpubl-dtb header done
[0029.778] I> cpubl-dtb: Authentication init Done
[0029.778] I> parsing oem signed section of eks header done
[0029.779] I> eks binary copied from blob
[0029.780] I> cpubl-dtb: Authentication Finalize Done
[0029.780] I> oem authentication of eks header done
[0029.781] I> eks: Authentication init Done
[0029.784] I> eks: Authentication Finalize Done
[0029.789] I> EKB detected (length: 0x410) @ VA:0x526fb600
??NOTICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 14:42:47, Jan 15 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing .......
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
??

welcome to lk
calling constructors
initializing heap
creating bootstrap completion thread
top of bootstrap2()
initializing platform
bpmp: platform_init
tag is e73a758761f0c6d24a1e69a2ac6b5035
tag_show initialized
dt initialized
mail initialized
chipid initialized
fuse initialized
sku initialized
speedo initialized
ec_get_ec_list: found 45 ecs
ec initialized
ec_mrq initialized
vmon_populate_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
fmon_mrq initialized
reset initialized
nvhs initialized
391 clocks registered
clk_mrq_init: mrq handler registered
clk initialized
nvlink initialized
io_dpd initialized
io_dpd initialized
thermal initialized
i2c5 controller initialized
initialized i2c mrq handling
i2c initialized
regulator initialized
avfs_clk_platform_init: bad clk id in clock@cluster1_avfs
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
dvs initialized
pm initialized
pg_late initialized
strap initialized
tag initialized
emc initialized
clk_dt initialized
avfs_ccplex_platform initialized
tj_max: dt node not found
tj_init initialized
/uphy is not enabled status = disabled
uphy_dt initialized
uphy initialized
safereg_init: period 80 ms
ec_late initialized
mrq initialized
??
  [0030.122] I> Welcome to TBoot-CPU Recovery
??WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
fmon_post initialized
??[0030.123] I> Heap: [0xa4000000 ... 0xaa000000
[0030.133] I> gpio framework initialized
??clk_set_parent failed for clk i2c2, parent pll_aon (-22)
clk_set_parent failed for clk i2c8, parent pll_aon (-22)
clk_dt_late initialized
machine_check initialized
pm_post initialized
dbells initialized
avfs_clk_platform_post initialized
dmce initialized
cvc initialized
ccplex_avfs_hw_init: nafll_cluster0: not monitored
ccplex_avfs_hw_init: nafll_cluster2: not monitored
ccplex_avfs_hw_init: nafll_cluster3: not monitored
avfs_clk_mach_post initialized
regulator_post initialized
rm initialized
sc7_diag initialized
thermal_test initialized
serial_late initialized
clk_post initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
dyn_modules initialized
sku_debugfs initialized
speedo_debugfs initialized
adc_debugfs initialized
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
clk_debugfs initialized
emc_debugfs initialized
dvs_debugfs initialized
fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1
fmon_debugfs initialized
vmon_debugfs initialized
pg_debugfs initialized
profile_fs initialized
debugfs_cons initialized
mail_fs initialized
profile initialized
cvc_debugfs initialized
dmce_debugfs initialized
ec_debugfs initialized
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_debugfs initialized
soctherm_debug initialized
gr_reader initialized
mods initialized
dt_fs initialized
debugfs_mrq initialized
debug_mrq initialized
debug_safereg initialized
initializing target
calling apps_init()
starting app shell
entering main console loop
] ??[0030.143] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0030.297] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0030.302] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0030.311] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0030.319] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0030.323] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0030.330] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0030.339] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0030.347] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0030.351] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0030.360] I> fixed regulator driver initialized
[0030.372] I> CPU: Nvidia Carmel
[0030.372] I> CPU: MIDR: 0x4e0f0040, MPIDR: 0x80000000
[0030.372] I> chip revision : A02P
[0030.373] I> Boot-device: QSPI
[0030.376] I> Boot_device: QSPI_FLASH instance: 0
[0030.381] I> QSPI source rate = 204000 Khz
[0030.384] I> Requested rate for QSPI clock = 34000 Khz
[0030.389] I> BPMP-set rate for QSPI clk = 34000 Khz
[0030.394] I> QSPI Flash Size = 32 MB
[0030.402] I> Qspi initialized successfully
[0030.402] I> qspi flash-0 params source = boot args
[0030.824] I> sdmmc DDR50 mode
[0030.835] I> sdmmc-3 params source = safe params
[0030.837] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0030.854] W> Cannot find any partition table for 00000003
[0030.866] I> Found 11 partitions in SDMMC_USER (instance 3)
[0030.867] I> Recovery boot_type: 0
[0030.867] I> Entering 3p server
[0030.867] I> USB configuration success
[0030.972] I> Populate storage info
[0030.984] I> Erasing device 3: 0
[0030.984] I> QSPI: Erasing entire device
[0085.990] I> Writing device 3: 0.
[0086.104] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0086.106] I> Erasing device 1: 3
[0086.754] I> Writing device 1: 3.
[0086.761] I> Writing device 1: 3.
[0086.781] I> Found 11 partitions in SDMMC_USER (instance 3)
[0086.783] I> Writing device 1: 3.
[0086.802] I> Found 11 partitions in SDMMC_USER (instance 3)
[0086.804] I> Writing mb1 partition.
[0088.399] I> Writing mb1_b partition.
[0089.993] I> Writing spe-fw partition.
[0090.608] I> Writing spe-fw_b partition.
[0091.223] I> Writing mb2 partition.
[0092.324] I> Writing mb2_b partition.
[0093.424] I> Writing mts-preboot partition.
[0093.588] I> Writing mts-preboot_b partition.
[0093.751] I> Writing mts-mce partition.
[0094.670] I> Writing mts-mce_b partition.
[0095.589] I> Writing mts-proper partition.
[0117.332] I> Writing mts-proper_b partition.
[0139.063] I> Writing sc7 partition.
[0139.488] I> Writing sc7_b partition.
[0139.913] I> Writing SMD partition.
[0139.930] I> Writing SMD_b partition.
[0139.940] I> Writing xusb-fw partition.
[0140.736] I> Writing xusb-fw_b partition.
[0141.531] I> Writing cpu-bootloader partition.
[0144.367] I> Writing cpu-bootloader_b partition.
[0147.203] I> Writing bootloader-dtb partition.
[0148.505] I> Writing bootloader-dtb_b partition.
[0149.807] I> Writing BMP partition.
[0150.773] I> Writing BMP_b partition.
[0151.732] I> Writing secure-os partition.
[0154.286] I> Writing secure-os_b partition.
[0156.840] I> Writing eks partition.
[0156.887] I> Writing eks_b partition.
[0156.933] I> Writing adsp-fw partition.
[0157.460] I> Writing adsp-fw_b partition.
[0157.986] I> Writing rce-fw partition.
[0159.726] I> Writing rce-fw_b partition.
[0161.467] I> Writing bpmp-fw partition.
[0166.892] I> Writing bpmp-fw_b partition.
[0172.318] I> Writing bpmp-fw-dtb partition.
[0173.767] I> Writing bpmp-fw-dtb_b partition.
[0175.216] I> Writing VER partition.
[0175.229] I> Writing VER_b partition.
[0175.239] I> Writing device 1: 3.
[0175.246] I> Writing APP partition.
[0177.860] I> Writing kernel partition.
[0180.200] I> Writing kernel_b partition.
[0182.344] I> Writing kernel-dtb partition.
[0182.374] I> Writing kernel-dtb_b partition.
[0182.403] I> Writing recovery partition.
[0185.077] I> Writing recovery-dtb partition.
[0185.107] I> Writing kernel-bootctrl partition.
[0185.128] I> Writing kernel-bootctrl_b partition.
[0185.147] I> Writing BCT partition.
[0185.300] I> Writing MB1_BCT partition.
[0185.514] I> Writing MB1_BCT_b partition.
[0185.729] I> Writing MEM_BCT partition.
[0186.999] I> Writing MEM_BCT_b partition.
[0188.303] I> Rebooting : reset-coldboot


????Shutdown state requested 1
Rebooting system ...
??
[0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0000.033] I> MB1 (prd-version: 1.5.1.6-t194-41334769-1740dd39)
[0000.038] I> Boot-mode: Coldboot
[0000.041] I> Chip revision : A02P
[0000.044] I> Bootrom patch version : 15 (correctly patched)
[0000.049] I> ATE fuse revision : 0x200
[0000.053] I> Ram repair fuse : 0x0
[0000.056] I> Ram Code : 0x0
[0000.058] I> rst_source : 0xb
[0000.061] I> rst_level : 0x1
[0000.065] I> Boot-device: QSPI
[0000.067] I> Qspi flash params source = brbct
[0000.071] I> Qspi using bpmp-dma
[0000.074] I> Qspi clock source : pllp
[0000.078] I> QSPI Flash Size = 32 MB
[0000.081] I> Qspi initialized successfully
[0000.085] W> No valid slot number is found in scratch register
[0000.091] W> Return default slot: _a
[0000.094] I> Active Boot chain : 0
[0000.097] I> Boot-device: QSPI
[0000.100] I> Qspi flash params source = brbct
[0000.106] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0000.112] I> Temperature = 44500
[0000.115] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.119] W> Skipping boost for clk: BPMP_APB
[0000.123] W> Skipping boost for clk: AXI_CBB
[0000.127] W> Skipping boost for clk: AON_CPU_NIC
[0000.132] W> Skipping boost for clk: CAN1
[0000.135] W> Skipping boost for clk: CAN2
[0000.139] I> Boot-device: QSPI
[0000.142] I> Boot-device: QSPI
[0000.145] I> Qspi flash params source = mb1bct
[0000.149] I> Qspi using bpmp-dma
[0000.152] I> Qspi clock source : pllc_out0
[0000.156] I> Qspi reinitialized
[0000.159] I> Qspi flash params source = mb1bct
[0000.164] I> ECC region[0]: Start:0x0, End:0x0
[0000.168] I> ECC region[1]: Start:0x0, End:0x0
[0000.173] I> ECC region[2]: Start:0x0, End:0x0
[0000.177] I> ECC region[3]: Start:0x0, End:0x0
[0000.181] I> ECC region[4]: Start:0x0, End:0x0
[0000.185] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0000.191] I> Non-ECC region[1]: Start:0x0, End:0x0
[0000.195] I> Non-ECC region[2]: Start:0x0, End:0x0
[0000.200] I> Non-ECC region[3]: Start:0x0, End:0x0
[0000.204] I> Non-ECC region[4]: Start:0x0, End:0x0
[0000.209] E> FAILED: Thermal config
[0000.217] E> FAILED: MEMIO rail config
[0000.227] I> Boot-device: QSPI
[0000.230] I> Qspi flash params source = mb1bct
[0000.239] I> Qspi flash params source = mb1bct
[0000.250] I> Qspi flash params source = mb1bct
[0000.317] I> Qspi flash params source = mb1bct
[0000.326] I> Qspi flash params source = mb1bct
[0000.354] I> Qspi flash params source = mb1bct
[0000.366] I> MB1 done

????main enter
SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21
HW Function test
Start Scheduler.
in late init
??
  [0000.374] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-feba5943)
[0000.375] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.375] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.376] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.382] W> device prod register failed
[0000.386] I> Boot-device: QSPI
[0000.389] I> Boot_device: QSPI_FLASH instance: 0
[0000.394] I> QSPI Flash Size = 32 MB
[0000.399] I> Qspi initialized successfully
[0000.400] I> qspi flash-0 params source = boot args
[0000.726] I> sdmmc DDR50 mode
[0000.728] I> sdmmc-3 params source = safe params
[0000.733] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0000.735] W> Cannot find any partition table for 00000003
[0000.739] I> Found 11 partitions in SDMMC_USER (instance 3)
[0000.740] W> No valid slot number is found in scratch register
[0000.740] W> Return default slot: _a
[0000.741] I> Active Boot chain : 0
[0000.742] I> parsing oem signed section of bpmp-fw header done
[0000.743] I> bpmp-fw binary init read from storage
[0000.747] I> oem authentication of bpmp-fw header done
[0000.761] I> bpmp-fw binary done read from storage
[0000.762] I> bpmp-fw: Authentication init Done
[0000.763] I> parsing oem signed section of cpubl header done
[0000.767] I> cpubl binary init read from storage
[0000.771] I> bpmp-fw: Authentication Finalize Done
[0000.776] I> oem authentication of cpubl header done
[0000.783] I> cpubl binary done read from storage
[0000.785] I> cpubl: Authentication init Done
[0000.789] I> parsing oem signed section of rce header done
[0000.794] I> rce binary init read from storage
[0000.799] I> Relocating BR-BCT
[0000.802] I> cpubl: Authentication Finalize Done
[0000.806] I> oem authentication of rce header done
[0000.811] I> rce binary done read from storage
[0000.815] I> rce: Authentication init Done
[0000.819] I> parsing oem signed section of ape header done
[0000.824] I> ape binary init read from storage
[0000.829] I> rce: Authentication Finalize Done
[0000.833] I> oem authentication of ape header done
[0000.837] I> ape binary done read from storage
[0000.842] I> ape: Authentication init Done
[0000.846] I> parsing oem signed section of tos header done
[0000.851] I> tos binary init read from storage
[0000.855] I> ape: Authentication Finalize Done
[0000.860] I> oem authentication of tos header done
[0000.866] I> tos binary done read from storage
[0000.868] I> tos: Authentication init Done
[0000.873] I> parsing oem signed section of bpmp-fw-dtb header done
[0000.879] I> bpmp-fw-dtb binary init read from storage
[0000.883] I> tos: Authentication Finalize Done
[0000.889] I> oem authentication of bpmp-fw-dtb header done
[0000.893] I> bpmp-fw-dtb binary done read from storage
[0000.898] I> bpmp-fw-dtb: Authentication init Done
[0000.903] I> parsing oem signed section of cpubl-dtb header done
[0000.909] I> cpubl-dtb binary init read from storage
[0000.913] I> bpmp-fw-dtb: Authentication Finalize Done
[0000.970] I> oem authentication of cpubl-dtb header done
[0000.971] I> cpubl-dtb binary done read from storage
[0000.971] I> cpubl-dtb: Authentication init Done
[0000.972] I> parsing oem signed section of eks header done
[0000.973] I> eks binary init read from storage
[0000.974] I> cpubl-dtb: Authentication Finalize Done
[0000.974] I> oem authentication of eks header done
[0000.979] I> eks binary done read from storage
[0000.983] I> eks: Authentication init Done
[0000.987] I> eks: Authentication Finalize Done
[0000.991] I> EKB detected (length: 0x410) @ VA:0x52714400
??NOTICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 14:42:47, Jan 15 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing .......
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
??

welcome to lk
calling constructors
initializing heap
creating bootstrap completion thread
top of bootstrap2()
initializing platform
bpmp: platform_init
tag is e73a758761f0c6d24a1e69a2ac6b5035
tag_show initialized
dt initialized
mail initialized
chipid initialized
fuse initialized
sku initialized
speedo initialized
ec_get_ec_list: found 45 ecs
ec initialized
ec_mrq initialized
vmon_populate_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
fmon_mrq initialized
reset initialized
nvhs initialized
391 clocks registered
clk_mrq_init: mrq handler registered
clk initialized
nvlink initialized
io_dpd initialized
io_dpd initialized
thermal initialized
i2c5 controller initialized
initialized i2c mrq handling
i2c initialized
regulator initialized
avfs_clk_platform_init: bad clk id in clock@cluster1_avfs
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
dvs initialized
pm initialized
pg_late initialized
strap initialized
tag initialized
emc initialized
clk_dt initialized
avfs_ccplex_platform initialized
tj_max: dt node not found
tj_init initialized
uphy_mrq_init: mrq handler registered
uphy_dt initialized
uphy initialized
safereg_init: period 80 ms
ec_late initialized
??
  [0001.332] I> Welcome to Cboot
??mrq initialized
WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
fmon_post initialized
??[0001.332] I> Cboot Version: t194-9efcbc4f
[0001.334] I> CPU-BL Params @ 0xf2820000
[0001.338] I>  0) Base:0x00000000 Size:0x00000000
[0001.343] I>  1) Base:0xf1100000 Size:0x00100000
??clk_set_parent failed for clk i2c2, parent pll_aon (-22)
clk_set_parent failed for clk i2c8, parent pll_aon (-22)
clk_dt_late initialized
machine_check initialized
pm_post initialized
dbells initialized
avfs_clk_platform_post initialized
dmce initialized
cvc initialized
ccplex_avfs_hw_init: nafll_cluster0: not monitored
ccplex_avfs_hw_init: nafll_cluster2: not monitored
ccplex_avfs_hw_init: nafll_cluster3: not monitored
avfs_clk_mach_post initialized
regulator_post initialized
rm initialized
sc7_diag initialized
thermal_test initialized
serial_late initialized
clk_post initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
dyn_modules initialized
sku_debugfs initialized
speedo_debugfs initialized
adc_debugfs initialized
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
clk_debugfs initialized
emc_debugfs initialized
dvs_debugfs initialized
fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1
fmon_debugfs initialized
vmon_debugfs initialized
pg_debugfs initialized
profile_fs initialized
debugfs_cons initialized
mail_fs initialized
profile initialized
cvc_debugfs initialized
dmce_debugfs initialized
ec_debugfs initialized
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_debugfs initialized
soctherm_debug initialized
gr_reader initialized
mods initialized
dt_fs initialized
debugfs_mrq initialized
debug_mrq initialized
debug_safereg initialized
initializing target
calling apps_init()
starting app shell
entering main console loop
] ??[0001.347] I>  2) Base:0xf2000000 Size:0x00200000
[0001.501] I>  3) Base:0xf1200000 Size:0x00200000
[0001.506] I>  4) Base:0xf1000000 Size:0x00100000
[0001.510] I>  5) Base:0xf0f00000 Size:0x00100000
[0001.515] I>  6) Base:0xf3800000 Size:0x00400000
[0001.519] I>  7) Base:0xf1c00000 Size:0x00400000
[0001.524] I>  8) Base:0xf0e00000 Size:0x00100000
[0001.528] I>  9) Base:0xf0d00000 Size:0x00100000
[0001.532] I> 10) Base:0xf3000000 Size:0x00800000
[0001.537] I> 11) Base:0x40000000 Size:0x00040000
[0001.541] I> 12) Base:0xf0c00000 Size:0x00100000
[0001.546] I> 13) Base:0x40046000 Size:0x00002000
[0001.550] I> 14) Base:0x40048000 Size:0x00002000
[0001.555] I> 15) Base:0xac000000 Size:0x00004000
[0001.559] I> 16) Base:0x4004a000 Size:0x00002000
[0001.564] I> 17) Base:0xf0b00000 Size:0x00100000
[0001.568] I> 18) Base:0x4004c000 Size:0x00002000
[0001.573] I> 19) Base:0xf2200000 Size:0x00600000
[0001.577] I> 20) Base:0x4004e000 Size:0x00002000
[0001.582] I> 21) Base:0xf0ad0000 Size:0x0000c000
[0001.586] I> 22) Base:0x00000000 Size:0x00000000
[0001.590] I> 23) Base:0xf0ae0000 Size:0x00020000
[0001.595] I> 24) Base:0xf6000000 Size:0x02000000
[0001.599] I> 25) Base:0x40050000 Size:0x00002000
[0001.604] I> 26) Base:0x40040000 Size:0x00006000
[0001.608] I> 27) Base:0xf1800000 Size:0x00400000
[0001.613] I> 28) Base:0xf4c00000 Size:0x01400000
[0001.617] I> 29) Base:0xf1400000 Size:0x00400000
[0001.622] I> 30) Base:0x00000000 Size:0x00000000
[0001.626] I> 31) Base:0x00000000 Size:0x00000000
[0001.631] I> 32) Base:0xf8000000 Size:0x08000000
[0001.635] I> 33) Base:0x00000000 Size:0x00000000
[0001.640] I> 34) Base:0xf3c00000 Size:0x01000000
[0001.644] I> 35) Base:0xab000000 Size:0x01000000
[0001.648] I> 36) Base:0xa0000000 Size:0x0b000000
[0001.653] I> 37) Base:0xf2800000 Size:0x00800000
[0001.657] I> 38) Base:0x80000000 Size:0x20000000
[0001.662] I> 39) Base:0xb0000000 Size:0x08000000
[0001.666] I> 40) Base:0x00000000 Size:0x00000000
[0001.671] I> 41) Base:0x00000000 Size:0x00000000
[0001.675] I> 42) Base:0x00000000 Size:0x00000000
[0001.680] I> 43) Base:0x00000000 Size:0x00000000
[0001.684] I> 44) Base:0x00000000 Size:0x00000000
[0001.689] I> 45) Base:0x00000000 Size:0x00000000
[0001.693] GIC-SPI Target CPU: 0
[0001.696] Interrupts Init done
[0001.699] calling constructors
[0001.702] initializing heap
[0001.704] I> Heap: [0xa06945e8 ... 0xab000000]
[0001.709] initializing threads
[0001.712] initializing timers
[0001.714] creating bootstrap completion thread
[0001.719] top of bootstrap2()
[0001.722] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
[0001.726] initializing platform
[0001.729] E> DEVICE_PROD: Invalid value data = 0, size = 0.
[0001.735] W> device prod register failed
[0001.738] I> Bl_dtb @0xaaf00000
[0001.744] W> "plugin-manager" doesn't exist, creating
[0001.746] W> "ids" doesn't exist, creating
[0001.751] W> "connection" doesn't exist, creating
[0001.755] W> "configs" doesn't exist, creating
[0001.767] I> Find /i2c@3160000's alias i2c0
[0001.768] I> Reading eeprom i2c=0 address=0x50
[0001.793] I> Device at /i2c@3160000:0x50
[0001.794] I> Reading eeprom i2c=0 address=0x57
[0001.818] I> Device at /i2c@3160000:0x57
[0001.819] I> Find /i2c@c240000's alias i2c1
[0001.820] I> Reading eeprom i2c=1 address=0x50
[0001.822] E> I2C: slave not found in slaves.
[0001.822] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.823] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.823] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via ins.
[0001.832] E> eeprom: Retry to read I2C slave device.
[0001.837] E> I2C: slave not found in slaves.
[0001.841] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.849] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.854] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via ins.
[0001.864] E> eeprom: Failed to read I2C slave device
[0001.869] I> Eeprom read failed 0x3526070d
[0001.873] I> create_pm_ids: id: 3668-0001-200-G, len: 15
[0001.878] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,di3
[0001.889] I> create_pm_ids: id: 3509-0000-100-G, len: 15
[0001.894] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,di3
[0001.905] I> Adding plugin-manager/ids/3668-0001-200=/i2c@3160000:module@0x50
[0001.912] W> "i2c@3160000" doesn't exist, creating
[0001.917] W> "module@0x50" doesn't exist, creating
[0001.921] I> Adding plugin-manager/ids/3509-0000-100=/i2c@3160000:module@0x57
[0001.928] W> "module@0x57" doesn't exist, creating
[0001.935] I> Adding plugin-manager/cvm
[0001.937] W> "chip-id" doesn't exist, creating
[0001.941] I> Adding plugin-manager/chip-id/A02P
[0001.945] I> Plugin-manager override starting
[0001.951] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0001.959] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0001.964] I> node /plugin-manager/fragement-tegra-sdhci-sd-dis matches
[0001.973] I> Disable plugin-manager status in FDT
[0001.973] I> Plugin-manager override finished successfully
[0001.977] I> gpio framework initialized
[0001.982] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0001.989] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0001.996] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0002.003] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0002.011] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0002.018] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0002.024] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0002.031] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0002.039] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0002.045] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0002.053] I> fixed regulator driver initialized
[0002.061] I> register 'maxim' power off handle
[0002.062] I> virtual i2c enabled
[0002.063] I> registered 'maxim,max20024' pmic
[0002.068] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver
[0002.074] I> Boot-device: QSPI
[0002.077] I> Boot_device: QSPI_FLASH instance: 0
[0002.082] I> QSPI source rate = 204000 Khz
[0002.085] I> Requested rate for QSPI clock = 34000 Khz
[0002.091] I> BPMP-set rate for QSPI clk = 34000 Khz
[0002.095] I> QSPI Flash Size = 32 MB
[0002.103] I> Qspi initialized successfully
[0002.103] I> qspi flash-0 params source = boot args
[0002.107] I> create_pm_ids: id: 3668-0001-200-G, len: 15
[0002.112] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,di3
[0002.123] I> create_pm_ids: id: 3509-0000-100-G, len: 15
[0002.129] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,di3
[0002.144] I> sdmmc-3 params source = safe params
[0002.146] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0002.166] W> Cannot find any partition table for 00000003
[0002.178] I> Found 11 partitions in SDMMC_USER (instance 3)
[0002.187] I> regulator 'vdd-hdmi-5v0' already enabled
[0002.191] I> regulator 'vdd-hdmi-5v0' already enabled
[0002.191] E> tegrabl_display_init_regulator: hdmi cable is not connected
[0002.192] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0002.195] E> invalid display type
[0002.196] E> cannot find any other nvdisp nodes
[0002.196] E> no valid display unit config found in dtb
[0002.198] W> display init failed
[0002.200] I> Load in CBoot Boot Options partition and parse it
[0002.206] E> Error -9 when finding node with path /boot-configuration
[0002.212] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0002.219] I> Using default boot order
[0002.223] I> boot-dev-order :-
[0002.226] I> 1.sd
[0002.228] I> 2.usb
[0002.229] I> 3.nvme
[0002.231] I> 4.emmc
[0002.233] I> 5.net
[0002.235] I> Hit any key to stop autoboot:     4       3       2       1
[0004.243] initializing target
[0004.243] calling apps_init()
[0004.244] starting app kernel_boot_app
[0004.254] I> found decompressor handler: lz4-legacy
[0004.255] I> decompressing BMP blob ...
[0004.266] I> Kernel type = Normal
[0004.267] I> Loading kernel-bootctrl from partition
[0004.267] I> Loading partition kernel-bootctrl at 0xa42d0000 from device(0x1)
[0004.283] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0004.284] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0004.284] I> ########## SD (0) boot ##########
[0004.285] W> Error: failed to get sd-card params
[0004.285] I> -0 params source =
[0004.286] W> Failed to initialize device 6-0
[0004.288] E> SD boot failed, err: 252641293
[0004.292] I> ########## USB (0) boot ##########
[0004.301] W> No valid slot number is found in scratch register
[0004.302] W> Return default slot: _a
[0004.314] I> USB Firmware Version: 60.06 release
[0004.368] I> regulator of usb2-0 already enabled
[0004.373] I> regulator of usb2-1 already enabled
[0004.378] I> regulator of usb2-2 already enabled
[0005.445] I> USB 2.0 port 2 new high-speed USB device detected
[0005.446] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa92d0000, cmd_ring.dma = 0xa0
[0005.547] I> Start to enumerate device
[0005.549] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa92d0000, cmd_ring.dma = 0xa0
[0005.559] I>
[0005.559] I> Enumerated USB Device 0bda:5489
[0005.559] I>
[0005.560] I> Hub:
[0005.560] I>   Downstream ports        : 4
[0005.561] I>   Power switching         : Ganged
[0005.561] I>   Compound device         : No
[0005.561] I>   Over-current protection : Global
[0005.562] I>   Hub avg delay           : 4 ns
[0005.565] I> Set interface = 1 (alt setting)
[0005.570] I> Enable hub ports
[0005.782] I> Device detected on port 2
[0005.783] I> Device detected on port 3
[0006.593] I> Reset port 2
[0006.648] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa92d0000, cmd_ring.dma = 0xa0
[0006.749] I> Start to enumerate device
[0006.750] W> handle_command_completion_event: WARNING: Command was not successfully completed (0x0)
[0007.754] W> xusbh_wait_irq: Timed out! status = 0x00
[0008.757] W> xusbh_wait_irq: Timed out! status = 0x00
[0008.758] E> Failed to enumerate USB device
[0008.760] I> Reset port 3
[0008.814] I> Port 3 device is low speed, skip enumeration
[0008.815] E> Enumerated device doesn't belong to MSD class or protocol is not bulk-only!!
[0008.815] E> Class = 9, Protocol = 1
[0008.816] E> USBMSD: Failed to initialize Enumerated USB device either not an MSD device or suppor.
[0008.820] E> Error opening USBMSD driver 0, err: 7c7c0312
[0008.826] W> Failed to initialize device 5-0
[0008.830] E> USB boot failed, err: 2088502034
[0008.834] I> ########## Fixed storage boot ##########
[0008.839] I> Already published: 00010003
[0008.843] I> Look for boot partition
[0008.846] I> Fallback: assuming 0th partition is boot partition
[0008.852] I> Detect filesystem
[0008.879] I> Loading extlinux.conf ...
[0008.879] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
[0008.910] I> L4T boot options
[0008.910] I> [1]: "primary kernel"
[0008.910] I> Enter choice:
[0011.912] I> Continuing with default option: 1
[0011.912] I> Loading kernel sig file from rootfs ...
[0011.912] I> rootfs path: /sdmmc_user/boot/Image.sig
[0018.115] I> lookup_linear_dir:447: Invalid file block num
[0018.115] I> ext2_walk:142: 'Image.sig' lookup failed
[0018.116] I> ext4_open_file:666: '/boot/Image.sig' lookup failed
[0018.116] E> file /sdmmc_user/boot/Image.sig open failed!!
[0018.117] W> Failed to load kernel sig file (err=202113041)
[0018.117] I> Loading kernel binary from rootfs ...
[0018.122] I> rootfs path: /sdmmc_user/boot/Image
[0018.553] I> Validate kernel ...
[0018.553] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
[0018.554] E> Stage2Signature validation failed with SHA2!!
[0018.554] C> OEM authentication of kernel header failed!
[0018.554] W> Failed to validate kernel binary (err=1077936152, fail=1)
[0018.555] W> Security fuse not burned, ignore validation failure
[0018.567] I> No kernel-dtb binary path
[0018.567] W> No valid slot number is found in scratch register
[0018.570] W> Return default slot: _a
[0018.573] I> A/B: bin_type (38) slot 0
[0018.577] I> Loading kernel-dtb from partition
[0018.581] I> Loading partition kernel-dtb at 0x91000000 from device(0x1)
[0018.598] I> Validate kernel-dtb ...
[0018.598] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
[0018.601] I> Encryption fuse is not ON
[0018.602] I> Loading ramdisk from rootfs ...
[0018.605] I> Loading initrd sig file from rootfs ...
[0018.610] I> rootfs path: /sdmmc_user/boot/initrd.sig
[0024.811] I> lookup_linear_dir:447: Invalid file block num
[0024.811] I> ext2_walk:142: 'initrd.sig' lookup failed
[0024.811] I> ext4_open_file:666: '/boot/initrd.sig' lookup failed
[0024.812] E> file /sdmmc_user/boot/initrd.sig open failed!!
[0024.812] W> Failed to load initrd sig file (err=202113041)
[0024.813] I> Loading initrd binary from rootfs ...
[0024.817] I> rootfs path: /sdmmc_user/boot/initrd
[0024.921] I> Validate initrd ...
[0024.921] I> T19x: Authenticate initrd (bin_type: 49), max size 0x4000000
[0024.922] E> Stage2Signature validation failed with SHA2!!
[0024.922] C> OEM authentication of initrd header failed!
[0024.922] W> Failed to validate initrd binary (err=1077936152, fail=1)
[0024.923] W> Security fuse not burned, ignore validation failure
[0024.930] I> Kernel hdr @0xa42d0000
[0024.931] I> Kernel dtb @0x90000000
[0024.935] I> decompressor handler not found
[0024.939] I> Copying kernel image (34338824 bytes) from 0xa42d0000 to 0x80080000 ... [0024.956] I>e
[0024.957] I> Updated bpmp info to DTB
[0024.958] I> Ramdisk: Base: 0x92000000; Size: 0x6e6cb6
[0024.958] I> Updated initrd info to DTB
[0024.960] W> WARN: Fail to override "console=none" in commandline
[0024.966] I> Active rootfs suffix:
[0024.970] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0024.977] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0024.984] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0024.991] W> No valid slot number is found in scratch register
[0024.997] W> Return default slot: _a
[0025.000] I> Active slot suffix:
[0025.004] I> add_boot_slot_suffix: slot_suffix =
[0025.008] I> Linux Cmdline: console=ttyTCU0,115200 video=tegrafb no_console_suspend=1 earlycon=teg
[0025.034] I> Updated bootarg info to DTB
[0025.038] W> MAC addr invalid!
[0025.041] E> Failed to get WIFI MAC address
[0025.045] W> MAC addr invalid!
[0025.048] E> Failed to get Bluetooth MAC address
[0025.052] I> eeprom_get_mac_addr: MAC (type: 2): 48:b0:2d:07:58:f2
[0025.059] W> "plugin-manager" doesn't exist, creating
[0025.064] I> Adding /chosen/plugin-manager/cvm
[0025.068] W> "chip-id" doesn't exist, creating
[0025.072] I> Adding /chosen/plugin-manager/chip-id
[0025.077] W> "configs" doesn't exist, creating
[0025.081] I> Adding /chosen/plugin-manager/configs
[0025.085] W> "ids" doesn't exist, creating
[0025.090] I> Adding /chosen/plugin-manager/ids
[0025.094] W> "odm-data" doesn't exist, creating
[0025.098] I> Adding /chosen/plugin-manager/odm-data
[0025.105] W> "memory" doesn't exist, creating
[0025.107] I> [0] START: 0x80000000, END: 0xac000000
[0025.112] I> [1] START: 0xac004000, END: 0xf0ad0000
[0025.116] I> [2] START: 0xf0adc000, END: 0xf0ae0000
[0025.121] I> dram_block larger than 80000000
[0025.125] I> [3] START: 0x100000000, END: 0x280000000
[0025.130] I> added [base:0x80000000, size:0x2c000000] to /memory
[0025.136] I> added [base:0xac200000, size:0x44800000] to /memory
[0025.142] I> added [base:0x100000000, size:0x180000000] to /memory
[0025.149] I> Updated memory info to DTB
[0025.152] E> add_disp_param: failed to get display params for du=0
[0025.158] W> "reset" doesn't exist, creating
[0025.162] I> Adding ecid(00000001647057062000000016000280) to DT
[0025.168] I> NVG: Logical CPU: 0; MPIDR: 0x80000000
[0025.172] I> NVG: Logical CPU: 1; MPIDR: 0x80000001
[0025.177] I> NVG: Logical CPU: 2; MPIDR: 0x80000100
[0025.182] I> NVG: Logical CPU: 3; MPIDR: 0x80000101
[0025.187] I> NVG: Logical CPU: 4; MPIDR: 0x80000200
[0025.191] I> NVG: Logical CPU: 5; MPIDR: 0x80000201
[0025.196] I> Deleted cpu@6 node in DT
[0025.200] I> Deleted cpu@7 node in DT
[0025.203] I> Deleted cluster3 node in FDT
[0025.207] I> Update arm-pmu in FDT
[0025.210] I> - update property: interrupts
[0025.214] I> - update property: interrupt-affinity
[0025.219] W> "misc-data" doesn't exist, creating
[0025.223] I> Boot-device: QSPI
[0025.226] W> Unknown boot device
[0025.229] I> Add storage-qspi to plugin-manager/misc-data
[0025.234] W> Unknown storage device
[0025.238] I> Add serial number:1422320054196 as DT property
[0025.244] I> Plugin-manager override starting
[0025.248] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0025.255] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0025.261] I> node /plugin-manager/fragement-tegra-sdhci-sd-dis matches
[0025.268] I> Disable plugin-manager status in FDT
[0025.270] I> Plugin-manager override finished successfully
[0025.275] I> tegrabl_load_kernel_and_dtb: Done
[0025.280] E> tegrabl_display_clear: display is not initialized
[0025.285] W> Boot logo display failed...
[0025.289] I> Kernel EP: 0x80080000, DTB: 0x90000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.201-tegra (buildbrain@mobile-u64-4551) (gcc version 7.3.1 201804251
[    0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[    0.000000] OF: fdt:memory scan node memory, reg size 48,
[    0.000000] OF: fdt: - 80000000 ,  2c000000
[    0.000000] OF: fdt: - ac200000 ,  44800000
[    0.000000] OF: fdt: - 100000000 ,  180000000
[    0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options '')
[    0.000000] bootconsole [tegra_comb_uart0] enabled
??WARNING: pll_d has no dyn ramp
??[    1.937519] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.937852] imx219 9-0010: board setup failed
[    1.961907] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.962210] imx219 10-0010: board setup failed
??WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

flash log:

root@xxxx:/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra# ./flash.sh jetson-xavier-nx-devkit-emmc external
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.0
###############################################################################
Error: probing the target board failed.
       Make sure the target board is connected through
       USB port and is in recovery mode.
root@xxxx:/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra# ./flash.sh jetson-xavier-nx-devkit-emmc external
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.0
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit-emmc, Board Family: t186ref, SoC: Tegra 194,
# OpMode: production, Boot Authentication: NS,
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery"
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.0027 ] Generating RCM messages
[   0.0044 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0060 ] Header already present for /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0118 ]
[   0.0140 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0155 ] Assuming zero filled SBK key
[   0.0159 ]
[   0.0177 ] tegrasign_v2 --key None --file /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.0193 ] Assuming zero filled SBK key
[   0.0203 ]
[   0.0221 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0287 ]
[   0.0314 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0337 ]
[   0.0358 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0374 ] RCM 0 is saved as rcm_0.rcm
[   0.0423 ] RCM 1 is saved as rcm_1.rcm
[   0.0427 ] RCM 2 is saved as rcm_2.rcm
[   0.0427 ] List of rcm files are saved in rcm_list.xml
[   0.0427 ]
[   0.0427 ] Signing RCM messages
[   0.0443 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.0461 ] Assuming zero filled SBK key
[   0.0475 ]
[   0.0476 ] Copying signature to RCM mesages
[   0.0494 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0521 ]
[   0.0522 ] Boot Rom communication
[   0.0539 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0555 ] RCM version 0X190001
[   0.0568 ] Boot Rom communication completed
[   1.0735 ]
[   2.0777 ] tegrarcm_v2 --isapplet
[   2.0802 ] Applet version 01.00.0000
[   2.0962 ]
[   2.0980 ] tegrarcm_v2 --ismb2
[   2.1366 ]
[   2.1385 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   2.1404 ]
[   2.1421 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   2.1438 ] adding BCH for nvtboot_applet_t194.bin
[   2.1548 ]
[   2.1580 ] tegrasign_v2 --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.1597 ] Assuming zero filled SBK key
[   2.1603 ]
[   2.1625 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   2.1663 ]
[   2.1683 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.1699 ] Applet version 01.00.0000
[   2.1885 ] Sending mb2
[   2.1886 ] [................................................] 100%
[   2.2024 ]
[   2.2041 ] tegrarcm_v2 --boot recovery
[   2.2059 ] Applet version 01.00.0000
[   2.2276 ]
[   3.2310 ] tegrarcm_v2 --isapplet
[   3.2528 ]
[   3.2549 ] tegrarcm_v2 --ismb2
[   3.2567 ] MB2 Applet version 01.00.0000
[   3.2886 ]
[   3.2905 ] tegrarcm_v2 --ismb2
[   3.2921 ] MB2 Applet version 01.00.0000
[   3.3290 ]
[   3.3312 ] Retrieving board information
[   3.3329 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.3348 ] MB2 Applet version 01.00.0000
[   3.3707 ] Saved platform info in chip_info.bin
[   3.3749 ] Chip minor revision: 2
[   3.3751 ] Bootrom revision: 0xf
[   3.3754 ] Ram code: 0x0
[   3.3754 ] Chip sku: 0xde
[   3.3754 ] Chip Sample: non es
[   3.3754 ]
[   3.3757 ] Retrieving EEPROM data
[   3.3758 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin
[   3.3773 ] MB2 Applet version 01.00.0000
[   3.3985 ] Saved platform info in /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/cvm.bin
[   3.4337 ]
[   3.4338 ] Rebooting to recovery mode
[   3.4356 ] tegrarcm_v2 --ismb2
[   3.4371 ] MB2 Applet version 01.00.0000
[   3.4568 ]
[   3.4568 ] Rebooting to recovery mode
[   3.4587 ] tegrarcm_v2 --reboot recovery
[   3.4603 ] MB2 Applet version 01.00.0000
[   3.4995 ]
Board ID(3668) version(200) sku(0001) revision(G.0)
Copy /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
Generated UUID 1d4a0fb9-b52a-42db-b414-c7fb7bd165df for mounting root APP_ext partition.
copying bctfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying device_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
        populating kernel to rootfs... done.
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/rootfs/boot/Image
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.0027 ] Generating signature
[   0.0039 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0062 ] Assuming zero filled SBK key
[   0.0064 ]
[   0.0067 ] header_magic: 5614
[   0.0084 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.0106 ]
[   0.0124 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[   0.0141 ] adding BCH for 1_Image
[   0.4259 ]
[   0.4282 ] tegrasign_v2 --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   0.4300 ] Assuming zero filled SBK key
[   0.4664 ]
[   0.4680 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   0.7213 ]
[   0.7440 ] Signed file: /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/Image_sigheader.encrypt
l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x20bf808 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for Image_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/rootfs/boot/Image.sig
done.
        populating initrd to rootfs... done.
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/rootfs/boot/initrd
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 signature
[   0.0042 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0056 ] Assuming zero filled SBK key
[   0.0056 ]
[   0.0058 ] header_magic: 1f8b0800
[   0.0072 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0091 ]
[   0.0108 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0125 ] adding BCH for 1_initrd
[   0.1033 ]
[   0.1058 ] tegrasign_v2 --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.1077 ] Assuming zero filled SBK key
[   0.1207 ]
[   0.1226 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.1741 ]
[   0.1828 ] Signed file: /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6cb6 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for initrd_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/rootfs/boot/initrd.sig
done.
        populating /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making Boot image... done.
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign boot.img
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.0005 ] Generating signature
[   0.0017 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0032 ] Assuming zero filled SBK key
[   0.0033 ]
[   0.0035 ] header_magic: 414e4452
[   0.0054 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0072 ]
[   0.0089 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[   0.0106 ] adding BCH for 1_boot.img
[   0.5164 ]
[   0.5188 ] tegrasign_v2 --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.5206 ] Assuming zero filled SBK key
[   0.5610 ]
[   0.5625 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   0.8301 ]
[   0.8577 ] Signed file: /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt
l4t_sign_image.sh: chip 0x19: add 0x27a7800 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt
l4t_sign_image.sh: the signed file is /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/ramdisk_tmp /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/ramdisk_tmp/lib /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/ramdisk_tmp /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra
65752 blocks
Making Recovery image...
copying recdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000322178 s, 62.1 kB/s
Existing sosfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb
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.0004 ] Generating signature
[   0.0017 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0031 ] Assuming zero filled SBK key
[   0.0033 ]
[   0.0037 ] header_magic: d00dfeed
[   0.0056 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0074 ]
[   0.0093 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0109 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0183 ]
[   0.0210 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0224 ] Assuming zero filled SBK key
[   0.0227 ]
[   0.0246 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   0.0305 ]
[   0.0313 ] Signed file: /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the sign header is saved at kernel_tegra194-p3668-all-p3509-0000.dtb.sig
done.
/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb
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.0004 ] Generating signature
[   0.0019 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0033 ] Assuming zero filled SBK key
[   0.0035 ]
[   0.0036 ] header_magic: d00dfeed
[   0.0051 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0068 ]
[   0.0078 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0084 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0156 ]
[   0.0188 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0207 ] Assuming zero filled SBK key
[   0.0220 ]
[   0.0245 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   0.0303 ]
[   0.0311 ] Signed file: /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
generating system.img for booting...
Making system.img...
        populating rootfs from /tmp/tmp.l8OJFDA6fF ... done.
        populating /boot/extlinux/extlinux.conf ... done.
        Sync'ing system.img ... done.
        Converting RAW image to Sparse image... done.
system.img built successfully.
Existing tbcfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
Existing flasher(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0xB8190000 --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi.cfg  --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb"   --trim_bpmp_dtb
saving flash command in /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/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.0014 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0032 ] Assuming zero filled SBK key
[   0.0034 ]
[   0.0036 ] Generating RCM messages
[   0.0055 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0073 ] Header already present for mb1_t194_prod.bin
[   0.0119 ]
[   0.0135 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0153 ] Assuming zero filled SBK key
[   0.0156 ]
[   0.0174 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.0191 ] Assuming zero filled SBK key
[   0.0203 ]
[   0.0219 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0285 ]
[   0.0306 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0331 ]
[   0.0352 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0368 ] RCM 0 is saved as rcm_0.rcm
[   0.0417 ] RCM 1 is saved as rcm_1.rcm
[   0.0419 ] RCM 2 is saved as rcm_2.rcm
[   0.0419 ] List of rcm files are saved in rcm_list.xml
[   0.0420 ]
[   0.0420 ] Signing RCM messages
[   0.0439 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.0455 ] Assuming zero filled SBK key
[   0.0468 ]
[   0.0469 ] Copying signature to RCM mesages
[   0.0489 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0517 ]
[   0.0518 ] Parsing partition layout
[   0.0538 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0568 ]
[   0.0569 ] Creating list of images to be signed
[   0.0587 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.0604 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.0612 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.0623 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.0675 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.0692 ] adding BCH for spe_t194.bin
[   0.0722 ] adding BCH for spe_t194.bin
[   0.0749 ] adding BCH for nvtboot_t194.bin
[   0.0762 ] adding BCH for nvtboot_t194.bin
[   0.0784 ] Header already present for preboot_c10_prod_cr.bin
[   0.0807 ] Header already present for preboot_c10_prod_cr.bin
[   0.0810 ] Header already present for mce_c10_prod_cr.bin
[   0.0812 ] Header already present for mce_c10_prod_cr.bin
[   0.0822 ] adding BCH for mts_c10_prod_cr.bin
[   0.0846 ] adding BCH for mts_c10_prod_cr.bin
[   0.1357 ] Header already present for warmboot_t194_prod.bin
[   0.1756 ] Header already present for warmboot_t194_prod.bin
[   0.1759 ] adding BCH for cboot_t194.bin
[   0.1761 ] adding BCH for cboot_t194.bin
[   0.1813 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.1868 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.1889 ] adding BCH for tos-trusty_t194.img
[   0.1913 ] adding BCH for tos-trusty_t194.img
[   0.1958 ] adding BCH for eks.img
[   0.2003 ] adding BCH for eks.img
[   0.2005 ] adding BCH for adsp-fw.bin
[   0.2007 ] adding BCH for adsp-fw.bin
[   0.2015 ] adding BCH for camera-rtcpu-rce.img
[   0.2026 ] adding BCH for camera-rtcpu-rce.img
[   0.2057 ] adding BCH for bpmp_t194.bin
[   0.2091 ] adding BCH for bpmp_t194.bin
[   0.2193 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   0.2299 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   0.2325 ] adding BCH for boot.img
[   0.2522 ] adding BCH for boot.img
[   0.7447 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   1.2431 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   1.2497 ] adding BCH for recovery.img
[   1.2820 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[   1.8546 ]
[   1.8547 ] Filling MB1 storage info
[   1.8548 ] Generating br-bct
[   1.8567 ] Performing cfg overlay
[   1.8567 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   1.8574 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg
[   1.8986 ]
[   1.8988 ] Updating dev and MSS params in BR BCT
[   1.8988 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.9277 ]
[   1.9278 ] Updating bl info
[   1.9294 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   1.9327 ]
[   1.9328 ] Generating signatures
[   1.9342 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   1.9358 ] Assuming zero filled SBK key
[   2.0720 ]
[   2.0721 ] Generating br-bct
[   2.0733 ] Performing cfg overlay
[   2.0733 ] ['/home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg']
[   2.0733 ] Updating dev and MSS params in BR BCT
[   2.0734 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   2.1033 ]
[   2.1033 ] Updating bl info
[   2.1049 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   2.1091 ]
[   2.1092 ] Updating smd info
[   2.1110 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   2.1131 ]
[   2.1132 ] Updating Odmdata
[   2.1149 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   2.1170 ]
[   2.1171 ] Get Signed section of bct
[   2.1190 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   2.1211 ]
[   2.1229 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   2.1246 ] Assuming zero filled SBK key
[   2.1250 ]
[   2.1250 ] Updating BCT with signature
[   2.1267 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   2.1289 ]
[   2.1290 ] Generating coldboot mb1-bct
[   2.1315 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   2.1331 ] MB1-BCT version: 0x1

[   2.1336 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg
[   2.1343 ] Added Platform Config 0 data with size :- 2496

[   2.1365 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg
[   2.1369 ] Added Platform Config 1 data with size :- 19640

[   2.1480 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg
[   2.1483 ] Added Platform Config 2 data with size :- 24

[   2.1486 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg
[   2.1489 ] Added Platform Config 4 data with size :- 348

[   2.1492 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg
[   2.1493 ] Added Platform Config 3 data with size :- 92
[   2.1493 ]
[   2.1494 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg
[   2.1494 ] Added Platform Config 5 data with size :- 128
[   2.1494 ]
[   2.1494 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
[   2.1494 ] Added Platform Config 7 data with size :- 392
[   2.1494 ]
[   2.1494 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg
[   2.1494 ] Added Platform Config 9 data with size :- 40
[   2.1494 ]
[   2.1495 ] Updating mb1-bct with firmware information
[   2.1511 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   2.1524 ] MB1-BCT version: 0x1
[   2.1530 ]
[   2.1530 ] Updating mb1-bct with storage information
[   2.1544 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   2.1558 ] MB1-BCT version: 0x1
[   2.1563 ]
[   2.1577 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   2.1594 ]
[   2.1610 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   2.1627 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   2.1640 ]
[   2.1658 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   2.1676 ] Assuming zero filled SBK key
[   2.1681 ]
[   2.1699 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   2.1725 ]
[   2.1726 ] Generating recovery mb1-bct
[   2.1747 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[   2.1762 ] MB1-BCT version: 0x1

[   2.1769 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg
[   2.1776 ] Added Platform Config 0 data with size :- 2496

[   2.1791 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg
[   2.1798 ] Added Platform Config 1 data with size :- 19640

[   2.1917 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg
[   2.1921 ] Added Platform Config 2 data with size :- 24
[   2.1921 ]
[   2.1921 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg
[   2.1921 ] Added Platform Config 4 data with size :- 348
[   2.1921 ]
[   2.1922 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg
[   2.1922 ] Added Platform Config 3 data with size :- 92
[   2.1922 ]
[   2.1922 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg
[   2.1922 ] Added Platform Config 5 data with size :- 128
[   2.1922 ]
[   2.1922 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
[   2.1922 ] Added Platform Config 7 data with size :- 392
[   2.1922 ]
[   2.1922 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg
[   2.1923 ] Added Platform Config 9 data with size :- 40
[   2.1923 ]
[   2.1923 ] Updating mb1-bct with firmware information
[   2.1938 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   2.1956 ] MB1-BCT version: 0x1
[   2.1962 ]
[   2.1963 ] Updating mb1-bct with storage information
[   2.1980 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   2.1997 ] MB1-BCT version: 0x1
[   2.2003 ]
[   2.2025 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   2.2043 ]
[   2.2058 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk
[   2.2074 ] adding BCH for mb1_bct_MB1.bct
[   2.2086 ]
[   2.2108 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   2.2126 ] Assuming zero filled SBK key
[   2.2130 ]
[   2.2150 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   2.2173 ]
[   2.2175 ] Generating coldboot mem-bct
[   2.2190 ] tegrabct_v2 --chip 0x19 0 --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --membct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_1.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_2.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_3.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_4.bct
[   2.2205 ] Packing sdram param for instance[0]
[   2.2498 ] Packing sdram param for instance[1]
[   2.2500 ] Packing sdram param for instance[2]
[   2.2501 ] Packing sdram param for instance[3]
[   2.2501 ] Packing sdram param for instance[4]
[   2.2501 ] Packing sdram param for instance[5]
[   2.2501 ] Packing sdram param for instance[6]
[   2.2501 ] Packing sdram param for instance[7]
[   2.2501 ] Packing sdram param for instance[8]
[   2.2501 ] Packing sdram param for instance[9]
[   2.2501 ] Packing sdram param for instance[10]
[   2.2501 ] Packing sdram param for instance[11]
[   2.2501 ] Packing sdram param for instance[12]
[   2.2502 ] Packing sdram param for instance[13]
[   2.2502 ] Packing sdram param for instance[14]
[   2.2502 ] Packing sdram param for instance[15]
[   2.2502 ]
[   2.2502 ] Getting sector size from pt
[   2.2518 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   2.2536 ]
[   2.2537 ] BlockSize read from layout is 200

[   2.2553 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_1.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_2.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_3.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_4.bct
[   2.2570 ] adding BCH for /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_1.bct
[   2.2610 ]
[   2.2630 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   2.2648 ]
[   2.2665 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk
[   2.2682 ] Header already present for mem_coldboot.bct
[   2.2688 ]
[   2.2709 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   2.2726 ] Assuming zero filled SBK key
[   2.2735 ]
[   2.2757 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   2.2779 ]
[   2.2783 ] Generating recovery mem-bct
[   2.2801 ] tegrabct_v2 --chip 0x19 0 --sdram /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1.cfg --membct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_1.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_2.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_3.bct /home/jetson/nvidia/nvidia_sdk/JetPack_4.5_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/bootloader/21150/tmpecl3dllk1_4.bct
[   2.2815 ] Packing sdram param for instance[0]
[   2.3070 ] Packing sdram param for instance[1]
[   2.3073 ] Packing sdram param for instance[2]
[   2.3074 ] Packing sdram param for instance[3]
[   2.3074 ] Packing sdram param for instance[4]
[   2.3074 ] Packing sdram param for instance[5]
[   2.3074 ] Packing sdram param for instance[6]
[   2.3074 ] Packing sdram param for instance[7]
[   2.3074 ] Packing sdram param for instance[8]
[   2.3074 ] Packing sdram param for instance[9]
[   2.3074 ] Packing sdram param for instance[10]
[   2.3074 ] Packing sdram param for instance[11]
[   2.3074 ] Packing sdram param for instance[12]
[   2.3074 ] Packing sdram param for instance[13]
[   2.3074 ] Packing sdram param for instance[14]
[   2.3074 ] Packing sdram param for instance[15]
[   2.3075 ]
[   2.3076 ] Reading ramcode from backup chip_info.bin file
[   2.3078 ] RAMCODE Read from Device: 0

[   2.3079 ] Generating BPMP dtb for ramcode - 0
[   2.3820 ] Old BPMP dtb size - 223168 bytes
[   2.3820 ] New BPMP dtb size - 168338 bytes
[   2.3821 ]
[   2.3842 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   2.3859 ]
[   2.3875 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[   2.3893 ] adding BCH for mem_rcm.bct
[   2.3914 ]
[   2.3937 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   2.3954 ] Assuming zero filled SBK key
[   2.3959 ]
[   2.3980 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   2.4010 ]
[   2.4012 ] Copying signatures
[   2.4031 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   3.4276 ]
[   3.4277 ] Boot Rom communication
[   3.4294 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   3.4310 ] BR_CID: 0x88021911647057062000000016000280
[   3.4321 ] RCM version 0X190001
[   3.4481 ] Boot Rom communication completed
[   4.4656 ]
[   5.4695 ] tegrarcm_v2 --isapplet
[   5.4723 ] Applet version 01.00.0000
[   5.4900 ]
[   5.4901 ] Sending BCTs
[   5.4918 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   5.4936 ] Applet version 01.00.0000
[   5.5258 ] Sending bct_bootrom
[   5.5262 ] [................................................] 100%
[   5.5279 ] Sending bct_mb1
[   5.5322 ] [................................................] 100%
[   5.5361 ] Sending bct_mem
[   5.5857 ] [................................................] 100%
[   5.6602 ]
[   5.6603 ] Generating blob
[   5.6620 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194.bin
[   5.6639 ]
[   5.6656 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --appendsigheader blob_nvtboot_recovery_cpu_t194.bin zerosbk
[   5.6671 ] adding BCH for blob_nvtboot_recovery_cpu_t194.bin
[   5.6756 ]
[   5.6777 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.6796 ] Assuming zero filled SBK key
[   5.6807 ]
[   5.6828 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[   5.6891 ]
[   5.6911 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194.bin
[   5.6930 ]
[   5.6949 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --appendsigheader blob_nvtboot_recovery_t194.bin zerosbk
[   5.6965 ] adding BCH for blob_nvtboot_recovery_t194.bin
[   5.7014 ]
[   5.7037 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.7054 ] Assuming zero filled SBK key
[   5.7062 ]
[   5.7082 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_sigheader.bin.encrypt blob_nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[   5.7127 ]
[   5.7148 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr.bin
[   5.7165 ]
[   5.7179 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr.bin zerosbk
[   5.7195 ] Header already present for blob_preboot_c10_prod_cr.bin
[   5.7203 ]
[   5.7227 ] tegrasign_v2 --key None --list blob_preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.7246 ] Assuming zero filled SBK key
[   5.7251 ]
[   5.7270 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_sigheader.bin.encrypt blob_preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.7293 ]
[   5.7313 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr.bin
[   5.7331 ]
[   5.7349 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr.bin zerosbk
[   5.7363 ] Header already present for blob_mce_c10_prod_cr.bin
[   5.7395 ]
[   5.7416 ] tegrasign_v2 --key None --list blob_mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.7434 ] Assuming zero filled SBK key
[   5.7442 ]
[   5.7463 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_sigheader.bin.encrypt blob_mce_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.7505 ]
[   5.7527 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr.bin
[   5.7546 ]
[   5.7563 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr.bin zerosbk
[   5.7580 ] adding BCH for blob_mts_c10_prod_cr.bin
[   5.8112 ]
[   5.8131 ] tegrasign_v2 --key None --list blob_mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.8148 ] Assuming zero filled SBK key
[   5.8212 ]
[   5.8233 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_sigheader.bin.encrypt blob_mts_c10_prod_cr_sigheader.bin.hash zerosbk
[   5.8556 ]
[   5.8573 ] tegrahost_v2 --chip 0x19 --align blob_bpmp_t194.bin
[   5.8593 ]
[   5.8611 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --appendsigheader blob_bpmp_t194.bin zerosbk
[   5.8630 ] adding BCH for blob_bpmp_t194.bin
[   5.8831 ]
[   5.8851 ] tegrasign_v2 --key None --list blob_bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.8868 ] Assuming zero filled SBK key
[   5.8890 ]
[   5.8911 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp_t194_sigheader.bin.encrypt blob_bpmp_t194_sigheader.bin.hash zerosbk
[   5.9077 ]
[   5.9095 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00.dtb
[   5.9113 ]
[   5.9129 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --appendsigheader blob_tegra194-a02-bpmp-p3668-a00.dtb zerosbk
[   5.9148 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00.dtb
[   5.9213 ]
[   5.9235 ] tegrasign_v2 --key None --list blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   5.9252 ] Assuming zero filled SBK key
[   5.9259 ]
[   5.9277 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.hash zerosbk
[   5.9326 ]
[   5.9347 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194.bin
[   5.9366 ]
[   5.9381 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --appendsigheader blob_spe_t194.bin zerosbk
[   5.9398 ] adding BCH for blob_spe_t194.bin
[   5.9436 ]
[   5.9458 ] tegrasign_v2 --key None --list blob_spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   5.9475 ] Assuming zero filled SBK key
[   5.9484 ]
[   5.9505 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_sigheader.bin.encrypt blob_spe_t194_sigheader.bin.hash zerosbk
[   5.9544 ]
[   5.9564 ] tegrahost_v2 --chip 0x19 --align blob_tos-trusty_t194.img
[   5.9583 ]
[   5.9601 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --appendsigheader blob_tos-trusty_t194.img zerosbk
[   5.9618 ] adding BCH for blob_tos-trusty_t194.img
[   5.9729 ]
[   5.9746 ] tegrasign_v2 --key None --list blob_tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[   5.9761 ] Assuming zero filled SBK key
[   5.9770 ]
[   5.9791 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-trusty_t194_sigheader.img.encrypt blob_tos-trusty_t194_sigheader.img.hash zerosbk
[   5.9887 ]
[   5.9908 ] tegrahost_v2 --chip 0x19 --align blob_eks.img
[   5.9927 ]
[   5.9943 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --appendsigheader blob_eks.img zerosbk
[   5.9959 ] adding BCH for blob_eks.img
[   5.9963 ]
[   5.9988 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[   6.0005 ] Assuming zero filled SBK key
[   6.0009 ]
[   6.0031 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   6.0051 ]
[   6.0073 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-all-p3509-0000.dtb
[   6.0092 ]
[   6.0112 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --appendsigheader blob_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   6.0127 ] adding BCH for blob_tegra194-p3668-all-p3509-0000.dtb
[   6.0203 ]
[   6.0227 ] tegrasign_v2 --key None --list blob_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   6.0245 ] Assuming zero filled SBK key
[   6.0254 ]
[   6.0277 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   6.0337 ]
[   6.0362 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[   6.0379 ] number of images in blob are 11
[   6.0384 ] blobsize is 5723960
[   6.0388 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 260032
[   6.0437 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 130928
[   6.0458 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[   6.0483 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 143200
[   6.0502 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[   6.0514 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt of size 856352
[   6.0514 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 172448
[   6.0514 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 94960
[   6.0515 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt of size 402368
[   6.0515 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[   6.0515 ] Added binary blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt of size 203920
[   6.0515 ]
[   6.0516 ] Sending bootloader and pre-requisite binaries
[   6.0530 ] tegrarcm_v2 --download blob blob.bin
[   6.0544 ] Applet version 01.00.0000
[   6.0737 ] Sending blob
[   6.0738 ] [................................................] 100%
[   6.9201 ]
[   6.9228 ] tegrarcm_v2 --boot recovery
[   6.9246 ] Applet version 01.00.0000
[   6.9457 ]
[   7.9494 ] tegrarcm_v2 --isapplet
[   8.3034 ]
[   8.3052 ] tegrarcm_v2 --ismb2
[   8.3252 ]
[   8.3344 ] tegradevflash_v2 --iscpubl
[   8.3364 ] Bootloader version 01.00.0000
[   8.3387 ] Bootloader version 01.00.0000
[   8.3398 ]
[   8.3399 ] Retrieving storage infomation
[   8.3419 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[   8.3433 ] Applet is not running on device. Continue with Bootloader
[   8.3784 ]
[   8.3801 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[   8.3819 ] Bootloader version 01.00.0000
[   8.3974 ] Saved platform info in storage_info.bin
[   8.3992 ]
[   8.3993 ] Flashing the device
[   8.4009 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[   8.4035 ]
[   8.4053 ] tegradevflash_v2 --pt flash.xml.bin --create
[   8.4072 ] Bootloader version 01.00.0000
[   8.4093 ] Erasing spi: 0 ......... [Done]
[  64.4160 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin
[  64.4166 ] [................................................] 100%

[  64.5332 ] Erasing sdmmc_user: 3 ......... [Done]
[  65.4382 ] Writing partition master_boot_record with mbr_1_3.bin
[  65.4387 ] [................................................] 100%
[  65.4407 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[  65.4474 ] [................................................] 100%
[  65.4494 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[  65.4692 ] [................................................] 100%

[  65.4903 ] Writing partition mb1 with mb1_t194_prod_sigheader.bin.encrypt
[  65.4908 ] [................................................] 100%
[  65.5000 ] Writing partition mb1_b with mb1_t194_prod_sigheader.bin.encrypt
[  67.0858 ] [................................................] 100%
[  67.0956 ] Writing partition spe-fw with spe_t194_sigheader.bin.encrypt
[  68.6824 ] [................................................] 100%
[  68.6872 ] Writing partition spe-fw_b with spe_t194_sigheader.bin.encrypt
[  69.2998 ] [................................................] 100%
[  69.3046 ] Writing partition mb2 with nvtboot_t194_sigheader.bin.encrypt
[  69.9156 ] [................................................] 100%
[  69.9226 ] Writing partition mb2_b with nvtboot_t194_sigheader.bin.encrypt
[  71.0175 ] [................................................] 100%
[  71.0246 ] Writing partition mts-preboot with preboot_c10_prod_cr_sigheader.bin.encrypt
[  72.1193 ] [................................................] 100%
[  72.1218 ] Writing partition mts-preboot_b with preboot_c10_prod_cr_sigheader.bin.encrypt
[  72.2843 ] [................................................] 100%
[  72.2866 ] Writing partition mts-mce with mce_c10_prod_cr_sigheader.bin.encrypt
[  72.4493 ] [................................................] 100%
[  72.4553 ] Writing partition mts-mce_b with mce_c10_prod_cr_sigheader.bin.encrypt
[  73.3695 ] [................................................] 100%
[  73.3756 ] Writing partition mts-proper with mts_c10_prod_cr_sigheader.bin.encrypt
[  74.2894 ] [................................................] 100%
[  94.2373 ] Writing partition mts-proper_b with mts_c10_prod_cr_sigheader.bin.encrypt
[  96.0416 ] [................................................] 100%
[ 115.9845 ] Writing partition sc7 with warmboot_t194_prod_sigheader.bin.encrypt
[ 117.7897 ] [................................................] 100%
[ 117.7938 ] Writing partition sc7_b with warmboot_t194_prod_sigheader.bin.encrypt
[ 118.2170 ] [................................................] 100%
[ 118.2216 ] Writing partition SMD with slot_metadata.bin
[ 118.6450 ] [................................................] 100%
[ 118.6531 ] Writing partition SMD_b with slot_metadata.bin
[ 118.6616 ] [................................................] 100%
[ 118.6626 ] Writing partition xusb-fw with xusb_sil_rel_fw
[ 118.6712 ] [................................................] 100%
[ 118.6764 ] Writing partition xusb-fw_b with xusb_sil_rel_fw
[ 119.4682 ] [................................................] 100%
[ 119.4734 ] Writing partition cpu-bootloader with cboot_t194_sigheader.bin.encrypt
[ 120.2648 ] [................................................] 100%
[ 120.2812 ] Writing partition cpu-bootloader_b with cboot_t194_sigheader.bin.encrypt
[ 123.1034 ] [................................................] 100%
[ 123.1194 ] Writing partition bootloader-dtb with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 125.9413 ] [................................................] 100%
[ 125.9490 ] Writing partition bootloader-dtb_b with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 127.2445 ] [................................................] 100%
[ 127.2526 ] Writing partition BMP with bmp.blob
[ 128.5479 ] [................................................] 100%
[ 128.5619 ] Writing partition BMP_b with bmp.blob
[ 129.5166 ] [................................................] 100%
[ 129.5234 ] Writing partition secure-os with tos-trusty_t194_sigheader.img.encrypt
[ 130.4779 ] [................................................] 100%
[ 130.4928 ] Writing partition secure-os_b with tos-trusty_t194_sigheader.img.encrypt
[ 133.0345 ] [................................................] 100%
[ 133.0493 ] Writing partition eks with eks_sigheader.img.encrypt
[ 135.5911 ] [................................................] 100%
[ 135.5928 ] Writing partition eks_b with eks_sigheader.img.encrypt
[ 135.6394 ] [................................................] 100%
[ 135.6408 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt
[ 135.6874 ] [................................................] 100%
[ 135.6917 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt
[ 136.2152 ] [................................................] 100%
[ 136.2194 ] Writing partition rce-fw with camera-rtcpu-rce_sigheader.img.encrypt
[ 136.7414 ] [................................................] 100%
[ 136.7516 ] Writing partition rce-fw_b with camera-rtcpu-rce_sigheader.img.encrypt
[ 138.4815 ] [................................................] 100%
[ 138.4913 ] Writing partition bpmp-fw with bpmp_t194_sigheader.bin.encrypt
[ 140.2226 ] [................................................] 100%
[ 140.2558 ] Writing partition bpmp-fw_b with bpmp_t194_sigheader.bin.encrypt
[ 145.6537 ] [................................................] 100%
[ 145.6813 ] Writing partition bpmp-fw-dtb with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt
[ 151.0782 ] [................................................] 100%
[ 151.0867 ] Writing partition bpmp-fw-dtb_b with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt
[ 152.5268 ] [................................................] 100%
[ 152.5357 ] Writing partition VER with qspi_bootblob_ver.txt
[ 153.9762 ] [................................................] 100%
[ 153.9841 ] Writing partition VER_b with qspi_bootblob_ver.txt
[ 153.9923 ] [................................................] 100%
[ 153.9939 ] Writing partition master_boot_record with mbr_1_3.bin
[ 154.0023 ] [................................................] 100%
[ 154.0030 ] Writing partition APP with system.img
[ 154.0096 ] [................................................] 100%
[ 156.4894 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 156.5575 ] [................................................] 100%
[ 159.0042 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 159.0212 ] [................................................] 100%
[ 161.4017 ] Writing partition kernel-dtb with kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 161.4185 ] [................................................] 100%
[ 161.4252 ] Writing partition kernel-dtb_b with kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 161.4472 ] [................................................] 100%
[ 161.4539 ] Writing partition recovery with recovery_sigheader.img.encrypt
[ 161.4771 ] [................................................] 100%
[ 164.2402 ] Writing partition recovery-dtb with tegra194-p3668-all-p3509-0000.dtb_sigheader.rec.encrypt
[ 164.2602 ] [................................................] 100%
[ 164.2668 ] Writing partition kernel-bootctrl with kernel_bootctrl.bin
[ 164.2892 ] [................................................] 100%
[ 164.2977 ] Writing partition kernel-bootctrl_b with kernel_bootctrl.bin
[ 164.3111 ] [................................................] 100%
[ 164.3250 ]
[ 164.3268 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 164.3286 ] Bootloader version 01.00.0000
[ 164.3305 ] Writing partition BCT with br_bct_BR.bct
[ 164.3312 ] [................................................] 100%
[ 164.4745 ]
[ 164.4793 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 164.4813 ] Bootloader version 01.00.0000
[ 164.4834 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 164.4846 ] [................................................] 100%
[ 164.6894 ]
[ 164.6919 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 164.6942 ] Bootloader version 01.00.0000
[ 164.6969 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 164.6979 ] [................................................] 100%
[ 164.9039 ]
[ 164.9085 ] tegradevflash_v2 --write MEM_BCT mem_coldboot_sigheader.bct.encrypt
[ 164.9104 ] Bootloader version 01.00.0000
[ 164.9135 ] Writing partition MEM_BCT with mem_coldboot_sigheader.bct.encrypt
[ 164.9144 ] [................................................] 100%
[ 166.1763 ]
[ 166.1782 ] tegradevflash_v2 --write MEM_BCT_b mem_coldboot_sigheader.bct.encrypt
[ 166.1803 ] Bootloader version 01.00.0000
[ 166.1828 ] Writing partition MEM_BCT_b with mem_coldboot_sigheader.bct.encrypt
[ 166.1834 ] [................................................] 100%
[ 167.4453 ]
[ 167.4454 ] Flashing completed

[ 167.4454 ] Coldbooting the device
[ 167.4479 ] tegrarcm_v2 --ismb2
[ 167.4744 ]
[ 167.4763 ] tegradevflash_v2 --reboot coldboot
[ 167.4778 ] Bootloader version 01.00.0000
[ 167.4952 ]
*** The target t186ref has been flashed successfully. ***
Make the target filesystem available to the device and reset the board to boot from external external.

The command from this page is booting the rootfs from nvme only.

https://elinux.org/Jetson/L4T/Boot_From_External_Device#Use_NVMe_.2B_Xavier_NX_as_example

For nvme booting from cboot, please refer to

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E06K0HA

Thanks for your reply, I would try this.