Xavier NX cannot boot up and cannot flash. Error'CPU Bootloader is not running on device.'

My Xavier NX cannot boot up, I use Jetson developer kit, not third party carrier board. The board worked pretty well in the past days. I cannot remember what I exactly done in the last time. Maybe power on quickly after the power goes out. By the way, power is Li-po battery ,not adapter.

Here are error info:

imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
imx219 9-0010: board setup failed
imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
imx219 9-0010: board setup failed
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

This issue is same as someone , but his way is not work to me.

What I have done:

kanhao100@ubuntu-x86 ~/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra
 % sudo ./flash.sh jetson-xavier-nx-devkit mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/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.0024 ] Generating RCM messages
[   0.0035 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0041 ] Header already present for /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0065 ] 
[   0.0084 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0085 ] Assuming zero filled SBK key
[   0.0104 ] tegrasign_v3.py --file /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0105 ] Assuming zero filled SBK key
[   0.0145 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0175 ] 
[   0.0199 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0206 ] 
[   0.0225 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0231 ] RCM 0 is saved as rcm_0.rcm
[   0.0255 ] RCM 1 is saved as rcm_1.rcm
[   0.0255 ] RCM 2 is saved as rcm_2.rcm
[   0.0255 ] List of rcm files are saved in rcm_list.xml
[   0.0255 ] 
[   0.0256 ] Signing RCM messages
[   0.0277 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0277 ] Assuming zero filled SBK key
[   0.0329 ] Copying signature to RCM mesages
[   0.0348 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0358 ] 
[   0.0358 ] Boot Rom communication
[   0.0377 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0383 ] RCM version 0X190001
[   0.0391 ] Boot Rom communication completed
[   1.0560 ] 
[   2.0617 ] tegrarcm_v2 --isapplet
[   2.0640 ] Applet version 01.00.0000
[   2.0672 ] 
[   2.0710 ] tegrarcm_v2 --ismb2
[   2.0903 ] 
[   2.0945 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   2.0970 ] 
[   2.1010 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   2.1036 ] adding BCH for nvtboot_applet_t194.bin
[   2.1095 ] 
[   2.1121 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.1121 ] Assuming zero filled SBK key
[   2.1159 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   2.1177 ] 
[   2.1194 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.1201 ] Applet version 01.00.0000
[   2.1372 ] Sending mb2
[   2.1372 ] [................................................] 100%
[   2.1527 ] 
[   2.1548 ] tegrarcm_v2 --boot recovery
[   2.1556 ] Applet version 01.00.0000
[   2.1615 ] 
[   3.1669 ] tegrarcm_v2 --isapplet
[   3.1726 ] 
[   3.1765 ] tegrarcm_v2 --ismb2
[   3.1787 ] MB2 Applet version 01.00.0000
[   3.1824 ] 
[   3.1865 ] tegrarcm_v2 --ismb2
[   3.1894 ] MB2 Applet version 01.00.0000
[   3.2223 ] 
[   3.2262 ] Retrieving board information
[   3.2300 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   3.2323 ] MB2 Applet version 01.00.0000
[   3.2524 ] Saved platform info in chip_info.bin
[   3.2569 ] Chip minor revision: 2
[   3.2572 ] Bootrom revision: 0xf
[   3.2573 ] Ram code: 0x0
[   3.2573 ] Chip sku: 0xde
[   3.2573 ] Chip Sample: non es
[   3.2573 ] 
[   3.2580 ] Retrieving EEPROM data
[   3.2581 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   3.2604 ] MB2 Applet version 01.00.0000
[   3.2806 ] 000000003636002a: E> I2C: Condition bus clear could not meet.
[   3.3289 ] 
[   3.3289 ] 
[   3.3334 ] tegradevflash_v2 --oem platformdetails eeprom cvm /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
[   3.3359 ] CPU Bootloader is not running on device.
[   3.3393 ] 
Error: Return value 4
Command tegradevflash_v2 --oem platformdetails eeprom cvm /home/kanhao100/nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/cvm.bin
Reading board information failed.

Is this your first time doing flash from sdkmanager?

No, the timeline looks like this:
Xavier NX, I used to use the SDcard method until I had this problem,
Then I tried using the SDK Manager Method to Flash to fix it. I tried many times but never succeeded(including using flash.sh).
Finally I came across this post https://forums.developer.nvidia.com/t/jetson-xavier-nx-won-t-load-gui-can-t-get-it-out-of-bash-environment/193551/30 and tried his method.

What’s more, Here is detail log from The Serial Debug Consol.

[0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0000.033] I> MB1 (prd-version: 1.5.1.6-t194-41334769-1740dd39)
[0000.038] I> Boot-mode: Coldboot
[0000.041] I> Chip revision : A02P
[0000.044] I> Bootrom patch version : 15 (correctly patched)
[0000.049] I> ATE fuse revision : 0x200
[0000.053] I> Ram repair fuse : 0x0
[0000.056] I> Ram Code : 0x0
[0000.058] I> rst_source : 0x0
[0000.061] I> rst_level : 0x0
[0000.065] I> Boot-device: QSPI
[0000.067] I> Qspi flash params source = brbct
[0000.071] I> Qspi using bpmp-dma
[0000.074] I> Qspi clock source : pllp
[0000.078] I> QSPI Flash Size = 32 MB
[0000.081] I> Qspi initialized successfully
[0000.085] I> Active Boot chain : 0
[0000.088] I> Boot-device: QSPI
[0000.091] I> Qspi flash params source = brbct
[0000.097] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0000.105] I> Temperature = 32000
[0000.108] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.112] W> Skipping boost for clk: BPMP_APB
[0000.116] W> Skipping boost for clk: AXI_CBB
[0000.120] W> Skipping boost for clk: AON_CPU_NIC
[0000.124] W> Skipping boost for clk: CAN1
[0000.128] W> Skipping boost for clk: CAN2
[0000.132] I> Boot-device: QSPI
[0000.135] I> Boot-device: QSPI
[0000.138] I> Qspi flash params source = mb1bct
[0000.142] I> Qspi using bpmp-dma
[0000.145] I> Qspi clock source : pllc_out0
[0000.149] I> Qspi reinitialized
[0000.152] I> Qspi flash params source = mb1bct
[0000.157] I> ECC region[0]: Start:0x0, End:0x0
[0000.161] I> ECC region[1]: Start:0x0, End:0x0
[0000.165] I> ECC region[2]: Start:0x0, End:0x0
[0000.170] I> ECC region[3]: Start:0x0, End:0x0
[0000.174] I> ECC region[4]: Start:0x0, End:0x0
[0000.178] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0000.184] I> Non-ECC region[1]: Start:0x0, End:0x0
[0000.188] I> Non-ECC region[2]: Start:0x0, End:0x0
[0000.192] I> Non-ECC region[3]: Start:0x0, End:0x0
[0000.197] I> Non-ECC region[4]: Start:0x0, End:0x0
[0000.202] E> FAILED: Thermal config
[0000.210] E> FAILED: MEMIO rail config
[0000.220] I> Boot-device: QSPI
[0000.223] I> Qspi flash params source = mb1bct
[0000.232] I> Qspi flash params source = mb1bct
[0000.243] I> Qspi flash params source = mb1bct
[0000.310] I> Qspi flash params source = mb1bct
[0000.319] I> Qspi flash params source = mb1bct
[0000.347] I> Qspi flash params source = mb1bct
[0000.359] I> MB1 done

ÿ󬠩n enter
SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21
HW Function test
Start Scheduler.
in late init
ÿ
 ᙰ000.367] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-7515048c)
[0000.368] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.368] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.369] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.375] W> device prod register failed
[0000.379] I> Boot-device: QSPI
[0000.382] I> Boot_device: QSPI_FLASH instance: 0
[0000.387] I> QSPI Flash Size = 32 MB
[0000.392] I> Qspi initialized successfully
[0000.393] I> qspi flash-0 params source = boot args
[0000.398] E> Failed: Unknown device 6
[0000.405] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0000.408] I> Active Boot chain : 0
[0000.411] I> parsing oem signed section of bpmp-fw header done
[0000.416] I> bpmp-fw binary init read from storage
[0000.421] I> oem authentication of bpmp-fw header done
[0000.435] I> bpmp-fw binary done read from storage
[0000.436] I> bpmp-fw: Authentication init Done
[0000.437] I> parsing oem signed section of cpubl header done
[0000.440] I> cpubl binary init read from storage
[0000.445] I> bpmp-fw: Authentication Finalize Done
[0000.449] I> oem authentication of cpubl header done
[0000.457] I> cpubl binary done read from storage
[0000.459] I> cpubl: Authentication init Done
[0000.463] I> parsing oem signed section of rce header done
[0000.468] I> rce binary init read from storage
[0000.473] I> Relocating BR-BCT
[0000.475] I> cpubl: Authentication Finalize Done
[0000.480] I> oem authentication of rce header done
[0000.485] I> rce binary done read from storage
[0000.489] I> rce: Authentication init Done
[0000.493] I> parsing oem signed section of ape header done
[0000.498] I> ape binary init read from storage
[0000.502] I> rce: Authentication Finalize Done
[0000.507] I> oem authentication of ape header done
[0000.511] I> ape binary done read from storage
[0000.515] I> ape: Authentication init Done
[0000.520] I> parsing oem signed section of tos header done
[0000.525] I> tos binary init read from storage
[0000.529] I> ape: Authentication Finalize Done
[0000.534] I> oem authentication of tos header done
[0000.540] I> tos binary done read from storage
[0000.542] I> tos: Authentication init Done
[0000.546] I> parsing oem signed section of bpmp-fw-dtb header done
[0000.552] I> bpmp-fw-dtb binary init read from storage
[0000.557] I> tos: Authentication Finalize Done
[0000.563] I> oem authentication of bpmp-fw-dtb header done
[0000.567] I> bpmp-fw-dtb binary done read from storage
[0000.572] I> bpmp-fw-dtb: Authentication init Done
[0000.577] I> parsing oem signed section of cpubl-dtb header done
[0000.582] I> cpubl-dtb binary init read from storage
[0000.587] I> bpmp-fw-dtb: Authentication Finalize Done
[0000.634] I> oem authentication of cpubl-dtb header done
[0000.634] I> cpubl-dtb binary done read from storage
[0000.635] I> cpubl-dtb: Authentication init Done
[0000.636] I> parsing oem signed section of eks header done
[0000.637] I> eks binary init read from storage
[0000.637] I> cpubl-dtb: Authentication Finalize Done
[0000.638] I> oem authentication of eks header done
[0000.642] I> eks binary done read from storage
[0000.647] I> eks: Authentication init Done
[0000.651] I> eks: Authentication Finalize Done
[0000.655] I> EKB detected (length: 0x410) @ VA:0x52700400
ÿ㍏TICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 11:27:13, Jun 14 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing .......
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
ÿ

welcome to lk
calling constructors
initializing heap
creating bootstrap completion thread
top of bootstrap2()
initializing platform
bpmp: platform_init
tag is e73a758761f0c6d24a1e69a2ac6b5035
tag_show initialized
dt initialized
mail initialized
chipid initialized
fuse initialized
sku initialized
speedo initialized
ec_get_ec_list: found 45 ecs
ec initialized
ec_mrq initialized
vmon_populate_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
fmon_mrq initialized
reset initialized
nvhs initialized
391 clocks registered
clk_mrq_init: mrq handler registered
clk initialized
nvlink initialized
io_dpd initialized
io_dpd initialized
thermal initialized
i2c5 controller initialized
initialized i2c mrq handling
i2c initialized
regulator initialized
avfs_clk_platform_init: bad clk id in clock@cluster1_avfs
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
dvs initialized
pm initialized
pg_late initialized
strap initialized
tag initialized
emc initialized
clk_dt initialized
avfs_ccplex_platform initialized
tj_max: dt node not found
tj_init initialized
uphy_mrq_init: mrq handler registered
uphy_dt initialized
uphy initialized
safereg_init: period 80 ms
ec_late initialized
ÿ
 ٰ000.995] I> Welcome to Cbootÿᬲq initialized
WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
fmon_post initialized
ÿ
[0000.996] I> Cboot Version: t194-f9317da2
[0000.997] I> CPU-BL Params @ 0xf2820000
[0001.001] I>  0) Base:0x00000000 Size:0x00000000
[0001.005] I>  1) Base:0xf1100000 Size:0x00100000
ÿ᢬k_set_parent failed for clk i2c2, parent pll_aon (-22)
clk_set_parent failed for clk i2c8, parent pll_aon (-22)
clk_dt_late initialized
machine_check initialized
pm_post initialized
dbells initialized
avfs_clk_platform_post initialized
dmce initialized
cvc initialized
ccplex_avfs_hw_init: nafll_cluster0: not monitored
ccplex_avfs_hw_init: nafll_cluster2: not monitored
ccplex_avfs_hw_init: nafll_cluster3: not monitored
avfs_clk_mach_post initialized
regulator_post initialized
rm initialized
sc7_diag initialized
thermal_test initialized
serial_late initialized
clk_post initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
dyn_modules initialized
sku_debugfs initialized
speedo_debugfs initialized
adc_debugfs initialized
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
clk_debugfs initialized
emc_debugfs initialized
dvs_debugfs initialized
fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1
fmon_debugfs initialized
vmon_debugfs initialized
pg_debugfs initialized
profile_fs initialized
debugfs_cons initialized
mail_fs initialized
profile initialized
cvc_debugfs initialized
dmce_debugfs initialized
ec_debugfs initialized
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_debugfs initialized
soctherm_debug initialized
gr_reader initialized
mods initialized
dt_fs initialized
debugfs_mrq initialized
debug_mrq initialized
debug_safereg initialized
initializing target
calling apps_init()
starting app shell
entering main console loop
] ÿٰ001.010] I>  2) Base:0xf2000000 Size:0x00200000
[0001.164] I>  3) Base:0xf1200000 Size:0x00200000
[0001.168] I>  4) Base:0xf1000000 Size:0x00100000
[0001.173] I>  5) Base:0xf0f00000 Size:0x00100000
[0001.177] I>  6) Base:0xf3800000 Size:0x00400000
[0001.182] I>  7) Base:0xf1c00000 Size:0x00400000
[0001.186] I>  8) Base:0xf0e00000 Size:0x00100000
[0001.191] I>  9) Base:0xf0d00000 Size:0x00100000
[0001.195] I> 10) Base:0xf3000000 Size:0x00800000
[0001.199] I> 11) Base:0x40000000 Size:0x00040000
[0001.204] I> 12) Base:0xf0c00000 Size:0x00100000
[0001.208] I> 13) Base:0x40046000 Size:0x00002000
[0001.213] I> 14) Base:0x40048000 Size:0x00002000
[0001.217] I> 15) Base:0xac000000 Size:0x00004000
[0001.222] I> 16) Base:0x4004a000 Size:0x00002000
[0001.226] I> 17) Base:0xf0b00000 Size:0x00100000
[0001.231] I> 18) Base:0x4004c000 Size:0x00002000
[0001.235] I> 19) Base:0xf2200000 Size:0x00600000
[0001.240] I> 20) Base:0x4004e000 Size:0x00002000
[0001.244] I> 21) Base:0xf0ad0000 Size:0x0000c000
[0001.249] I> 22) Base:0x00000000 Size:0x00000000
[0001.253] I> 23) Base:0xf0ae0000 Size:0x00020000
[0001.258] I> 24) Base:0xf6000000 Size:0x02000000
[0001.262] I> 25) Base:0x40050000 Size:0x00002000
[0001.266] I> 26) Base:0x40040000 Size:0x00006000
[0001.271] I> 27) Base:0xf1800000 Size:0x00400000
[0001.275] I> 28) Base:0xf4c00000 Size:0x01400000
[0001.280] I> 29) Base:0xf1400000 Size:0x00400000
[0001.284] I> 30) Base:0x00000000 Size:0x00000000
[0001.289] I> 31) Base:0x00000000 Size:0x00000000
[0001.293] I> 32) Base:0xf8000000 Size:0x08000000
[0001.298] I> 33) Base:0x00000000 Size:0x00000000
[0001.302] I> 34) Base:0xf3c00000 Size:0x01000000
[0001.307] I> 35) Base:0xab000000 Size:0x01000000
[0001.311] I> 36) Base:0xa0000000 Size:0x0b000000
[0001.316] I> 37) Base:0xf2800000 Size:0x00800000
[0001.320] I> 38) Base:0x80000000 Size:0x20000000
[0001.324] I> 39) Base:0xb0000000 Size:0x08000000
[0001.329] I> 40) Base:0x00000000 Size:0x00000000
[0001.333] I> 41) Base:0x00000000 Size:0x00000000
[0001.338] I> 42) Base:0x00000000 Size:0x00000000
[0001.342] I> 43) Base:0x00000000 Size:0x00000000
[0001.347] I> 44) Base:0x00000000 Size:0x00000000
[0001.351] I> 45) Base:0x00000000 Size:0x00000000
[0001.356] GIC-SPI Target CPU: 0
[0001.359] Interrupts Init done
[0001.362] calling constructors
[0001.364] initializing heap
[0001.367] I> Heap: [0xa0694618 ... 0xab000000]
[0001.371] initializing threads
[0001.374] initializing timers
[0001.377] creating bootstrap completion thread
[0001.381] top of bootstrap2()
[0001.384] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
[0001.389] initializing platform
[0001.392] E> DEVICE_PROD: Invalid value data = 0, size = 0.
[0001.397] W> device prod register failed
[0001.401] I> Bl_dtb @0xaaf00000
[0001.406] W> "plugin-manager" doesn't exist, creating
[0001.409] W> "ids" doesn't exist, creating
[0001.413] W> "connection" doesn't exist, creating
[0001.417] W> "configs" doesn't exist, creating
[0001.427] I> Find /i2c@3160000's alias i2c0
[0001.427] I> Reading eeprom i2c=0 address=0x50
[0001.431] E> I2C: Condition bus clear could not meet.
[0001.435] E> I2C: Failed to clear bus for instance 0.
[0001.440] E> I2C: Failed to clear bus for instance 0.
[0001.445] E> I2C_DEV: Failed to initialize instance 0.
[0001.450] E> eeprom: Can't get handle to eeprom device @160
[0001.455] I> Eeprom read failed 0x3536002a
[0001.459] I> Reading eeprom i2c=0 address=0x57
[0001.464] E> I2C: Condition bus clear could not meet.
[0001.468] E> I2C: Failed to clear bus for instance 0.
[0001.473] E> I2C: Failed to clear bus for instance 0.
[0001.478] E> I2C_DEV: Failed to initialize instance 0.
[0001.483] E> eeprom: Can't get handle to eeprom device @174
[0001.488] I> Eeprom read failed 0x3536002a
[0001.494] I> Find /i2c@c240000's alias i2c1
[0001.496] I> Reading eeprom i2c=1 address=0x50
[0001.502] E> I2C: slave not found in slaves.
[0001.505] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.513] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.518] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.528] E> eeprom: Retry to read I2C slave device.
[0001.533] E> I2C: slave not found in slaves.
[0001.537] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.544] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.550] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.559] E> eeprom: Failed to read I2C slave device
[0001.564] I> Eeprom read failed 0x3526070d
[0001.570] W> "chip-id" doesn't exist, creating
[0001.573] I> Adding plugin-manager/chip-id/A02P
[0001.577] I> Plugin-manager override starting
[0001.582] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0001.590] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0001.600] I> Disable plugin-manager status in FDT
[0001.601] I> Plugin-manager override finished successfully
[0001.602] I> gpio framework initialized
[0001.607] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0001.614] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0001.621] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0001.628] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0001.636] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0001.643] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.649] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0001.656] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0001.664] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0001.671] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.678] I> fixed regulator driver initialized
[0001.685] I> register 'maxim' power off handle
[0001.686] I> virtual i2c enabled
[0001.689] I> registered 'maxim,max20024' pmic
[0001.693] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver
[0001.699] I> Boot-device: QSPI
[0001.702] I> Boot_device: QSPI_FLASH instance: 0
[0001.707] I> QSPI source rate = 204000 Khz
[0001.711] I> Requested rate for QSPI clock = 34000 Khz
[0001.716] I> BPMP-set rate for QSPI clk = 34000 Khz
[0001.721] I> QSPI Flash Size = 32 MB
[0001.728] I> Qspi initialized successfully
[0001.729] I> qspi flash-0 params source = boot args
[0001.733] I> Found sdcard
[0001.737] I> enabling 'vdd-sdmmc1-sw' regulator
[0001.742] I> regulator 'vdd-sdmmc1-sw' already enabled
[0001.896] I> sdmmc SDR mode
[0001.910] I> -0 params source = 
[0001.911] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0001.921] I> Found 11 partitions in SDCARD (instance 0)
[0001.928] I> regulator 'vdd-hdmi-5v0' already enabled
[0001.932] I> regulator 'vdd-hdmi-5v0' already enabled
[0001.932] E> tegrabl_display_init_regulator: hdmi cable is not connected
[0001.933] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0001.935] E> invalid display type
[0001.936] E> cannot find any other nvdisp nodes
[0001.937] E> no valid display unit config found in dtb
[0001.939] W> display init failed
[0001.941] I> Load in CBoot Boot Options partition and parse it
[0001.948] E> Error -9 when finding node with path /boot-configuration
[0001.953] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0001.961] I> Using default boot order
[0001.964] I> boot-dev-order :-
[0001.967] I> 1.sd
[0001.969] I> 2.usb
[0001.971] I> 3.nvme
[0001.973] I> 4.emmc
[0001.975] I> 5.net
[0001.976] I> Hit any key to stop autoboot:	4	3	2	1
[0003.984] initializing target
[0003.984] calling apps_init()
[0003.985] starting app kernel_boot_app
[0003.991] I> found decompressor handler: lz4-legacy
[0003.991] I> decompressing BMP blob ...
[0003.995] I> Kernel type = Normal
[0003.995] I> Loading kernel-bootctrl from partition
[0003.996] I> Loading partition kernel-bootctrl at 0xa42c0000 from device(0x6)
[0004.022] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0004.023] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0004.023] I> ########## SD (0) boot ##########
[0004.024] I> Found sdcard
[0004.025] I> regulator 'vdd-sdmmc1-sw' already enabled
[0004.028] I> regulator 'vdd-sdmmc1-sw' already enabled
[0004.063] I> sdmmc SDR mode
[0004.078] I> -0 params source = 
[0004.078] I> Already published: 00060000
[0004.078] I> Look for boot partition
[0004.078] I> Fallback: assuming 0th partition is boot partition
[0004.079] I> Detect filesystem
[0004.101] I> Loading extlinux.conf ...
[0004.101] I> rootfs path: /sd/boot/extlinux/extlinux.conf
[0004.130] I> L4T boot options
[0004.130] I> [1]: "primary kernel"
[0004.131] I> Enter choice: 
[0007.132] I> Continuing with default option: 1
[0007.132] I> Loading kernel sig file from rootfs ...
[0007.132] I> rootfs path: /sd/boot/Image.sig
[0007.146] I> Loading kernel binary from rootfs ...
[0007.146] I> rootfs path: /sd/boot/Image
[0009.957] I> overload load_size to 34484232 (from 34484240)
[0009.980] I> Validate kernel ...
[0009.980] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
[0010.294] I> Encryption fuse is not ON
[0010.311] I> No kernel-dtb binary path
[0010.311] I> A/B: bin_type (38) slot 0
[0010.311] I> Loading kernel-dtb from partition
[0010.312] I> Loading partition kernel-dtb at 0x91000000 from device(0x6)
[0010.355] I> Validate kernel-dtb ...
[0010.355] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
[0010.358] I> Encryption fuse is not ON
[0010.359] I> Loading ramdisk from rootfs ...
[0010.359] I> Loading initrd sig file from rootfs ...
[0010.360] I> rootfs path: /sd/boot/initrd.sig
[0010.373] I> Loading initrd binary from rootfs ...
[0010.373] I> rootfs path: /sd/boot/initrd
[0010.974] I> overload load_size to 7238344 (from 7238352)
[0010.978] I> Validate initrd ...
[0010.978] I> T19x: Authenticate initrd (bin_type: 49), max size 0x4000000
[0011.044] I> Encryption fuse is not ON
[0011.058] I> Kernel hdr @0xa42c0000
[0011.058] I> Kernel dtb @0x90000000
[0011.058] I> decompressor handler not found
[0011.058] I> Copying kernel image (34484232 bytes) from 0xa42c0000 to 0x80080000 ... [0011.069] I> Done
[0011.070] I> Updated bpmp info to DTB
[0011.071] I> Ramdisk: Base: 0x92000000; Size: 0x6e72c8
[0011.071] I> Updated initrd info to DTB
[0011.072] W> WARN: Fail to override "console=none" in commandline
[0011.072] I> Active rootfs suffix: 
[0011.074] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0011.081] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0011.088] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0011.096] I> Active slot suffix: 
[0011.099] I> add_boot_slot_suffix: slot_suffix = 
[0011.103] I> Linux Cmdline: console=ttyTCU0,115200 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 
[0011.130] I> Updated bootarg info to DTB
[0011.133] E> Error 892665857: Failed to get CVM EEPROM contents
[0011.139] E> Booting w/o MAC ddresses for WIFI, Bluetooth & Ethernet
[0011.145] E> Failed to get WIFI MAC address
[0011.149] E> Error 892665857: Failed to get CVM EEPROM contents
[0011.155] E> Booting w/o MAC ddresses for WIFI, Bluetooth & Ethernet
[0011.161] E> Failed to get Bluetooth MAC address
[0011.166] E> Error 892665857: Failed to get CVM EEPROM contents
[0011.172] E> Booting w/o MAC ddresses for WIFI, Bluetooth & Ethernet
[0011.178] E> Failed to get Ethernet MAC address
[0011.183] W> "plugin-manager" doesn't exist, creating
[0011.187] W> "chip-id" doesn't exist, creating
[0011.191] I> Adding /chosen/plugin-manager/chip-id
[0011.196] W> "configs" doesn't exist, creating
[0011.200] I> Adding /chosen/plugin-manager/configs
[0011.205] W> "ids" doesn't exist, creating
[0011.209] I> Adding /chosen/plugin-manager/ids
[0011.213] W> "odm-data" doesn't exist, creating
[0011.218] I> Adding /chosen/plugin-manager/odm-data
[0011.225] W> "memory" doesn't exist, creating
[0011.227] I> [0] START: 0x80000000, END: 0xac000000
[0011.231] I> [1] START: 0xac004000, END: 0xf0ad0000
[0011.236] I> [2] START: 0xf0adc000, END: 0xf0ae0000
[0011.241] I> dram_block larger than 80000000
[0011.245] I> [3] START: 0x100000000, END: 0x280000000
[0011.250] I> added [base:0x80000000, size:0x2c000000] to /memory
[0011.256] I> added [base:0xac200000, size:0x44800000] to /memory
[0011.261] I> added [base:0x100000000, size:0x180000000] to /memory
[0011.268] I> Updated memory info to DTB
[0011.271] E> add_disp_param: failed to get display params for du=0
[0011.277] W> "reset" doesn't exist, creating
[0011.282] I> Adding ecid(00000001647dd501000000000e000040) to DT
[0011.287] I> NVG: Logical CPU: 0; MPIDR: 0x80000000
[0011.292] I> NVG: Logical CPU: 1; MPIDR: 0x80000001
[0011.297] I> NVG: Logical CPU: 2; MPIDR: 0x80000100
[0011.301] I> NVG: Logical CPU: 3; MPIDR: 0x80000101
[0011.306] I> NVG: Logical CPU: 4; MPIDR: 0x80000200
[0011.311] I> NVG: Logical CPU: 5; MPIDR: 0x80000201
[0011.316] I> Deleted cpu@6 node in DT
[0011.319] I> Deleted cpu@7 node in DT
[0011.323] I> Deleted cluster3 node in FDT
[0011.327] I> Update arm-pmu in FDT
[0011.330] I> - update property: interrupts
[0011.334] I> - update property: interrupt-affinity
[0011.339] W> "misc-data" doesn't exist, creating
[0011.343] I> Boot-device: QSPI
[0011.346] W> Unknown boot device
[0011.349] I> Add storage-qspi to plugin-manager/misc-data
[0011.354] W> Unknown storage device
[0011.357] E> Error 892665857: Failed to read CVM EEPROM
[0011.362] E> Failed to get serial number
[0011.366] I> Plugin-manager override starting
[0011.371] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0011.377] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0011.385] I> Disable plugin-manager status in FDT
[0011.386] I> Plugin-manager override finished successfully
[0011.392] I> tegrabl_load_kernel_and_dtb: Done
[0011.396] I> QSPI: erasing sectors from 176 - 176
[0011.400] I> QSPI: recoverying tail blocks from 22536 - 22656
[0012.027] I> QSPI: erasing sectors from 177 - 177
[0012.028] I> QSPI: recoverying tail blocks from 22664 - 22784
[0012.633] E> tegrabl_display_clear: display is not initialized
[0012.633] W> Boot logo display failed...
[0012.634] I> Kernel EP: 0x80080000, DTB: 0x90000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.253-tegra (buildbrain@mobile-u64-5497-d3000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021
[    0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[    0.000000] OF: fdt:memory scan node memory, reg size 48,
[    0.000000] OF: fdt: - 80000000 ,  2c000000
[    0.000000] OF: fdt: - ac200000 ,  44800000
[    0.000000] OF: fdt: - 100000000 ,  180000000
[    0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options '')
[    0.000000] bootconsole [tegra_comb_uart0] enabled
[    1.861352] eqos_get_mac_address_dtb: bad mac address at /chosen/nvidia,ether-mac: null.
[    1.861538] eqos 2490000.ether_qos (unnamed net_device) (uninitialized): ether-mac read from DT failed -99
[    2.042657] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    2.042938] imx219 9-0010: board setup failed
[    2.067116] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    2.067379] imx219 10-0010: board setup failed
WARNING: at platform/drivers/pg/pg-gpu-t194.c:185

Yes, according to your log, I guess you hit the same issue as that guy. Since eeprom content seems corrupted, our bootloader fails to apply some plugin to the device tree. So probably the sdcard file system is not able to get mounted on kernel.

Have you tried to add “SKIP_EEPROM_CHECK”?

Yes, I added ‘SKIP_EEPROM_CHECK=“-n”;’ in jetson_xavier_nx_devkit.conf.
But it didn’t seem to work.

Are there peripherals on the board? If there is, please remove it first. Only power cable, micro usb cable for flash and usb-ttl cable for uart is allowed.

Also, please check the uart log when flash.sh gets error.

There are no peripherals on the board. I will upload the uart log later.

Here is uart log:

[19:04:57:223] <break>
[19:04:57:223] <0xff><0xe2>␍␊
[19:04:57:245] [0039.390] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.␍␊
[19:04:57:245] [0039.399] I> MB1 (prd-version: 1.5.1.9-t194-41334769-73a9b7ef)␍␊
[19:04:57:245] [0039.404] I> Boot-mode: Platform RCM␍␊
[19:04:57:245] [0039.408] I> Chip revision : A02P␍␊
[19:04:57:245] [0039.411] I> Bootrom patch version : 15 (correctly patched)␍␊
[19:04:57:263] [0039.416] I> ATE fuse revision : 0x200␍␊
[19:04:57:263] [0039.419] I> Ram repair fuse : 0x0␍␊
[19:04:57:263] [0039.422] I> Ram Code : 0x0␍␊
[19:04:57:263] [0039.425] I> rst_source : 0x0␍␊
[19:04:57:263] [0039.428] I> rst_level : 0x0␍␊
[19:04:57:268] [0039.431] I> USB configuration success␍␊
[19:04:59:338] [0041.499] I> mb2 image downloaded␍␊
[19:04:59:366] [0041.527] I> Recovery boot mode 0␍␊
[19:04:59:372] [0041.531] I> Boot-device: QSPI␍␊
[19:04:59:385] [0041.536] I> UPHY full init done␍␊
[19:04:59:385] [0041.542] I> MB1 done␍␊
[19:04:59:385] ␍␊
[19:04:59:397] [0041.547] W> Profiler not initialized␍␊
[19:04:59:397] [0041.551] I> Welcome to MB2(TBoot-BPMP) Applet (version: 00.00.2018.32-mobile-ca3b3e95)␍␊
[19:04:59:397] [0041.559] W> Profiler not initialized␍␊
[19:04:59:413] [0041.562] I> DMA Heap @ [0x40020000 - 0x40065800]␍␊
[19:04:59:423] [0041.567] I> Default Heap @ [0xd486400 - 0xd48a400]␍␊
[19:04:59:423] [0041.572] W> Profiler not initialized␍␊
[19:04:59:423] [0041.575] W> Profiler not initialized␍␊
[19:04:59:436] [0041.579] E> DEVICE_PROD: Invalid value data = 0, size = 0.␍␊
[19:04:59:436] [0041.584] W> device prod register failed␍␊
[19:04:59:436] [0041.588] W> Profiler not initialized␍␊
[19:04:59:436] [0041.592] E> Error in command_complete 18000 int_status␍␊
[19:04:59:447] [0041.597] E> OCR failed, error = f0f0706␍␊
[19:04:59:447] [0041.601] I> SDMMC is not present.␍␊
[19:04:59:447] [0041.605] I> QSPI Flash Size = 32 MB␍␊
[19:04:59:462] [0041.616] I> Qspi initialized successfully␍␊
[19:04:59:517] [0041.667] E> Link startup dme_set failed␍␊
[19:04:59:517] [0041.671] E> UFS initialization failed␍␊
[19:04:59:517] [0041.674] I> UFS is not present␍␊
[19:04:59:517] [0041.677] W> Profiler not initialized␍␊
[19:04:59:537] [0041.683] I> Found 47 partitions in QSPI_FLASH (instance 0)␍␊
[19:04:59:537] [0041.688] W> Profiler not initialized␍␊
[19:04:59:537] [0041.692] W> Profiler not initialized␍␊
[19:04:59:537] [0041.695] W> Profiler not initialized␍␊
[19:04:59:537] [0041.699] I> Entering 3p server␍␊
[19:04:59:546] [0041.702] I> USB configuration success␍␊
[19:05:00:476] [0042.637] I> Populate chip info␍␊
[19:05:00:508] [0042.668] I> Populate eeprom info␍␊
[19:05:00:513] [0042.672] I> Populate eeprom info for module cvm␍␊
[19:05:00:523] [0042.677] E> I2C: Condition bus clear could not meet.␍␊
[19:05:00:523] [0042.682] E> I2C: Failed to clear bus for instance 0.␍␊
[19:05:00:546] [0042.687] E> I2C: Failed to clear bus for instance 0.␍␊
[19:05:00:546] [0042.692] E> I2C_DEV: Failed to initialize instance 0.␍␊
[19:05:00:546] [0042.697] E> eeprom: Can't get handle to eeprom device @160␍␊
[19:05:00:546] [0042.702] E> NV3P_SERVER: Failed to get eeprom handle for cvm from eeprom manager.␍␊
[19:05:00:552] [0042.709] E> NV3P_SERVER: Could not read eeprom for module cvm.␍␊

And here is my jetson_xavier_nx_devkit.conf, I don’t sure I added “SKIP_EEPROM_CHECK” corretly.

This is more like a hardware problem since i2c is not able to read eeprom. It is different from previous post.

Please RMA this device.

Which part of the hardware is probably broken? Where is eeprom? Carrier board? Module?

On the module.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.