Cboot "eeprom: Failed to read I2C slave device"

Hello,

My development environment is as follows.

  • Hardware Platform - Custom Jetson Xavier NX
  • JetPack Version - 4.5
  • L4T - 32.5

NX board was manufactured separately.
EEPROM read failure in cboot.
I know that cboot does not provide source code.

Is there any way to fix the EEPROM failure?

The cboot log looks like this:

SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21
HW Function test
Start Scheduler.
in late init
ÿâ
[0000.377] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-feba5943)
[0000.377] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.378] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.379] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.384] W> device prod register failed
[0000.388] I> Boot-device: QSPI
[0000.391] I> Boot_device: QSPI_FLASH instance: 0
[0000.396] I> QSPI Flash Size = 32 MB
[0000.402] I> Qspi initialized successfully
[0000.403] I> qspi flash-0 params source = boot args
[0000.785] I> sdmmc DDR50 mode
[0000.787] I> sdmmc-3 params source = safe params
[0000.792] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0000.794] W> Cannot find any partition table for 00000003
[0000.798] I> Found 11 partitions in SDMMC_USER (instance 3)
[0000.799] W> No valid slot number is found in scratch register
[0000.800] W> Return default slot: _a
[0000.800] I> Active Boot chain : 0
[0000.801] I> parsing oem signed section of bpmp-fw header done
[0000.802] I> bpmp-fw binary init read from storage
[0000.806] I> oem authentication of bpmp-fw header done
[0000.820] I> bpmp-fw binary done read from storage
[0000.821] I> bpmp-fw: Authentication init Done
[0000.822] I> parsing oem signed section of cpubl header done
[0000.825] I> cpubl binary init read from storage
[0000.830] I> bpmp-fw: Authentication Finalize Done
[0000.835] I> oem authentication of cpubl header done
[0000.842] I> cpubl binary done read from storage
[0000.844] I> cpubl: Authentication init Done
[0000.848] I> parsing oem signed section of rce header done
[0000.853] I> rce binary init read from storage
[0000.858] I> Relocating BR-BCT
[0000.861] I> cpubl: Authentication Finalize Done
[0000.865] I> oem authentication of rce header done
[0000.870] I> rce binary done read from storage
[0000.874] I> rce: Authentication init Done
[0000.878] I> parsing oem signed section of ape header done
[0000.883] I> ape binary init read from storage
[0000.887] I> rce: Authentication Finalize Done
[0000.892] I> oem authentication of ape header done
[0000.896] I> ape binary done read from storage
[0000.901] I> ape: Authentication init Done
[0000.905] I> parsing oem signed section of tos header done
[0000.910] I> tos binary init read from storage
[0000.914] I> ape: Authentication Finalize Done
[0000.919] I> oem authentication of tos header done
[0000.925] I> tos binary done read from storage
[0000.927] I> tos: Authentication init Done
[0000.932] I> parsing oem signed section of bpmp-fw-dtb header done
[0000.937] I> bpmp-fw-dtb binary init read from storage
[0000.942] I> tos: Authentication Finalize Done
[0000.948] I> oem authentication of bpmp-fw-dtb header done
[0000.952] I> bpmp-fw-dtb binary done read from storage
[0000.957] I> bpmp-fw-dtb: Authentication init Done
[0000.962] I> parsing oem signed section of cpubl-dtb header done
[0000.968] I> cpubl-dtb binary init read from storage
[0000.972] I> bpmp-fw-dtb: Authentication Finalize Done
[0001.029] I> oem authentication of cpubl-dtb header done
[0001.030] I> cpubl-dtb binary done read from storage
[0001.031] I> cpubl-dtb: Authentication init Done
[0001.032] I> parsing oem signed section of eks header done
[0001.032] I> eks binary init read from storage
[0001.033] I> cpubl-dtb: Authentication Finalize Done
[0001.034] I> oem authentication of eks header done
[0001.038] I> eks binary done read from storage
[0001.042] I> eks: Authentication init Done
[0001.046] I> eks: Authentication Finalize Done
[0001.050] I> EKB detected (length: 0x410) @ VA:0x52714400
ÿäNOTICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 14:42:47, Jan 15 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
ÿá
[0001.391] I> Welcome to Cbootÿâmrq initialized
WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
fmon_post initialized
ÿá
[0001.392] I> Cboot Version: t194-9efcbc4f
[0001.393] I> CPU-BL Params @ 0xf2820000
[0001.397] I>  0) Base:0x00000000 Size:0x00000000
[0001.401] I>  1) Base:0xf1100000 Size:0x00100000
ÿâclk_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
] ÿá[0001.406] I>  2) Base:0xf2000000 Size:0x00200000
[0001.560] I>  3) Base:0xf1200000 Size:0x00200000
[0001.564] I>  4) Base:0xf1000000 Size:0x00100000
[0001.569] I>  5) Base:0xf0f00000 Size:0x00100000
[0001.573] I>  6) Base:0xf3800000 Size:0x00400000
[0001.578] I>  7) Base:0xf1c00000 Size:0x00400000
[0001.582] I>  8) Base:0xf0e00000 Size:0x00100000
[0001.587] I>  9) Base:0xf0d00000 Size:0x00100000
[0001.591] I> 10) Base:0xf3000000 Size:0x00800000
[0001.596] I> 11) Base:0x40000000 Size:0x00040000
[0001.600] I> 12) Base:0xf0c00000 Size:0x00100000
[0001.605] I> 13) Base:0x40046000 Size:0x00002000
[0001.609] I> 14) Base:0x40048000 Size:0x00002000
[0001.614] I> 15) Base:0xac000000 Size:0x00004000
[0001.618] I> 16) Base:0x4004a000 Size:0x00002000
[0001.622] I> 17) Base:0xf0b00000 Size:0x00100000
[0001.627] I> 18) Base:0x4004c000 Size:0x00002000
[0001.631] I> 19) Base:0xf2200000 Size:0x00600000
[0001.636] I> 20) Base:0x4004e000 Size:0x00002000
[0001.640] I> 21) Base:0xf0ad0000 Size:0x0000c000
[0001.645] I> 22) Base:0x00000000 Size:0x00000000
[0001.649] I> 23) Base:0xf0ae0000 Size:0x00020000
[0001.654] I> 24) Base:0xf6000000 Size:0x02000000
[0001.658] I> 25) Base:0x40050000 Size:0x00002000
[0001.663] I> 26) Base:0x40040000 Size:0x00006000
[0001.667] I> 27) Base:0xf1800000 Size:0x00400000
[0001.672] I> 28) Base:0xf4c00000 Size:0x01400000
[0001.676] I> 29) Base:0xf1400000 Size:0x00400000
[0001.680] I> 30) Base:0x00000000 Size:0x00000000
[0001.685] I> 31) Base:0x00000000 Size:0x00000000
[0001.689] I> 32) Base:0xf8000000 Size:0x08000000
[0001.694] I> 33) Base:0x00000000 Size:0x00000000
[0001.698] I> 34) Base:0xf3c00000 Size:0x01000000
[0001.703] I> 35) Base:0xab000000 Size:0x01000000
[0001.707] I> 36) Base:0xa0000000 Size:0x0b000000
[0001.712] I> 37) Base:0xf2800000 Size:0x00800000
[0001.716] I> 38) Base:0x80000000 Size:0x20000000
[0001.721] I> 39) Base:0xb0000000 Size:0x08000000
[0001.725] I> 40) Base:0x00000000 Size:0x00000000
[0001.730] I> 41) Base:0x00000000 Size:0x00000000
[0001.734] I> 42) Base:0x00000000 Size:0x00000000
[0001.739] I> 43) Base:0x00000000 Size:0x00000000
[0001.743] I> 44) Base:0x00000000 Size:0x00000000
[0001.747] I> 45) Base:0x00000000 Size:0x00000000
[0001.752] GIC-SPI Target CPU: 0
[0001.755] Interrupts Init done
[0001.758] calling constructors
[0001.761] initializing heap
[0001.763] I> Heap: [0xa06945e8 ... 0xab000000]
[0001.768] initializing threads
[0001.770] initializing timers
[0001.773] creating bootstrap completion thread
[0001.778] top of bootstrap2()
[0001.780] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
[0001.785] initializing platform
[0001.788] E> DEVICE_PROD: Invalid value data = 0, size = 0.
[0001.793] W> device prod register failed
[0001.797] I> Bl_dtb @0xaaf00000
[0001.802] W> "plugin-manager" doesn't exist, creating
[0001.805] W> "ids" doesn't exist, creating
[0001.809] W> "connection" doesn't exist, creating
[0001.814] W> "configs" doesn't exist, creating
[0001.822] I> Find /i2c@3160000's alias i2c0
[0001.822] I> Reading eeprom i2c=0 address=0x50
[0001.851] I> Device at /i2c@3160000:0x50
[0001.852] I> Reading eeprom i2c=0 address=0x57
[0001.852] E> I2C: slave not found in slaves.
[0001.853] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0001.854] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.854] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 0.
[0001.861] E> eeprom: Failed to read I2C slave device
[0001.866] I> Eeprom read failed 0x3526070d
[0001.871] I> Find /i2c@c240000's alias i2c1
[0001.874] I> Reading eeprom i2c=1 address=0x50
[0001.880] E> I2C: slave not found in slaves.
[0001.883] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.891] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.896] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.906] E> eeprom: Retry to read I2C slave device.
[0001.911] E> I2C: slave not found in slaves.
[0001.914] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.922] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.928] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.937] E> eeprom: Failed to read I2C slave device
[0001.942] I> Eeprom read failed 0x3526070d
[0001.946] I> create_pm_ids: id: 3668-0001-300-B, len: 15
[0001.951] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.962] I> Adding plugin-manager/ids/3668-0001-300=/i2c@3160000:module@0x50
[0001.970] W> "i2c@3160000" doesn't exist, creating
[0001.974] W> "module@0x50" doesn't exist, creating
[0001.980] I> Adding plugin-manager/cvm
[0001.983] W> "chip-id" doesn't exist, creating
[0001.987] I> Adding plugin-manager/chip-id/A02P
[0001.991] I> Plugin-manager override starting
[0001.996] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0002.006] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0002.011] I> node /plugin-manager/fragement-tegra-sdhci-sd-dis matches
[0002.018] I> Disable plugin-manager status in FDT
[0002.018] I> Plugin-manager override finished successfully
[0002.023] I> gpio framework initialized
[0002.028] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0002.035] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0002.042] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0002.049] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0002.056] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0002.063] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0002.069] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0002.077] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0002.084] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0002.091] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0002.098] I> fixed regulator driver initialized
[0002.106] I> register 'maxim' power off handle
[0002.107] I> virtual i2c enabled
[0002.109] I> registered 'maxim,max20024' pmic
[0002.113] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver
[0002.120] I> Boot-device: QSPI
[0002.123] I> Boot_device: QSPI_FLASH instance: 0
[0002.128] I> QSPI source rate = 204000 Khz
[0002.131] I> Requested rate for QSPI clock = 34000 Khz
[0002.136] I> BPMP-set rate for QSPI clk = 34000 Khz
[0002.141] I> QSPI Flash Size = 32 MB
[0002.149] I> Qspi initialized successfully
[0002.149] I> qspi flash-0 params source = boot args
[0002.153] I> create_pm_ids: id: 3668-0001-300-B, len: 15
[0002.158] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.173] I> sdmmc-3 params source = safe params
[0002.175] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0002.195] W> Cannot find any partition table for 00000003
[0002.208] I> Found 11 partitions in SDMMC_USER (instance 3)
[0002.217] I> regulator 'vdd-hdmi-5v0' already enabled
[0002.222] I> regulator 'vdd-hdmi-5v0' already enabled
[0002.222] I> hdmi cable connected
[0002.224] W> set volts not configured for 'vdd-1v0'
[0002.226] W> set volts not configured for 'vdd-1v8-hs'
[0002.230] E> invalid display type
[0002.231] E> cannot find any other nvdisp nodes
[0002.234] E> I2C: slave not found in slaves.
[0002.234] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0002.235] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.240] E> I2C_DEV: Could not read 128 registers of size 1 from slave 0xa0 at 0x00000000 via instance 3.
[0002.249] E> could not read edid
[0002.256] I> hdmi_enable, starting HDMI initialisation
[0002.261] I> hdmi_enable, HDMI initialisation complete
[0002.270] I> Load in CBoot Boot Options partition and parse it
[0002.271] E> Error -9 when finding node with path /boot-configuration
[0002.274] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0002.281] I> Using default boot order
[0002.285] I> boot-dev-order :-
[0002.288] I> 1.sd
[0002.290] I> 2.usb
[0002.291] I> 3.nvme
[0002.293] I> 4.emmc
[0002.295] I> 5.net
[0002.297] I> Hit any key to stop autoboot:	4	3	2
TEGRA194 #  

hello young,

please access L4T | NVIDIA Developer page to access CBoot sources.
thanks

Thank you for answer.

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