I am looking to operate two IMX274 from leopard concurrently on our Tx1 and Tx2 boxes. We are using R28.1 on Tx2 and R24 (Rev 2.1) on Tx1.
We are observing difference in behavior of same cameras on Tx1 and Tx2. Simple nvgstcapture-1.0 works on both Tx1 and Tx2. However following preview command line, works on Tx1 and not on Tx2 .
Similarly, We can operate two IMX274 concurrently on Tx1, but not on Tx2 (each having two IMX274). For example following command line works on Tx1 but not on Tx2.
Could someone please help about potential reason for why same cameras would behave differently on Tx1 and Tx2 ? Folks, at Leopard imaging are looking at this - but they would like to understand difference between, environments (Tx1/R24) and (Tx2/R28.1).
Without overlay-h parameter, it displays an image, but not sure what you’re expecting…
Sorry I can’t help much more about this, but note the following:
Using:
This command line works. It seems we need to specifically scale down to w/h of overlay window. However we do not need to do that on Tx1. Any idea why ?
Sorry, I have no experience of trying this on TX1. Just looked into this on seeing your question. No idea what is the full specification of this plugin.
I have no experience for this, but I suppose you would have to modify the device tree for handling the second camera. Have you done that and if yes how much tested ? More experienced people may help from there.
I would also like to operate two IMX274 concurrently. The Tx2 driver does not quite support that. Would appreciate any pointers/guidance about how to go about instrumenting driver code to support two concurrent camera operation. Specifically, I am looking for -
Vendor, Leopard imaging, has expressed their inability to do it now. They want their customers to do it themselves. Would be great if anyone can provide preliminary knowledge about it.
Building the kernel isn’t that hard.
Download and install the latest Jetpack.
It will create a directory called Linux_for_Tegra that contains the kernel sources, and the scripts needed to flash a new image.
In sources/kernel/kernel-4.4, you will find the actual kernel sources. In this directory, you start setting up the environment needed, as per various kernel compilation tutorials.
Once you have a working config, you can change it with “make menuconfig” and selecting the various drivers/features you want to include/exclude.
The IMX274 driver lives in drivers/media/i2c/imx274.c
First you should need to check if the two sensors are connected to different CSI ports, and then program device tree according to the guide. v4l2-ctl/v4l2-compliance can be used to verify the driver.