I am trying to bring up a custom camera on my AGX Orin device.
It worked fine on the previous JetPack version (JP5.1.3). I am now attempting to migrate the same driver and camera modules to the current setup. (JP6.1.0)
However, I noticed that there are changes in the device tree structure on JetPack 6.x.x, as well as in the out-of-tree (OOT) module build environment (e.g., no need for Kconfig and defconfig).
Below are the issue details:
Hardware configuration
AGX Orin devkit + interface board (including 3× MAX9296 GMSL deserializers for 6 cameras).
Screenshot:
Device tree setup
The custom-camera.dtsi file is included in camera-modules.dtsi.
The custom-camera.dtbo is overlaid during Orin boot-up.
Boot configuration
Modifications in extlinux.conf for AGX Orin are as follows:
It seems that the device tree and the out-of-tree sensor driver setup are correct. However, the driver does not function as expected, as there is no related dmesg output when the driver is loaded using insmod.
Do you confirm the tca9548 driver is loaded?
The default device tree already define tca9548 you should override it otherwise remove the original to avoid conflict.
I checked the issue as per your point by replacing camera-modules.dtsi with custom-camera.dtsi to remove all other I2C mux nodes.
However, the issue remains the same.
And I checked the “pca9548 2-0070” is loaded successfully as below.
I added a dev_err() at the beginning of the probe function, but there isn’t any output in dmesg, which shows that the device might not be detected.
Are there any other areas worth checking on device tree?
Or, could the warning shown below during decompilation with dtc be a hint?
decomp log: dtc_log.txt (187.6 KB)