Nvidia Jetson Nano flashing emmc fail issue

I have a nano module with eMMC and now I have some problem when flashed this module with sdkmanager.

The version of the sdkmanager is 0.9.14-4964_amd64.deb
The version of the Jetpack is JetPack_4.2.3_Linux_GA_P3448-0020

The logs from file “NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP.log” are as follows:

Info: [ Disk Avail:98.19 GB ]
Info: change working directory to /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra
Info: [ Component PreInstall Started ]
Info: current working directory is /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra
Info: exec_command: sudo apt-get install -y python
Reading package lists…
Building dependency tree…
Reading state information…
python is already the newest version (2.7.15~rc1-1).
The following packages were automatically installed and are no longer required:
libllvm8 libllvm8:i386
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Info: [ Component PreInstall Finished Successfully ]
Info: [ Component Install Started ]
Info: current working directory is /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra
Info: exec_command: sudo ./flash.sh jetson-nano-emmc mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 2.3

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

Target Board Information:

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

OpMode: production, Boot Authentication: ,

###############################################################################
./tegraflash.py --chip 0x21 --applet “/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/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.0021 ] Generating RCM messages
[ 0.0030 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0039 ] RCM 0 is saved as rcm_0.rcm
[ 0.0045 ] RCM 1 is saved as rcm_1.rcm
[ 0.0045 ] List of rcm files are saved in rcm_list.xml
[ 0.0045 ]
[ 0.0045 ] Signing RCM messages
[ 0.0055 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0072 ] Assuming zero filled SBK key
[ 0.0128 ]
[ 0.0128 ] Copying signature to RCM mesages
[ 0.0139 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0154 ]
[ 0.0154 ] Boot Rom communication
[ 0.0164 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0174 ] RCM version 0X210001
[ 0.0642 ] Boot Rom communication completed
[ 1.0713 ]
[ 1.0714 ] dump EEPROM info
[ 1.0729 ] tegrarcm --oem platformdetails eeprom /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/cvm.bin
[ 1.0746 ] Applet version 00.01.0000
[ 1.0929 ] Saved platform info in /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/cvm.bin
[ 1.3461 ]
copying bctfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)… done.
copying bootloader(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying initrd(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)… done.
copying cpu_bootloader(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
copying bpffile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)… done.
Existing badpagefile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)… done.
Existing tosfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/rootfs … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image…
done.
system.img built successfully.
Existing tbcfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)… done.
copying cfgfile(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml… done.
copying flasher(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/t210ref/cboot.bin)… done.
Existing flashapp(/home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl cboot.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --odmdata 0x94000 --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --applet nvtboot_recovery.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x21 --bins “EBT cboot.bin; DTB tegra210-p3448-0002-p3449-0000-b00.dtb”
saving flash command in /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/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.0142 ] tegrasign --key None --getmode mode.txt
[ 0.0156 ] Assuming zero filled SBK key
[ 0.0685 ]
[ 0.0686 ] Generating RCM messages
[ 0.0801 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0810 ] RCM 0 is saved as rcm_0.rcm
[ 0.1128 ] RCM 1 is saved as rcm_1.rcm
[ 0.1128 ] List of rcm files are saved in rcm_list.xml
[ 0.1128 ]
[ 0.1128 ] Signing RCM messages
[ 0.1139 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1148 ] Assuming zero filled SBK key
[ 0.1205 ]
[ 0.1205 ] Copying signature to RCM mesages
[ 0.1218 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.1301 ]
[ 0.1301 ] Parsing partition layout
[ 0.1421 ] tegraparser --pt flash.xml.tmp
[ 0.1779 ]
[ 0.1779 ] Creating list of images to be signed
[ 0.1951 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.2733 ]
[ 0.2733 ] Generating signatures
[ 0.2747 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.2757 ] Assuming zero filled SBK key
[ 0.3497 ]
[ 0.3498 ] Generating br-bct
[ 0.3619 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0
[ 0.3629 ] Copying Sdram info from 0 to 1 set
[ 0.4061 ] Copying Sdram info from 1 to 2 set
[ 0.4061 ] Copying Sdram info from 2 to 3 set
[ 0.4061 ]
[ 0.4062 ] Updating boot device parameters
[ 0.4073 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.4082 ] Warning: No sdram params
[ 0.4113 ]
[ 0.4114 ] Updating bl info
[ 0.4124 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.4209 ]
[ 0.4209 ] Updating secondary storage information into bct
[ 0.4225 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.4255 ]
[ 0.4255 ] Updating Odmdata
[ 0.4267 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatefields Odmdata =0x94000
[ 0.4276 ] Warning: No sdram params
[ 0.4300 ]
[ 0.4300 ] Get Signed section of bct
[ 0.4310 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.4320 ]
[ 0.4320 ] Signing BCT
[ 0.4339 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.4350 ] Assuming zero filled SBK key
[ 0.4355 ]
[ 0.4355 ] Updating BCT with signature
[ 0.4371 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.4865 ]
[ 0.4866 ] Copying signatures
[ 0.4892 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.5907 ]
[ 0.5908 ] Updating BFS information on BCT
[ 0.5938 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatebfsinfo flash.xml.bin
[ 0.5947 ] BFS:
[ 0.5981 ] 0: [PT ] flash.xml.bin (size=2306/65536)
[ 0.5985 ] 2: [VER] emmc_bootblob_ver.txt (size=57/65536)
[ 0.6158 ] BFS0: 65536 @ 896 SUM 1076fffb over 7929856 bytes
[ 0.6195 ]
[ 0.6195 ] Boot Rom communication
[ 0.6210 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.6229 ] BootRom is not running
[ 0.6740 ]
[ 0.6741 ] Sending BCTs
[ 0.6760 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct
[ 0.6771 ] Applet version 00.01.0000
[ 0.6790 ] Sending bct
[ 0.6792 ] […] 100%
[ 0.7721 ]
[ 0.7735 ] tegrahost --chip 0x21 --align cboot.bin
[ 0.7747 ]
[ 0.7757 ] tegrahost --magicid EBT --appendsigheader cboot.bin cboot.bin_blheader
[ 0.7864 ]
[ 0.7887 ] tegrasign --key None --list cboot.bin_list.xml
[ 0.7904 ] Assuming zero filled SBK key
[ 0.8069 ]
[ 0.8083 ] tegrahost --updatesigheader cboot.bin_blheader.encrypt cboot.bin_blheader.hash zerosbk
[ 0.8185 ]
[ 0.8289 ] tegrahost --chip 0x21 --align tegra210-p3448-0002-p3449-0000-b00.dtb
[ 0.8301 ]
[ 0.8312 ] tegrahost --magicid DTB --appendsigheader tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dtb_blheader
[ 0.8411 ]
[ 0.8431 ] tegrasign --key None --list tegra210-p3448-0002-p3449-0000-b00.dtb_list.xml
[ 0.8442 ] Assuming zero filled SBK key
[ 0.8535 ]
[ 0.8552 ] tegrahost --updatesigheader tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.encrypt tegra210-p3448-0002-p3449-0000-b00.dtb_blheader.hash zerosbk
[ 0.8592 ]
[ 0.8626 ] Sending bootloader and pre-requisite binaries
[ 0.8638 ] tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
[ 0.8647 ] Applet version 00.01.0000
[ 0.8802 ] Sending ebt
[ 0.9467 ]
Error: Return value 1
Command tegrarcm --download ebt cboot.bin.encrypt 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt 0
Failed flashing t210ref.
Info: [ Component Install Finished with Error ]
Info: [ 8.16 GB used. Disk Avail: 90.03 GB ]
Info: [ NV_L4T_FLASH_NANO_WITH_OS_IMAGE_COMP Install took 1m34s ]
Error: Run commands failed at step Install: command sudo ./flash.sh jetson-nano-emmc mmcblk0p1 finished with error
SDKM_logs_JetPack_4.2.3_Linux_for_Jetson_Nano_2019-12-09_15-15-54.zip (524 KB)

The logs from the serial port when flashing the module are as follows:

[0138.731] Enabled early print
[0138.734] [TegraBoot] (version 00.00.2018.01-l4t-e5cfc6a7)
[0138.739] Processing in recovery mode
[0138.743] A02 Bootrom Patch rev = 1023
[0138.746] Power-up reason: pmc por
[0138.750] Established communication link with host
[0139.926] NvTbootI2cClearBus(): error code 0x00000005 Bus clear timeout
[0139.932] NvTbootI2cDeviceRead(): error code 0x00000005 I2c Open Failed
[0139.939] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00000005
[0228.587] Odmdata from BCT: 0x00094000
[0228.591] DebugPort= 0x3
[0228.604] NvTbootI2cWaitForTransferComplete(): error code 0x00000005 I2C Transaction could not complete within time
[0228.625] NvTbootI2cWaitForTransferComplete(): error code 0x00000005 I2C Transaction could not complete within time
[0228.635] NvTbootI2cWrite(): error code 0x00000005 Error while starting write transaction
[0228.642] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave
[0228.651] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00045001
[0228.659] Reading Board-Type unsuccessful
[0228.663] BoardId read from EEPROM/NCT: 0
[0228.666] Unsupported Platform 0
[0228.669] Downloaded BCT successfully

The screenshot picture of the sdkmanager when problem occurred is in the attachment

Hi wujianzhang2002,

Please check your Jetson Nano board number and list on here.

Example:
180-13449-DAAF-B01

Hi carolyuu,

Thank you for reply!

My Jetson Nano board number is as follows:

Model: P3448
180-13448-DAAA-B01

Best regards!

Hi wujianzhang2002,

Your model is P3448, our devkit is P3450.
Are you using devkit or customer board?

I have tried with a devkit and my company’s customer carrier board. But both these carrier board can’t flash this Jetson Nano Module(P3448),and have the same problem when flashing.

Hi wujianzhang2002,

Please try flash by manually on Jetson-Nano-B01 devkit (no sdcard slot):

cd /home/wujz/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P3448-0020/Linux_for_Tegra
sudo ./flash.sh jetson-nano-emmc mmcblk0p1

Hi, wujianzhang2002

Could you check the power on sequence of the micro USB when entered recovery mode? You can compare with the usb port of the devkit board.