Tiny Core Base > Raspberry Pi
libcamera
Rich:
Hi segfault
I just took a look in modules-6.1.68-piCore-v7l.gz and though the
i2c-mux* drivers are listed in modules.order , they don't seem to
appear anywhere else in modules-6.1.68-piCore-v7l.gz.
They also don't appear to be listed in any extensions.
segfault:
--- Quote from: Rich on July 15, 2024, 08:41:22 AM ---
--- Quote --- ... But I guess that perhaps it's noteworthy that imx219 doesn't show up on TC14, even though I got camera_auto_detect, start_x and dtoverlay=im219 in the config file, along with dtparam=i2c_arm=on.
--- End quote ---
You meant imx219 , right?
--- End quote ---
Yes, this was a typo in my forum post.
--- Quote from: Rich on July 15, 2024, 08:26:23 AM ---
--- Code: ---camera_auto_detect=1
--- End code ---
See it works better with 0. There may be a driver related timing issue....
--- End quote ---
I've tried with 1 and with 0, and tried different combinations with start_x=1 along with camera_auto_detect=1 and 0, and specifying the dtoverlay and not specyfying it too. Nothing seems to work on TC14, while TC13 different kind of combinations works.
--- Quote from: Rich on July 15, 2024, 09:17:56 AM ---Hi segfault
I just took a look in modules-6.1.68-piCore-v7l.gz and though the
i2c-mux* drivers are listed in modules.order , they don't seem to
appear anywhere else in modules-6.1.68-piCore-v7l.gz.
They also don't appear to be listed in any extensions.
--- End quote ---
Just just learned how to do find -L /lib -name "*mux*" and also tried to find "*pin*" but on TC14 there is only one hit: video-mux.ko. However I'm beginning to think that it might be a red herring this thing with i2c, because after I learned how to check kernel dependencies, I noticed that the imx219.ko don't have a dep to i2c_mux_pinctrl.
I took at look at the link you posted previously related to "no camera detected" when running libcamera-hello, but I'm not sure if it is related. From what I gather tinycore works like this: the config.txt is being parsed, the computer encounters dtoveraly or camera_auto_detect and tries to register the camera, but for some reason it fails. Thus the camera is never even registered in the system, when libcamera-hello is run.
I've tried googling to find what code is parsing camera_auto_detect, so that I can track the progress from there. Maybe its even possible to follow the stack trace or something, but I've not been able to find the code.
All of these is way beyond my "comfort zone", so I'm pretty much at a loss here.
Rich:
Hi segfault
--- Quote from: segfault on July 15, 2024, 10:00:35 AM --- ... I noticed that the imx219.ko don't have a dep to i2c_mux_pinctrl. ...
--- End quote ---
That may be, but it's possible something in libcamera or libcamera-apps does.
Paul_123:
I would try out the piCore15 beta. See if that makes any difference.
segfault:
--- Quote from: Rich on July 15, 2024, 10:38:28 AM ---That may be, but it's possible something in libcamera or libcamera-apps does.
--- End quote ---
Right I hear you! Inspired by someone who also tried to get a camera working (https://forum.tinycorelinux.net/index.php/topic,26713.0.html) I took a peak in: http://tinycorelinux.net/14.x/armv7/releases/RPi/src/kernel/modules-6.1.68-piCore-v7.tar.xz and it turns out that the ic2/muxes folder exists there:
kernel/drivers/i2c/muxes/i2c-mux-pca954x.ko [i2c-mux-pinctrl.ko, etc]
I tried copying it to TC14 and tried loading is using sudo insmod but got invalid module format.
--- Quote from: Paul_123 on July 15, 2024, 10:45:54 AM ---I would try out the piCore15 beta. See if that makes any difference.
--- End quote ---
Yes, good idea! I'll so that ASAP. Cheers.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version