Tiny Core Base > Raspberry Pi

Raspberry Pi Zero W Camera not working

<< < (5/5)

zharr:

--- Quote from: Rich on November 08, 2022, 02:17:23 PM ---Hi zharr
The  piCore-VERSION.img  file contains kernels for V6, V7, and V7l.
The V6 software should run on all 3 processor types.
Yes, you do need the KERNEL specific packages twice. They can be
in the same directory. The dependency files list them as:

--- Code: ---graphics-KERNEL.tcz
--- End code ---
When  tce-load  sees that  KERNEL  in the name it looks for a filename
that matches the kernel you are running and loads that.

--- End quote ---

--- Quote from: Juanito on November 08, 2022, 03:39:51 PM ---Yes, you need both kernel specific extensions, the other extensions are common to armv6, armv7 and armv7l.

--- End quote ---
Thanks, updated my code to load KERNEL-specific tczs from both repositories. That might also have been the problem, initially I only loaded v4l-dvb-5.10.77-piCore.tcz or v4l-dvb-5.10.77-piCore-v7.tcz, never both at the same time.
I'll have to confirm that everything works tomorrow once I have a SD card reader.

Rich:
Hi zharr
If you look through  /usr/bin/tce-load  you will find this:

--- Code: ---KERNELVER=$(uname -r)
--- End code ---
$KERNELVER  now contains the kernel version that is currently running.
It then replaces  KERNEL  in the extension name with the value contained
in  $KERNELVER  so it loads the matching extension.

You will also see that it runs  depmod  when it detects kernel modules are
being installed.

bmarkus:
When kernel modules loaded from the repo in .tcz format depmod is executed by the system, no need manually. WWell, it doesn't hurt

Juanito:
It took me a while to update my RPi0W to piCore-13.1, but I can confirm that that the video devices are created after the following:

Set dtoverlay=vc4-kms-v3d, reboot and then:
--- Code: ---tce-load -i graphics-KERNEL
alsa-modules-5.10.77-piCore.tcz: OK
graphics-5.10.77-piCore.tcz: OK
tce-load -i v4l-dvb-KERNEL
v4l-dvb-5.10.77-piCore.tcz: OK
ls /dev/video*
/dev/video10  /dev/video12  /dev/video14  /dev/video16
/dev/video11  /dev/video13  /dev/video15  /dev/video18
ls /dev/media*
/dev/media0  /dev/media1
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version