RidgeRun / NVIDIA-Jetson-IMX708-RPIV3

NVIDIA Jetson IMX708 RPI V3 camera driver
12 stars 5 forks source link

Support for v3 wide #1

Open butnaruteodor opened 1 year ago

butnaruteodor commented 1 year ago

I've been trying for the past two days to get this working on my jetson 4gb with the wide v3 camera, however i was not successful I tried with the first method(deb) however, after the jetson wouldnt display anything The second method(patching) yielded the same results

Although the jetson wouldnt display anything(and the internet stopped working for some reason) i could connect to it through usb with screen,ssh etc. The driver started when i checked dmesg, the device appeared in dev/video0 however dmesg said "imx708_board_setup: invalid sensor model id: 32", i tried using it as is. The commands in the wiki to take a photo would give me camera not found, ffmpeg would give me a green image, maybe because of the encoding.

After a while i realized that my jetson by default doesnt use the dtb with the revision in the wiki(or whatever the number means :D), it uses the one that ends in b00.dtb, i added the patch to this dtb and compiled again(the Image however used is the one from nano.deb), now the display issue was gone and the internet connection started working however now i get another error when i check dmesg: imx708 6-001a: Failed to find matching dt id imx708 6-001a: unable to get platform data imx708 6-001a: tegra camera driver registration failed imx708: probe of 6-001a failed with error -14

I tried using my compiled Image but i again lost the video display and got the same invalid sensor error

I am thinking its because this is the wide variant (although it uses the same sensor) but how could i make it work, can you help me figure this out?

edward-ardu commented 1 year ago

same error on orin nano, pls help me image

edward-ardu commented 1 year ago

and my hardware connect. image

jtop image

butnaruteodor commented 1 year ago

I managed to get it to work on my nano 4gb, before, the problem that i got with lsmod not showing anything is because the kernel that i compiled had a older version 4.9.253 and my nano had 4.9.337, basically the folder tegra-4.9.253(/lib/modules) didnt exist so thats why lsmod didnt show anything and internet/screen wasnt working.

So the problem was that i was compiling an older kernel Image, this was due to the fact that the wiki doesnt use the latest L4T version when compiling. Here are all the versions(scroll down for the archive for older kernels): https://developer.nvidia.com/embedded/linux-tegra-r3274 I got the latest from here and then did everything the wiki said and now it works.

alfredpchacon commented 1 year ago

Hi @butnaruteodor, thanks for letting us know about the kernel incompatibility in that newer version (4.9.337). We have updated the wiki to add the restriction. Here is the link to our wiki just in case: https://developer.ridgerun.com/wiki/index.php/Raspberry_Pi_Camera_Module_3_IMX708_Linux_driver_for_Jetson

alfredpchacon commented 1 year ago

Hi @edward-ardu, which method are you using to flash the driver?