On 02/16/2018 07:03 PM, Steve Longerbeam wrote: > On 02/14/2018 07:44 AM, Fabio Estevam wrote: > > [Adding Steve and Philipp in case they could provide some suggestions] > > > > On Wed, Feb 14, 2018 at 1:21 PM, Matthew Starr <mstarr@xxxxxxxxxxxxx> > wrote: > >> I have successfully modified device tree files in the mainline 4.15.1 kernel > to get a display product using the i.MX53 processor to initialize the imx-media > drivers. I think up to this point they have only been tested on i.MX6 > processors. > > Yes that's correct. I have not tested imx-media driver on any i.MX5 targets. > There are likely issues with i.MX5 support. > > >> I am using two ADV7180 analog capture chips, one per CSI port, on this > display product. > >> > >> I have everything initialize successfully at boot, but I am unable to get the > media-ctl command to link the ADV7180 devices to the CSI ports. I used the > following website as guidance of how to setup the links between media > devices: > >> https://linuxtv.org/downloads/v4l-dvb-apis/v4l-drivers/imx.html > >> > >> When trying to link the ADV7180 chip to a CSI port, I use the following > command and get the result below: > >> > >> media-ctl -v -l "'adv7180 1-0021':0->'ipu1_csi0':0[1]" > >> > >> No link between "adv7180 1-0021":0 and "ipu1_csi0":0 > >> media_parse_setup_link: Unable to parse link > >> Unable to parse link: Invalid argument (22) > >> > >> How do I get the ADV7180 and CSI port on the i.MX53 processor to link? > >> > >> The difference for the i.MX53 compared to the i.MX6 processor is that > there is only one IPU and no mipi support, so my device tree does not use > any video-mux or mux devices. Could this have something to do with why I > can't link the ADV7180 to the CSI port? > > It probably does. Clearly there was no media link defined from the adv7180 > to any of the CSI ports, which can also be seen from the media topology you > printed below. > > As long as the OF graph is correct, I don't see why this would have happened. > Please send two things: > > 1. Your patches to DT files > 2. dmesg output. > > There could be more issues with i.MX5 support in imx-media, but it should be > figured out why the media links from adv7180 to the CSI ports were not > established first. > > > Steve > Steve, I figured out the linking issue with modifying the imx-media-of.c file in an attached patch (imx-media-of-support-imx53-sensor-links.patch). This change allowed the linking directly from the ADV7180 to the CSI port. I also had to make some changes to the imx53.dtsi file to get the imx-capture driver to initially work and those changes are also in another attached patch (imx53-add-imx-capture-support.patch). This included adding an alias for ipu0, adding the imx-capture-subsystem device, and creating CSI port endpoints. Additionally I attached my device's shared .dtsi file (pm-041.dtsi) and .dts file (cl-711.dts). In these files you can see I attached CSI0 to ADV7180_0 and CSI1 to ADV7180_1. I am not sure if the imx53 can support two simultaneous parallel sensors on both CSI ports at the same time (although this is what I would really like), but at this time I would like to get at least one capture stream working to start with. I attached the dmesg output as an attachment after applying my patches (dmesg.txt). I am used to an old 2.6.35 Freescale kernel that supports imx53 video capture and I am not familiar with the updated V4L2 media linking and capture of the 4.15 kernel. I setup all the links with media-ctl commands and printed the topology in the media-ctl_imx53_adv7180.txt file that is attached (media-ctl_imx53_adv7180.txt). I can't seem to get the capture to work, as I always get errors of some sort. There are never any errors in dmesg though so the drivers are not throwing errors. Here is the output from gstreamer: # gst-launch-1.0 -v v4l2src device=/dev/video7 ! autovideosink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.007445670 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... Any idea what could be wrong with the capture stream? Regards, Matt
Attachment:
imx53-add-imx-capture-support.patch
Description: imx53-add-imx-capture-support.patch
Attachment:
imx-media-of-support-imx53-sensor-links.patch
Description: imx-media-of-support-imx53-sensor-links.patch
Attachment:
pm-041.dtsi
Description: pm-041.dtsi
Attachment:
cl-711.dts
Description: cl-711.dts
# media-ctl -l "'adv7180 1-0020':0->'ipu1_csi0':0[1]" # media-ctl -l "'ipu1_csi0':1->'ipu1_vdic':0[1]" # media-ctl -l "'ipu1_vdic':2->'ipu1_ic_prp':0[1]" # media-ctl -l "'ipu1_ic_prp':2->'ipu1_ic_prpvf':0[1]" # media-ctl -l "'ipu1_ic_prpvf':1->'ipu1_ic_prpvf capture':0[1]" # media-ctl -V "'adv7180 1-0020':0 [fmt:UYVY2X8/720x480]" # media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x480 field:interlaced]" # media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x480 field:none]" # media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x480 field:none]" # media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x480 field:none]" # media-ctl -p Media controller API version 4.15.1 Media device information ------------------------ driver imx-media model imx-media serial bus info hw revision 0x0 driver version 4.15.1 Device topology - entity 1: adv7180 1-0021 (1 pad, 1 link) type V4L2 subdev subtype Unknown flags 20004 device node name /dev/v4l-subdev0 pad0: Source [fmt:UYVY8_2X8/720x480 field:interlaced] -> "ipu1_csi1":0 [] - entity 3: adv7180 1-0020 (1 pad, 1 link) type V4L2 subdev subtype Unknown flags 20004 device node name /dev/v4l-subdev1 pad0: Source [fmt:UYVY8_2X8/720x480 field:interlaced] -> "ipu1_csi0":0 [ENABLED] - entity 5: ipu1_csi1 (3 pads, 4 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev2 pad0: Sink [fmt:UYVY8_2X8/640x480 field:none crop.bounds:(0,0)/640x480 crop:(0,0)/640x480 compose.bounds:(0,0)/640x480 compose:(0,0)/640x480] <- "adv7180 1-0021":0 [] pad1: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu1_ic_prp":0 [] -> "ipu1_vdic":0 [] pad2: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu1_csi1 capture":0 [] - entity 9: ipu1_csi1 capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video4 pad0: Sink <- "ipu1_csi1":2 [] - entity 15: ipu1_csi0 (3 pads, 4 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev3 pad0: Sink [fmt:UYVY8_2X8/720x480 field:interlaced crop.bounds:(0,0)/720x480 crop:(0,2)/720x480 compose.bounds:(0,0)/720x480 compose:(0,0)/720x480] <- "adv7180 1-0020":0 [ENABLED] pad1: Source [fmt:AYUV8_1X32/720x480 field:interlaced] -> "ipu1_ic_prp":0 [] -> "ipu1_vdic":0 [ENABLED] pad2: Source [fmt:AYUV8_1X32/720x480 field:interlaced] -> "ipu1_csi0 capture":0 [] - entity 19: ipu1_csi0 capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video5 pad0: Sink <- "ipu1_csi0":2 [] - entity 25: ipu1_ic_prp (3 pads, 5 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev4 pad0: Sink [fmt:AYUV8_1X32/720x480 field:none] <- "ipu1_csi1":1 [] <- "ipu1_csi0":1 [] <- "ipu1_vdic":2 [ENABLED] pad1: Source [fmt:AYUV8_1X32/720x480 field:none] -> "ipu1_ic_prpenc":0 [] pad2: Source [fmt:AYUV8_1X32/720x480 field:none] -> "ipu1_ic_prpvf":0 [ENABLED] - entity 29: ipu1_vdic (3 pads, 3 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev5 pad0: Sink [fmt:AYUV8_1X32/720x480 field:interlaced] <- "ipu1_csi1":1 [] <- "ipu1_csi0":1 [ENABLED] pad1: Sink [fmt:UYVY8_2X8/640x480 field:none] pad2: Source [fmt:AYUV8_1X32/720x480 field:none] -> "ipu1_ic_prp":0 [ENABLED] - entity 33: ipu2_vdic (3 pads, 1 link) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev6 pad0: Sink [fmt:AYUV8_1X32/640x480 field:none] pad1: Sink [fmt:UYVY8_2X8/640x480 field:none] pad2: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu2_ic_prp":0 [] - entity 37: ipu1_ic_prpenc (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev7 pad0: Sink [fmt:AYUV8_1X32/640x480 field:none] <- "ipu1_ic_prp":1 [] pad1: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu1_ic_prpenc capture":0 [] - entity 40: ipu1_ic_prpenc capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video6 pad0: Sink <- "ipu1_ic_prpenc":1 [] - entity 46: ipu1_ic_prpvf (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev8 pad0: Sink [fmt:AYUV8_1X32/720x480 field:none] <- "ipu1_ic_prp":2 [ENABLED] pad1: Source [fmt:AYUV8_1X32/720x480 field:none] -> "ipu1_ic_prpvf capture":0 [ENABLED] - entity 49: ipu1_ic_prpvf capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video7 pad0: Sink <- "ipu1_ic_prpvf":1 [ENABLED] - entity 55: ipu2_ic_prp (3 pads, 3 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev9 pad0: Sink [fmt:AYUV8_1X32/640x480 field:none] <- "ipu2_vdic":2 [] pad1: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu2_ic_prpenc":0 [] pad2: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu2_ic_prpvf":0 [] - entity 59: ipu2_ic_prpenc (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev10 pad0: Sink [fmt:AYUV8_1X32/640x480 field:none] <- "ipu2_ic_prp":1 [] pad1: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu2_ic_prpenc capture":0 [] - entity 62: ipu2_ic_prpenc capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video8 pad0: Sink <- "ipu2_ic_prpenc":1 [] - entity 68: ipu2_ic_prpvf (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev11 pad0: Sink [fmt:AYUV8_1X32/640x480 field:none] <- "ipu2_ic_prp":2 [] pad1: Source [fmt:AYUV8_1X32/640x480 field:none] -> "ipu2_ic_prpvf capture":0 [] - entity 71: ipu2_ic_prpvf capture (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video9 pad0: Sink <- "ipu2_ic_prpvf":1 []
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.15.1 (starrm@hed-j8xtph2) (gcc version 4.9.2 (crosstool-NG 1.21.0)) #1 PREEMPT Thu Feb 15 12:39:49 CST 2018 [ 0.000000] CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: HED PM-041 - Gen 3 Display - Display Board [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] random: fast init done [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: console=ttymxc0,115200 lpj=3997696 ro rootwait fixrtc panic=1 root=/dev/mmcblk0p3 rootfstype=ext4 rootflags=discard video=mxcdi0fb:RGB666,LCD-7-LVDS di0_primary ldb=di0 [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 510356K/524288K available (5120K kernel code, 228K rwdata, 1320K rodata, 1024K init, 353K bss, 13932K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0x(ptrval) - 0x(ptrval) (6112 kB) .init : 0x(ptrval) - 0x(ptrval) (1024 kB) .data : 0x(ptrval) - 0x(ptrval) ( 229 kB) .bss : 0x(ptrval) - 0x(ptrval) ( 354 kB)\x00) - 0x(ptrval) ( 354 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled.\x00d. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] TrustZone Interrupt Controller (TZIC) initialized [ 0.000000] CPU identified as i.MX53, unknown revision [ 0.000000] Switching to timer-based delay loop, resolution 29ns [ 0.000011] sched_clock: 32 bits at 33MHz, resolution 29ns, wraps every 64424507889ns [ 0.000029] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 57337812242 ns [ 0.000770] Console: colour dummy device 80x30 [ 0.000810] Calibrating delay loop (skipped) preset value.. 799.53 BogoMIPS (lpj=3997696) [ 0.000830] pid_max: default: 32768 minimum: 301 [ 0.000990] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001008] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001752] CPU: Testing write buffer coherency: ok [ 0.002488] Setting up static identity map for 0x70100000 - 0x70100060 [ 0.002666] Hierarchical SRCU implementation. [ 0.005860] devtmpfs: initialized [ 0.012142] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2 [ 0.012639] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.012663] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.012788] pinctrl core: initialized pinctrl subsystem [ 0.013820] NET: Registered protocol family 16 [ 0.014684] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.025965] imx53-pinctrl 53fa8000.iomuxc: initialized IMX pinctrl driver [ 0.081850] i2c i2c-2: IMX I2C adapter registered [ 0.081885] i2c i2c-2: can't use DMA, using PIO instead. [ 0.083525] i2c i2c-1: IMX I2C adapter registered [ 0.083555] i2c i2c-1: can't use DMA, using PIO instead. [ 0.091803] mc13xxx 0-0008: mc34708: rev 1.2, fin: 0, fab: 0 [ 0.172251] i2c i2c-0: IMX I2C adapter registered [ 0.172282] i2c i2c-0: can't use DMA, using PIO instead. [ 0.172589] media: Linux media interface: v0.10 [ 0.172717] Linux video capture interface: v2.00 [ 0.172893] pps_core: LinuxPPS API ver. 1 registered [ 0.172905] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx> [ 0.172992] PTP clock support registered [ 0.175983] clocksource: Switched to clocksource mxc_timer1 [ 0.197044] NET: Registered protocol family 2 [ 0.198201] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.198260] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.198307] TCP: Hash tables configured (established 4096 bind 4096) [ 0.198429] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.198451] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.198620] NET: Registered protocol family 1 [ 0.199053] RPC: Registered named UNIX socket transport module. [ 0.199067] RPC: Registered udp transport module. [ 0.199075] RPC: Registered tcp transport module. [ 0.199082] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.200789] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.217217] NFS: Registering the id_resolver key type [ 0.217273] Key type id_resolver registered [ 0.217282] Key type id_legacy registered [ 0.217335] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.218270] aufs 4.x-rcN-20171218 [ 0.220332] io scheduler noop registered [ 0.220351] io scheduler deadline registered [ 0.220605] io scheduler cfq registered (default) [ 0.220620] io scheduler mq-deadline registered [ 0.220628] io scheduler kyber registered [ 0.220837] io scheduler bfq registered [ 0.222647] imx-sdma 63fb0000.sdma: Direct firmware load for imx/sdma/sdma-imx53.bin failed with error -2 [ 0.222676] imx-sdma 63fb0000.sdma: external firmware not found, using ROM firmware [ 0.236604] 53fbc000.serial: ttymxc0 at MMIO 0x53fbc000 (irq = 47, base_baud = 4166666) is a IMX [ 0.759041] console [ttymxc0] enabled [ 0.763711] 53ff0000.serial: ttymxc3 at MMIO 0x53ff0000 (irq = 29, base_baud = 4166666) is a IMX [ 0.773600] 63f90000.serial: ttymxc4 at MMIO 0x63f90000 (irq = 102, base_baud = 4166666) is a IMX [ 0.787774] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 0.794411] [drm] No driver support for vblank timestamp query. [ 0.801787] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 0xc063fa50) [ 0.809301] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 0xc063fa50) [ 0.817021] imx-drm display-subsystem: bound 53fa8008.ldb (ops 0xc063fc70) [ 0.877860] Console: switching to colour frame buffer device 100x30 [ 0.899863] imx-drm display-subsystem: fb0: frame buffer device [ 0.906717] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0 [ 0.914957] imx-ipuv3 18000000.ipu: IPUv3M probed [ 0.921229] libphy: Fixed MDIO Bus: probed [ 0.930773] libphy: fec_enet_mii_bus: probed [ 0.937224] i2c /dev entries driver [ 0.943076] imx2-wdt 53f98000.wdog: timeout 60 sec (nowayout=1) [ 0.951791] sdhci: Secure Digital Host Controller Interface driver [ 0.958824] sdhci: Copyright(c) Pierre Ossman [ 0.963195] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.026077] mmc0: SDHCI controller on 50020000.esdhc [50020000.esdhc] using ADMA [ 1.038459] ledtrig-cpu: registered to indicate activity on CPUs [ 1.045940] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.051939] Key type dns_resolver registered [ 1.056881] ThumbEE CPU extension supported. [ 1.075600] hctosys: unable to open rtc device (rtc0) [ 1.081495] USB_HOST_EN: disabling [ 1.084921] LCD_PWR_EN: disabling [ 1.088809] Waiting for root device /dev/mmcblk0p3... [ 1.112664] mmc0: new high speed MMC card at address 0001 [ 1.118849] mmcblk0: mmc0:0001 MMC04G 3.60 GiB [ 1.123738] mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB [ 1.129984] mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB [ 1.136309] mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB, chardev (248:0) [ 1.154010] mmcblk0: p1 p2 p3 p4 p5 p6 [ 1.185909] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: discard [ 1.194578] VFS: Mounted root (ext4 filesystem) readonly on device 179:3. [ 1.206289] devtmpfs: mounted [ 1.211076] Freeing unused kernel memory: 1024K [ 2.195659] mountall: start [ 2.199015] mountall: checking filesystem [ 2.203221] mountall: fsck.vfat -p /dev/mmcblk0p1 [ 2.242484] mountall: fsck.vfat -p /dev/mmcblk0p1: no errors found [ 2.249067] mountall: e2fsck -p /dev/mmcblk0p2 [ 2.302119] mountall: e2fsck -p /dev/mmcblk0p2: no errors found [ 2.308461] mountall: e2fsck -p /dev/mmcblk0p5 [ 2.365446] mountall: e2fsck -p /dev/mmcblk0p5: no errors found [ 2.371767] mountall: e2fsck -p /dev/mmcblk0p6 [ 2.436144] mountall: e2fsck -p /dev/mmcblk0p6: no errors found [ 2.889607] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: discard [ 2.912674] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: discard,nodelalloc [ 2.977682] mountall: filesystem check ok, rm forcefsck [ 3.466212] EXT4-fs (mmcblk0p3): re-mounted. Opts: discard [ 4.256829] random: crng init done [ 4.591187] EXT4-fs (mmcblk0p3): re-mounted. Opts: discard [ 4.599281] mountall: Ok [ 5.145439] udevd[720]: starting version 3.2.2 [ 5.211158] udevd[721]: starting eudev-3.2.2 [ 5.441892] imx_media_common: module is from the staging directory, the quality is unknown, you have been warned. [ 5.512817] imx_media: module is from the staging directory, the quality is unknown, you have been warned. [ 5.567725] usb_phy_generic 50000000.aips:usbphy-0: 50000000.aips:usbphy-0 supply vcc not found, using dummy regulator [ 5.568040] usb_phy_generic 50000000.aips:usbphy-1: 50000000.aips:usbphy-1 supply vcc not found, using dummy regulator [ 5.579820] imx_media_capture: module is from the staging directory, the quality is unknown, you have been warned. [ 5.581532] imx_media_capture: module is from the staging directory, the quality is unknown, you have been warned. [ 5.588830] imx_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 5.591178] imx_media_csi: module is from the staging directory, the quality is unknown, you have been warned. [ 5.674522] usbcore: registered new interface driver usbfs [ 5.674600] usbcore: registered new interface driver hub [ 5.674691] usbcore: registered new device driver usb [ 5.707933] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.820765] ci_hdrc ci_hdrc.1: EHCI Host Controller [ 5.820830] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1 [ 5.854601] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 [ 5.854994] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 5.855002] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.855009] usb usb1: Product: EHCI Host Controller [ 5.855014] usb usb1: Manufacturer: Linux 4.15.1 ehci_hcd [ 5.855020] usb usb1: SerialNumber: ci_hdrc.1 [ 5.855888] hub 1-0:1.0: USB hub found [ 5.857380] hub 1-0:1.0: 1 port detected [ 5.907940] fsl-ssi-dai 50014000.ssi: No cache defaults, reading back from HW [ 5.909662] fsl-ssi-dai 63fcc000.ssi: No cache defaults, reading back from HW [ 5.978293] CAN device driver interface [ 5.998818] flexcan 53fc8000.can: 53fc8000.can supply xceiver not found, using dummy regulator [ 5.999717] flexcan 53fc8000.can: device registered (reg_base=3fd079a7, irq=98) [ 6.007573] flexcan 53fcc000.can: 53fcc000.can supply xceiver not found, using dummy regulator [ 6.008526] flexcan 53fcc000.can: device registered (reg_base=6ad637d7, irq=99) [ 6.071097] sgtl5000 2-000a: sgtl5000 revision 0x11 [ 6.148639] adv7180 1-0020: chip found @ 0x20 (63fc4000.i2c) [ 6.192628] adv7180 1-0021: chip found @ 0x21 (63fc4000.i2c) [ 6.252285] fsl-asoc-card sound: sgtl5000 <-> 50014000.ssi mapping ok [ 6.264673] coda 63ff4000.vpu: Direct firmware load for vpu_fw_imx53.bin failed with error -2 [ 6.273165] coda 63ff4000.vpu: Using fallback firmware vpu/vpu_fw_imx53.bin [ 6.275016] coda 63ff4000.vpu: Initialized CODA7541. [ 6.275027] coda 63ff4000.vpu: Firmware version: 1.4.50 [ 6.289048] coda 63ff4000.vpu: codec registered as /dev/video[0-3] [ 6.788755] imx-media capture_subsystem: of_parse_subdev: subdev port is CSI port [ 6.796409] OF: graph: no port node found in /soc/ipu@18000000/port@0 [ 6.802959] imx-media capture_subsystem: of_parse_subdev: subdev adv7180_0 is unknown [ 6.810883] imx-media capture_subsystem: of_parse_subdev: subdev adv7180_0 is original source [ 6.819540] imx-media capture_subsystem: of_parse_subdev: subdev port is CSI port [ 6.827060] OF: graph: no port node found in /soc/ipu@18000000/port@1 [ 6.833551] imx-media capture_subsystem: of_parse_subdev: subdev adv7180_1 is unknown [ 6.841415] imx-media capture_subsystem: of_parse_subdev: subdev adv7180_1 is original source [ 6.853157] imx-media capture_subsystem: Entity type for entity adv7180 1-0021 was not initialized! [ 6.862351] imx-media: imx_media_subdev_bound: SENSOR subdev adv7180 1-0021 [ 6.869399] imx-media: Registered subdev adv7180 1-0021 [ 6.874638] imx-media capture_subsystem: Entity type for entity adv7180 1-0020 was not initialized! [ 6.883753] imx-media: imx_media_subdev_bound: SENSOR subdev adv7180 1-0020 [ 6.890743] imx-media: Registered subdev adv7180 1-0020 [ 6.896713] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video4 [ 6.902914] imx-media: imx_media_subdev_bound: CSI subdev ipu1_csi1 [ 6.909275] imx-media: Registered subdev ipu1_csi1 [ 6.914669] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video5 [ 6.920983] imx-media: imx_media_subdev_bound: CSI subdev ipu1_csi0 [ 6.927325] imx-media: Registered subdev ipu1_csi0 [ 6.949234] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.959503] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.961586] imx-media: Registered subdev ipu1_ic_prp [ 6.961765] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.962027] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.962337] imx_media_vdic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.963525] imx_media_vdic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.966340] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.968885] imx-media: Registered subdev ipu1_vdic [ 6.969071] imx-media: Registered subdev ipu2_vdic [ 6.972309] imx_media_ic: module is from the staging directory, the quality is unknown, you have been warned. [ 6.983625] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video6 [ 6.983687] imx-media: Registered subdev ipu1_ic_prpenc [ 6.986462] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video7 [ 6.986511] imx-media: Registered subdev ipu1_ic_prpvf [ 6.986688] imx-media: Registered subdev ipu2_ic_prp [ 6.995666] ipu2_ic_prpenc: Registered ipu2_ic_prpenc capture as /dev/video8 [ 6.995727] imx-media: Registered subdev ipu2_ic_prpenc [ 6.998100] ipu2_ic_prpvf: Registered ipu2_ic_prpvf capture as /dev/video9 [ 6.998148] imx-media: Registered subdev ipu2_ic_prpvf [ 6.998165] imx-media: imx_media_create_link: ipu1_csi0:1 -> ipu1_ic_prp:0 [ 6.998172] imx-media: imx_media_create_link: ipu1_csi0:1 -> ipu1_vdic:0 [ 6.998179] imx-media: imx_media_create_link: adv7180 1-0020:0 -> ipu1_csi0:0 [ 6.998186] imx-media: imx_media_create_link: ipu1_csi1:1 -> ipu1_ic_prp:0 [ 6.998193] imx-media: imx_media_create_link: ipu1_csi1:1 -> ipu1_vdic:0 [ 6.998199] imx-media: imx_media_create_link: adv7180 1-0021:0 -> ipu1_csi1:0 [ 6.998206] imx-media: imx_media_create_link: ipu1_vdic:2 -> ipu1_ic_prp:0 [ 6.998213] imx-media: imx_media_create_link: ipu1_ic_prp:1 -> ipu1_ic_prpenc:0 [ 6.998220] imx-media: imx_media_create_link: ipu1_ic_prp:2 -> ipu1_ic_prpvf:0 [ 6.998229] imx-media: imx_media_create_link: ipu2_vdic:2 -> ipu2_ic_prp:0 [ 6.998236] imx-media: imx_media_create_link: ipu2_ic_prp:1 -> ipu2_ic_prpenc:0 [ 6.998244] imx-media: imx_media_create_link: ipu2_ic_prp:2 -> ipu2_ic_prpvf:0 [ 7.764211] using random self ethernet address [ 7.768941] using random host ethernet address [ 7.793808] Mass Storage Function, version: 2009/09/11 [ 7.801732] LUN: removable file: (no medium) [ 7.806762] LUN: file: /etc/usb_drivers_disk.raw [ 7.811398] Number of LUNs=1 [ 7.819601] usb0: HOST MAC 86:07:ca:2b:da:fb [ 7.824055] usb0: MAC 4a:c5:7e:6b:93:2f [ 7.828251] g_multi gadget: Multifunction Composite Gadget [ 7.833755] g_multi gadget: userspace failed to provide iSerialNumber [ 7.840344] g_multi gadget: g_multi ready [ 8.096624] SMSC LAN8710/LAN8720 63fec000.ethernet-1:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=63fec000.ethernet-1:00, irq=160) [ 8.333256] g_multi gadget: high-speed config #1: Multifunction with RNDIS [ 10.893798] fec 63fec000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 1024.936581] input: SX8654 I2C Touchscreen as /devices/platform/soc/50000000.aips/53fec000.i2c/i2c-2/2-0048/input/input0 [ 1024.968322] mousedev: PS/2 mouse device common for all mice