Jetson Nano DevKit BootRom not running. flash.sh issue

Hi there,
I have problems flashing the Jetson Nano Dev Kit. I am using a host system within a VM on a Windows PC.
The flash process starts working but hangs at – ease LNX command. Also there are some not running modules before this error appears. Please experts have a look at my log. Thanks a lot!
Ulli

L4T BSP Information:

R32 , REVISION: 5.1

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

Target Board Information:

Name: jetson-nano-devkit, Board Family: t210ref, SoC: Tegra 210,

OpMode: production, Boot Authentication: ,

Disk encryption: disabled ,

###############################################################################
./tegraflash.py --chip 0x21 --applet “/home/user/Linux_for_Tegra/bootloader/nvtboot_recovery.bin” --skipuid --cmd “dump eeprom boardinfo cvm.bin”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0028 ] Generating RCM messages
[ 0.0042 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/user/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0056 ] RCM 0 is saved as rcm_0.rcm
[ 0.0063 ] RCM 1 is saved as rcm_1.rcm
[ 0.0063 ] List of rcm files are saved in rcm_list.xml
[ 0.0063 ]
[ 0.0063 ] Signing RCM messages
[ 0.0078 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0097 ] Assuming zero filled SBK key
[ 0.0177 ]
[ 0.0178 ] Copying signature to RCM mesages
[ 0.0193 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0229 ]
[ 0.0229 ] Boot Rom communication
[ 0.0247 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0262 ] RCM version 0X210001
[ 0.0825 ] Boot Rom communication completed
[ 1.1536 ]
[ 1.1538 ] dump EEPROM info
[ 1.1554 ] tegrarcm --oem platformdetails eeprom /home/user/Linux_for_Tegra/bootloader/cvm.bin
[ 1.1566 ] Applet version 00.01.0000
[ 1.3207 ] Saved platform info in /home/user/Linux_for_Tegra/bootloader/cvm.bin
[ 1.5647 ]
[ 1.5662 ] tegrarcm --reboot recovery
[ 1.5672 ] Applet version 00.01.0000
[ 1.7909 ]
copying bctfile(/home/user/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/home/user/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/home/user/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/user/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/home/user/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/user/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/home/user/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/home/user/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
Existing badpagefile(/home/user/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/user/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/user/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/user/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/user/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)… done.
Copying nv_boot_control.conf to rootfs
Existing tbcfile(/home/user/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/user/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0000-p3449-0000-b00.dtb)… done.
copying cfgfile(/home/user/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_max-spi_sd_p3448.xml) to flash.xml… done.
copying flasher(/home/user/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/user/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [LNX] with boot.img ***
./tegraflash.py --bl cboot.bin --bldtb kernel_tegra210-p3448-0000-p3449-0000-b00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_lpddr4_204Mhz_P987.cfg --cfg flash.xml --odmdata 0xa4000 --cmd “erase LNX; sign; write LNX ./signed/boot.img.encrypt; reboot”
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.0052 ] Generating RCM messages
[ 0.0064 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0073 ] RCM 0 is saved as rcm_0.rcm
[ 0.0079 ] RCM 1 is saved as rcm_1.rcm
[ 0.0079 ] List of rcm files are saved in rcm_list.xml
[ 0.0079 ]
[ 0.0079 ] Signing RCM messages
[ 0.0093 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0104 ] Assuming zero filled SBK key
[ 0.0156 ]
[ 0.0156 ] Copying signature to RCM mesages
[ 0.0168 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0187 ]
[ 0.0187 ] Boot Rom communication
[ 0.0199 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.0209 ] BootRom is not running
[ 0.0319 ]
[ 0.0319 ] Parsing partition layout
[ 0.0332 ] tegraparser --pt flash.xml.tmp
[ 0.0347 ]
[ 0.0347 ] Creating list of images to be signed
[ 0.0358 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.0438 ]
[ 0.0438 ] Generating signatures
[ 0.0451 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.0461 ] Assuming zero filled SBK key
[ 0.1098 ]
[ 0.1099 ] Send BCT from Host
[ 0.1099 ] Generating br-bct
[ 0.1112 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.1123 ] Copying Sdram info from 2 to 3 set
[ 0.1169 ]
[ 0.1170 ] Updating boot device parameters
[ 0.1181 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.1190 ] Warning: No sdram params
[ 0.1193 ]
[ 0.1193 ] Updating bl info
[ 0.1203 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.1224 ]
[ 0.1225 ] Updating secondary storage information into bct
[ 0.1236 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.1251 ]
[ 0.1252 ] Updating Odmdata
[ 0.1267 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.1279 ] Warning: No sdram params
[ 0.1282 ]
[ 0.1282 ] Get Signed section of bct
[ 0.1293 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.1307 ]
[ 0.1307 ] Signing BCT
[ 0.1332 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.1342 ] Assuming zero filled SBK key
[ 0.1348 ]
[ 0.1348 ] Updating BCT with signature
[ 0.1359 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.1375 ]
[ 0.1375 ] Updating BFS information on BCT
[ 0.1388 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.1401 ]
[ 0.1401 ] Sending BCTs
[ 0.1413 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.1426 ] Applet is not running on device. Continue with Bootloader
[ 0.1637 ]
[ 0.1638 ] Sending bootloader and pre-requisite binaries
[ 0.1654 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-b00.dtb 0
[ 0.1664 ] Applet is not running on device. Continue with Bootloader
[ 0.1695 ]
[ 0.1708 ] tegrarcm --boot recovery
[ 0.1722 ] Applet is not running on device. Continue with Bootloader
[ 0.1756 ]
[ 0.1756 ] Writing partition
[ 0.1770 ] tegradevflash --erase LNX
[ 0.1780 ] Cboot is not running on device.
[ 0.1812 ]
Error: Return value 4
Command tegradevflash --erase LNX
[ 0.1829 ] tegrasign --key None --getmode mode.txt
[ 0.1839 ] Assuming zero filled SBK key
[ 0.1841 ]
[ 0.1850 ] Generating RCM messages
[ 0.1861 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.1872 ] RCM 0 is saved as rcm_0.rcm
[ 0.1879 ] RCM 1 is saved as rcm_1.rcm
[ 0.1881 ] List of rcm files are saved in rcm_list.xml
[ 0.1881 ]
[ 0.1881 ] Signing RCM messages
[ 0.1894 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1904 ] Assuming zero filled SBK key
[ 0.1964 ]
[ 0.1964 ] Copying signature to RCM mesages
[ 0.1978 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.1997 ]
[ 0.1997 ] Parsing partition layout
[ 0.2011 ] tegraparser --pt flash.xml.tmp
[ 0.2029 ]
[ 0.2029 ] Creating list of images to be signed
[ 0.2041 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.2110 ]
[ 0.2110 ] Generating signatures
[ 0.2124 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.2140 ] Assuming zero filled SBK key
[ 0.2770 ]
[ 0.2771 ] Generating br-bct
[ 0.2784 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.2795 ] Copying Sdram info from 2 to 3 set
[ 0.2843 ]
[ 0.2844 ] Updating boot device parameters
[ 0.2856 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.2867 ] Warning: No sdram params
[ 0.2869 ]
[ 0.2869 ] Updating bl info
[ 0.2880 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.2901 ]
[ 0.2901 ] Updating secondary storage information into bct
[ 0.2913 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.2932 ]
[ 0.2932 ] Updating Odmdata
[ 0.2943 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.2953 ] Warning: No sdram params
[ 0.2955 ]
[ 0.2955 ] Get Signed section of bct
[ 0.2967 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.2981 ]
[ 0.2981 ] Signing BCT
[ 0.3001 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.3012 ] Assuming zero filled SBK key
[ 0.3022 ]
[ 0.3022 ] Updating BCT with signature
[ 0.3034 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.3047 ]
[ 0.3048 ] Copying signatures
[ 0.3059 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.3117 ]
[ 0.3117 ] Updating BFS information on BCT
[ 0.3131 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.3146 ]
[ 0.3147 ] Copying signed file in /home/user/Linux_for_Tegra/bootloader/signed
[ 0.3235 ] Generating RCM messages
[ 0.3247 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.3260 ] RCM 0 is saved as rcm_0.rcm
[ 0.3268 ] RCM 1 is saved as rcm_1.rcm
[ 0.3271 ] List of rcm files are saved in rcm_list.xml
[ 0.3272 ]
[ 0.3272 ] Signing RCM messages
[ 0.3284 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.3297 ] Assuming zero filled SBK key
[ 0.3363 ]
[ 0.3363 ] Copying signature to RCM mesages
[ 0.3379 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.3401 ]
[ 0.3402 ] Boot Rom communication
[ 0.3416 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.3434 ] BootRom is not running
[ 0.3540 ]
[ 0.3540 ] Parsing partition layout
[ 0.3556 ] tegraparser --pt flash.xml.tmp
[ 0.3572 ]
[ 0.3573 ] Creating list of images to be signed
[ 0.3584 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.3641 ]
[ 0.3642 ] Generating signatures
[ 0.3656 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.3667 ] Assuming zero filled SBK key
[ 0.4311 ]
[ 0.4311 ] Send BCT from Host
[ 0.4311 ] Generating br-bct
[ 0.4326 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.4338 ] Copying Sdram info from 2 to 3 set
[ 0.4382 ]
[ 0.4382 ] Updating boot device parameters
[ 0.4393 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.4403 ] Warning: No sdram params
[ 0.4407 ]
[ 0.4407 ] Updating bl info
[ 0.4418 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.4441 ]
[ 0.4441 ] Updating secondary storage information into bct
[ 0.4453 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.4467 ]
[ 0.4468 ] Updating Odmdata
[ 0.4487 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0xa4000
[ 0.4502 ] Warning: No sdram params
[ 0.4506 ]
[ 0.4507 ] Get Signed section of bct
[ 0.4520 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.4539 ]
[ 0.4539 ] Signing BCT
[ 0.4563 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.4577 ] Assuming zero filled SBK key
[ 0.4590 ]
[ 0.4590 ] Updating BCT with signature
[ 0.4607 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.4626 ]
[ 0.4626 ] Updating BFS information on BCT
[ 0.4640 ] tegrabct --bct P3448_A00_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.4657 ]
[ 0.4657 ] Sending BCTs
[ 0.4669 ] tegrarcm --download bct P3448_A00_lpddr4_204Mhz_P987.bct
[ 0.4683 ] Applet is not running on device. Continue with Bootloader
[ 0.4868 ]
[ 0.4869 ] Sending bootloader and pre-requisite binaries
[ 0.4883 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 kernel_tegra210-p3448-0000-p3449-0000-b00.dtb 0
[ 0.4894 ] Applet is not running on device. Continue with Bootloader
[ 0.4926 ]
[ 0.4941 ] tegrarcm --boot recovery
[ 0.4952 ] Applet is not running on device. Continue with Bootloader
[ 0.4986 ]
[ 0.4986 ] Writing partition
[ 0.5000 ] tegradevflash --write LNX /home/user/Linux_for_Tegra/bootloader/signed/boot.img.encrypt
[ 0.5011 ] Cboot is not running on device.
[ 0.5044 ]
Error: Return value 4
Command tegradevflash --write LNX /home/user/Linux_for_Tegra/bootloader/signed/boot.img.encrypt
Failed to flash/read t210ref.

The VM is not support due to it may has unknown issue, we can only suggest to use the host PC with native Ubuntu OS to get the reflash process successfully.