[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987365: linux-image-5.10.0-6-armmp: please enabvle support for i.mx6 mipi-csi capture devices



Package: src:linux
Version: 5.10.28-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: josua.mayer97@gmail.com

Dear Maintainer,

Please enable support for the mipi-csi capture devices on i.MX6 SoCs,
as used e.g. by the SolidRun i.MX6 HummingBoard (config patch attached).

Yours sincerely
Josua Mayer

-- Package-specific info:
** Version:
Linux version 5.10.0-6-armmp (debian-kernel@lists.debian.org) (arm-linux-gnueabihf-gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.28-1 (2021-04-09)

** Command line:
  console=ttymxc0,115200 deferred_probe_timeout=10 ahci_imx.hotplug=1 log_level=7 net.ifnames=0

** Tainted: WCE (9728)
 * kernel issued warning
 * staging driver was loaded
 * unsigned module was loaded

** Kernel log:
[   11.819025] systemd[1]: modprobe@fuse.service: Succeeded.
[   11.834720] systemd[1]: Finished Load Kernel Module fuse.
[   11.859671] systemd[1]: Finished Load Kernel Modules.
[   11.879573] systemd[1]: Finished Remount Root and Kernel File Systems.
[   11.915841] systemd[1]: Mounting FUSE Control File System...
[   11.955104] systemd[1]: Mounting Kernel Configuration File System...
[   11.998308] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   12.007284] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   12.023562] systemd[1]: Starting Load/Save Random Seed...
[   12.050667] systemd[1]: Starting Apply Kernel Variables...
[   12.078727] systemd[1]: Starting Create System Users...
[   12.114011] systemd[1]: Started Journal Service.
[   12.303087] systemd-journald[173]: Received client request to flush runtime journal.
[   14.239809] Registered IR keymap rc-empty
[   14.289888] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[   14.302153] imx-ipuv3 2400000.ipu: IPUv3H probed
[   14.329978] imx-ipuv3 2800000.ipu: IPUv3H probed
[   14.344837] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[   14.469667] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input0
[   14.512465] random: crng init done
[   14.515899] random: 7 urandom warning(s) missed due to ratelimiting
[   14.560825] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned.
[   14.618396] imx6_media: module is from the staging directory, the quality is unknown, you have been warned.
[   14.626716] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv])
[   14.644798] coda 2040000.vpu: firmware: failed to load vpu_fw_imx6q.bin (-2)
[   14.651935] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   14.661415] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin failed with error -2
[   14.708623] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv])
[   14.740237] coda 2040000.vpu: firmware: direct-loading firmware vpu/vpu_fw_imx6q.bin
[   14.756779] coda 2040000.vpu: Using fallback firmware vpu/vpu_fw_imx6q.bin
[   14.768056] coda 2040000.vpu: Firmware code revision: 46076
[   14.773727] coda 2040000.vpu: Initialized CODA960.
[   14.778621] coda 2040000.vpu: Firmware version: 3.1.1
[   14.785300] coda 2040000.vpu: encoder registered as video0
[   14.795329] coda 2040000.vpu: decoder registered as video1
[   14.801191] coda 2040000.vpu: encoder registered as video2
[   14.807040] coda 2040000.vpu: decoder registered as video3
[   14.813297] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops [etnaviv])
[   14.819955] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[   14.830926] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[   14.837222] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[   14.843443] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[   14.850929] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0
[   14.864206] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops imx_drm_exit [imxdrm])
[   14.938450] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops imx_drm_exit [imxdrm])
[   14.991703] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops imx_drm_exit [imxdrm])
[   15.041668] CAN device driver interface
[   15.074860] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops imx_drm_exit [imxdrm])
[   15.140711] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY)
[   15.175608] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW
[   15.225615] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops [dw_hdmi_imx])
[   15.293255] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[   15.347856] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes
[   15.899289] sgtl5000 0-000a: Error reading chip id -6
[   16.087363] imx_thermal 20c8000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
[   16.168504] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   16.664420] raid6: neonx8   gen()   602 MB/s
[   16.715594] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned.
[   16.726234] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned.
[   16.736382] raid6: neonx8   xor()   490 MB/s
[   16.742431] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned.
[   16.754259] imx6_media_csi: module is from the staging directory, the quality is unknown, you have been warned.
[   16.804385] raid6: neonx4   gen()  1516 MB/s
[   16.876378] raid6: neonx4   xor()   970 MB/s
[   16.885194] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video4
[   16.904722] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video5
[   16.948149] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video6
[   16.948399] raid6: neonx2   gen()  1405 MB/s
[   16.991357] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video7
[   17.024384] raid6: neonx2   xor()   950 MB/s
[   17.068916] ipu2_csi0: Registered ipu2_csi0 capture as /dev/video8
[   17.096392] raid6: neonx1   gen()  1254 MB/s
[   17.120473] ipu2_ic_prpenc: Registered ipu2_ic_prpenc capture as /dev/video9
[   17.168385] raid6: neonx1   xor()   853 MB/s
[   17.183204] ipu2_ic_prpvf: Registered ipu2_ic_prpvf capture as /dev/video10
[   17.239336] ipu2_csi1: Registered ipu2_csi1 capture as /dev/video11
[   17.240384] raid6: int32x8  gen()   285 MB/s
[   17.316379] raid6: int32x8  xor()   187 MB/s
[   17.388443] raid6: int32x4  gen()   310 MB/s
[   17.460388] raid6: int32x4  xor()   201 MB/s
[   17.532460] raid6: int32x2  gen()   388 MB/s
[   17.604387] raid6: int32x2  xor()   197 MB/s
[   17.676440] raid6: int32x1  gen()   398 MB/s
[   17.748423] raid6: int32x1  xor()   172 MB/s
[   17.752783] raid6: using algorithm neonx4 gen() 1516 MB/s
[   17.758251] raid6: .... xor() 970 MB/s, rmw enabled
[   17.763202] raid6: using neon recovery algorithm
[   18.141107] xor: measuring software checksum speed
[   18.152543]    arm4regs        :  1579 MB/sec
[   18.165775]    8regs           :  1156 MB/sec
[   18.178489]    32regs          :  1194 MB/sec
[   18.191629]    neon            :  1133 MB/sec
[   18.196083] xor: using function: arm4regs (1579 MB/sec)
[   18.466235] Btrfs loaded, crc32c=crc32c-generic
[   18.472736] BTRFS: device label ssd devid 1 transid 33605 /dev/sda scanned by systemd-udevd (208)
[   18.623676] Qualcomm Atheros AR8035 2188000.ethernet-1:00: attached PHY driver [Qualcomm Atheros AR8035] (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL)
[   22.748821] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.756556] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.224464] rc rc0: two consecutive events of type space
[   37.852599] brcm_reg: disabling

** Model information
Hardware	: Freescale i.MX6 Quad/DualLite (Device Tree)
Revision	: 0000
Device Tree model: SolidRun HummingBoard Dual/Quad

** Loaded modules:
btrfs(E)
blake2b_generic(E)
xor(E)
xor_neon(E)
dw_hdmi_ahb_audio(E)
dw_hdmi_cec(E)
evdev(E)
imx6_media_csi(CE)
v4l2_fwnode(E)
raid6_pq(E)
libcrc32c(E)
snd_soc_imx_spdif(E)
snd_soc_simple_card(E)
snd_soc_simple_card_utils(E)
sg(E)
nvmem_imx_ocotp(E)
snd_soc_imx_audmux(E)
snd_soc_sgtl5000(E)
imx_thermal(E)
snd_soc_fsl_spdif(E)
imx2_wdt(E)
snd_soc_fsl_ssi(E)
imx_pcm_dma(E)
imx_pcm_fiq(E)
flexcan(E)
snd_soc_core(E)
can_dev(E)
snd_pcm_dmaengine(E)
snd_pcm(E)
snd_timer(E)
pwm_imx27(E)
snd(E)
soundcore(E)
imx6_media(CE)
dw_hdmi_imx(E)
coda_vpu(E)
imx_media_common(CE)
v4l2_jpeg(E)
imx_vdoa(E)
videobuf2_dma_contig(E)
dw_hdmi(E)
v4l2_mem2mem(E)
videobuf2_vmalloc(E)
etnaviv(E)
cec(E)
videobuf2_memops(E)
gpu_sched(E)
videobuf2_v4l2(E)
imxdrm(E)
videobuf2_common(E)
imx_ipu_v3(E)
gpio_ir_recv(E)
drm_kms_helper(E)
rc_core(E)
imx6q_cpufreq(E)
fuse(E)
drm(E)
configfs(E)
ip_tables(E)
x_tables(E)
autofs4(E)
ext4(E)
crc16(E)
mbcache(E)
jbd2(E)
crc32c_generic(E)
sd_mod(E)
t10_pi(E)
crc_t10dif(E)
crct10dif_generic(E)
crct10dif_common(E)
ahci_imx(E)
libahci_platform(E)
libahci(E)
libata(E)
ci_hdrc_imx(E)
ci_hdrc(E)
ulpi(E)
roles(E)
ehci_hcd(E)
phy_generic(E)
udc_core(E)
scsi_mod(E)
sdhci_esdhc_imx(E)
sdhci_pltfm(E)
cqhci(E)
usbcore(E)
sdhci(E)
i2c_imx(E)
usbmisc_imx(E)
phy_mxs_usb(E)
anatop_regulator(E)
at803x(E)

** PCI devices:
00:00.0 PCI bridge [0604]: Synopsys, Inc. DWC_usb3 / PCIe bridge [16c3:abcd] (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 309
	Region 0: Memory at 01000000 (32-bit, non-prefetchable) [size=1M]
	Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: [disabled]
	Prefetchable memory behind bridge: [disabled]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	Expansion ROM at 01100000 [virtual] [disabled] [size=64K]
	BridgeCtl: Parity+ SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport


** USB devices:
Bus 002 Device 002: ID 04b4:6570 Cypress Semiconductor Corp. Unprogrammed CY7C65632/34 hub HX2VL
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 5.10.0-6-armmp (SMP w/2 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_CRAP, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-5.10.0-6-armmp depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.140
ii  kmod                                    28-1
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-6-armmp recommends:
pn  apparmor             <none>
pn  firmware-linux-free  <none>

Versions of packages linux-image-5.10.0-6-armmp suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.10          <none>

Versions of packages linux-image-5.10.0-6-armmp is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
ii  firmware-misc-nonfree     20210315-2
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
ii  firmware-ti-connectivity  20210315-2
pn  xen-hypervisor            <none>

-- no debconf information
>From 2d1bbc068680724272da8bd69716a0fdfea16a2e Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 22 Apr 2021 15:23:51 +0200
Subject: [PATCH] enable driver for imx6 mipi-csi capture device

Signed-off-by: Josua Mayer <josua@solid-run.com>
---
 debian/config/armhf/config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/config/armhf/config b/debian/config/armhf/config
index eb838493b5ef..23dc9f360c76 100644
--- a/debian/config/armhf/config
+++ b/debian/config/armhf/config
@@ -1288,6 +1288,12 @@ CONFIG_SPI_SLAVE=y
 ##
 CONFIG_STAGING_MEDIA=y
 
+##
+## file: drivers/staging/media/imx/Kconfig
+##
+CONFIG_VIDEO_IMX_CSI=m
+CONFIG_VIDEO_IMX_MEDIA=m
+
 ##
 ## file: drivers/staging/media/sunxi/Kconfig
 ##
-- 
2.31.1


Reply to: