Hi,
I was testing the loadable kernel module (nv_imx219.ko). There is no sensor moulde plugged in.
Below are my test steps:
1.dtb file is in “/boot/tegra234-p3767-camera-p3768-imx219-dual.dtb”
2. /boot/extlinux/extlinux.conf context => add “OVERLAYS /boot/tegra234-p3767-camera-p3768-imx219-dual.dtb”
3. reboot
4. sudo insmod nv_imx219.ko
5. lsmod: nv_imx219 is existed.
However, when checking with demsg, no nv_imx219 related message. May I know is this reasonable ? Or did I miss any operation steps ?
To avoid it’s caused by my device tree issue, I tired to find a sample to check it. Therefore I test with imx274 which is default in AGX Orin’s device tree
Hi @ShaneCCC ,
I tried to do the above steps, and it says: modprobe: FATAL: Module nv_imx274.ko not found in directory /lib/modules/5.15.148-tegra.
So I moved nv_imx274.ko to the above directory.
Then I try the commands you mentioned:
I am sorry I don’t have a UART cable on hand & I also don’t know how to check it currently. Is there other way to check it ? By the way, what is the differnce between checking from terminal and UART ?
After system boot, it appears as what you said , no new dmesg.
Now I rollback the Image file in <install-path>/Linux_for_Tegra/kernel/Image, and flash the device again again. Then I do the above step: sudo modprobe nv_imx274
However, this time It shows error as this link : Error when loading camera sensor module.
But actually I have built nvidia oot modules earlier, so I am not sure why this happens ?
May I have your suggestions to fix these problem ?
cant’ see normal dmesg after rebuilding kernel
fail to insmod with original image in SDK
[update] BTW, i checked dmesg of the original image, i think it is the same with the dmesg built by me. The only differnce is the original image is failed to insmod, so the error occurs. Maybe its not because no new dmesg update ? original_image_dmesg.txt (67.4 KB) new_image_dmesg.txt (70.2 KB)
[update2]
When I plug in/out usb flash, I can see dmesg print new message. It ssems the dmesg is not redirected to other device
What does that mean "i checked dmesg of the original image, i think it is the same with the dmesg built by me. " ?
Your log of “new image” only indicates that your kernel image does not get updated. We are already in 2025 and your “new image log” is using a kernel built from 9/12/2024.
After flashing, on Jetson AGX Orin:
Open Jetson-io.py → “Configure Jetson AGX CSI Connector” → “Configure for compatible hardware” → “Jetson Camera Dual-IMX274 (I also tried imx185, imx390) → “Save pin changes” → “Save and reboot to reconfigure pins” → press any key
"tree | /proc/device-trees shows IMX274 is on the device tree. device-tree.txt (603.0 KB)
Reboot system, insmod or modprobe nv_imx274 → No kernel message occurs.
I also tried to modify nv_imx274. Change to use init function. When insmod, I can see kernel print init function, but there is no probing action. nv_imx274.c.txt (33.9 KB) dmesg_0108.txt (67.1 KB)
I also attach my platform, there is no image sensor connected.