And i’m testing with a standard raspberry pi CSI camera
Sadly enough i’ve noticed its impossible to install the driver that is deliverd out-of-the-box due that it patches the kernel. I don’t think its possible to do this from a container isn’t it?
I’ve tested it on the v2.98.12 on a jetson nano 2gb . Nothing was detected according to dmesg and no /dev/video0 became visible on host.
After this i’ve moved to the NX v2.107.10 which didn’t recognize the CSI cam and recognized the arducam, but no /dev/video* on host. Are there any known issues with kernel patches? And are /dev/video* visible without the nvargus-daemon?
I’ve done some digging and found a list of dtb files in their installer.
The following DTS file i’ve decompiled from their deb file called Camera_IMX477-A_and_Arducam-B.dtb which sounds like the one I need. I’m compiling now the yocto with this one added to see if this has a good result.
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration
Initialising tasks: 100% |####################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 55 Local 0 Mirrors 0 Missed 55 Current 1852 (0% match, 97% complete)
NOTE: Executing Tasks
Setscene tasks: 1907 of 1907
ERROR: kernel-modules-headers-1.0-r0 do_compile: ExecutionError('/home/martijn/balena-jetson/build/tmp/work/jetson_nano-poky-linux/kernel-modules-headers/1.0-r0/temp/run.do_compile.1429059', 2, None, None)
ERROR: Logfile of failure stored in: /home/martijn/balena-jetson/build/tmp/work/jetson_nano-poky-linux/kernel-modules-headers/1.0-r0/temp/log.do_compile.1429059
Log data follows:
| DEBUG: Executing shell function do_compile
| Running modules_prepare...
| make[1]: Entering directory '/home/martijn/balena-jetson/build/tmp/work/jetson_nano-poky-linux/kernel-modules-headers/1.0-r0/kernel_modules_headers'
| scripts/kconfig/conf --silentoldconfig Kconfig
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| Kconfig:6: syntax error
| Kconfig:5: invalid statement
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| init/Kconfig:2055: symbol 'MODULES' redefines option 'modules' already defined by symbol 'MODULES'
| make[3]: *** [/home/martijn/balena-jetson/build/tmp/work-shared/jetson-nano/kernel-source/scripts/kconfig/Makefile:39: silentoldconfig] Error 1
| make[2]: *** [/home/martijn/balena-jetson/build/tmp/work-shared/jetson-nano/kernel-source/Makefile:575: silentoldconfig] Error 2
| make[1]: Leaving directory '/home/martijn/balena-jetson/build/tmp/work/jetson_nano-poky-linux/kernel-modules-headers/1.0-r0/kernel_modules_headers'
| make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
| make: *** [Makefile:170: sub-make] Error 2
| WARNING: exit code 2 from a shell command.