When I insert the ISX031 MIPI camera into the Thor carrier board, I cannot capture image data through v4l2. I am using the T5000 module and a custom carrier board.
may I know your commands to flash Thor target.
please see-also Topic 360835, Jetson AGX Thor Developer kit does not support CSI configuration.
it’ll not enable camera function if you flashing a board with Thor developer kit board configuration file. (i.e. jetson-agx-thor-devkit.conf)
One situation I’d like to confirm with you: My ISX031 camera operates in master mode, meaning it outputs MIPI signals immediately upon power-up, and the ISX031’s MIPI data is already being transmitted before the Thor CSI interface is initialized—could this lead to the CSI being unable to properly receive data frames?
according to upai-pro03-box-a00.conf.txt (3.4 KB).
let me re-cap as below.. DTB_FILE="tegra264-p4071-0000+p3834-0008-nv.dtb"; OVERLAY_DTB_FILE="L4TConfiguration.dtbo,tegra264-p4071-0000+p3834-xxxx-dynamic.dtbo,tegra264-camera-isx031.dtbo";
these were DTB and DTBO files of Jetson AGX Thor Developer kit, which does not support CSI configuration.
please try revise the board configuration,
the device tree overlay for CSI configuration applies to the p3971 SKUs only.
please aware that..
the Jetson AGX Thor devkit (i.e. p3834+p4071) and its config jetson-agx-thor-devkit.conf do not have a CSI connector/use-case;
that board is not used for CSI validation.
you should not use jetson-agx-thor-devkit board configuration for a custom carrier board.
instead, please copy a closest-match .conf, such as.. p3834-0008-p3971-0000-ufs.conf, rename it (e.g. my-thor-custom.conf) and adjust the UPHY_CONFIG, EXTERNAL_PT_LAYOUT, EXTERNAL_DEVICE for your actual use-case.
FYI, as you can see.. it’s p3834-0008-p3971-0000-ufs.conf -> p3834-0008-p3971-0000.conf (this is p3971 SKU as mentioned above)
this is the board configuration which are the actual CSI-capable board configs for Thor series.
BTW, see-also developer guide, Generate the Pinmux dtsi Files, to use the Thor pinmux spreadsheet to set CSI lane muxing and GPIOs..etc.
The custom carrier board is a hardware design referenced from the Jetson AGX Thor devkit and includes the Holoscan interface. The only difference is the adoption of a 16-lane CSI interface.
So, my previous conf file was based on the devkit.(jetson-agx-thor-devkit.conf).
let’s execute the commands below to dump device tree into dts formats for checking.
for instance, $ sudo dtc -I fs -O dts /sys/firmware/devicetree/base > /tmp/123.dts
wait.. does it mean sensor steam went through Holoscan Sensor Bridge Device Setup?
or.. it’s a customize carrier board which utilize CSI-A/4-lane and CSI-C/4-lane configuration?
here’s a crucial device tree to enable CSI configuration, please refer to below for the compatible property.
for instance, $public_sources/kernel_src/hardware/nvidia/t264/nv-public/overlay/tegra264-p3971-0000+p3834-xxxx-csi.dts
hence,
let’s have another quick try by flashing a board with the board config, p3834-0008-p3971-0000-nvme.
please also check.. $ cat /etc/nv_boot_control.conf after system boot-up, which reports TNSPEC and COMPATIBLE_SPEC.