This wiki was updated to MediaWiki 1.37. If you notice any issues, please report them to admin[at]

HCL:Raspberry Pi Camera Modules

Jump to: navigation, search

Multiple Camera modules are available for the Raspberry Pi. The following method has been tested with:

  • Camera Module V1 (based on OmniVision OV5647)
  • Camera Module V2 (based on Sony IMX219)

And should work with other camera modules as well, as long as they are supported by the raspberrypi-firmware.

The tc358743-based HDMI module does not work as expected, though. See:

Connecting the module

The module is connected with a flat cable to the Raspberry Pi Camera module.
Video of the connection with a Raspberry Pi 1:

Software configuration

The camera needs to be enabled on boot, at the firmware level.

You first need to install:

  • raspberrypi-firmware-extra package on your Raspberry Pi 1, 2 or 3 to get start_x.elf installed.
  • or raspberrypi-firmware-extra-pi4 package on your Raspberry Pi 4 to get start4x.elf installed.

Now, you need to edit /boot/efi/config.txt, by adding start_x=1 and updating gpu_mem value gpu_mem=128.
Please note that using /boot/efi/extraconfig.txt does not work. See boo#1192047 for details

After a reboot you will see the V4L2 /dev/video0 device available.

Software usage

Now a standard V4L2 device is available, you can use any software which supports V4L2 standard, such as VLC, ffmpeg, streamer (from v4l-tools), fswebcam, etc.

Example with fswebcam:

fswebcam -r 1280x1024 --no-banner image1.jpeg