Bwmgr API not supported error on Orin AGX

We used IMX686, the driver and DTS is loaded normal, I2C is connected , sensor was power on, but Orin can`t get the data from MIPI dphy as blow, please help, thanks

hello rico.deng1,

this message… bwmgr API not supported should be harmless.
the actual failure is request timeout, and NULL VI channel as no validate frames coming to VI engine.

is this your first time to bring-up IMX686 on Orin?
may I know what’s the data rate, please note that skew calibration is required if the output data rate is > 1.5Gbps.

for testing,
you may have a try to execute below commands to boost all the VI/CSI/ISP clocks.
for example,

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate

Yes its our first time use IMX686 on Orin, has tried executing below commands to boost all the VI/CSI/ISP clocks,

hello rico.deng1,

did you meant you still seeing the same request timeout, and NULL VI channel failures even by setting clocks to maximum?

please follow below steps to enable VI tracing logs to obtain more details for reference.
for example,

echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo > /sys/kernel/debug/tracing/trace
cat /sys/kernel/debug/tracing/trace
# or... to review dynamic tracing log 
# cat /sys/kernel/debug/tracing/trace_pipe 

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