the error logs show no cameras available.
could you please confirm which Jetpack release is this Pcam 5C verified?
here you apply all the kernel and device tree updates to enable this camera deivce?
the linkage you point-out is Nano SD card image with Jetpack-4.6.1 release. this doesn’t include the driver of camera Pcam 5C.
so, you’ll need to port the drivers.
let’s focus on this… what did you meant a standard MIPI camera?
for example, what’s the image format received by CSI brick? is it a bayer Raw, or YUV contents?
you may dig into device tree.
here’s an example of IMX219 on Nano.
it’s based-on i2c7, and it’s using cam_i2cmux for sharing the same i2c address, 0x10.
and… you should also check below for the mappings of physical address of i2c nodes. $public_sources/kernel_src/hardware/nvidia/soc/t210/kernel-dts/tegra210-soc/tegra210-soc-base.dtsi
Can you give me the tegra210-p3448-0000-p3449-0000-b00.dts and the .config file, or the Image and ko files to support mipi camera IMX219 on Jetson Nano.
Or can I use flash.sh with the correct .conf file to flash the sd-card so that mipi camera IMX219 is supported.
My focus is not the device tree debug and should not spend too much time on it.
Hi Jerry, you are correct. When I insert a Raspberry Pi camera (based on IMX219 image sensor) to the either mipi socket of Jetson Nano. I can see video0 on /dev. And "nvgstcapture-1.0 " can open the camera and get the real time video.
Then I have a question, how to poll the registers of IMX219 by i2c tools? What is the i2c bus number?
I use the “i2cdetect -r -y <bus_number>” to poll all the i2c devices, but fail to get IMX219.
Attached is polling log. i2c_polling_log.txt (3.8 KB)
may I know what’s the real use-case, are you going to examine the register settings?
you’re able to dump NVCSI registers.
here’s an example (it’s based-on Xavier series), please also review TRM and update the address.
for example,
check TRM for [3.1.2 System Address Map] for the base address for NVCSI,
for example, NVCSI 0x15a00000 0x15a4ffff SYSTEM
please also check the register offset, NVCSI_STREAM_0_PH_WC_0, Byte Offset= 0x101dc
calculate the address of PH_WC, 0x15a00000+0x101dc = 0x15a101dc
enable the camera stream and dump the PH_WC for its register values,
for example, $ sudo ./busybox devmem 0x15a101dc
you may install the utility by $ sudo apt-get install busybox