Hi All
We using custom Nvidia Jetson Orin Nano platform(Jetpack 6.2
(L4T 36.4)), two MAX9296 deserializer with ZED X @ v1.3.0 driver work fine.
Now porting ZED X One 4K (Driver upgrade to ZED Box Mini v1.3.1), but got first failed (connected either one MAX9296) as follows
zedxone_uhd 19-001a: could not find device ctrl.
Detail:
-
Pin-out of Jetson Orin Nano CSI pin to MAX9296
-
- Based on mentioned work fine ZED X @ v1.3.0.
- Reference/modified content source: boot/tegra234-p3768-camera-zedbox-mini-sl-overlay.dtbo @ Driver of ZED Box Mini v1.3.1
-
dmesg log:
$ sudo dmesg|grep -E ‘sl_|zed
’[ 11.961846] sl_max9296 9-0048: sl_max9296_probe: enter
[ 11.961933] sl_max9296 9-0048: sl_max9296_parse_dt: Number of declared cameras with this dts 1
[ 12.679786] sl_max9296 9-0048: sl_max9296_probe_camera: Unknown Camera -1
[ 12.679796] sl_max9296 9-0048: No camera found on gmsl 0
[ 13.279172] sl_max9296 9-0048: sl_max9296_probe_camera: Unknown Camera -1
[ 13.279183] sl_max9296 9-0048: No camera found on gmsl 1
[ 13.279185] sl_max9296 9-0048: sl_max9296_probe: No camera found on any gmsl
[ 13.279239] sl_max9296: probe of 9-0048 failed with error -1
[ 13.279328] sl_max9296 10-0048: sl_max9296_probe: enter
[ 13.279417] sl_max9296 10-0048: sl_max9296_parse_dt: Number of declared cameras with this dts 1
[ 14.138296] sl_max9296 10-0048: zedone4k camera connected
[ 14.158079] sl_max9296 10-0048: Configuration success on gmsl 0
[ 14.806643] sl_max9296 10-0048: sl_max9296_probe_camera: Unknown Camera -1
[ 14.806650] sl_max9296 10-0048: No camera found on gmsl 1
[ 14.806652] sl_max9296 10-0048: Link configuration: 1
[ 14.914101] sl_max9296 10-0048: Probe Success !
[ 14.915875] sl_max9295 9-0044: Driver Version : v1.3.1
[ 14.915882] sl_max9295 9-0044: Probing v4l2 sensor.
[ 14.955178] sl_max9295 9-0044: probe_serializer: Serializer for zedone4k detect error
[ 14.955189] sl_max9295 9-0044: sl_max9295_probe: serializer initialization failed
[ 14.955264] sl_max9295: probe of 9-0044 failed with error -1
[ 14.955377] sl_max9295 10-0044: Driver Version : v1.3.1
[ 14.955381] sl_max9295 10-0044: Probing v4l2 sensor.
[ 15.066940] sl_max9295 10-0044: probe_serializer: Serializer for zedone4k detect success
[ 15.071541] zedxone_uhd 9-001a: tegracam sensor driver:video1_v2.0.6
[ 15.072388] zedxone_uhd 9-001a: imx678_probe: imx678 initialization failed
[ 15.072758] zedxone_uhd 10-001a: tegracam sensor driver:video2_v2.0.6
[ 15.073046] zedxone_uhd 10-001a: Enable gmsl for channel 1 and id 1
[ 15.631504] zedxone_uhd 10-001a: could not find device ctrl.
[ 15.631513] zedxone_uhd 10-001a: Error -14 in control hdl setup
[ 15.631522] zedxone_uhd 10-001a: Failed to init ctrls video2
[ 15.631556] zedxone_uhd 10-001a: tegra camera subdev registration failed
[ 15.631640] zedxone_uhd: probe of 10-001a failed with error -14
I’m tried to search error message in Jetpack, found something with open source driver code as follows @ Linux_for_Tegra/source/nvidia-oot/drivers/media/i2c/nv_imx185.c
static int imx185_set_exposure(struct tegracam_device *tc_dev, s64 val)
{
struct camera_common_data
s_data = tc_dev->s_data;
..
/*
check hdr enable ctrl */
control.id = TEGRA_CAMERA_CID_HDR_EN;
err = camera_common_g_ctrl(s_data, &control);
if (err < 0) {
dev_err(dev, “could not find device ctrl.\n”);
return err;
}
Look like TEGRA_CAMERA_CID_HDR_EN
not existence in struct s_data
, HDR relation problem?
But can not reference with sl_zedxone_uhd.ko
I have no idea how do next.
Please help me to troubleshoot.
Thanks a lot.