This repository supports MIPI cameras through the IPU7 on Intel Lunar Lake platform. There are 4 repositories that provide the complete setup:
- https://github.com/intel/ipu7-drivers - kernel drivers for the IPU and sensors
- https://github.com/intel/ipu7-camera-bins - IPU firmware and proprietary image processing libraries
- https://github.com/intel/ipu7-camera-hal - HAL for processing of images in userspace
- https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api (branch:icamerasrc_slim_api) - Gstreamer src plugin
- IPU7 kernel driver
- Kernel patches needed
- Kernel config IPU_BRIDGE should be enabled when kernel version >= v6.6.
- Kernel config INTEL_SKL_INT3472 should be enabled if camera sensor driver is using discrete power control logic, like ov13b10.c.
- The camera sensor drivers you are using should be enabled in kernel config.
- For other camera sensor drivers and related ipu-bridge changes, please go to IPU6 release repository.
Three ways are available:
- Build with kernel source code tree (in-tree build)
- Build with kernel headers only (out-of-tree build)
- Build and install by dkms (DKMS build)
- Tested with kernel v6.8 and v6.10
- Check out kernel source code
- Patch kernel source code, using patches under
patch/<kernel-version>
andpatch/<kernel-version>/in-tree-build
depending on what you need. - Copy
drivers
andinclude
folders to kernel source code. - Enable the following settings in .config:
And other components, depending on what you need:
CONFIG_VIDEO_INTEL_IPU7=m CONFIG_IPU_BRIDGE=m
CONFIG_PINCTRL_INTEL_PLATFORM=m CONFIG_INTEL_SKL_INT3472=m CONFIG_VIDEO_OV13B10=m CONFIG_VIDEO_OV02C10=m CONFIG_VIDEO_OV05C10=m
- Build you kernel
- Requires kernel headers installed on build machine
- Requires dependencies enabled in kernel, and patches under
patch/<kernel-version>
(notin-tree-build
) applied to the kernel you will run the modules on - To build and install:
make -j`nproc` && sudo make modules_install && sudo depmod -a
- Register, build and auto install:
sudo dkms add . sudo dkms autoinstall ipu7-drivers/0.0.0