Error while flashing NVIDIA Jetson AGX Xavier with NVIDIA SDK

I have attached the terminal log
SDKM_logs_JetPack_5.1.1_(rev._1)_Linux_for_Jetson_AGX_Xavier_modules_2023-06-06_14-12-02.zip (176.1 KB)

I am running Ubuntu 18.04 and have tried installing various versions of Jetpack (5.1 & 5.0.2).
I have also tried installing via the linux terminal and run into a different error.
I have also tested different PSU (19V and 12V).

Filtering by errors I see these messages in the console log:
17:33:13 ERROR: Flash Jetson Linux - flash: Board ID(2888) FAB(400) sku(0001) revision(J.0)

17:33:13 ERROR: Flash Jetson Linux - flash: 39726 blocks

17:33:13 ERROR: Flash Jetson Linux - flash: gzip: /home/erel-ozen/nvidia/nvidia_sdk/JetPack_5.1.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/kernel/Image: not in gzip format

17:33:17 ERROR: Flash Jetson Linux - flash: 56170 blocks

17:33:18 ERROR: Flash Jetson Linux - flash: 20 bytes copied, 8.5812e-05 s, 233 kB/s

17:34:00 ERROR: Flash Jetson Linux - flash: 67108864 bytes (67 MB, 64 MiB) copied, 0.140309 s, 478 MB/s

17:34:15 ERROR: Flash Jetson Linux - flash: command terminated with error

17:34:15 SUMMARY: Flash Jetson Linux - flash: First Error: Installation failed.

Hi,

are you using the official DevKit? Or a custom carrier board?
What storage device is in use, is it eMMC?

Yes, I am using the official DevKit (Product number 945-82972-0000-000). It should be equipped with the native eMMC storage device.

Is it a brand new one or it is a used one?

It’s not brand new, I believe it has been used by another team in the past.

What BSP version was flashed by another team in the past?

Some really old AGX Xavier (16GB/8GB Xavier AGX) had been deprecated and not able to work in new jetpack. Need to make sure you are not using that kind.

I’m not too sure on the BSP version. I thought about the version compatibility yesterday though so I tried flashing it with jetpack 4.6.2, 5.0.2, and 5.1.1. To my knowledge, the AGX I am working with is 32 GB.

Was jp4.6.2 able to flash the board?

No, 4.6.2 caused the same error I believe as the other versions.

I also tried flashing it without using the sdkmanager and instead used the command line but was met with different errors in that process as well.

  1. What kind of errors when you use manual flash?

  2. Dump the device side log as this page is telling. You only dumped the host side log so far.
    NVIDIA Jetson Xavier - Serial Console - RidgeRun Developer Connection

I will re-try flashing the AGX with the manual flash and attach both terminal log and device side log. Standby.

Just manually tried to flash the AGX. Attached are the host side and device side logs.

Host:

###############################################################################
# L4T BSP Information:
# R35 , REVISION: 3.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-xavier-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/erel-ozen/Desktop/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.0133 ] Generating RCM messages
[   0.0144 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0148 ] Header already present for /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0202 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0204 ] Assuming zero filled SBK key
[   0.0222 ] tegrasign_v3.py --file /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0224 ] Assuming zero filled SBK key
[   0.0278 ] Warning: pub_key.key is not found
[   0.0287 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0331 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0370 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0375 ] RCM 0 is saved as rcm_0.rcm
[   0.0395 ] RCM 1 is saved as rcm_1.rcm
[   0.0398 ] RCM 2 is saved as rcm_2.rcm
[   0.0398 ] List of rcm files are saved in rcm_list.xml
[   0.0398 ] 
[   0.0398 ] Signing RCM messages
[   0.0423 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0424 ] Assuming zero filled SBK key
[   0.0456 ] Warning: pub_key.key is not found
[   0.0449 ] Copying signature to RCM mesages
[   0.0466 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0475 ] Boot Rom communication
[   0.0493 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0498 ] RCM version 0X190001
[   0.8690 ] Boot Rom communication completed
[   2.8884 ] tegrarcm_v2 --isapplet
[   2.8905 ] Applet version 01.00.0000
[   4.5271 ] tegrarcm_v2 --ismb2
[   6.1703 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   6.1761 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   6.1784 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   6.1863 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.1865 ] Assuming zero filled SBK key
[   6.1878 ] Warning: pub_key.key is not found
[   6.1891 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   6.1925 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   6.1930 ] Applet version 01.00.0000
[   7.8264 ] Sending mb2
[   7.8265 ] [................................................] 100%
[   7.8436 ] tegrarcm_v2 --boot recovery
[   7.8441 ] Applet version 01.00.0000
[  10.4813 ] tegrarcm_v2 --isapplet
[  12.1263 ] tegrarcm_v2 --ismb2
[  12.1268 ] MB2 Applet version 01.00.0000
[  13.7608 ] tegrarcm_v2 --ismb2
[  13.7613 ] MB2 Applet version 01.00.0000
[  17.7537 ] Retrieving board information
[  17.7556 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[  17.7560 ] MB2 Applet version 01.00.0000
[  19.1896 ] Saved platform info in chip_info.bin
[  19.1937 ] Chip minor revision: 2
[  19.1938 ] Bootrom revision: 0x7
[  19.1938 ] Ram code: 0x0
[  19.1939 ] Chip sku: 0xd0
[  19.1939 ] Chip Sample: non es
[  19.1946 ] Retrieving EEPROM data
[  19.1946 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/cvm.bin
[  19.1953 ] MB2 Applet version 01.00.0000
[  20.6217 ] Saved platform info in /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/cvm.bin
[  20.6616 ] Rebooting to recovery mode
[  20.6634 ] tegrarcm_v2 --ismb2
[  20.6638 ] MB2 Applet version 01.00.0000
[  22.0872 ] Rebooting to recovery mode
[  22.0892 ] tegrarcm_v2 --reboot recovery
[  22.0898 ] MB2 Applet version 01.00.0000
Board ID(2888) FAB(400) sku(0001) revision(J.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p2888-a04.dtb ...
Copy /home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb to /home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
copying bctfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p2888.cfg)... done.
copying bctfile1(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying uphy_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)... done.
copying minratchet_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg)... done.
copying device_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-sdmmc.cfg)... done.
copying misc_cold_boot_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg)... done.
copying gpioint_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)... done.
copying pmic_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg)... done.
copying pmc_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)... done.
copying prod_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)... done.
copying scr_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying scr_cold_boot_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying bootrom_config(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)... done.
copying dev_params(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-sdmmc.cfg)... done.
copying dev_params_b(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-sdmmc.cfg)... done.
Existing bootloader(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
~/Desktop/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Desktop/Linux_for_Tegra/bootloader ~/Desktop/Linux_for_Tegra
39726 blocks

gzip: /home/erel-ozen/Desktop/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.104-tegra
56170 blocks
Making Recovery image...
copying recdtbfile(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 8.2809e-05 s, 242 kB/s
Existing sosfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p2888-a04_lz4.dtb) reused.
Existing scefile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p2888-0001-p2822-0000.dtb to rootfs... done.
Making system.img... 
	Setting "FDT /boot/dtb/kernel_tegra194-p2888-0001-p2822-0000.dtb" successfully in the extlinux.conf...done.
	populating rootfs from /home/erel-ozen/Desktop/Linux_for_Tegra/rootfs ... 	populating /boot/extlinux/extlinux.conf ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Not signing of kernel-dtb
Existing tbcfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.157331 s, 427 MB/s
	Sync'ing esp.img ... done.
copying tbcdtbfile(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
copying cfgfile(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t194_sdmmc.xml) to flash.xml... done.
done.
Existing flasher(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-dual-imx274-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3326-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3331-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3333-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx185-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx390-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0005-overlay.dtbo)... done.
copying overlay_dtb(/home/erel-ozen/Desktop/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000-overlay.dtbo)... done.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p2888.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0x9190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0005-overlay.dtbo,tegra194-p2888-0001-p2822-0000-overlay.dtbo,  --bldtb tegra194-p2888-0001-p2822-0000.dtb --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-sdmmc.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-sdmmc.cfg,tegra194-br-bct_b-sdmmc.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-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-a04_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p2888-0001-p2822-0000.dtb"   --secondary_gpt_backup  --bct_backup  --boot_chain A 
saving flash command in /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/erel-ozen/Desktop/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.0160 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0162 ] Assuming zero filled SBK key
[   0.0021 ] Generating RCM messages
[   0.0041 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0046 ] Header already present for mb1_t194_prod.bin
[   0.0228 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0230 ] Assuming zero filled SBK key
[   0.0250 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0251 ] Assuming zero filled SBK key
[   0.0267 ] Warning: pub_key.key is not found
[   0.0142 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0178 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0219 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.0224 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0233 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0233 ] 
[   0.0253 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0258 ] RCM 0 is saved as rcm_0.rcm
[   0.0278 ] RCM 1 is saved as rcm_1.rcm
[   0.0278 ] RCM 2 is saved as rcm_2.rcm
[   0.0278 ] List of rcm files are saved in rcm_list.xml
[   0.0278 ] 
[   0.0278 ] Signing RCM messages
[   0.0439 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0440 ] Assuming zero filled SBK key
[   0.0466 ] Warning: pub_key.key is not found
[   0.0324 ] Copying signature to RCM mesages
[   0.0341 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0355 ] odmdata (to decode) = 152633344
[   0.0355 ] Odmdata strings: PCIE_XBAR_4_1_0_1_2,UFS_x1_L1,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.0355 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_4_1_0_1_2'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_x1_L1'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']}
[   0.0365 ] bpmp_dtb is compressed; decompressing...
[   0.0365 ] lz4c -df tegra194-a02-bpmp-p2888-a04_lz4.dtb tegra194-a02-bpmp-p2888-a04_lz4_with_odm.dtb
[   0.0388 ] Successfully decoded 989312 bytes                                              
[   0.0388 ] 
[   0.2089 ] Re-compressing updated bpmp_dtb
[   0.2089 ] lz4c -zf tegra194-a02-bpmp-p2888-a04_lz4_with_odm.dtb tegra194-a02-bpmp-p2888-a04_lz4.dtb
[   0.2110 ] Compressed 989271 bytes into 86508 bytes ==> 8.74%                             
[   0.2110 ] 
[   0.5790 ] Concatenating L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0005-overlay.dtbo,tegra194-p2888-0001-p2822-0000-overlay.dtbo to tegra194-p2888-0001-p2822-0000_with_odm_overlay.dtb
[   0.5796 ] Parsing partition layout
[   0.5808 ] tegraparser_v2 --pt flash.xml.tmp
[   0.5827 ] Reading ramcode from backup chip_info.bin file
[   0.5828 ] RAMCODE Read from Device: 0

[   0.5828 ] Disable BPMP dtb trim, using default dtb
[   0.5828 ] 
[   0.5829 ] Creating list of images to be signed
[   0.5848 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.5854 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   0.5860 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   0.5861 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   0.5881 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   0.5883 ] adding BCH for spe_t194_aligned.bin
[   0.5902 ] adding BCH for nvtboot_t194_aligned.bin
[   0.5918 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.5953 ] adding BCH for spe_t194_aligned.bin
[   0.5956 ] adding BCH for nvtboot_t194_aligned.bin
[   0.5973 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.6006 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.6009 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.6060 ] adding BCH for nvdisp-init_aligned.bin
[   0.6592 ] adding BCH for tegra194-p2888-0001-p2822-0000_aligned.dtb
[   0.7060 ] adding BCH for tos-optee_t194_aligned.img
[   0.7139 ] adding BCH for eks_t194_aligned.img
[   0.7268 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.7280 ] adding BCH for tegra194-a02-bpmp-p2888-a04_lz4_aligned.dtb
[   0.7426 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.7443 ] adding BCH for adsp-fw_aligned.bin
[   0.7524 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.7582 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.7587 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.7643 ] adding BCH for nvdisp-init_aligned.bin
[   0.8179 ] adding BCH for tegra194-p2888-0001-p2822-0000_aligned.dtb
[   0.8651 ] adding BCH for tos-optee_t194_aligned.img
[   0.8732 ] adding BCH for eks_t194_aligned.img
[   0.8867 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.8880 ] adding BCH for tegra194-a02-bpmp-p2888-a04_lz4_aligned.dtb
[   0.9032 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.9051 ] adding BCH for adsp-fw_aligned.bin
[   0.9130 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.9195 ] Filling MB1 storage info
[   0.9195 ] Parsing dev params for multi chains
[   0.9196 ] Generating br-bct
[   0.9217 ] Performing cfg overlay
[   0.9217 ] ['tegra194-mb1-bct-memcfg-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[   0.9220 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg
[   0.9571 ] Updating dev and MSS params in BR BCT
[   0.9571 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.0237 ] Updating bl info
[   1.0258 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   1.0272 ] Generating br-bct
[   1.0292 ] Performing cfg overlay
[   1.0292 ] ['/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg']
[   1.0292 ] Updating dev and MSS params in BR BCT
[   1.0293 ] tegrabct_v2 --dev_param tegra194-br-bct_b-sdmmc.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.0987 ] Updating bl info
[   1.1009 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   1.1024 ] Generating BCT backup image
[   1.1025 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   1.1032 ] 32768+0 records in
[   1.1306 ] 32768+0 records out
[   1.1306 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0269449 s, 1.2 MB/s
[   1.1306 ] 
[   1.1306 ] Concatenating BCT for chain A to bct_backup.img

[   1.1307 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   1.1315 ] 2888+0 records in
[   1.1335 ] 2888+0 records out
[   1.1336 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00175643 s, 1.6 MB/s
[   1.1336 ] 
[   1.1336 ] Concatenating BCT for chain B to bct_backup.img

[   1.1336 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   1.1342 ] 2888+0 records in
[   1.1363 ] 2888+0 records out
[   1.1363 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00185484 s, 1.6 MB/s
[   1.1363 ] 
[   1.1364 ] Generating signatures
[   1.1524 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   1.1525 ] Assuming zero filled SBK key
[   1.2046 ] Warning: pub_key.key is not found
[   1.1903 ] Parsing dev params for multi chains
[   1.1904 ] Generating br-bct
[   1.1921 ] Performing cfg overlay
[   1.1921 ] ['/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg']
[   1.1921 ] Updating dev and MSS params in BR BCT
[   1.1922 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.2563 ] Updating bl info
[   1.2584 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.2599 ] Updating smd info
[   1.2619 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   1.2626 ] Updating Odmdata
[   1.2646 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   1.2653 ] Signing BCT
[   1.2653 ] Get Signed section of bct
[   1.2672 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   1.2841 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   1.2843 ] Assuming zero filled SBK key
[   1.2855 ] Warning: pub_key.key is not found
[   1.2713 ] Updating BCT with signature
[   1.2732 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   1.2740 ] Generating br-bct
[   1.2759 ] Performing cfg overlay
[   1.2760 ] ['/home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg']
[   1.2760 ] Updating dev and MSS params in BR BCT
[   1.2760 ] tegrabct_v2 --dev_param tegra194-br-bct_b-sdmmc.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.3404 ] Updating bl info
[   1.3424 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.3439 ] Updating smd info
[   1.3457 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   1.3464 ] Updating Odmdata
[   1.3482 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   1.3490 ] Signing BCT
[   1.3490 ] Get Signed section of bct
[   1.3509 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   1.3678 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   1.3680 ] Assuming zero filled SBK key
[   1.3692 ] Warning: pub_key.key is not found
[   1.3549 ] Updating BCT with signature
[   1.3568 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   1.3577 ] Generating BCT backup image
[   1.3577 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   1.3583 ] 32768+0 records in
[   1.3856 ] 32768+0 records out
[   1.3856 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0269407 s, 1.2 MB/s
[   1.3856 ] 
[   1.3856 ] Concatenating BCT for chain A to bct_backup.img

[   1.3857 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   1.3864 ] 2888+0 records in
[   1.3884 ] 2888+0 records out
[   1.3884 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00172547 s, 1.7 MB/s
[   1.3884 ] 
[   1.3885 ] Concatenating BCT for chain B to bct_backup.img

[   1.3885 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   1.3891 ] 2888+0 records in
[   1.3911 ] 2888+0 records out
[   1.3911 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00182822 s, 1.6 MB/s
[   1.3911 ] 
[   1.3911 ] Generating coldboot mb1-bct
[   1.3933 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   1.3939 ] MB1-BCT version: 0x1

[   1.3942 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   1.3945 ] Added Platform Config 0 data with size :- 3168

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

[   1.4033 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   1.4036 ] Added Platform Config 2 data with size :- 24

[   1.4037 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg 
[   1.4039 ] File read failed
[   1.4040 ] File read failed
[   1.4040 ] Added Platform Config 4 data with size :- 348

[   1.4041 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   1.4044 ] Added Platform Config 3 data with size :- 92

[   1.4045 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   1.4047 ] Added Platform Config 5 data with size :- 68

[   1.4048 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   1.4050 ] Added Platform Config 7 data with size :- 392
[   1.4050 ] 
[   1.4050 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   1.4050 ] Added Platform Config 8 data with size :- 12
[   1.4050 ] 
[   1.4050 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   1.4050 ] Added Platform Config 9 data with size :- 32
[   1.4050 ] 
[   1.4050 ] Updating mb1-bct with firmware information
[   1.4069 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   1.4078 ] Updating mb1-bct with storage information
[   1.4096 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   1.4104 ] Updating mb1-bct with ratchet information
[   1.4123 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   1.4129 ] FwIndex: 1, MinRatchetLevel: 0
[   1.4131 ] FwIndex: 2, MinRatchetLevel: 0
[   1.4131 ] FwIndex: 3, MinRatchetLevel: 0
[   1.4131 ] FwIndex: 4, MinRatchetLevel: 0
[   1.4131 ] FwIndex: 5, MinRatchetLevel: 0
[   1.4131 ] FwIndex: 6, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 7, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 11, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 12, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 13, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 14, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 15, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 16, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 17, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 18, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 19, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 30, MinRatchetLevel: 0
[   1.4132 ] FwIndex: 31, MinRatchetLevel: 0
[   1.4132 ] 
[   1.4152 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   1.4177 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   1.4184 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   1.4353 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.4355 ] Assuming zero filled SBK key
[   1.4368 ] Warning: pub_key.key is not found
[   1.4245 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   1.4255 ] Generating recovery mb1-bct
[   1.4274 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   1.4280 ] MB1-BCT version: 0x1

[   1.4283 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   1.4286 ] Added Platform Config 0 data with size :- 3168

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

[   1.4372 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   1.4375 ] Added Platform Config 2 data with size :- 24

[   1.4377 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg 
[   1.4379 ] File read failed
[   1.4379 ] File read failed
[   1.4380 ] Added Platform Config 4 data with size :- 348

[   1.4381 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   1.4382 ] Added Platform Config 3 data with size :- 92
[   1.4382 ] 
[   1.4382 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   1.4382 ] Added Platform Config 5 data with size :- 68
[   1.4382 ] 
[   1.4382 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   1.4382 ] Added Platform Config 7 data with size :- 392
[   1.4382 ] 
[   1.4382 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   1.4382 ] Added Platform Config 8 data with size :- 12
[   1.4382 ] 
[   1.4382 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   1.4382 ] Added Platform Config 9 data with size :- 32
[   1.4382 ] 
[   1.4383 ] Updating mb1-bct with firmware information
[   1.4402 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   1.4411 ] Updating mb1-bct with storage information
[   1.4430 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   1.4439 ] Updating mb1-bct with ratchet information
[   1.4458 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   1.4465 ] FwIndex: 1, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 2, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 3, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 4, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 5, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 6, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 7, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 11, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 12, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 13, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 14, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 15, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 16, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 17, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 18, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 19, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 30, MinRatchetLevel: 0
[   1.4468 ] FwIndex: 31, MinRatchetLevel: 0
[   1.4469 ] 
[   1.4487 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   1.4513 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   1.4521 ] adding BCH for mb1_bct_MB1_aligned.bct
[   1.4690 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.4692 ] Assuming zero filled SBK key
[   1.4705 ] Warning: pub_key.key is not found
[   1.4583 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   1.4595 ] Generating coldboot mem-bct
[   1.4613 ] tegrabct_v2 --chip 0x19 0 --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --membct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_1.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_2.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_3.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_4.bct
[   1.4620 ] Packing sdram param for instance[0]
[   1.5291 ] Packing sdram param for instance[1]
[   1.5292 ] Packing sdram param for instance[2]
[   1.5293 ] Packing sdram param for instance[3]
[   1.5294 ] Packing sdram param for instance[4]
[   1.5294 ] Packing sdram param for instance[5]
[   1.5294 ] Packing sdram param for instance[6]
[   1.5294 ] Packing sdram param for instance[7]
[   1.5294 ] Packing sdram param for instance[8]
[   1.5294 ] Packing sdram param for instance[9]
[   1.5294 ] Packing sdram param for instance[10]
[   1.5294 ] Packing sdram param for instance[11]
[   1.5294 ] Packing sdram param for instance[12]
[   1.5294 ] Packing sdram param for instance[13]
[   1.5294 ] Packing sdram param for instance[14]
[   1.5294 ] Packing sdram param for instance[15]
[   1.5294 ] 
[   1.5294 ] Getting sector size from pt
[   1.5314 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   1.5321 ] BlockSize read from layout is 200

[   1.5338 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_1.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_2.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_3.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_4.bct
[   1.5345 ] adding BCH for /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_1.bct
[   1.5382 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   1.5395 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   1.5401 ] Header already present for mem_coldboot_aligned.bct
[   1.5564 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.5565 ] Assuming zero filled SBK key
[   1.5578 ] Warning: pub_key.key is not found
[   1.5443 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   1.5454 ] Generating recovery mem-bct
[   1.5473 ] tegrabct_v2 --chip 0x19 0 --sdram /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1.cfg --membct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_1.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_2.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_3.bct /home/erel-ozen/Desktop/Linux_for_Tegra/bootloader/9786/tmpf4ifrkel1_4.bct
[   1.5479 ] Packing sdram param for instance[0]
[   1.6118 ] Packing sdram param for instance[1]
[   1.6119 ] Packing sdram param for instance[2]
[   1.6120 ] Packing sdram param for instance[3]
[   1.6121 ] Packing sdram param for instance[4]
[   1.6122 ] Packing sdram param for instance[5]
[   1.6124 ] Packing sdram param for instance[6]
[   1.6124 ] Packing sdram param for instance[7]
[   1.6124 ] Packing sdram param for instance[8]
[   1.6124 ] Packing sdram param for instance[9]
[   1.6124 ] Packing sdram param for instance[10]
[   1.6124 ] Packing sdram param for instance[11]
[   1.6124 ] Packing sdram param for instance[12]
[   1.6124 ] Packing sdram param for instance[13]
[   1.6124 ] Packing sdram param for instance[14]
[   1.6124 ] Packing sdram param for instance[15]
[   1.6124 ] 
[   1.6145 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   1.6160 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   1.6166 ] adding BCH for mem_rcm_aligned.bct
[   1.6342 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.6344 ] Assuming zero filled SBK key
[   1.6356 ] Warning: pub_key.key is not found
[   1.6234 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   1.6246 ] Copying signatures
[   1.6266 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   1.7972 ] Boot Rom communication
[   1.7994 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   1.8002 ] BR_CID: 0x88021911644578840400000015010080
[   4.1029 ] RCM version 0X190001
[   4.9191 ] Boot Rom communication completed
[   6.9417 ] tegrarcm_v2 --isapplet
[   6.9442 ] Applet version 01.00.0000
[   8.5800 ] Sending BCTs
[   8.5820 ] 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
[   8.5827 ] Applet version 01.00.0000
[  10.2207 ] Sending bct_bootrom
[  10.2207 ] [................................................] 100%
[  10.2218 ] Sending bct_mb1
[  10.2268 ] [................................................] 100%
[  10.2303 ] Sending bct_mem
[  10.2749 ] [................................................] 100%
Error: Return value 8
Command 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
Failed flashing t186ref.

Device:

Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB3, 10:29:36

Press CTRL-A Z for help on special keys

��
[0118.573] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 1 from HW fuses.
[0118.581] I> MB1 (prd-version: 2.6.0.0-t194-41334769-cab45716)
[0118.586] I> Boot-mode: Platform RCM
[0118.590] I> Platform: Silicon
[0118.592] I> Chip revision : A02 
[0118.595] I> Bootrom patch version : 7 (correctly patched)
[0118.601] I> ATE fuse revision : 0x200
[0118.604] I> Ram repair fuse : 0x0
[0118.607] I> Ram Code : 0x0
[0118.610] I> rst_source: 0x0, rst_level: 0x0
[0118.615] I> USB configuration success
[0125.524] I> mb2 image downloaded
[0127.160] I> Recovery boot mode 0
[0127.166] I> UPHY full init done
[0127.173] I> MB1 done

[0127.178] I> Welcome to MB2(TBoot-BPMP) Applet (version: default.t194-mobile-d394e178)
[0127.185] I> DMA Heap @ [0x40020000 - 0x40065800]
[0127.190] I> Default Heap @ [0xd486400 - 0xd48a400]
[0127.194] W> Profiler not initialized
[0127.250] I> sdmmc DDR50 mode
[0127.255] E> SPI_FLASH: Invalid value device id: 7.
[0127.259] I> QSPI Flash is not present.
[0127.266] E> CLK_RST: instance 6 not found in module 44.
[0127.271] E> MPhy CAR configuration failed error = 1747992077
[0127.277] E> UFS initialization failed
[0127.280] I> UFS is not present
[0127.286] I> Found 17 partitions in SDMMC_BOOT (instance 3)
[0127.295] I> Found 42 partitions in SDMMC_USER (instance 3)
[0127.301] W> Profiler not initialized
[0127.304] I> Entering 3p server
[0127.307] I> USB configuration success
[0136.875] I> Populate chip info
[0138.307] I> Populate eeprom info
[0138.311] I> Populate eeprom info for module cvm
[0138.316]  > DEVICE_PROD: device prod is not initialized.
[0141.422] I> Rebooting : reboot-recovery


[0141.427] I> Reset to recovery mode
��
[0059.474] W> RATCHET: MB1 binary ratchet value 4 is larger than ratchet level 1 from HW fuses.
[0059.483] I> MB1 (prd-version: 2.6.0.0-t194-41334769-cab45716)
[0059.488] I> Boot-mode: RCM
[0059.491] I> Platform: Silicon
[0059.493] I> Chip revision : A02 
[0059.496] I> Bootrom patch version : 7 (correctly patched)
[0059.501] I> ATE fuse revision : 0x200
[0059.505] I> Ram repair fuse : 0x0
[0059.508] I> Ram Code : 0x0
[0059.511] I> rst_source: 0xb, rst_level: 0x1
[0059.516] I> USB configuration success
[0064.758] I> bct_bootrom image downloaded
[0064.767] W> PROD_CONFIG: device prod data is empty in MB1 BCT.
[0064.775] I> Temperature = 34000
[0064.778] W> Skipping boost for clk: BPMP_CPU_NIC
[0064.782] W> Skipping boost for clk: BPMP_APB
[0064.786] W> Skipping boost for clk: AXI_CBB
[0064.790] W> Skipping boost for clk: AON_CPU_NIC
[0064.794] W> Skipping boost for clk: CAN1
[0064.798] W> Skipping boost for clk: CAN2
[0064.802] I> Boot-device: SDMMC (instance: 3)
[0064.807] I> bct_mb1 image downloaded
[0064.816] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0064.824] W>  Thermal config not found in BCT
[0064.832] W>  MEMIO rail config not found in BCT
[0064.844] C> Task 0x4d failed (err: 0x8c8c011c)
[0064.849] E> Top caller module: MB1_MSS, error module: MB1_MSS, reason: 0x1c, aux_info: 0x01
[0064.857] C> Error: 0x8c8c011c
[0064.859] C> MB1(2.6.0.0-t194-41334769-cab45716) BIT boot status dump :
00000000001111111110010000000000011110111111000000111111111111110011100011111000000000000000000000000
[0064.890] I> Reset to recovery mode

@erel.ozen

The flash log Board ID(2888) FAB(400) sku(0001) indicates this is 16GB Xavier module. Which is not supported in latest jetpack anymore.

What version of jetpack do you recommend I use then? What is the latest version of Jetpack that I would be able to install?

Edit: I just tried flashing L4T R32.4.4 (JetPack 4.4.1) and was met with the same error as before.

Is it possible that this is because of a hardware defect?

Hi,

Please try to flash with something like rel-32.2. But honestly, I don’t suggest to use this module anymore as this is EOL. You should try to use latest xavier module.

Okay, let me try this. Is there anything else you recommend I do.? Any possibilities for a hardware defect?

I just tried flashing the newest L4T via command line. Getting same error as before. Attached host side log.

erelozen@ULOK102:~/Desktop/AGX$ cd Linux_for_Tegra/
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ sudo ./apply_binaries.sh 
Using rootfs directory of: /home/erelozen/Desktop/AGX/Linux_for_Tegra/rootfs
Installing extlinux.conf into /boot/extlinux in target rootfs
/home/erelozen/Desktop/AGX/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
Root file system directory is /home/erelozen/Desktop/AGX/Linux_for_Tegra/rootfs
Copying public debian packages to rootfs
Skipping installation of nvidia-l4t-dgpu-apt-source_35.3.1-20230319081403_arm64.deb ....
Skipping installation of nvidia-l4t-dgpu-config_35.3.1-20230319081403_arm64.deb ....
Start L4T BSP package installation
QEMU binary is not available, looking for QEMU from host system
Found /usr/bin/qemu-aarch64-static
Installing QEMU binary in rootfs
~/Desktop/AGX/Linux_for_Tegra/rootfs ~/Desktop/AGX/Linux_for_Tegra
Installing BSP Debian packages in /home/erelozen/Desktop/AGX/Linux_for_Tegra/rootfs
(Reading database ... 147140 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_35.3.1-20230319081403_arm64.deb ...
Pre-installing... skip compatibility checking.
Unpacking nvidia-l4t-core (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Setting up nvidia-l4t-core (35.3.1-20230319081403) ...
(Reading database ... 147140 files and directories currently installed.)
Preparing to unpack .../jetson-gpio-common_2.1.1ubuntu1_arm64.deb ...
Unpacking jetson-gpio-common (2.1.1ubuntu1) over (2.1.1ubuntu1) ...
Preparing to unpack .../python3-jetson-gpio_2.1.1ubuntu1_arm64.deb ...
Unpacking python3-jetson-gpio (2.1.1ubuntu1) over (2.1.1ubuntu1) ...
Preparing to unpack .../python-jetson-gpio_2.1.1ubuntu1_arm64.deb ...
Unpacking python-jetson-gpio (2.1.1ubuntu1) over (2.1.1ubuntu1) ...
Preparing to unpack .../nvidia-l4t-3d-core_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-3d-core (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-apt-source_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-apt-source (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-camera_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-camera (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-configs_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-configs (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-cuda_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-cuda (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-firmware_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-firmware (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-gbm_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-gbm (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-graphics-demos_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-graphics-demos (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-gstreamer_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-gstreamer (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-init_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-init (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-initrd_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-initrd (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-jetson-io_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-jetson-io (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-jetsonpower-gui-tools_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-jetsonpower-gui-tools (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-libvulkan_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-libvulkan (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-multimedia_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-multimedia (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-multimedia-utils_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-multimedia-utils (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-nvfancontrol_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-nvfancontrol (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-nvpmodel_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-nvpmodel (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-nvpmodel-gui-tools_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-nvpmodel-gui-tools (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-nvsci_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-nvsci (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-oem-config_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-oem-config (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-openwfd_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-openwfd (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-optee_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-optee (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-pva_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-pva (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-tools_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-tools (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-vulkan-sc_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-vulkan-sc (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-vulkan-sc-dev_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-vulkan-sc-dev (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-vulkan-sc-samples_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-vulkan-sc-samples (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-vulkan-sc-sdk_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-vulkan-sc-sdk (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-wayland_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-wayland (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-weston_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-weston (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-x11_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-x11 (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-xusb-firmware_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-xusb-firmware (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-display-kernel_5.10.104-tegra-35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-display-kernel (5.10.104-tegra-35.3.1-20230319081403) over (5.10.104-tegra-35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-kernel_5.10.104-tegra-35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-kernel (5.10.104-tegra-35.3.1-20230319081403) over (5.10.104-tegra-35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-kernel-dtbs_5.10.104-tegra-35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-kernel-dtbs (5.10.104-tegra-35.3.1-20230319081403) over (5.10.104-tegra-35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-kernel-headers_5.10.104-tegra-35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-kernel-headers (5.10.104-tegra-35.3.1-20230319081403) over (5.10.104-tegra-35.3.1-20230319081403) ...
Preparing to unpack .../nvidia-l4t-bootloader_35.3.1-20230319081403_arm64.deb ...
Unpacking nvidia-l4t-bootloader (35.3.1-20230319081403) over (35.3.1-20230319081403) ...
Setting up jetson-gpio-common (2.1.1ubuntu1) ...
Setting up python3-jetson-gpio (2.1.1ubuntu1) ...
Setting up python-jetson-gpio (2.1.1ubuntu1) ...
Setting up nvidia-l4t-apt-source (35.3.1-20230319081403) ...
Pre-installing... skip changing source list.
Setting up nvidia-l4t-configs (35.3.1-20230319081403) ...
Setting up nvidia-l4t-cuda (35.3.1-20230319081403) ...
Setting up nvidia-l4t-firmware (35.3.1-20230319081403) ...
Setting up nvidia-l4t-init (35.3.1-20230319081403) ...
Setting up nvidia-l4t-jetsonpower-gui-tools (35.3.1-20230319081403) ...
Setting up nvidia-l4t-libvulkan (35.3.1-20230319081403) ...
Setting up nvidia-l4t-multimedia-utils (35.3.1-20230319081403) ...
Setting up nvidia-l4t-nvfancontrol (35.3.1-20230319081403) ...
Setting up nvidia-l4t-nvpmodel (35.3.1-20230319081403) ...
Setting up nvidia-l4t-nvpmodel-gui-tools (35.3.1-20230319081403) ...
Setting up nvidia-l4t-nvsci (35.3.1-20230319081403) ...
Setting up nvidia-l4t-oem-config (35.3.1-20230319081403) ...
Setting up nvidia-l4t-openwfd (35.3.1-20230319081403) ...
Setting up nvidia-l4t-optee (35.3.1-20230319081403) ...
Setting up nvidia-l4t-pva (35.3.1-20230319081403) ...
Setting up nvidia-l4t-tools (35.3.1-20230319081403) ...
Setting up nvidia-l4t-vulkan-sc (35.3.1-20230319081403) ...
Setting up nvidia-l4t-vulkan-sc-dev (35.3.1-20230319081403) ...
Setting up nvidia-l4t-vulkan-sc-sdk (35.3.1-20230319081403) ...
Setting up nvidia-l4t-wayland (35.3.1-20230319081403) ...
Setting up nvidia-l4t-x11 (35.3.1-20230319081403) ...
Setting up nvidia-l4t-xusb-firmware (35.3.1-20230319081403) ...
Setting up nvidia-l4t-kernel (5.10.104-tegra-35.3.1-20230319081403) ...
Using the existing boot entry 'primary'
Pre-installing kernel package, skip flashing
Setting up nvidia-l4t-kernel-dtbs (5.10.104-tegra-35.3.1-20230319081403) ...
Pre-installing kernel-dtbs package, skip flashing
Setting up nvidia-l4t-kernel-headers (5.10.104-tegra-35.3.1-20230319081403) ...
Setting up nvidia-l4t-bootloader (35.3.1-20230319081403) ...
Pre-installing bootloader package, skip flashing
Setting up nvidia-l4t-3d-core (35.3.1-20230319081403) ...
Setting up nvidia-l4t-gbm (35.3.1-20230319081403) ...
Setting up nvidia-l4t-initrd (35.3.1-20230319081403) ...
Pre-installing initrd package, skip flashing
Setting up nvidia-l4t-jetson-io (35.3.1-20230319081403) ...
Setting up nvidia-l4t-multimedia (35.3.1-20230319081403) ...
Setting up nvidia-l4t-vulkan-sc-samples (35.3.1-20230319081403) ...
Setting up nvidia-l4t-weston (35.3.1-20230319081403) ...
Setting up nvidia-l4t-display-kernel (5.10.104-tegra-35.3.1-20230319081403) ...
Setting up nvidia-l4t-camera (35.3.1-20230319081403) ...
Setting up nvidia-l4t-graphics-demos (35.3.1-20230319081403) ...
Setting up nvidia-l4t-gstreamer (35.3.1-20230319081403) ...
Processing triggers for nvidia-l4t-kernel (5.10.104-tegra-35.3.1-20230319081403) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
~/Desktop/AGX/Linux_for_Tegra
Removing QEMU binary from rootfs
Removing stashed Debian packages from rootfs
L4T BSP package installation completed!
Disabling NetworkManager-wait-online.service
Disable the ondemand service by changing the runlevels to 'K'
Success!
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ sudo ./tools/l4t_flash_prerequisites.sh 
Hit:1 https://packages.cloud.google.com/apt coral-cloud-stable InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                          
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                             
Hit:4 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease                                                                                                       
Hit:5 https://packages.cloud.google.com/apt coral-mdt-stable InRelease                                                                                     
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                        
Hit:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease                                      
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]                   
Fetched 261 kB in 1s (325 kB/s)                                                                 
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
binfmt-support is already the newest version (2.1.8-2).
device-tree-compiler is already the newest version (1.4.5-3).
dosfstools is already the newest version (4.1-1).
python is already the newest version (2.7.15~rc1-1).
python3-yaml is already the newest version (3.12-1build2).
whois is already the newest version (5.3.0).
abootimg is already the newest version (0.6-1build1).
lbzip2 is already the newest version (2.5-2).
sshpass is already the newest version (1.06-1).
binutils is already the newest version (2.30-21ubuntu1~18.04.9).
cpio is already the newest version (2.12+dfsg-6ubuntu0.18.04.4).
cpp is already the newest version (4:7.4.0-1ubuntu2.3).
libxml2-utils is already the newest version (2.9.4+dfsg1-6.1ubuntu1.9).
nfs-kernel-server is already the newest version (1:1.3.4-2.1ubuntu5.5).
openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.23).
udev is already the newest version (237-3ubuntu10.57).
uuid-runtime is already the newest version (2.31.1-0.4ubuntu3.7).
qemu-user-static is already the newest version (1:2.11+dfsg-1ubuntu7.42).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
liblz4-tool is already the newest version (0.0~r131-2ubuntu3.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ lsusb
Bus 006 Device 003: ID 0424:5744 Standard Microsystems Corp. 
Bus 006 Device 002: ID 2109:0211 VIA Labs, Inc. 
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 0bda:0177 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 0bda:5538 Realtek Semiconductor Corp. 
Bus 001 Device 017: ID 0955:7019 NVidia Corp. 
Bus 001 Device 006: ID 8087:0026 Intel Corp. 
Bus 001 Device 004: ID 187c:0550 Alienware Corporation 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ $ sudo ./flash.sh jetson-agx-orin-devkit internal
$: command not found
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ sudo ./flash.sh jetson-agx-orin-devkit internal
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 3.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-orin-devkit, Board Family: t186ref, SoC: Unknown, 
# OpMode: pre-production, Boot Authentication: , 
# Disk encryption: disabled ,
###############################################################################
Error: The Actual SoC ID(0x00) mismatches intended jetson-agx-orin-devkit SoC ID(0x23).
erelozen@ULOK102:~/Desktop/AGX/Linux_for_Tegra$ sudo ./flash.sh jetson-agx-xavier-devkit internal
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 3.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-xavier-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/erelozen/Desktop/AGX/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.0114 ] Generating RCM messages
[   0.0125 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0130 ] Header already present for /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0188 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0189 ] Assuming zero filled SBK key
[   0.0209 ] tegrasign_v3.py --file /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0213 ] Assuming zero filled SBK key
[   0.0303 ] Warning: pub_key.key is not found
[   0.0321 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0407 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0447 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0453 ] RCM 0 is saved as rcm_0.rcm
[   0.0481 ] RCM 1 is saved as rcm_1.rcm
[   0.0485 ] RCM 2 is saved as rcm_2.rcm
[   0.0485 ] List of rcm files are saved in rcm_list.xml
[   0.0485 ] 
[   0.0485 ] Signing RCM messages
[   0.0509 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0510 ] Assuming zero filled SBK key
[   0.0540 ] Warning: pub_key.key is not found
[   0.0533 ] Copying signature to RCM mesages
[   0.0551 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0559 ] Boot Rom communication
[   0.0576 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0582 ] RCM version 0X190001
[   0.8837 ] Boot Rom communication completed
[   2.9056 ] tegrarcm_v2 --isapplet
[   2.9082 ] Applet version 01.00.0000
[   4.5453 ] tegrarcm_v2 --ismb2
[   6.1920 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   6.1983 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   6.2008 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   6.2090 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.2091 ] Assuming zero filled SBK key
[   6.2103 ] Warning: pub_key.key is not found
[   6.2117 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   6.2158 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   6.2166 ] Applet version 01.00.0000
[   7.8490 ] Sending mb2
[   7.8492 ] [................................................] 100%
[   7.8661 ] tegrarcm_v2 --boot recovery
[   7.8668 ] Applet version 01.00.0000
[  10.5098 ] tegrarcm_v2 --isapplet
[  12.1472 ] tegrarcm_v2 --ismb2
[  12.1478 ] MB2 Applet version 01.00.0000
[  13.7851 ] tegrarcm_v2 --ismb2
[  13.7876 ] MB2 Applet version 01.00.0000
[  15.4291 ] Retrieving board information
[  15.4328 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[  15.4350 ] MB2 Applet version 01.00.0000
[  17.0792 ] Saved platform info in chip_info.bin
[  17.0835 ] Chip minor revision: 2
[  17.0836 ] Bootrom revision: 0x7
[  17.0837 ] Ram code: 0x0
[  17.0838 ] Chip sku: 0xd0
[  17.0838 ] Chip Sample: non es
[  17.0843 ] Retrieving EEPROM data
[  17.0844 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/cvm.bin
[  17.0850 ] MB2 Applet version 01.00.0000
[  21.0794 ] Saved platform info in /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/cvm.bin
[  21.1189 ] Rebooting to recovery mode
[  21.1210 ] tegrarcm_v2 --ismb2
[  21.1217 ] MB2 Applet version 01.00.0000
[  22.7535 ] Rebooting to recovery mode
[  22.7553 ] tegrarcm_v2 --reboot recovery
[  22.7559 ] MB2 Applet version 01.00.0000
Board ID(2888) FAB(400) sku(0001) revision(J.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p2888-a04.dtb ...
Copy /home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb to /home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
Using UUID ce0db53c-36f8-483a-923e-497e9a528f6f for mounting root APP partition.
copying bctfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p2888.cfg)... done.
copying bctfile1(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying uphy_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)... done.
copying minratchet_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg)... done.
copying device_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-sdmmc.cfg)... done.
copying misc_cold_boot_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg)... done.
copying gpioint_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)... done.
copying pmic_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg)... done.
copying pmc_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)... done.
copying prod_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)... done.
copying scr_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying scr_cold_boot_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying bootrom_config(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)... done.
copying dev_params(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-sdmmc.cfg)... done.
copying dev_params_b(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-sdmmc.cfg)... done.
Existing bootloader(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
~/Desktop/AGX/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Desktop/AGX/Linux_for_Tegra/bootloader ~/Desktop/AGX/Linux_for_Tegra
39726 blocks

gzip: /home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.104-tegra
56170 blocks
Making Recovery image...
copying recdtbfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 8.9807e-05 s, 223 kB/s
Existing sosfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p2888-a04_lz4.dtb) reused.
Existing scefile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p2888-0001-p2822-0000.dtb to rootfs... done.
Making system.img... 
	Setting "FDT /boot/dtb/kernel_tegra194-p2888-0001-p2822-0000.dtb" successfully in the extlinux.conf...done.
	populating rootfs from /home/erelozen/Desktop/AGX/Linux_for_Tegra/rootfs ... 	populating /boot/extlinux/extlinux.conf ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Not signing of kernel-dtb
Existing tbcfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.136993 s, 490 MB/s
	Sync'ing esp.img ... done.
copying tbcdtbfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb)... done.
copying cfgfile(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/t186ref/cfg/flash_t194_sdmmc.xml) to flash.xml... done.
done.
Existing flasher(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-dual-imx274-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3326-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3331-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3333-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx185-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx390-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0005-overlay.dtbo)... done.
copying overlay_dtb(/home/erelozen/Desktop/AGX/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000-overlay.dtbo)... done.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p2888.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0x9190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0005-overlay.dtbo,tegra194-p2888-0001-p2822-0000-overlay.dtbo,  --bldtb tegra194-p2888-0001-p2822-0000.dtb --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-sdmmc.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-sdmmc.cfg,tegra194-br-bct_b-sdmmc.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-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-a04_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p2888-0001-p2822-0000.dtb"   --secondary_gpt_backup  --bct_backup  --boot_chain A 
saving flash command in /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/erelozen/Desktop/AGX/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.0178 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0181 ] Assuming zero filled SBK key
[   0.0026 ] Generating RCM messages
[   0.0051 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0057 ] Header already present for mb1_t194_prod.bin
[   0.0265 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.0267 ] Assuming zero filled SBK key
[   0.0285 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0286 ] Assuming zero filled SBK key
[   0.0342 ] Warning: pub_key.key is not found
[   0.0203 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0241 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0281 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.0287 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0294 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0294 ] 
[   0.0314 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0319 ] RCM 0 is saved as rcm_0.rcm
[   0.0348 ] RCM 1 is saved as rcm_1.rcm
[   0.0349 ] RCM 2 is saved as rcm_2.rcm
[   0.0350 ] List of rcm files are saved in rcm_list.xml
[   0.0351 ] Signing RCM messages
[   0.0526 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.0528 ] Assuming zero filled SBK key
[   0.0562 ] Warning: pub_key.key is not found
[   0.0405 ] Copying signature to RCM mesages
[   0.0423 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0432 ] odmdata (to decode) = 152633344
[   0.0432 ] Odmdata strings: PCIE_XBAR_4_1_0_1_2,UFS_x1_L1,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.0432 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_4_1_0_1_2'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_x1_L1'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']}
[   0.0449 ] bpmp_dtb is compressed; decompressing...
[   0.0449 ] lz4c -df tegra194-a02-bpmp-p2888-a04_lz4.dtb tegra194-a02-bpmp-p2888-a04_lz4_with_odm.dtb
[   0.0478 ] Successfully decoded 989312 bytes                                              
[   0.0478 ] 
[   0.2276 ] Re-compressing updated bpmp_dtb
[   0.2276 ] lz4c -zf tegra194-a02-bpmp-p2888-a04_lz4_with_odm.dtb tegra194-a02-bpmp-p2888-a04_lz4.dtb
[   0.2299 ] Compressed 989271 bytes into 86508 bytes ==> 8.74%                             
[   0.2299 ] 
[   0.6346 ] Concatenating L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0005-overlay.dtbo,tegra194-p2888-0001-p2822-0000-overlay.dtbo to tegra194-p2888-0001-p2822-0000_with_odm_overlay.dtb
[   0.6353 ] Parsing partition layout
[   0.6382 ] tegraparser_v2 --pt flash.xml.tmp
[   0.6402 ] Reading ramcode from backup chip_info.bin file
[   0.6403 ] RAMCODE Read from Device: 0

[   0.6404 ] Disable BPMP dtb trim, using default dtb
[   0.6404 ] 
[   0.6404 ] Creating list of images to be signed
[   0.6422 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.6429 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   0.6435 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   0.6437 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   0.6457 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   0.6459 ] adding BCH for spe_t194_aligned.bin
[   0.6481 ] adding BCH for nvtboot_t194_aligned.bin
[   0.6501 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.6538 ] adding BCH for spe_t194_aligned.bin
[   0.6539 ] adding BCH for nvtboot_t194_aligned.bin
[   0.6555 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   0.6589 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.6595 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.6678 ] adding BCH for nvdisp-init_aligned.bin
[   0.7252 ] adding BCH for tegra194-p2888-0001-p2822-0000_aligned.dtb
[   0.7748 ] adding BCH for tos-optee_t194_aligned.img
[   0.7841 ] adding BCH for eks_t194_aligned.img
[   0.7983 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.8008 ] adding BCH for tegra194-a02-bpmp-p2888-a04_lz4_aligned.dtb
[   0.8166 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.8195 ] adding BCH for adsp-fw_aligned.bin
[   0.8285 ] Header already present for warmboot_t194_prod_aligned.bin
[   0.8346 ] Header already present for mce_c10_prod_cr_aligned.bin
[   0.8352 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   0.8418 ] adding BCH for nvdisp-init_aligned.bin
[   0.8999 ] adding BCH for tegra194-p2888-0001-p2822-0000_aligned.dtb
[   0.9508 ] adding BCH for tos-optee_t194_aligned.img
[   0.9603 ] adding BCH for eks_t194_aligned.img
[   0.9741 ] adding BCH for bpmp-2_t194_aligned.bin
[   0.9758 ] adding BCH for tegra194-a02-bpmp-p2888-a04_lz4_aligned.dtb
[   0.9916 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   0.9937 ] adding BCH for adsp-fw_aligned.bin
[   1.0022 ] Header already present for warmboot_t194_prod_aligned.bin
[   1.0091 ] Filling MB1 storage info
[   1.0091 ] Parsing dev params for multi chains
[   1.0091 ] Generating br-bct
[   1.0112 ] Performing cfg overlay
[   1.0112 ] ['tegra194-mb1-bct-memcfg-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[   1.0113 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg
[   1.0509 ] Updating dev and MSS params in BR BCT
[   1.0510 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.1206 ] Updating bl info
[   1.1228 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   1.1242 ] Generating br-bct
[   1.1261 ] Performing cfg overlay
[   1.1261 ] ['/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg']
[   1.1261 ] Updating dev and MSS params in BR BCT
[   1.1261 ] tegrabct_v2 --dev_param tegra194-br-bct_b-sdmmc.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.1945 ] Updating bl info
[   1.1969 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   1.1982 ] Generating BCT backup image
[   1.1982 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   1.1989 ] 32768+0 records in
[   1.2291 ] 32768+0 records out
[   1.2291 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0297419 s, 1.1 MB/s
[   1.2291 ] 
[   1.2291 ] Concatenating BCT for chain A to bct_backup.img

[   1.2291 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   1.2303 ] 2888+0 records in
[   1.2324 ] 2888+0 records out
[   1.2325 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00183476 s, 1.6 MB/s
[   1.2325 ] 
[   1.2325 ] Concatenating BCT for chain B to bct_backup.img

[   1.2325 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   1.2333 ] 2888+0 records in
[   1.2357 ] 2888+0 records out
[   1.2357 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00212031 s, 1.4 MB/s
[   1.2357 ] 
[   1.2357 ] Generating signatures
[   1.2535 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   1.2537 ] Assuming zero filled SBK key
[   1.3143 ] Warning: pub_key.key is not found
[   1.2986 ] Parsing dev params for multi chains
[   1.2986 ] Generating br-bct
[   1.3003 ] Performing cfg overlay
[   1.3003 ] ['/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg']
[   1.3003 ] Updating dev and MSS params in BR BCT
[   1.3004 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.3716 ] Updating bl info
[   1.3739 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.3755 ] Updating smd info
[   1.3773 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   1.3782 ] Updating Odmdata
[   1.3800 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   1.3807 ] Signing BCT
[   1.3808 ] Get Signed section of bct
[   1.3826 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   1.4009 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   1.4011 ] Assuming zero filled SBK key
[   1.4023 ] Warning: pub_key.key is not found
[   1.3866 ] Updating BCT with signature
[   1.3887 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   1.3897 ] Generating br-bct
[   1.3914 ] Performing cfg overlay
[   1.3915 ] ['/home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg']
[   1.3915 ] Updating dev and MSS params in BR BCT
[   1.3915 ] tegrabct_v2 --dev_param tegra194-br-bct_b-sdmmc.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   1.4603 ] Updating bl info
[   1.4625 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.4642 ] Updating smd info
[   1.4660 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   1.4668 ] Updating Odmdata
[   1.4686 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   1.4695 ] Signing BCT
[   1.4695 ] Get Signed section of bct
[   1.4715 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   1.4901 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   1.4902 ] Assuming zero filled SBK key
[   1.4916 ] Warning: pub_key.key is not found
[   1.4760 ] Updating BCT with signature
[   1.4778 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   1.4786 ] Generating BCT backup image
[   1.4786 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   1.4792 ] 32768+0 records in
[   1.5088 ] 32768+0 records out
[   1.5088 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0292738 s, 1.1 MB/s
[   1.5088 ] 
[   1.5088 ] Concatenating BCT for chain A to bct_backup.img

[   1.5089 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   1.5099 ] 2888+0 records in
[   1.5122 ] 2888+0 records out
[   1.5122 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00198706 s, 1.5 MB/s
[   1.5122 ] 
[   1.5122 ] Concatenating BCT for chain B to bct_backup.img

[   1.5122 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   1.5129 ] 2888+0 records in
[   1.5151 ] 2888+0 records out
[   1.5151 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00180939 s, 1.6 MB/s
[   1.5151 ] 
[   1.5151 ] Generating coldboot mb1-bct
[   1.5174 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   1.5181 ] MB1-BCT version: 0x1

[   1.5185 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   1.5188 ] Added Platform Config 0 data with size :- 3168

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

[   1.5279 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   1.5281 ] Added Platform Config 2 data with size :- 24

[   1.5282 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg 
[   1.5284 ] File read failed
[   1.5285 ] File read failed
[   1.5285 ] Added Platform Config 4 data with size :- 348

[   1.5287 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   1.5289 ] Added Platform Config 3 data with size :- 92

[   1.5291 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   1.5292 ] Added Platform Config 5 data with size :- 68

[   1.5294 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   1.5295 ] Added Platform Config 7 data with size :- 392
[   1.5295 ] 
[   1.5295 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   1.5295 ] Added Platform Config 8 data with size :- 12
[   1.5295 ] 
[   1.5295 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   1.5295 ] Added Platform Config 9 data with size :- 32
[   1.5295 ] 
[   1.5295 ] Updating mb1-bct with firmware information
[   1.5317 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   1.5325 ] Updating mb1-bct with storage information
[   1.5343 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   1.5351 ] Updating mb1-bct with ratchet information
[   1.5375 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   1.5386 ] FwIndex: 1, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 2, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 3, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 4, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 5, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 6, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 7, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 11, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 12, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 13, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 14, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 15, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 16, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 17, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 18, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 19, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 30, MinRatchetLevel: 0
[   1.5388 ] FwIndex: 31, MinRatchetLevel: 0
[   1.5389 ] 
[   1.5408 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct
[   1.5432 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[   1.5438 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[   1.5622 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.5623 ] Assuming zero filled SBK key
[   1.5635 ] Warning: pub_key.key is not found
[   1.5496 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   1.5507 ] Generating recovery mb1-bct
[   1.5526 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[   1.5537 ] MB1-BCT version: 0x1

[   1.5540 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg 
[   1.5544 ] Added Platform Config 0 data with size :- 3168

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

[   1.5630 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   1.5632 ] Added Platform Config 2 data with size :- 24

[   1.5633 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg 
[   1.5636 ] File read failed
[   1.5636 ] File read failed
[   1.5637 ] Added Platform Config 4 data with size :- 348
[   1.5638 ] 
[   1.5638 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   1.5638 ] Added Platform Config 3 data with size :- 92
[   1.5638 ] 
[   1.5638 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   1.5638 ] Added Platform Config 5 data with size :- 68
[   1.5638 ] 
[   1.5638 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   1.5638 ] Added Platform Config 7 data with size :- 392
[   1.5639 ] 
[   1.5639 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   1.5639 ] Added Platform Config 8 data with size :- 12
[   1.5639 ] 
[   1.5639 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg 
[   1.5639 ] Added Platform Config 9 data with size :- 32
[   1.5639 ] 
[   1.5639 ] Updating mb1-bct with firmware information
[   1.5659 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin
[   1.5667 ] Updating mb1-bct with storage information
[   1.5685 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   1.5695 ] Updating mb1-bct with ratchet information
[   1.5715 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   1.5724 ] FwIndex: 1, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 2, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 3, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 4, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 5, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 6, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 7, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 11, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 12, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 13, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 14, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 15, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 16, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 17, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 18, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 19, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 30, MinRatchetLevel: 0
[   1.5727 ] FwIndex: 31, MinRatchetLevel: 0
[   1.5727 ] 
[   1.5747 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct
[   1.5772 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[   1.5779 ] adding BCH for mb1_bct_MB1_aligned.bct
[   1.5962 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.5963 ] Assuming zero filled SBK key
[   1.5975 ] Warning: pub_key.key is not found
[   1.5836 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[   1.5847 ] Generating coldboot mem-bct
[   1.5867 ] tegrabct_v2 --chip 0x19 0 --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --membct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_1.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_2.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_3.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_4.bct
[   1.5876 ] Packing sdram param for instance[0]
[   1.6554 ] Packing sdram param for instance[1]
[   1.6555 ] Packing sdram param for instance[2]
[   1.6556 ] Packing sdram param for instance[3]
[   1.6557 ] Packing sdram param for instance[4]
[   1.6558 ] Packing sdram param for instance[5]
[   1.6560 ] Packing sdram param for instance[6]
[   1.6560 ] Packing sdram param for instance[7]
[   1.6560 ] Packing sdram param for instance[8]
[   1.6560 ] Packing sdram param for instance[9]
[   1.6560 ] Packing sdram param for instance[10]
[   1.6560 ] Packing sdram param for instance[11]
[   1.6560 ] Packing sdram param for instance[12]
[   1.6560 ] Packing sdram param for instance[13]
[   1.6560 ] Packing sdram param for instance[14]
[   1.6560 ] Packing sdram param for instance[15]
[   1.6560 ] 
[   1.6560 ] Getting sector size from pt
[   1.6581 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   1.6591 ] BlockSize read from layout is 200

[   1.6609 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_1.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_2.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_3.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_4.bct
[   1.6615 ] adding BCH for /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_1.bct
[   1.6652 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct
[   1.6676 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot_aligned.bct zerosbk
[   1.6682 ] Header already present for mem_coldboot_aligned.bct
[   1.6867 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.6868 ] Assuming zero filled SBK key
[   1.6884 ] Warning: pub_key.key is not found
[   1.6746 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk
[   1.6757 ] Generating recovery mem-bct
[   1.6775 ] tegrabct_v2 --chip 0x19 0 --sdram /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1.cfg --membct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_1.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_2.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_3.bct /home/erelozen/Desktop/AGX/Linux_for_Tegra/bootloader/31320/tmpcyud8tdj1_4.bct
[   1.6781 ] Packing sdram param for instance[0]
[   1.7455 ] Packing sdram param for instance[1]
[   1.7456 ] Packing sdram param for instance[2]
[   1.7458 ] Packing sdram param for instance[3]
[   1.7459 ] Packing sdram param for instance[4]
[   1.7460 ] Packing sdram param for instance[5]
[   1.7460 ] Packing sdram param for instance[6]
[   1.7460 ] Packing sdram param for instance[7]
[   1.7460 ] Packing sdram param for instance[8]
[   1.7460 ] Packing sdram param for instance[9]
[   1.7460 ] Packing sdram param for instance[10]
[   1.7460 ] Packing sdram param for instance[11]
[   1.7460 ] Packing sdram param for instance[12]
[   1.7460 ] Packing sdram param for instance[13]
[   1.7460 ] Packing sdram param for instance[14]
[   1.7460 ] Packing sdram param for instance[15]
[   1.7460 ] 
[   1.7483 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct
[   1.7508 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[   1.7515 ] adding BCH for mem_rcm_aligned.bct
[   1.7709 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   1.7711 ] Assuming zero filled SBK key
[   1.7725 ] Warning: pub_key.key is not found
[   1.7588 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[   1.7601 ] Copying signatures
[   1.7620 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   1.9464 ] Boot Rom communication
[   1.9486 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   1.9495 ] BR_CID: 0x88021911644578840400000015010080
[   4.2585 ] RCM version 0X190001
[   5.0820 ] Boot Rom communication completed
[   7.1023 ] tegrarcm_v2 --isapplet
[   7.1073 ] Applet version 01.00.0000
[   8.7712 ] Sending BCTs
[   8.7733 ] 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
[   8.7740 ] Applet version 01.00.0000
[  10.4233 ] Sending bct_bootrom
[  10.4233 ] [................................................] 100%
[  10.4245 ] Sending bct_mb1
[  10.4294 ] [................................................] 100%
[  10.4329 ] Sending bct_mem
[  10.4769 ] [................................................] 100%
Error: Return value 8
Command 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
Failed flashing t186ref.


Your log says you are still flashing 35.3.1. But I was trying to say 32.2.1…

Do you really understand what we are talking about here? I feel you are not in the situation

Your module is not able to work in latest jetpack version because it is already end of life…

Yes, I understand what we are talking about. I apologize, I seem to have attached the wrong log. Here is another failed flash attempt of L4T 32.2

log.txt (877.7 KB)