Support MIPI camera through Intel IPU6
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | |||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | |||
Focal |
Won't Fix
|
Undecided
|
Unassigned | |||
Jammy |
Invalid
|
Undecided
|
Unassigned | |||
linux-firmware (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | |||
Focal |
Fix Released
|
High
|
You-Sheng Yang | |||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned | |||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | |||
linux-oem-5.10 (Ubuntu) | ||||||
Focal |
Fix Released
|
High
|
You-Sheng Yang | |||
linux-oem-5.13 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | |||
Focal |
Fix Released
|
High
|
You-Sheng Yang | |||
Jammy |
Invalid
|
Undecided
|
Unassigned | |||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | |||
Focal |
Invalid
|
Undecided
|
You-Sheng Yang | |||
Jammy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
There are new platforms with MIPI camera based on Intel IPU6(Imaging
Processing Unit version 6) currently unsupported in Ubuntu.
[Fix]
Intel IPU6 can be enabled by integration of following kernel driver,
firmware, userspace HAL libraries as well as a GStreamer source element:
* https:/
* https:/
* https:/
* https:/
This patchset took kernel patches from intel/ipu6-drivers.
[Test Case]
With kernel/firmware properly installed, the hardware should be ready for
further development:
$ dmesg | grep ipu
intel-ipu6 intel-ipu: enabling device (0000 -> 0002)
intel-ipu6 intel-ipu: Device 0x9a19 (rev: 0x1)
intel-ipu6 intel-ipu: physical base address 0x6054000000
intel-ipu6 intel-ipu: mapped as: 0x0000000097793328
intel-ipu6 intel-ipu: IPU in secure mode
intel-ipu6 intel-ipu: IPC reset done
intel-ipu6 intel-ipu: cpd file name: intel/ipu6_fw.bin
intel-ipu6 intel-ipu: FW version: 20201222
intel-ipu6 intel-ipu: Sending BOOT_LOAD to CSE
intel-ipu6 intel-ipu: Sending AUTHENTICATE_RUN to CSE
intel-ipu6 intel-ipu: CSE authenticate_run done
intel-ipu6 intel-ipu: IPU driver version 1.0
intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
intel-ipu6-isys intel-ipu6-isys0: bind ov01a1s 20-0036 nlanes is 1
port is 1
intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
intel-ipu6-isys intel-ipu6-isys0: stream on ov01a1s 20-0036
There should be nearly 24 video4linux devices created under /dev.
[Where problems could occur]
MIPI camera through Intel IPU6 takes also firmware blobs loaded in
runtime from user space, addtional softwares are also required to
fully enable it for oridinary use. The exposed video devices are hidden
from general users and a relay daemon+v4l2loopback is used to enable
use from existing applications.
>From kernel's point of view, there is still a known issue that it takes
root priviledge to access these devices.
[Other Info]
So far Intel has no plan to commit this driver to upstream yet, so it's
only nominated for oem-5.10. It will only be nominated to generic
kernels when the plan/requirements have changed.
The original driver Kconfig would disable VIDEO_IPU3_CIO2, but that's
reverted to avoid unnecessary changes to existing users.
========== original bug description ==========
The Intel imaging processing unit version 6, found in Intel SoCs and used for capturing images and video from a camera sensor is enabled by integration of following kernel driver, firmware, userspace HAL libraries as well as a GStreamer source element:
* https:/
* https:/
* https:/
* https:/
With all components properly installed, the hardware should be ready for further development:
intel-ipu6 intel-ipu: enabling device (0000 -> 0002)
intel-ipu6 intel-ipu: Device 0x9a19 (rev: 0x1)
intel-ipu6 intel-ipu: physical base address 0x6054000000
intel-ipu6 intel-ipu: mapped as: 0x0000000097793328
intel-ipu6 intel-ipu: IPU in secure mode
intel-ipu6 intel-ipu: IPC reset done
intel-ipu6 intel-ipu: cpd file name: intel/ipu6_fw.bin
intel-ipu6 intel-ipu: FW version: 20201222
intel-ipu6 intel-ipu: Sending BOOT_LOAD to CSE
intel-ipu6 intel-ipu: Sending AUTHENTICATE_RUN to CSE
intel-ipu6 intel-ipu: CSE authenticate_run done
intel-ipu6 intel-ipu: IPU driver version 1.0
intel-ipu6-psys intel-ipu6-psys0: pkg_dir entry count:8
intel-ipu6-psys intel-ipu6-psys0: psys probe minor: 0
intel-ipu6-isys intel-ipu6-isys0: bind ov01a1s 20-0036 nlanes is 1 port is 1
intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
intel-ipu6-isys intel-ipu6-isys0: stream on ov01a1s 20-0036
This one equips an OV01A1S sensor, and HM11B1 is also supported.
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
Dependencies:
DistributionCha
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://
canonical-
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-03-25 (0 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58
MachineType: Dell Inc. Latitude 9420
Package: linux-oem-5.10
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.187.10+
Tags: focal third-party-
Uname: Linux 5.10.0-1019-oem x86_64
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 01/25/2021
dmi.bios.release: 89.5
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 89.5.23
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Latitude
dmi.product.name: Latitude 9420
dmi.product.sku: 0A32
dmi.sys.vendor: Dell Inc.
CVE References
Changed in linux-oem-5.10 (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-firmware (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in linux-firmware (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → You-Sheng Yang (vicamo) |
tags: | added: oem-priority originate-from-1917691 somerville |
description: | updated |
tags: | added: ipu6 |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
information type: | Public → Public Security |
information type: | Public Security → Public |
no longer affects: | linux-oem-5.10 (Ubuntu) |
no longer affects: | linux-oem-5.10 (Ubuntu Hirsute) |
Changed in linux-firmware (Ubuntu): | |
status: | Invalid → Won't Fix |
Changed in linux-firmware (Ubuntu Hirsute): | |
status: | Invalid → Won't Fix |
Changed in linux-oem-5.13 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.13 (Ubuntu Focal): | |
status: | New → Triaged |
assignee: | nobody → You-Sheng Yang (vicamo) |
importance: | Undecided → High |
Changed in linux-oem-5.13 (Ubuntu Focal): | |
status: | Triaged → In Progress |
Changed in linux-oem-5.13 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | New → Won't Fix |
Changed in linux-oem-5.14 (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in hwe-next: | |
status: | New → Fix Released |
PPA: https:/ /launchpad. net/~vicamo/ +archive/ ubuntu/ ppa-1921345. k (kernel), https:/ /launchpad. net/~vicamo/ +archive/ ubuntu/ ppa-1921345. f (firmware)