Jetson Orin Nano开发板提供了两个摄像头的接口,所以我打算在该开发板上同时连接两个imx219的摄像头。
这是否需要对原有的设备树文件进行修改来提供支持?
对此,是否有相关的文档或者文件可以参考?
还是说,官方提供的设备树文件已经支持同时连接imx219和imx477,只需要将imx477换成imx219就可以?
I plan to connect two imx219 cameras simultaneously on the Jetson Orin Nano development board, which offers two camera interfaces. Do I need to modify the existing device tree file to enable this support? Are there any relevant documents or files available for reference?
Or does the official device tree file already support the simultaneous connection of imx219 and imx477, requiring only the replacement of imx477 with imx219?
在Jetson Orin Nano中这个路径下, 对于imx219和imx477的设备树节点是这样定义的:
Linux_for_Tegra/source/public/hardware/nvidia/platform/t23x/p3768/kernel-dts/cvb/tegra234-p3768-0000-a0.dtsi
cam_i2cmux{
i2c@0 {
rbpcv2_imx219_a@10 {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode2 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode3 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode4 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
rbpcv3_imx477_c@1a {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
};
};
这是否代表原有的设备树文件本身就支持同时连接imx219和imx477摄像头?
如果我想让开发板支持同时连接两个摄像头时,我是否可以将这一段修改为:
rbpcv2_imx219_a@10 {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode2 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode3 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode4 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
rbpcv3_imx219_c@1a {
mode0 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode1 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode2 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode3 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
mode4 {
tegra_sinterface = "serial_b";
lane_polarity = "6";
};
ports {
port@0 {
endpoint {
port-index = <1>;
};
};
};
};
同时对#include "tegra234-p3768-camera-rbpcv3-imx477.dtsi"进行修改,将imx477替换成imx219的参数设置
You can configure it by jetson-io instead of modify the device tree.
Thanks
你好,我不太明白你的意思,能否请你解释一下,或者给我一些相关链接
我的疑问是:
jetson orin nano本身就有两个csi摄像头接口,我想在这两个接口上都连接上imx219摄像头,并且在运行时能够生成两个摄像头窗口。
我不理解为什么要实现这个需要对jetson io进行配置,我认为需要修改对应的设备树
Yes jetson-io able to configure two imx219 or imx477
@ShaneCCC
你好,我根据你的链接进行了如下操作:
sudo /opt/nvidia/jetson-io/jetson-io.py
然后,出现了三个选项
Configure Jetson 40pin Header
Configure Jetson 24pin CSI Connector
Configure Jetson M.2 Key E Slot
选择了第二个选项:Configure Jetson 24pin CSI Connector
选择:Configure for compatible hardware
选择:Camera IMX219 Dual
选择:Save pin changes
选择:Save and reboot to reconfigure pins
然后press any key重启了设备
我想知道的是,当重启设备后,我该如何在屏幕上同时开启两个imx219摄像头的窗口呢??
我使用nvgstcapture-1.0,只出现一个窗口
我使用了nvgstcapture-1.0 --cap-dev-node=0 能够打开画面‘
但是当我使用nvgstcapture-1.0 --cap-dev-node=1 时,画面是黑屏
Try below command.
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080,format=(string)NV12, framerate=(fraction)30/1" ! nvvidconv ! xvimagesink sync=false &
gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! "video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080,format=(string)NV12, framerate=(fraction)30/1" ! nvvidconv ! xvimagesink sync=false
thank u very much ! i sucess
system
Closed
December 19, 2023, 2:56am
17
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.