aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index d74a71e..dbfbc28 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,25 @@ follow these steps:
This configuration ensures that GPIO and PWM operations can be performed
without needing root access.
+## Libcamera Setup
+The upstream libcamera package in Arch Linux ARM (as of August 2025) has
+compatibility issues with the Raspberry Pi kernel, preventing detection of
+official camera modules. Until this is resolved upstream, you'll need to build
+the Raspberry Pi Foundation's supported version:
+```console
+user@alarm$ sudo pacman -S boost cmake gcc git libdrm libexif libjpeg libpng libtiff meson pkgconf python-jinja python-ply python-yaml
+user@alarm$ git clone https://github.com/raspberrypi/libcamera
+user@alarm$ cd libcamera
+user@alarm$ meson setup build -Dprefix=/usr
+user@alarm$ ninja -C build
+user@alarm$ sudo ninja -C build install
+```
+
+References:
+
+- [RPi Kernel Issue #6983](https://github.com/raspberrypi/linux/issues/6983)
+- [Libcamera Installation Guide](https://blog.jirkabalhar.cz/2024/02/raspberry-camera-on-archlinux-arm-in-2024/)
+
## Build Instructions:
1. Install [`stack`](https://docs.haskellstack.org/en/stable/). It’s
recommended to use [`ghcup`](https://www.haskell.org/ghcup/) for