Closed jchillerup closed 4 years ago
I installed the ISP settings, which didn't help either :(
Following this link it seems something is coming out of the camera after all...
root@jc-nx:~# v4l2-ctl --stream-mmap --stream-count=100 -d /dev/video0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.09 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.04 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.03 fps
root@jc-nx:~# v4l2-ctl --list-devices
vi-output, imx477 9-001a (platform:15c10000.vi:0):
/dev/video0
vi-output, imx477 10-001a (platform:15c10000.vi:2):
/dev/video1
export SENSOR_ID=0
?
Do you have the kernel modules properly loaded? What is the output of lsmod
?
Well, no. In fact there were no modules loaded. It seems the kernel was looking for modules in /lib/modules/4.9.140
but there was no such directory, rather /lib/modules/4.9.140-tegra
. I made a symlink, and now it works! Thanks @rrcarlosrodriguez
I've followed the guide on the wiki to apply the kernel patches and build the kernel for the Raspberry Pi IMX477 module. In the flashing step the authors have used the
-r
option toflash.sh
to reuse a previously builtsystem.img
which I didn't have. So I built one using this command:That creates the
system.img
as I needed, and I verified that I was able to flash it to my NX devevelopment board. I could then proceed to flashing the DTB, and it booted.dmesg
mentions imx477 so I guess I'm in the clear. (Intermission: then Iapt upgrade
d, overwrote the kernel and had a bitch of a fight to get it booting the proper kernel and proper DTB again, but now I'm back.)I have the problem that the Argus camera driver does not detect the camera. This is the output from gstreamer...
How would I proceed to debug this? I have removed the R8 as directed by the guide, so this should not be a power problem.
Thanks!