while cloning a jetson AGX dev kit we get this error:
hin0107@lxi10058293:/opt/downloads/Linux_for_Tegra$ sudo ./flash.sh -r -k APP -G image1.img jetson-xavier mmcblk0p1
[sudo] password for shin0107:
###############################################################################
L4T BSP Information:
R32 , REVISION: 6.1
###############################################################################
Target Board Information:
Name: jetson-xavier, Board Family: t186ref, SoC: Tegra 194,
OpMode: production, Boot Authentication: NS,
Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)… done.
./tegraflash.py --chip 0x19 --applet “/opt/downloads/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.0020 ] Generating RCM messages
[ 0.0027 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[ 0.0032 ] Header already present for /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[ 0.0054 ]
[ 0.0073 ] tegrasign_v3.py --getmode mode.txt --key None
[ 0.0074 ] Assuming zero filled SBK key
[ 0.0092 ] tegrasign_v3.py --file /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[ 0.0092 ] Assuming zero filled SBK key
[ 0.0126 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[ 0.0152 ]
[ 0.0172 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[ 0.0178 ]
[ 0.0196 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /opt/downloads/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[ 0.0201 ] RCM 0 is saved as rcm_0.rcm
[ 0.0224 ] RCM 1 is saved as rcm_1.rcm
[ 0.0224 ] RCM 2 is saved as rcm_2.rcm
[ 0.0224 ] List of rcm files are saved in rcm_list.xml
[ 0.0224 ]
[ 0.0224 ] Signing RCM messages
[ 0.0245 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0246 ] Assuming zero filled SBK key
[ 0.0292 ] Copying signature to RCM mesages
[ 0.0310 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[ 0.0320 ]
[ 0.0320 ] Boot Rom communication
[ 0.0337 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0342 ] RCM version 0X190001
[ 0.0352 ] Boot Rom communication completed
[ 1.0520 ]
[ 2.0577 ] tegrarcm_v2 --isapplet
[ 2.0601 ] Applet version 01.00.0000
[ 2.0802 ]
[ 2.0846 ] tegrarcm_v2 --ismb2
[ 2.1196 ]
[ 2.1241 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[ 2.1268 ]
[ 2.1310 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[ 2.1335 ] adding BCH for nvtboot_applet_t194.bin
[ 2.1391 ]
[ 2.1420 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 2.1420 ] Assuming zero filled SBK key
[ 2.1456 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[ 2.1472 ]
[ 2.1489 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[ 2.1495 ] Applet version 01.00.0000
[ 2.1671 ] Sending mb2
[ 2.1672 ] […] 100%
[ 2.1826 ]
[ 2.1849 ] tegrarcm_v2 --boot recovery
[ 2.1859 ] Applet version 01.00.0000
[ 2.2069 ]
[ 3.2126 ] tegrarcm_v2 --isapplet
[ 3.2324 ]
[ 3.2368 ] tegrarcm_v2 --ismb2
[ 3.2392 ] MB2 Applet version 01.00.0000
[ 3.2719 ]
[ 3.2762 ] tegrarcm_v2 --ismb2
[ 3.2787 ] MB2 Applet version 01.00.0000
[ 3.3121 ]
[ 3.3164 ] Retrieving board information
[ 3.3205 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[ 3.3229 ] MB2 Applet version 01.00.0000
[ 3.3429 ] Saved platform info in chip_info.bin
[ 3.3473 ] Chip minor revision: 2
[ 3.3476 ] Bootrom revision: 0xf
[ 3.3476 ] Ram code: 0x2
[ 3.3476 ] Chip sku: 0xd0
[ 3.3476 ] Chip Sample: non es
[ 3.3476 ]
[ 3.3483 ] Retrieving EEPROM data
[ 3.3484 ] tegrarcm_v2 --oem platformdetails eeprom cvm /opt/downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 3.3508 ] MB2 Applet version 01.00.0000
[ 3.3705 ] Saved platform info in /opt/downloads/Linux_for_Tegra/bootloader/cvm.bin
[ 3.4051 ]
[ 3.4053 ] Rebooting to recovery mode
[ 3.4095 ] tegrarcm_v2 --ismb2
[ 3.4119 ] MB2 Applet version 01.00.0000
[ 3.4279 ]
[ 3.4280 ] Rebooting to recovery mode
[ 3.4322 ] tegrarcm_v2 --reboot recovery
[ 3.4347 ] MB2 Applet version 01.00.0000
[ 3.4753 ]
Board ID(2888) version(400) sku(0004) revision(K.0)
copying bctfile(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p2888.cfg)… done.
copying bctfile1(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)… done.
copying uphy_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)… done.
copying device_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-sdmmc.cfg)… done.
copying misc_cold_boot_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)… done.
copying misc_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)… done.
copying pinmux_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg)… done.
copying gpioint_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)… done.
copying pmic_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0001-a04-E-0-p2822-0000.cfg)… done.
copying pmc_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)… done.
copying prod_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)… done.
copying scr_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)… done.
copying scr_cold_boot_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)… done.
copying bootrom_config(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)… done.
copying dev_params(/opt/downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-sdmmc.cfg)… done.
Existing bootloader(/opt/downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/opt/downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
Making Boot image… done.
cp: cannot stat ‘/opt/downloads/Linux_for_Tegra/bootloader/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg’: No such file or directory
/opt/downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --cmd sign boot.img kernel
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.0003 ] Generating signature
[ 0.0025 ] tegrasign_v3.py --getmode mode.txt --key
[ 0.0026 ] Assuming zero filled SBK key : not reading
[ 0.0024 ] Generating ratchet blob
[ 0.0041 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[ 0.0047 ] Empty File tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[ 0.0047 ] Failed to Parse file tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg: 0x0000000a
[ 0.0047 ] File tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg open failed
[ 0.0047 ]
Error: Return value 19
Command tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
l4t_sign_image.sh: Error: Unable to find the signed file generated by tegraflash.py