Xavier does not flash with host pc

Hello,

I am tring flash JetPack 4.2.2. to Jetson Xavier through SDK Manager, but error occured Flash Jetson OS every time.
I tried to resolve the issue based on information of this forum, but it doesn’t resolve yet.
Following situation is same for me.
https://devtalk.nvidia.com/default/topic/1064857/jetson-agx-xavier/jetson-xavier-flash-failed/post/5394249/#5394249

So, I checked EEPROM of Xavier by those lines, then EEPROM returned XX all for indexes.

sudo apt-get install i2c-tools
sudo i2cdump -y 7 0x50

I suspect that the condition of EEPROM suppose to be not normal.

As next step, I suppose should be resolve EEPROM by using i2cset, but I have never been to use i2cset…
I would appreciate if someone kindly tell me to write command of i2cset in terminal of Xavier.

Thanks,

hello yukim8b8t,

you might not need to program EEPROM currently,
may I know what’s the error, could you please capture the failure messages while flashing.
thanks

Hello Jerry,

Thank you for your kindly reply.

The log is below.

Info: [ Disk Avail:411.10 GB ]
Info: change working directory to /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra
Info: [ Component PreInstall Started ]
Info: current working directory is /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/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.12-1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Info: [ Component PreInstall Finished Successfully ]
Info: [ Component Install Started ]
Info: current working directory is /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra
Info: exec_command: sudo ./flash.sh jetson-xavier mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 2.1

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

Target Board Information:

Name: jetson-xavier, Board Family: t186ref, SoC: Tegra 194,

OpMode: production, Boot Authentication: NS,

###############################################################################
copying soft_fuses(/home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)… done.
./tegraflash.py --chip 0x19 --applet “/home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/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.0069 ] Generating RCM messages
[ 0.0329 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[ 0.0338 ] Header already present for /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[ 0.0666 ]
[ 0.0957 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0970 ] Assuming zero filled SBK key
[ 0.0983 ]
[ 0.0998 ] tegrasign_v2 --key None --file /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[ 0.1011 ] Assuming zero filled SBK key
[ 0.1018 ]
[ 0.1032 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[ 0.1098 ]
[ 0.1220 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[ 0.1247 ]
[ 0.1261 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[ 0.1275 ] RCM 0 is saved as rcm_0.rcm
[ 0.1332 ] RCM 1 is saved as rcm_1.rcm
[ 0.1333 ] RCM 2 is saved as rcm_2.rcm
[ 0.1333 ] List of rcm files are saved in rcm_list.xml
[ 0.1333 ]
[ 0.1333 ] Signing RCM messages
[ 0.1346 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[ 0.1361 ] Assuming zero filled SBK key
[ 0.1369 ]
[ 0.1370 ] Copying signature to RCM mesages
[ 0.1383 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[ 0.1400 ]
[ 0.1400 ] Boot Rom communication
[ 0.1411 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[ 0.1422 ] RCM version 0X190001
[ 0.1433 ] Boot Rom communication completed
[ 1.1586 ]
[ 2.1623 ] tegrarcm_v2 --isapplet
[ 2.1647 ] Applet version 01.00.0000
[ 2.1824 ]
[ 2.1854 ] tegrarcm_v2 --ismb2
[ 2.2303 ]
[ 2.2331 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[ 2.2356 ]
[ 2.2382 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[ 2.2409 ] adding BCH for nvtboot_applet_t194.bin
[ 2.2558 ]
[ 2.2596 ] tegrasign_v2 --key None --list nvtboot_applet_t194_sigheader.bin_list.xml
[ 2.2620 ] Assuming zero filled SBK key
[ 2.2628 ]
[ 2.3218 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[ 2.3286 ]
[ 2.3314 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[ 2.3338 ] Applet version 01.00.0000
[ 2.3504 ] Sending mb2
[ 2.3505 ] […] 100%
[ 2.3679 ]
[ 2.3704 ] tegrarcm_v2 --boot recovery
[ 2.3728 ] Applet version 01.00.0000
[ 2.3938 ]
[ 3.3978 ] tegrarcm_v2 --isapplet
[ 3.4188 ]
[ 3.4214 ] tegrarcm_v2 --ismb2
[ 3.4238 ] MB2 Applet version 01.00.0000
[ 3.4633 ]
[ 3.4659 ] tegrarcm_v2 --ismb2
[ 3.4682 ] MB2 Applet version 01.00.0000
[ 3.4914 ]
[ 3.4940 ] Retrieving EEPROM data
[ 3.4942 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/cvm.bin
[ 3.4968 ] MB2 Applet version 01.00.0000
[ 3.5382 ] Saved platform info in /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2888/Linux_for_Tegra/bootloader/cvm.bin
[ 3.5728 ]
[ 3.5729 ] Rebooting to recovery mode
[ 3.5757 ] tegrarcm_v2 --ismb2
[ 3.5783 ] MB2 Applet version 01.00.0000
[ 3.5987 ]
[ 3.5988 ] Rebooting to recovery mode
[ 3.6013 ] tegrarcm_v2 --reboot recovery
[ 3.6035 ] MB2 Applet version 01.00.0000
[ 3.6416 ]
Parsing board information failed.
Info: [ Component Install Finished with Error ]
Info: [ 20.00 KB used. Disk Avail: 411.10 GB ]
Info: [ NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP Install took 7s ]
Error: Run commands failed at step Install: command sudo ./flash.sh jetson-xavier mmcblk0p1 finished with error

It was tried to flash OS Image with uncheck HOST Machine in Hardware configuration.

Thanks

hello yukim8b8t,

would like to have more details.
did you using a laptop with ubuntu OS or it’s based-on a virtual machine?
also, may I know what’s your environment setups, did you use an OTG cable or sharing USB port via a HUB?
thanks

Hello Jerry,

I am using a laptop with Ubuntu OS 18.LTS, it is no virtual environment.
Cable between Xavier and the laptop is connected OTG cable.

Please let me know if you need further information.

Thanks,

hello yukim8b8t,

could you please connect to laptop USB ports directly.
you might either try with different ports or working with different micro-B USB cable for verification.
BTW,
please also check similar discussion thread about failed to flash device via Laptops, Topic 1045532.
thanks

Hi Jerry,

Thanks you for your advice.
I tried to establish connection via another usb port of Xavier, but it doesn’t work well.
Only USB-C port which is next to indicator light of Xavier can connect host PC.
Those port were checked by lsusb command according TOPIC 1045532.

After checking usb connection, I tried to flash Jetson OS again, but the error occurred again.

Thanks,

hello yukim8b8t,

your issue might caused by device disconnected during flashing, which we often saw this with laptops.
my previous comments for trying with different USB ports means using different laptop USB ports.

also, according to Jetson AGX Xavier developer kit user guide, you should flash the board with J512 USB-C port.
thanks

hello yukim8b8t,

there’re two more similar discussion thread for your reference. Topic 1031769, and Topic 1064691.

some experience that…

  1. laptop needs to be connected a power-supply, 100% fail rate if the laptop is on battery.
  2. please do not using USB hub
  3. bare metal OS install, not using VM or containers
  4. please try to run flash.sh quickly after plug in the usb cable while Jetson is in recovery mode.

Hi Jerry,

Thank you for your kindly support anytime.

I changed host PC and established new environment according to your suggestion, then tried to flash Xavier also tring several usb port and cable on new host PC, but the error again.

Info: [ Disk Avail:844.50 GB ]
Info: change working directory to /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra
Info: [ Component PreInstall Started ]
Info: current working directory is /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/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).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Info: [ Component PreInstall Finished Successfully ]
Info: [ Component Install Started ]
Info: current working directory is /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra
Info: exec_command: sudo ./flash.sh jetson-xavier mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 2.3

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

Target Board Information:

Name: jetson-xavier, Board Family: t186ref, SoC: Tegra 194,

OpMode: production, Boot Authentication: NS,

###############################################################################
copying soft_fuses(/home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)… done.
./tegraflash.py --chip 0x19 --applet “/home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/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.0040 ] Generating RCM messages
[ 0.0058 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[ 0.0074 ] Header already present for /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[ 0.0168 ]
[ 0.0188 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0206 ] Assuming zero filled SBK key
[ 0.0209 ]
[ 0.0227 ] tegrasign_v2 --key None --file /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[ 0.0245 ] Assuming zero filled SBK key
[ 0.0256 ]
[ 0.0276 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[ 0.0360 ]
[ 0.0381 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[ 0.0394 ]
[ 0.0409 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[ 0.0422 ] RCM 0 is saved as rcm_0.rcm
[ 0.0480 ] RCM 1 is saved as rcm_1.rcm
[ 0.0480 ] RCM 2 is saved as rcm_2.rcm
[ 0.0480 ] List of rcm files are saved in rcm_list.xml
[ 0.0480 ]
[ 0.0480 ] Signing RCM messages
[ 0.0497 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[ 0.0511 ] Assuming zero filled SBK key
[ 0.0519 ]
[ 0.0519 ] Copying signature to RCM mesages
[ 0.0537 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[ 0.0560 ]
[ 0.0561 ] Boot Rom communication
[ 0.0579 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0592 ] RCM version 0X190001
[ 0.0603 ] Boot Rom communication completed
[ 1.0756 ]
[ 2.0788 ] tegrarcm_v2 --isapplet
[ 2.0805 ] Applet version 01.00.0000
[ 2.0829 ]
[ 2.0849 ] tegrarcm_v2 --ismb2
[ 2.1181 ]
[ 2.1201 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[ 2.1220 ]
[ 2.1239 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[ 2.1256 ] adding BCH for nvtboot_applet_t194.bin
[ 2.1326 ]
[ 2.1348 ] tegrasign_v2 --key None --list nvtboot_applet_t194_sigheader.bin_list.xml
[ 2.1361 ] Assuming zero filled SBK key
[ 2.1366 ]
[ 2.1400 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[ 2.1434 ]
[ 2.1447 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[ 2.1458 ] Applet version 01.00.0000
[ 2.1622 ] Sending mb2
[ 2.1623 ] […] 100%
[ 2.1752 ]
[ 2.1770 ] tegrarcm_v2 --boot recovery
[ 2.1788 ] Applet version 01.00.0000
[ 2.1978 ]
[ 3.2008 ] tegrarcm_v2 --isapplet
[ 3.2186 ]
[ 3.2206 ] tegrarcm_v2 --ismb2
[ 3.2223 ] MB2 Applet version 01.00.0000
[ 3.2545 ]
[ 3.2564 ] tegrarcm_v2 --ismb2
[ 3.2586 ] MB2 Applet version 01.00.0000
[ 3.2907 ]
[ 3.2925 ] Retrieving EEPROM data
[ 3.2927 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/cvm.bin
[ 3.2944 ] MB2 Applet version 01.00.0000
[ 3.3288 ] Saved platform info in /home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/bootloader/cvm.bin
[ 3.3632 ]
[ 3.3633 ] Rebooting to recovery mode
[ 3.3651 ] tegrarcm_v2 --ismb2
[ 3.3668 ] MB2 Applet version 01.00.0000
[ 3.3825 ]
[ 3.3825 ] Rebooting to recovery mode
[ 3.3840 ] tegrarcm_v2 --reboot recovery
[ 3.3857 ] MB2 Applet version 01.00.0000
[ 3.4256 ]
Parsing board information failed.
Info: [ Component Install Finished with Error ]
Info: [ 24.00 KB used. Disk Avail: 844.50 GB ]
Info: [ NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP Install took 6s ]
Error: Run commands failed at step Install: command sudo ./flash.sh jetson-xavier mmcblk0p1 finished with error

Thanks,

hello yukim8b8t,

did you always install via SDKManager?
could you please have alternative way to flash the board, the same OS image should store as below.
/home/adstec/nvidia/nvidia_sdk/JetPack_4.2.3_Linux_GA_P2888/Linux_for_Tegra/

please generate system image locally without flashing the board in the beginning.

$ sudo ./flash.sh --no-flash jetson-xavier mmcblk0p1

once complete, put your device enter forced-recovery mode and adding -r options to reuse the image to flash the board.

$ sudo ./flash.sh -r jetson-xavier mmcblk0p1
1 Like

Hi Jerry,

Thank you for your advice again.

Actually, I bought a new Xavier today, so a new Xavier could flash and install SDK components without any trouble in my host PC.
Then, I tried re-flash to the first Xavier as same condition, but error again.
Thus, I think that the problem comes from Xavier condition.
How can it define the problem? or Is there way to back to factory default?

Thanks,

hello yukim8b8t,

please have a RMA (Return Material Authorization) process for the device issue.
thanks

Hello Jerry,

Okya, thank you for your kindly support.

Thnaks,