Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for v3 wide #1

Open
butnaruteodor opened this issue Aug 2, 2023 · 5 comments
Open

Support for v3 wide #1

butnaruteodor opened this issue Aug 2, 2023 · 5 comments

Comments

@butnaruteodor
Copy link

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
Copy link

same error on orin nano, pls help me
image

@edward-ardu
Copy link

edward-ardu commented Aug 4, 2023

and my hardware connect.
image

jtop
image

@butnaruteodor
Copy link
Author

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
Copy link
Collaborator

alfredpchacon commented Aug 15, 2023

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants