We hare having a problem with units not capturing video properly when the internal
temperature exceeds about 65 degrees C. Comparing the boot logs of a working and
problem startup the initial error seems to be in detecting “iso emc max clk” and
“max iso bandwidth”.
The snapshots are from an sdiff between to boot logs with the timestamps
removed. | means difference <,> means lines inserted. You may have to scroll
left and right to see the different logs.
The first difference (good on the left, bad on the right) is that the iso emc max clk
and bw aren’t calculated properly. I believe this is the root of the problem.
la/ptsa driver initialized. la/ptsa driver initialized.
pre_t19x_iso_plat_init(): iso emc max clk=1866000KHz | pre_t19x_iso_plat_init(): iso emc max clk=0KHz
pre_t19x_iso_plat_init(): max_iso_bw=26870400KB | pre_t19x_iso_plat_init(): max_iso_bw=0KB
NET: Registered protocol family 2 NET: Registered protocol family 2
It’s possible this causes some of the camera subsystem to fail initialization.
misc tegra_camera_ctrl: tegra_camera_isomgr_register: some fields not in DT. misc tegra_camera_ctrl: tegra_camera_isomgr_register: some fields not in DT.
misc tegra_camera_ctrl: tegra_camera_isomgr_register tpg_max_iso = 3916800KBs misc tegra_camera_ctrl: tegra_camera_isomgr_register tpg_max_iso = 3916800KBs
misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=0, vi_iso_bw=2250000, max_bw=391 misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=0, vi_iso_bw=2250000, max_bw=391
> pre_t19x_iso_plat_register(): iso bandwidth 3916800KB is not available, client tegra_camera_ctrl
> misc tegra_camera_ctrl: tegra_camera_isomgr_register: unable to register to isomgr
> misc tegra_camera_ctrl: tegra_camera_probe: failed to register CAMERA as isomgr client
> tegra_camera_platform: probe of tegra-camera-platform failed with error -12
tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
And later
input: tegra-hda HDMI/DP,pcm=7 as /devices/3510000.hda/sound/card0/input1 input: tegra-hda HDMI/DP,pcm=7 as /devices/3510000.hda/sound/card0/input1
> pre_t19x_iso_plat_register(): iso bandwidth 24576KB is not available, client ape_adma
> tegra_isomgr_adma_register: Failed to register adma isomgr client. err=-22
OPE platform probe OPE platform probe
Finally, the probe of isp and nvsci fail, which I believe leads to a bad pointer and the abort
isp 15600000.isp: initialized isp 15600000.isp: initialized
> isp 15600000.isp: isp_probe: failed
> isp: probe of 15600000.isp failed with error -22
nvcsi 150c0000.nvcsi: initialized nvcsi 150c0000.nvcsi: initialized
> nvcsi: probe of 150c0000.nvcsi failed with error -22
gpio tegra-gpio-aon wake29 for gpio=56(FF:0) gpio tegra-gpio-aon wake29 for gpio=56(FF:0)
gpio tegra-gpio-aon wake67 for gpio=57(FF:1) gpio tegra-gpio-aon wake67 for gpio=57(FF:1)
gpio tegra-gpio-aon wake68 for gpio=58(FF:2) gpio tegra-gpio-aon wake68 for gpio=58(FF:2)
input: gpio-keys as /devices/gpio-keys/input/input2 input: gpio-keys as /devices/gpio-keys/input/input2
tegra-vi4 15700000.vi: initialized tegra-vi4 15700000.vi: initialized
tegra-vi4 15700000.vi: subdev 150c0000.nvcsi--8 bound | Unable to handle kernel read from unreadable memory at virtual address 00000000
tegra-vi4 15700000.vi: subdev 150c0000.nvcsi--7 bound
Any reason why these clock and bandwidth values may be calculated as 0 if the
temperature exceeded a specific value?
Note this only happens on some boards. A reset will NOT clear the condition,
a power cycle will.
Thanks,
Cary