Use pi camera on Raspberry pi with archlinux-arm

For Raspbian there is raspi-config to enable the camera on a raspberry pi. On a system without raspi-config the changes are:

  • Changes in /boot/config.txt:

initramfs initramfs-linux.img followkernel
cma_lwm= cma_hwm= cma_offline_start=

Not reboot for the change to get loaded.

  • To check if the camera is working:

/opt/vc/bin/vcgencmd get_camera

this should result in: supported=1 detected=1

Finally shoot an image:

/opt/vc/bin/raspistill -o image.jpg --nopreview