Does the Jetson Orin NX have IMX586 and OV50C40 drivers?

Hello,
Does the Jetson Orin NX have IMX586 and OV50C40 drivers?

Default release BSP don’t include them.

Thanks

Hello, ShaneCCC
I ported my own reference documentation and encountered a problem, I want to know what the error code that returns -22 here means?

image

Hello, I transplanted the driver of imx586, and the following problems occurred when I got the data. Please give me some suggestions, thank you.

log.txt (56.8 KB)

Get the trace log to check.

https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages

Hello ShaneCCC,

Do you on JP6.x?

modprobe rtcpu_debug

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 3 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace
cat /sys/kernel/debug/tracing/trace

v4l2-ctl command the get the trace after v4l2-ctl.

cat /sys/kernel/debug/tracing/trace

yes ,JP6.3

trace.log (11.2 KB)

Looks like doesn’t receive any data from the sensor.
Make sure the port-index and bus-width match the HW connection.
Also probe the sensor output signal to make sure of it.

Thanks

Hello ShaneCCC,
I wonder what the maximum resolution orin nx isp can handle? 8000*6000? 50MP?

The 12000x9000 was verified.

Hello,
I have configured the driver of imx586 myself, and I can already send out data. I wonder if I can use it to obtain normal image data?

No camera available should be incorrect context in device tree of the tegra-camera-platform{}

Hello ShaneCCC,
How should I adjust

Dump the device tree to confirm it.

sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

dts
A.txt (317.3 KB)

Add the status = “okay” like below example to try.

                       module1 {
                                badge = "imx274_top_A6V26";
                                position = "top";
                                status = "okay";
                                orientation = "0";
                                phandle = <0x399>;

                                drivernode0 {
                                        pcl_id = "v4l2_sensor";
                                        status = "okay";
                                        sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/tca9546@70/i2c@1/imx274_c@1a";
                                        phandle = <0x39a>;
                                };

Hello ShaneCCC,
its failed.

Did you add both of the status = “okay”;

yes, its my imx586 dtsi.
tegra234-p3767-0000-imx586.txt (10.0 KB)

1 Like