User:Krystianch: Difference between revisions
Krystianch (talk | contribs) (Created page with "= Raspberry Pi cameras = {{Todo|This is a work-in-progress page. rpicam-apps is not in aports yet. }} == Preparation == Libcamera needs udev for the camera to be detected. {{Cmd|setup-devd udev}} We need to apply an appropriate device tree overlay for the camera. This line enables automatic detection of the camera and applies appropriate overlay. {{Cmd|<nowiki>echo "camera_auto_detect=1" >> /media/mmcblk0p1/usercfg.txt</nowiki>}} {{Cmd|<nowiki>echo "dtoverlay=vc4-...") |
Krystianch (talk | contribs) |
||
Line 8: | Line 8: | ||
{{Cmd|setup-devd udev}} | {{Cmd|setup-devd udev}} | ||
Remount boot media read/write. | |||
{{Cmd|<nowiki>mount -o rw,remount /media/mmcblk0p1/</nowiki>}} | |||
We need to apply an appropriate device tree overlay for the camera. | We need to apply an appropriate device tree overlay for the camera. | ||
Line 15: | Line 19: | ||
{{Cmd|<nowiki>echo "dtoverlay=vc4-kms-v3d,cma-512" >> /media/mmcblk0p1/usercfg.txt</nowiki>}} | {{Cmd|<nowiki>echo "dtoverlay=vc4-kms-v3d,cma-512" >> /media/mmcblk0p1/usercfg.txt</nowiki>}} | ||
Raspberry Pi's libcamera fork is needed as of now. | |||
{{Cmd|<nowiki>apk add raspberrypi-libcamera raspberrypi-libcamera-raspberrypi rpicam-apps</nowiki>}} | |||
== Installation == | == Installation == | ||
{{Cmd|apk add rpicam-apps}} | {{Cmd|apk add rpicam-apps}} |
Latest revision as of 10:37, 31 January 2024
Raspberry Pi cameras
Todo: This is a work-in-progress page. rpicam-apps is not in aports yet.
Preparation
Libcamera needs udev for the camera to be detected.
setup-devd udev
Remount boot media read/write.
mount -o rw,remount /media/mmcblk0p1/
We need to apply an appropriate device tree overlay for the camera. This line enables automatic detection of the camera and applies appropriate overlay.
echo "camera_auto_detect=1" >> /media/mmcblk0p1/usercfg.txt
echo "dtoverlay=vc4-kms-v3d,cma-512" >> /media/mmcblk0p1/usercfg.txt
Raspberry Pi's libcamera fork is needed as of now.
apk add raspberrypi-libcamera raspberrypi-libcamera-raspberrypi rpicam-apps
Installation
apk add rpicam-apps