Hello,
I tried to update my TX1 module to L4T R32.2 last night. Boot now fails with “GPIO driver for phandle 0xf1 could not be found”. Works OK with the older JetPack 3 releases.
Any idea on what has changed that is causing this error? Is it possible to disable the EEPROM or the
tca9539 device init in cboot w/o recompiling the (still unrelease?) sources?
kWH�[0000.302] Loading Tboot-CPU binary
[0000.351] Verifying TBC in OdmNonSecureSBK mode
[0000.361] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.368] Bootloader downloaded successfully.
[0000.372] Downloaded Tboot-CPU binary to 0xa0000258
[0000.377] MAX77620_GPIO1 Configured.
[0000.381] MAX77620_GPIO5 Configured.
[0000.384] CPU power rail is up
[0000.387] CPU clock enabled
[0000.391] Performing RAM repair
[0000.394] Updating A64 Warmreset Address to 0xa00002e9
[0000.399] Loading NvTbootBootloaderDTB
[0000.426] Verifying NvTbootBootloaderDTB in OdmNonSecureSBK mode
[0000.567] Bootloader DTB Load Address: 0x83000000
[0000.572] Loading NvTbootKernelDTB
[0000.598] Verifying NvTbootKernelDTB in OdmNonSecureSBK mode
[0000.739] Kernel DTB Load Address: 0x83100000
[0000.744] Loading cboot binary
[0000.838] Verifying EBT in OdmNonSecureSBK mode
[0000.880] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0000.887] Bootloader downloaded successfully.
[0000.892] Next binary entry address: 0x92c00258
[0000.896] BoardId: 2180
[0000.913] Verifying SC7EntryFw in OdmNonSecureSBK mode
[0001.007] /bpmp deleted
[0001.009] SC7EntryFw header found loaded at 0xff700000
[0001.264] OVR2 PMIC
[0001.266] Bpmp FW successfully loaded
[0001.271] WB0 init successfully at 0xff780000
[0001.275] Set NvDecSticky Bits
[0001.278] GSC2 address ff53fffc value c0edbbcc
[0001.285] GSC MC Settings done
[0001.288] TOS Image length 53680
[0001.291] Monitor size 53680
[0001.294] OS size 0
[0001.300] Secure Os AES-CMAC Verification Success!
[0001.305] TOS image cipher info: plaintext
[0001.309] Loading and Validation of Secure OS Successful
[0001.325] SC7 Entry Firmware - 0xff700000, 0x4000
[0001.329] NvTbootPackSdramParams: start.
[0001.334] NvTbootPackSdramParams: done.
[0001.338] Tegraboot started after 100953 us
[0001.342] Basic modules init took 822155 us
[0001.346] Sec Bootdevice Read Time = 205 ms, Read Size = 8977 KB
[0001.352] Sec Bootdevice Write Time = 0 ms, Write Size = 0 KB
[0001.357] Next stage binary read took 12204 us
[0001.362] Carveout took -14912 us
[0001.365] CPU initialization took 450118 us
[0001.369] Total time taken by TegraBoot 1269565 us
[0001.373] Starting CPU & Halting co-processor
64NOTICE: BL31: v1.3(release):a28d87f09
NOTICE: BL31: Built : 16:52:46, Jul 16 2019
ERROR: Error initializing runtime service trusty_fast
[0001.497] RamCode = 0
[0001.512] LPDDR4 Training: Read DT: Number of tables = 10
[0001.517] EMC Training (SRC-freq: 204000; DST-freq: 408000)
[0001.523] EMC Training Successful
[0001.526] EMC Training (SRC-freq: 204000; DST-freq: 665600)
[0001.532] EMC Training Successful
[0001.535] EMC Training (SRC-freq: 204000; DST-freq: 800000)
[0001.546] EMC Training Successful
[0001.550] EMC Training (SRC-freq: 204000; DST-freq: 1065600)
[0001.572] EMC Training Successful
[0001.575] EMC Training (SRC-freq: 204000; DST-freq: 1331200)
[0001.597] EMC Training Successful
[0001.600] EMC Training (SRC-freq: 204000; DST-freq: 1600000)
[0001.620] EMC Training Successful
[0001.623] Switching to 800000 KHz Success
[0001.631] RamCode = 0
[0001.634] DT Write: emc-table@40800 succeeded
[0001.640] DT Write: emc-table@68000 succeeded
[0001.645] DT Write: emc-table@102000 succeeded
[0001.651] DT Write: emc-table@204000 succeeded
[0001.656] DT Write: emc-table@408000 succeeded
[0001.662] DT Write: emc-table@665600 succeeded
[0001.667] DT Write: emc-table@800000 succeeded
[0001.673] DT Write: emc-table@1065600 succeeded
[0001.678] DT Write: emc-table@1331200 succeeded
[0001.684] DT Write: emc-table@1600000 succeeded
[0001.688] LPDDR4 Training: Write DT: Number of tables = 10
[0001.735]
[0001.737] Debug Init done
[0001.739] Marked DTB cacheable
[0001.742] Bootloader DTB loaded at 0x83000000
[0001.747] Marked DTB cacheable
[0001.749] Kernel DTB loaded at 0x83100000
[0001.753] DeviceTree Init done
[0001.767] Pinmux applied successfully
[0001.772] gicd_base: 0x50041000
[0001.776] gicc_base: 0x50042000
[0001.779] Interrupts Init done
[0001.783] Using base:0x60005090 & irq:208 for tick-timer
[0001.789] Using base:0x60005098 for delay-timer
[0001.793] platform_init_timer: DONE
[0001.797] Timer(tick) Init done
[0001.801] osc freq = 38400 khz
[0001.805]
[0001.806] welcome to cboot
[0001.809]
[0001.810] Cboot Version: 00.00.2018.01-t210-3a168c35
[0001.815] calling constructors
[0001.818] initializing heap
[0001.821] initializing threads
[0001.824] initializing timers
[0001.827] creating bootstrap completion thread
[0001.831] top of bootstrap2()
[0001.834] CPU: ARM Cortex A57
[0001.837] CPU: MIDR: 0x411FD071, MPIDR: 0x80000000
[0001.841] initializing platform
[0001.844] Scratch reg 37 & 271 initial value set..
[0001.852] cboot:secure-pmc present
[0001.913] config for ddr50 mode completed
[0001.917] sdmmc bdev is already initialized
[0001.921] Enable APE clock
[0001.924] Un-powergate APE partition
[0001.927] of_register: registering tegra_udc to of_hal
[0001.932] of_register: registering tegra_udc to of_hal
[0001.938] of_register: registering inv20628-driver to of_hal
[0001.943] of_register: registering ads1015-driver to of_hal
[0001.949] of_register: registering lp8557-bl-driver to of_hal
[0001.955] of_register: registering bq2419x_charger to of_hal
[0001.960] of_register: registering cpc to of_hal
[0001.965] of_register: registering bq27441_fuel_gauge to of_hal
[0001.978] gpio framework initialized
[0001.982] of_register: registering tca9539_gpio to of_hal
[0001.987] of_register: registering tca9539_gpio to of_hal
[0001.993] of_register: registering i2c_bus_driver to of_hal
[0001.998] of_register: registering i2c_bus_driver to of_hal
[0002.004] of_register: registering i2c_bus_driver to of_hal
[0002.009] of_register: registering i2c_bus_driver to of_hal
[0002.015] pmic framework initialized
[0002.018] of_register: registering max77620_pmic to of_hal
[0002.024] regulator framework initialized
[0002.028] of_register: registering tps65132_bl_driver to of_hal
[0002.034] initializing target
[0002.040] gpio_driver_register: register 'tegra_gpio_driver' driver
[0002.050] fixed regulator driver initialized
[0002.092] initializing OF layer
[0002.095] NCK carveout not present
[0002.098] Skipping dts_overrides
[0002.103] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.124] I2C Bus Init done
[0002.127] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.138] I2C Bus Init done
[0002.141] of_children_init: Ops found for compatible string ti,tca9539
[0002.151] tca9539_init: i2c bus: 2, slave addr: 0xe8
[0002.156] I2C slave not started
[0002.159] I2C write failed
[0002.162] i2c write failed
[0002.164] Slave: 0xe8, Register 0x4 Instance 2, Buffer Size: 0
[0002.170] tca9539_device_init: failed to write polar reg
[0002.176] tca9539_init: failed to init device!
[0002.180] of_children_init: Ops found for compatible string ti,tca9539
[0002.191] tca9539_init: i2c bus: 2, slave addr: 0xee
[0002.196] I2C slave not started
[0002.199] I2C write failed
[0002.201] i2c write failed
[0002.204] Slave: 0xee, Register 0x4 Instance 2, Buffer Size: 0
[0002.210] tca9539_device_init: failed to write polar reg
[0002.215] tca9539_init: failed to init device!
[0002.219] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.231] I2C Bus Init done
[0002.234] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.245] I2C Bus Init done
[0002.248] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.259] I2C Bus Init done
[0002.262] of_children_init: Ops found for compatible string maxim,max77620
[0002.274] max77620_init using irq 118
[0002.279] register 'maxim,max77620' pmic
[0002.283] gpio_driver_register: register 'max77620-gpio' driver
[0002.289] of_children_init: Ops found for compatible string nvidia,tegra210-i2c
[0002.301] I2C Bus Init done
[0002.305] NCK carveout not present
[0002.308] shim_invoke: No NCT, Calling dts updates
[0002.322] Find /i2c@7000c000's alias i2c0
[0002.326] get eeprom at 1-a2, size 256, type 0
[0002.331] get eeprom at 1-ae, size 256, type 0
[0002.342] Find /i2c@7000c400's alias i2c1
[0002.345] get eeprom at 2-a0, size 256, type 0
[0002.357] Find /i2c@7000c500's alias i2c2
[0002.360] get eeprom at 3-a0, size 256, type 0
[0002.365] get eeprom at 3-ae, size 256, type 0
[0002.374] Find /host1x/i2c@546c0000's alias i2c6
[0002.378] get eeprom at 7-a8, size 256, type 0
[0002.383] pm_ids_update: Updating 1,a2, size 256, type 0
[0002.388] I2C slave not started
[0002.391] I2C write failed
[0002.393] Writing offset failed
[0002.397] eeprom_init: EEPROM read failed
[0002.400] pm_ids_update: eeprom init failed
[0002.405] pm_ids_update: Updating 1,ae, size 256, type 0
[0002.410] I2C slave not started
[0002.413] I2C write failed
[0002.416] Writing offset failed
[0002.419] eeprom_init: EEPROM read failed
[0002.422] pm_ids_update: eeprom init failed
[0002.427] pm_ids_update: Updating 2,a0, size 256, type 0
[0002.432] I2C slave not started
[0002.435] I2C write failed
[0002.438] Writing offset failed
[0002.441] eeprom_init: EEPROM read failed
[0002.445] pm_ids_update: eeprom init failed
[0002.449] pm_ids_update: Updating 3,a0, size 256, type 0
[0002.479] pm_ids_update: The pm board id is 2180-1000-400
[0002.486] Adding plugin-manager/ids/2180-1000-400=/i2c@7000c500:module@0x50
[0002.494] pm_ids_update: pm id update successful
[0002.499] pm_ids_update: Updating 3,ae, size 256, type 0
[0002.504] I2C slave not started
[0002.507] I2C write failed
[0002.510] Writing offset failed
[0002.513] eeprom_init: EEPROM read failed
[0002.516] pm_ids_update: eeprom init failed
[0002.521] pm_ids_update: Updating 7,a8, size 256, type 0
[0002.527] GPIO driver for phandle 0xf1 could not be found
[0002.532]
[0002.533] -----------------------------------------------
[0002.539] Synchronous Exception: DATA ABORT (FAR: 28)
[0002.544] -----------------------------------------------
[0002.549] PAR_ELX: 0x80b
[0002.552]
[0002.553] ESR 0x96000005: ec 0x25, il 0x1, iss 0x5
[0002.558] -----------------------------------------------
[0002.563] [Stack Trace]
[0002.565]
[0002.566] => pc:0x92C0F058, sp:0x92CA2DD0
[0002.570] => pc:0x92C12710, sp:0x92CA3000
[0002.574] => pc:0x92C110D4, sp:0x92CA3040
[0002.578] => pc:0x92C0F27C, sp:0x92CA31E0
[0002.582] => pc:0x92C0BF1C, sp:0x92CA3310
[0002.586] => pc:0x92C032A8, sp:0x92CA3360
[0002.590] => pc:0x92C02A5C, sp:0x92CA33B0
[0002.594] => pc:0x92C02A30, sp:0x92CA33C0
[0002.598] -----------------------------------------------
[0002.603] iframe 0x92ca2ce0:
[0002.606] x0 0x 0 x1 0x 0 x2 0x 92ca12f8 x3 0x 30
[0002.615] x4 0x a x5 0x 92ca12f8 x6 0x 20 x7 0x 5
[0002.625] x8 0x 83000000 x9 0x 21cdb x10 0x 21ccc x11 0x 92ca2fbc
[0002.634] x12 0x 83000000 x13 0x 92ca303c x14 0x 83000000 x15 0x 92ca9158
[0002.643] x16 0x ffff0 x17 0x 10000 x18 0x 0 x19 0x 9
[0002.653] x20 0x 83000000 x21 0x 1 x22 0x 92ca0468 x23 0x 5
[0002.662] x24 0x 92c5d000 x25 0x 92ca0000 x26 0x 92ca04ec x27 0x 92c9f1f8
[0002.671] x28 0x 92c5df72 x29 0x 92ca3000 lr 0x 92c0f054 sp 0x 92ca2dd0
[0002.681] elr 0x 92c0f058
[0002.684] spsr 0x 60000309
[0002.687] -----------------------------------------------
[0002.692] panic (caller 0x92c01238): die
[0002.696] HALT: spinning forever...
Br
Paro