Hello.
I have an board based on TX2 - RTSO-9002u
I have related overlay BSP’s and docs from vendor.
I try to get video0 device for associated camera. I used the imx185 DTS for base, just I muted I2C due the camera doesn’t provide this.
I see the successfully probing in dmesg. I expect to see the video0 device also in “dev”. But nothing I have.
My questions.
What criteries are required for getting device in dev?
Is it possible to get some fake /dev/video (or emulated) without connected camera (in empty slot)?
In order for the video device to show up, you usually need to accomplish 2 things:
1.1. First you need to make sure your device tree configuration is done properly. I have seen cases where the driver loads and the probe function returns a success status, but, the video device still does not register.
1.2. Your probe function must reach the point where it registers the v4l2_subdev.
Yes. That is completely possible. You should be able to create a video device without even having a camera connected.
Now, let me ask you a few questions:
a. Can you share your probe function and DTB?
b. Do you see any messages in dmesg?
best regards,
Andrew
Embedded Software Engineer at ProventusNova
Thanks. I had “ep of_device is not enabled” error.
I set statuses in DTS to OK. And these errors gone.
But I have another now in dmesg: ”tegra-vi4 15700000.vi: remote of_device is not enabled /host1x/vi@15700000/ports/port@1/endpoint”
I tried, but still I cannot find, what the DTS’s option related this.
Yes. I see messages. I fixed the errors that I mentioned above (“ep of_device ..”)
But now another is: tegra-vi4 15700000.vi: remote of_device is not enabled /host1x/vi@15700000/ports/port@1/endpoint
Hello.
What exactly DTB file? There are many DTBes files.
I suppose the kernel_tegra186-quill-p3310-1000-c03-00-base.dtb is needed that I have.
In archive I attached this DTB, decompiled DTS and output log for dtc decompiling process.
While decompiling with command: sudo dtc -I dtb -O dts -o devicetree.dts kernel_tegra186-quill-p3310-1000-c03-00-base.dtb
I see a lot of warnings. Maybe because I use the latest dtc, since the kernel source for TX is coming from 2018 ?!
Thanks.