Hello,
When I connect MINISASTOCSI Accessory to the i.mx8mp evk board, I am able to display test pattern on the screen. But I am unable to record a video or see anything on display except gray screen. Can you please tell me if I am missing out something.
root@imx8mpevk:~# v4l2-ctl --list-devices
():
/dev/v4l-subdev0
/dev/v4l-subdev1
VIV (platform:viv0):
/dev/video0
VIV (platform:viv1):
/dev/video1
When I type the command, I get the following output:
gst-launch-1.0 v4l2src device=/dev/video0 ! waylandsink
Setting pipeline to PAUSED ...
[ 589.375541] audit: type=1701 audit(1600597547.728:6): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=840 comm="isp_media_serve" exe="/opt/imx8-isp/bin/isp_media_server" sig=11 res=1
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 595.599485] enter viv_isp_exit_module
[ 595.603200] enter isp_hw_remove
[ 595.639946] enter viv_dwe_exit_module
[ 595.643672] enter dwe_hw_remove
[ 595.647086] vvcam dewarp driver removed
[ 595.691574] : Unregistered all entities
[ 596.298990] i2c_transfer() failed: -110
[ 596.302830] basler_read_register_chunk() failed: -110
[ 596.307901] basler_read_register() failed: -110
[ 596.312463] basler-camera-vvcam: probe of 1-0036 failed with error -110
[ 596.347683] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
[ 596.358835] mx8-img-md: Registered mxc_isi.1.capture as /dev/video2
[ 596.365696] unregister ISI channel: mxc_isi.1
[ 596.407840] enter viv_dwe_init_module
[ 596.411810] enter dwe_hw_probe
[ 596.415203] vvcam dewarp driver probed
[ 596.448937] enter viv_isp_init_module
[ 596.453016] enter isp_hw_probe
[ 596.471868] vvcam isp driver registered
[ 599.566551] unsupported dwe command 259
[ 599.566559] unsupported dwe command 260
[ 599.581812] audit: type=1701 audit(1600597557.932:7): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=949 comm="isp_media_serve" exe="/opt/imx8-isp/bin/isp_media_server" sig=6 res=1
[ 605.852863] enter viv_isp_exit_module
[ 605.856597] enter isp_hw_remove
[ 605.895878] enter viv_dwe_exit_module
[ 605.899585] enter dwe_hw_remove
[ 605.903582] vvcam dewarp driver removed
[ 605.947603] : Unregistered all entities
[ 606.558990] i2c_transfer() failed: -110
[ 606.562831] basler_read_register_chunk() failed: -110
[ 606.567905] basler_read_register() failed: -110
[ 606.572465] basler-camera-vvcam: probe of 1-0036 failed with error -110
[ 606.608322] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
[ 606.619979] mx8-img-md: Registered mxc_isi.1.capture as /dev/video2
[ 606.626516] unregister ISI channel: mxc_isi.1
[ 606.669167] enter viv_dwe_init_module
[ 606.673180] enter dwe_hw_probe
[ 606.676644] vvcam dewarp driver probed
[ 606.710310] enter viv_isp_init_module
[ 606.714360] enter isp_hw_probe
[ 606.734021] vvcam isp driver registered
It stops here.
Solved! Go to Solution.
from team:
-----------------
I flashed 5.10.9-1.0.0+g32513c25d8c7 onto imx8mpevk and had ov5640 connected over minisastocsi and was able to display capture from sensor. Here is the log:
v4l2-ctl --list-devices
():
/dev/v4l-subdev0
mxc-isi-cap (platform:32e00000.isi:cap_devic):
/dev/video1
mxc-isi-m2m (platform:32e00000.isi:m2m_devic):
/dev/video0
FSL Capture Media Device (platform:mxc-md):
/dev/media0
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video1 ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 207.702269] bypass csc
[ 207.704678] input fmt YUV4
[ 207.707382] output fmt YUYV
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.886781875
Setting pipeline to NULL ...
Total showed frames (31), playing for (0:00:05.886753625), fps (5.266).
Freeing pipeline ...
Please ask customer to try /dev/video1 with imx8mp-evk.dtb.
-----------------
Best regards
igor
Hello @igorpadykov,
1. I tried using imx8mp-evk.dtb but it didn't work.
LOGS:
NXP i.MX Release Distro 5.10-gatesgarth imx8mpevk ttymxc1
imx8mpevk login: root
root@imx8mpevk:~# [ 35.805435] can1-stby: disabling
[ 35.808673] can2-stby: disabling
v4l2-ctl --list-devices
mxc-isi-m2m (platform:32e00000.isi:m2m_devic):
/dev/video0
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.
Additional debug info:
../git/sys/v4l2/v4l2_calls.c(681): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4204000
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
2. I was using first basler dtb but then i shifted to ov2775-ov5640.dtb. Below are my logs for point 2.
LOGS:
U-Boot SPL 2020.04-5.10.9-1.0.0+gad7b74b415 (Mar 05 2021 - 07:05:56 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x8000, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.4(release):lf-5.10.y-1.0.0-rc2-1-gba76d337e
NOTICE: BL31: Built : 08:27:48, Mar 1 2021
U-Boot 2020.04-5.10.9-1.0.0+gad7b74b415 (Mar 05 2021 - 07:05:56 +0000)
CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Model: NXP i.MX8MPlus LPDDR4 EVK board
DRAM: 6 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
Power supply on USB2
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... Run CMD11 1.8V switch
OK
[*]-Video Link 0 (1920 x 1080)
[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF ba76d33
- U-Boot 2020.04-5.10.9-1.0.0+gad7b74b415
Run CMD11 1.8V switch
switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Run CMD11 1.8V switch
Net: eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
u-boot=> printenv
baudrate=115200
board_name=EVK
board_rev=iMX8MP
boot_fit=no
bootargs=console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; fi;
bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run;
bootdelay=2
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc1,115200
displayinfo=video=mxcfb0:mxcfb0:dev=lcd,if=RGB565 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24
emmc_dev=2
eth1addr=00:04:9f:07:0a:f3
ethact=ethernet@30bf0000
ethaddr=00:04:9f:07:0a:f2
ethprime=eth1
fastboot_dev=mmc1
fdt_addr=0x43000000
fdt_file=imx8mp-evk-ov2775-ov5640.dtb
fdt_high=0xffffffffffffffff
fdtcontroladdr=51bf7438
fileaddr=40480000
filesize=1beca00
image=Image
initrd_addr=0x43800000
initrd_high=0xffffffffffffffff
jh_clk=
jh_mmcboot=setenv fdt_file imx8mp-evk-root.dtb;setenv jh_clk clk_ignore_unused; if run loadimage; then run mmcboot; else run jh_netboot; fi;
jh_netboot=setenv fdt_file imx8mp-evk-root.dtb; setenv jh_clk clk_ignore_unused; run netboot;
kboot=booti
loadaddr=0x40480000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused
mmcargs=setenv bootargs ${jh_clk} console=${console} root=${mmcroot}
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if run loadfdt; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Ca;
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk1p2 rootwait rw
nandfit_part=yes
netargs=setenv bootargs ${jh_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fit} = yes || test ${boo;
script=boot.scr
sd_dev=1
serial#=12263000d3f82403
soc_type=imx8mp
splashimage=0x50000000
Environment size: 2567/4092 bytes
u-boot=> boot
Run CMD11 1.8V switch
switch to partitions #0, OK
mmc1 is current device
Run CMD11 1.8V switch
29280768 bytes read in 349 ms (80 MiB/s)
Booting from mmc ...
61731 bytes read in 15 ms (3.9 MiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 0000000043012122
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.9-1.0.0+g32513c25d8c7 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #1 SMP PREEMPT Tue Mar 9 02:17:18 UTC 2021
[ 0.000000] Machine model: NXP i.MX8MPlus EVK board
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000c4000000, size 960 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000001bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x1bf3cf700-0x1bf3d1fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001bfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000055ffffff]
[ 0.000000] node 0: [mem 0x0000000058000000-0x00000000923fffff]
[ 0.000000] node 0: [mem 0x0000000094400000-0x00000001bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 23 pages/cpu s56216 r8192 d29800 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1531904
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000c0000000-0x00000000c4000000] (64MB)
[ 0.000000] Memory: 5024264K/6225920K available (17408K kernel code, 1458K rwdata, 6756K rodata, 2880K init, 543K bss, 218616K reserved, 983040K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 160 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x330/0x4f4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.000375] Console: colour dummy device 80x25
[ 0.000436] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[ 0.000447] pid_max: default: 32768 minimum: 301
[ 0.000527] LSM: Security Framework initializing
[ 0.000595] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000622] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.001802] rcu: Hierarchical SRCU implementation.
[ 0.003085] EFI services will not be available.
[ 0.003256] smp: Bringing up secondary CPUs ...
[ 0.003629] Detected VIPT I-cache on CPU1
[ 0.003653] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.003689] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.004140] Detected VIPT I-cache on CPU2
[ 0.004159] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.004181] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.004574] Detected VIPT I-cache on CPU3
[ 0.004593] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.004613] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.004668] smp: Brought up 1 node, 4 CPUs
[ 0.004689] SMP: Total of 4 processors activated.
[ 0.004698] CPU features: detected: 32-bit EL0 Support
[ 0.004704] CPU features: detected: CRC32 instructions
[ 0.004712] CPU features: detected: 32-bit EL1 Support
[ 0.012806] CPU: All CPU(s) started at EL2
[ 0.012829] alternatives: patching kernel code
[ 0.014448] devtmpfs: initialized
[ 0.023143] KASLR disabled due to lack of seed
[ 0.023345] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.023359] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.049369] pinctrl core: initialized pinctrl subsystem
[ 0.049822] DMI not present or invalid.
[ 0.050178] NET: Registered protocol family 16
[ 0.057406] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.058618] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.059934] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.059987] audit: initializing netlink subsys (disabled)
[ 0.060176] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[ 0.060755] thermal_sys: Registered thermal governor 'step_wise'
[ 0.060760] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.061132] cpuidle: using governor menu
[ 0.061308] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.061378] ASID allocator initialised with 65536 entries
[ 0.062650] Serial: AMBA PL011 UART driver
[ 0.062716] imx mu driver is registered.
[ 0.062741] imx rpmsg driver is registered.
[ 0.106416] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.124837] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.124850] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.124859] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.124867] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.125740] cryptd: max_cpu_qlen set to 1000
[ 0.128877] ACPI: Interpreter disabled.
[ 0.130018] iommu: Default domain type: Translated
[ 0.130164] vgaarb: loaded
[ 0.130429] SCSI subsystem initialized
[ 0.130786] usbcore: registered new interface driver usbfs
[ 0.130821] usbcore: registered new interface driver hub
[ 0.130850] usbcore: registered new device driver usb
[ 0.132283] mc: Linux media interface: v0.10
[ 0.132312] videodev: Linux video capture interface: v2.00
[ 0.132380] pps_core: LinuxPPS API ver. 1 registered
[ 0.132387] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.132404] PTP clock support registered
[ 0.132594] EDAC MC: Ver: 3.0.0
[ 0.133720] FPGA manager framework
[ 0.133798] Advanced Linux Sound Architecture Driver Initialized.
[ 0.134440] Bluetooth: Core ver 2.22
[ 0.134464] NET: Registered protocol family 31
[ 0.134470] Bluetooth: HCI device and connection manager initialized
[ 0.134482] Bluetooth: HCI socket layer initialized
[ 0.134491] Bluetooth: L2CAP socket layer initialized
[ 0.134506] Bluetooth: SCO socket layer initialized
[ 0.135314] clocksource: Switched to clocksource arch_sys_counter
[ 0.135469] VFS: Disk quotas dquot_6.6.0
[ 0.135518] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.135681] pnp: PnP ACPI: disabled
[ 0.141800] NET: Registered protocol family 2
[ 0.142180] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.142264] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.142673] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.143646] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.143765] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.143910] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.144171] NET: Registered protocol family 1
[ 0.144513] RPC: Registered named UNIX socket transport module.
[ 0.144519] RPC: Registered udp transport module.
[ 0.144524] RPC: Registered tcp transport module.
[ 0.144531] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.145209] PCI: CLS 0 bytes, default 64
[ 0.145870] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.146717] kvm [1]: IPA Size Limit: 40 bits
[ 0.148201] kvm [1]: GICv3: no GICV resource entry
[ 0.148208] kvm [1]: disabling GICv2 emulation
[ 0.148228] kvm [1]: GIC system register CPU interface enabled
[ 0.148300] kvm [1]: vgic interrupt IRQ9
[ 0.148405] kvm [1]: Hyp mode initialized successfully
[ 0.151236] Initialise system trusted keyrings
[ 0.151369] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[ 0.157246] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.157816] NFS: Registering the id_resolver key type
[ 0.157850] Key type id_resolver registered
[ 0.157856] Key type id_legacy registered
[ 0.157929] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.157952] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[ 0.158275] 9p: Installing v9fs 9p2000 file system support
[ 0.194443] Key type asymmetric registered
[ 0.194453] Asymmetric key parser 'x509' registered
[ 0.194490] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.194499] io scheduler mq-deadline registered
[ 0.194507] io scheduler kyber registered
[ 0.197366] samsung-hdmi-phy 32fdff00.hdmiphy: failed to get phy apb clk: -517
[ 0.202043] pwm-backlight lvds_backlight: supply power not found, using dummy regulator
[ 0.202694] EINJ: ACPI disabled.
[ 0.207625] i.MX clk 324: register failed with -2
[ 0.207635] i.MX clk 325: register failed with -2
[ 0.207643] i.MX clk 326: register failed with -2
[ 0.207648] i.MX clk 328: register failed with -2
[ 0.207654] i.MX clk 329: register failed with -2
[ 0.207661] i.MX clk 330: register failed with -2
[ 0.214730] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.214744] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 0.217676] SoC: i.MX8MP revision 1.1
[ 0.218213] Bus freq driver module loaded
[ 0.224428] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.226856] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 35, base_baud = 5000000) is a IMX
[ 0.227555] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 36, base_baud = 5000000) is a IMX
[ 0.228103] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 37, base_baud = 1500000) is a IMX
[ 1.276069] printk: console [ttymxc1] enabled
[ 1.282691] imx-lcdifv3 32e80000.lcd-controller: No pix clock get: -517
[ 1.290079] imx-lcdifv3 32e90000.lcd-controller: No pix clock get: -517
[ 1.297049] imx-lcdifv3 32fc6000.lcd-controller: No irq get, ret=-517
[ 1.308179] imx-hdmi-pavi 32fc4000.hdmi-pai-pvi: No pvi clock get
[ 1.325744] loop: module loaded
[ 1.330032] megasas: 07.714.04.00-rc1
[ 1.335435] imx ahci driver is registered.
[ 1.342991] spi_imx 30830000.spi: bitbang start failed with -517
[ 1.350310] spi-nor spi0.0: n25q256ax1 (32768 Kbytes)
[ 1.361690] libphy: Fixed MDIO Bus: probed
[ 1.367230] tun: Universal TUN/TAP device driver, 1.6
[ 1.373270] thunder_xcv, ver 1.0
[ 1.376541] thunder_bgx, ver 1.0
[ 1.379822] nicpf, ver 1.0
[ 1.383529] pps pps0: new PPS source ptp0
[ 1.393281] libphy: fec_enet_mii_bus: probed
[ 1.398818] fec 30be0000.ethernet eth0: registered PHC device 0
[ 1.407244] hclge is initializing
[ 1.410597] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.417851] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.423246] e1000: Intel(R) PRO/1000 Network Driver
[ 1.428151] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.433940] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.438914] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.444878] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.450284] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.455895] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.462170] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.468314] sky2: driver version 1.30
[ 1.472837] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[ 1.478764] imx-dwmac 30bf0000.ethernet: no reset control found
[ 1.484863] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[ 1.491669] imx-dwmac 30bf0000.ethernet: DWMAC4/5
[ 1.496474] imx-dwmac 30bf0000.ethernet: DMA HW capability register supported
[ 1.503621] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine supported
[ 1.510765] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[ 1.517477] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[ 1.523621] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.531324] imx-dwmac 30bf0000.ethernet: Enabled Flow TC (entries=8)
[ 1.537692] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[ 1.545279] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[ 1.551719] libphy: stmmac: probed
[ 1.557357] VFIO - User Level meta-driver version: 0.3
[ 1.569338] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.575916] ehci-pci: EHCI PCI platform driver
[ 1.580410] ehci-platform: EHCI generic platform driver
[ 1.585939] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.592150] ohci-pci: OHCI PCI platform driver
[ 1.596628] ohci-platform: OHCI generic platform driver
[ 1.602934] usbcore: registered new interface driver uas
[ 1.608297] usbcore: registered new interface driver usb-storage
[ 1.614366] usbcore: registered new interface driver usbserial_generic
[ 1.620927] usbserial: USB Serial support registered for generic
[ 1.626968] usbcore: registered new interface driver ftdi_sio
[ 1.632736] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.640077] usbcore: registered new interface driver usb_serial_simple
[ 1.646626] usbserial: USB Serial support registered for carelink
[ 1.652741] usbserial: USB Serial support registered for zio
[ 1.658421] usbserial: USB Serial support registered for funsoft
[ 1.664445] usbserial: USB Serial support registered for flashloader
[ 1.670827] usbserial: USB Serial support registered for google
[ 1.676770] usbserial: USB Serial support registered for libtransistor
[ 1.683331] usbserial: USB Serial support registered for vivopay
[ 1.689361] usbserial: USB Serial support registered for moto_modem
[ 1.695649] usbserial: USB Serial support registered for motorola_tetra
[ 1.702288] usbserial: USB Serial support registered for novatel_gps
[ 1.708665] usbserial: USB Serial support registered for hp4x
[ 1.714434] usbserial: USB Serial support registered for suunto
[ 1.720374] usbserial: USB Serial support registered for siemens_mpi
[ 1.726762] usbcore: registered new interface driver usb_ehset_test
[ 1.736288] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[ 1.751255] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[ 1.757497] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T01:11:14 UTC (4274)
[ 1.767026] i2c /dev entries driver
[ 1.774704] Bluetooth: HCI UART driver ver 2.3
[ 1.779176] Bluetooth: HCI UART protocol H4 registered
[ 1.784358] Bluetooth: HCI UART protocol BCSP registered
[ 1.789699] Bluetooth: HCI UART protocol LL registered
[ 1.794868] Bluetooth: HCI UART protocol ATH3K registered
[ 1.800291] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.806668] Bluetooth: HCI UART protocol Broadcom registered
[ 1.812354] Bluetooth: HCI UART protocol QCA registered
[ 1.817847] EDAC MC: ECC not enabled
[ 1.822908] sdhci: Secure Digital Host Controller Interface driver
[ 1.829106] sdhci: Copyright(c) Pierre Ossman
[ 1.833940] Synopsys Designware Multimedia Card Interface Driver
[ 1.840798] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.847588] mmc1: CQHCI version 5.10
[ 1.847838] mmc2: CQHCI version 5.10
[ 1.851179] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[ 1.854762] sdhci-esdhc-imx 30b60000.mmc: voltage-ranges unspecified
[ 1.867537] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.874283] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.881230] usbcore: registered new interface driver usbhid
[ 1.886814] usbhid: USB HID core driver
[ 1.891128] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, using dummy regulator
[ 1.899766] mxc-mipi-csi2-sam 32e40000.csi: Failed to get csi pclk reset control
[ 1.899941] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[ 1.907173] mxc-mipi-csi2-sam 32e40000.csi: Can not parse reset control
[ 1.907478] mxc-mipi-csi2-sam 32e50000.csi: supply mipi-phy not found, using dummy regulator
[ 1.929497] mxc-mipi-csi2-sam 32e50000.csi: Failed to get csi pclk reset control
[ 1.936927] mxc-mipi-csi2-sam 32e50000.csi: Can not parse reset control
[ 1.944143] mxc-isi 32e02000.isi: Failed to get isi proc reset control
[ 1.950693] mxc-isi 32e02000.isi: Can not parse reset control for isi
[ 1.963075] optee: probing for conduit method.
[ 1.967604] optee: revision 3.10 (87956c34)
[ 1.969023] optee: dynamic shared memory is enabled
[ 1.978447] optee: initialized driver
[ 1.985637] Galcore version 6.4.3.p1.305572
[ 2.022661] mmc2: Command Queue Engine enabled
[ 2.027149] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[ 2.034542] mmcblk2: mmc2:0001 IB2932 29.2 GiB
[ 2.039188] mmcblk2boot0: mmc2:0001 IB2932 partition 1 4.00 MiB
[ 2.045213] mmcblk2boot1: mmc2:0001 IB2932 partition 2 4.00 MiB
[ 2.051265] mmcblk2rpmb: mmc2:0001 IB2932 partition 3 4.00 MiB, chardev (235:0)
[ 2.123735] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_ml on minor 0
[ 2.133202] hantrodec 0 : module inserted. Major = 234
[ 2.138936] hantrodec 1 : module inserted. Major = 234
[ 2.145654] hantroenc: HW at base <0000000038320000> with ID <0x80006200>
[ 2.152632] hx280enc: module inserted. Major <511>
[ 2.164936] fsl-sai 30c20000.sai: failed to get bus clock: -517
[ 2.172926] fsl-sai 30c30000.sai: failed to get bus clock: -517
[ 2.182227] fsl-micfil-dai 30ca0000.micfil: failed to get core clock: -517
[ 2.189932] fsl-easrc 30c90000.easrc: failed to get mem clock
[ 2.196198] fsl,imx8mp-audio-xcvr 30cc0000.xcvr: failed to get ipg clock
[ 2.203630] fsl-aud2htx 30cb0000.aud2htx: failed to get mem clock
[ 2.211092] imx-xcvr sound-xcvr: snd_soc_register_card failed: -517
[ 2.218481] imx-micfil sound-micfil: snd_soc_register_card failed (-517)
[ 2.225922] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 2.232686] NET: Registered protocol family 26
[ 2.237587] NET: Registered protocol family 10
[ 2.243594] Segment Routing with IPv6
[ 2.247299] NET: Registered protocol family 17
[ 2.252757] Bluetooth: RFCOMM TTY layer initialized
[ 2.257651] Bluetooth: RFCOMM socket layer initialized
[ 2.262816] Bluetooth: RFCOMM ver 1.11
[ 2.266579] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.271898] Bluetooth: BNEP filters: protocol multicast
[ 2.277132] Bluetooth: BNEP socket layer initialized
[ 2.282101] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.288030] Bluetooth: HIDP socket layer initialized
[ 2.293031] 8021q: 802.1Q VLAN Support v1.8
[ 2.297234] lib80211: common routines for IEEE802.11 drivers
[ 2.303004] 9pnet: Installing 9P2000 support
[ 2.307319] tsn generic netlink module v1 init...
[ 2.312101] Key type dns_resolver registered
[ 2.317239] registered taskstats version 1
[ 2.321347] Loading compiled-in X.509 certificates
[ 2.369565] nxp-pca9450 0-0025: pca9450bc probed.
[ 2.374446] i2c i2c-0: IMX I2C adapter registered
[ 2.380414] adv7511 1-003d: supply avdd not found, using dummy regulator
[ 2.387219] adv7511 1-003d: supply dvdd not found, using dummy regulator
[ 2.393969] adv7511 1-003d: supply pvdd not found, using dummy regulator
[ 2.400712] adv7511 1-003d: supply a2vdd not found, using dummy regulator
[ 2.407537] adv7511 1-003d: supply v3p3 not found, using dummy regulator
[ 2.414278] adv7511 1-003d: supply v1p2 not found, using dummy regulator
[ 2.512344] it6263 1-004c: Probe failed. Remote port 'lvds-channel@0' disabled
[ 2.522423] i2c i2c-1: IMX I2C adapter registered
[ 2.528066] pca953x 2-0020: error -ENODEV: reg get err
[ 2.533237] pca953x 2-0020: using no AI
[ 2.539189] ov5640 2-003c: supply DOVDD not found, using dummy regulator
[ 2.546011] ov5640 2-003c: supply AVDD not found, using dummy regulator
[ 2.552678] ov5640 2-003c: supply DVDD not found, using dummy regulator
[ 2.603470] ov5640 2-003c: ov5640_read_reg: error: reg=300a
[ 2.609061] ov5640 2-003c: ov5640_check_chip_id: failed to read chip identifier
[ 2.616605] i2c i2c-2: IMX I2C adapter registered
[ 2.623101] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[ 2.631731] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[ 2.640195] samsung-hdmi-phy 32fdff00.hdmiphy: failed to get phy apb clk: -517
[ 2.650552] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[ 2.658769] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[ 2.664533] pwm-backlight lvds_backlight: supply power not found, using dummy regulator
[ 2.672227] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[ 2.694144] imx-lcdifv3 32fc6000.lcd-controller: No irq get, ret=-517
[ 2.703744] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us.
[ 2.704619] OF: graph: no port node found in /soc@0/usb-phy@381f0040
[ 2.709909] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[ 2.717435] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.723475] imx6q-pcie 33800000.pcie: No bus range found for /soc@0/pcie@33800000, using [bus 00-ff]
[ 2.728972] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[ 2.738289] imx6q-pcie 33800000.pcie: IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[ 2.746262] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000002001810010
[ 2.754115] imx6q-pcie 33800000.pcie: MEM 0x0018000000..0x001fefffff -> 0x0018000000
[ 2.763534] xhci-hcd xhci-hcd.2.auto: irq 89, io mem 0x38200000
[ 2.771745] imx6q-pcie 33800000.pcie: invalid resource
[ 2.778512] hub 1-0:1.0: USB hub found
[ 2.786528] hub 1-0:1.0: 1 port detected
[ 2.790708] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.796215] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[ 2.803899] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 2.810480] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.819613] hub 2-0:1.0: USB hub found
[ 2.823399] hub 2-0:1.0: 1 port detected
[ 2.828777] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 5 mkt segment 0 supported-hw 0x20 0x1
[ 2.840705] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, using dummy regulator
[ 2.841350] mmc1: CQHCI version 5.10
[ 2.849621] mxc-mipi-csi2-sam 32e40000.csi: lanes: 4, hs_settle: 16, clk_settle: 2, wclk: 1, freq: 500000000
[ 2.852817] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[ 2.863498] mxc-mipi-csi2-sam 32e50000.csi: supply mipi-phy not found, using dummy regulator
[ 2.869017] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[ 2.877685] mxc-mipi-csi2-sam 32e50000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 266000000
[ 2.883110] imx6q-pcie 33800000.pcie: Link up
[ 2.893780] isi-capture 32e02000.isi:cap_device: Cann't get host data
[ 2.896706] imx6q-pcie 33800000.pcie: Link up
[ 2.903150] isi-capture 32e02000.isi:cap_device: deferring 32e02000.isi:cap_device device registration
[ 2.907495] imx6q-pcie 33800000.pcie: Link up, Gen1
[ 2.916925] mxc-isi 32e02000.isi: mxc_isi.1 registered successfully
[ 2.921766] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[ 2.924687] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 2.927956] random: fast init done
[ 2.943846] fsl-micfil-dai 30ca0000.micfil: GET IRQ: 65
[ 2.944831] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.950006] fsl-micfil-dai 30ca0000.micfil: GET IRQ: 66
[ 2.950020] fsl-micfil-dai 30ca0000.micfil: GET IRQ: 67
[ 2.955526] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.960734] fsl-micfil-dai 30ca0000.micfil: GET IRQ: 68
[ 2.965970] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]
[ 2.976393] debugfs: Directory '30cc0000.xcvr' with parent 'imx-audio-xcvr' already present!
[ 2.977456] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 2.984295] imx-xcvr sound-xcvr: ASoC: no DMI vendor name!
[ 2.992726] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 2.999844] debugfs: Directory '30ca0000.micfil' with parent 'imx-audio-micfil' already present!
[ 3.004266] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 3.010510] imx-micfil sound-micfil: ASoC: no DMI vendor name!
[ 3.019345] pci 0000:00:00.0: supports D1
[ 3.027186] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.031816] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 3.034081] pci 0000:01:00.0: MSI quirk detected; MSI disabled
[ 3.054693] pci 0000:01:00.0: quirk_disable_all_msi+0x0/0x40 took 20121 usecs
[ 3.061853] pci 0000:01:00.0: [1b4b:2b42] type 00 class 0x020000
[ 3.067994] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 3.075313] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x000fffff 64bit pref]
[ 3.083189] pci 0000:01:00.0: supports D1 D2
[ 3.087476] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[ 3.094090] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 3.121812] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff]
[ 3.128645] pci 0000:00:00.0: BAR 15: assigned [mem 0x18100000-0x182fffff pref]
[ 3.135993] pci 0000:00:00.0: BAR 6: assigned [mem 0x18300000-0x1830ffff pref]
[ 3.139342] usb 1-1: new low-speed USB device number 2 using xhci-hcd
[ 3.143250] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x181fffff 64bit pref]
[ 3.157501] pci 0000:01:00.0: BAR 2: assigned [mem 0x18200000-0x182fffff 64bit pref]
[ 3.165326] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.170580] pci 0000:00:00.0: bridge window [mem 0x18100000-0x182fffff pref]
[ 3.178075] pcieport 0000:00:00.0: PME: Signaling with IRQ 250
[ 3.197987] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[ 3.205974] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[ 3.208992] mmc1: host does not support reading read-only switch, assuming write-enable
[ 3.213933] imx-drm display-subsystem: bound imx-lcdifv3-crtc.2 (ops lcdifv3_crtc_ops)
[ 3.229880] imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200
[ 3.237016] imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)
[ 3.244883] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)
[ 3.253506] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a with HDCP (samsung_dw_hdmi_phy2)
[ 3.263491] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus driver
[ 3.273093] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[ 3.281309] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[ 3.343574] input: PixArt Dell MS116 USB Optical Mouse as /devices/platform/soc@0/32f10108.usb/38200000.dwc3/xhci-hcd.2.auto/usb1/1-1/1-1:1.0/0003:413C:301A.0001/input/input1
[ 3.360870] hid-generic 0003:413C:301A.0001: input: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-xhci-hcd.2.auto-1/input0
[ 3.393081] mmc1: new ultra high speed SDR104 SDHC card at address e624
[ 3.400167] mmcblk1: mmc1:e624 SC32G 29.7 GiB
[ 3.410546] mmcblk1: p1 p2
[ 3.602749] Console: switching to colour frame buffer device 240x67
[ 3.640953] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[ 3.650489] debugfs: Directory '30c20000.sai' with parent 'bt-sco-audio' already present!
[ 3.658760] asoc-simple-card sound-bt-sco: ASoC: no DMI vendor name!
[ 3.665152] debugfs: File 'Playback' in directory 'dapm' already present!
[ 3.671942] debugfs: File 'Capture' in directory 'dapm' already present!
[ 3.681060] debugfs: Directory '30c30000.sai' with parent 'wm8960-audio' already present!
[ 3.689360] debugfs: Directory '30c90000.easrc' with parent 'wm8960-audio' already present!
[ 3.702209] fsl-asoc-card sound-wm8960: ASoC: no DMI vendor name!
[ 3.822355] debugfs: Directory '30cb0000.aud2htx' with parent 'audio-hdmi' already present!
[ 3.830855] imx-cdnhdmi sound-hdmi: ASoC: no DMI vendor name!
[ 3.837522] input: audio-hdmi HDMI Jack as /devices/platform/sound-hdmi/sound/card4/input3
[ 3.847998] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.857950] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.864547] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.873167] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.885834] ALSA device list:
[ 3.888806] #0: imx-audio-xcvr
[ 3.892036] #1: imx-audio-micfil
[ 3.895438] #2: bt-sco-audio
[ 3.898493] #3: wm8960-audio
[ 3.901561] #4: audio-hdmi
[ 3.979905] EXT4-fs (mmcblk1p2): recovery complete
[ 3.988987] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.997134] VFS: Mounted root (ext4 filesystem) on device 179:98.
[ 4.007272] devtmpfs: mounted
[ 4.010900] Freeing unused kernel memory: 2880K
[ 4.015506] Run /sbin/init as init process
[ 4.162643] systemd[1]: System time before build time, advancing clock.
[ 4.185984] systemd[1]: systemd 246.6+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -ZSTD -SECCOMP +BLKID -ELFUTILS)
[ 4.208536] systemd[1]: Detected architecture arm64.
Welcome to NXP i.MX Release Distro 5.10-gatesgarth (gatesgarth)!
[ 4.270202] systemd[1]: Set hostname to <imx8mpevk>.
[ 4.552448] systemd[1]: Queued start job for default target Multi-User System.
[ 4.560543] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.567354] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 4.579723] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 4.589905] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 4.611458] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.619165] systemd[1]: Created slice system-modprobe.slice.
[ OK ] Created slice system-modprobe.slice.
[ 4.639533] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.647332] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 4.672616] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.695752] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password �…ts to Console Directory Watch.
[ 4.719680] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R�…uests to Wall Directory Watch.
[ 4.744022] systemd[1]: Reached target Host and Network Name Lookups.
[ OK ] Reached target Host and Network Name Lookups.
[ 4.767806] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 4.787421] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 4.811454] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 4.831475] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.847984] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 4.871809] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 4.891901] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.911603] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 4.936406] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 4.959733] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 4.979854] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 5.000006] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 5.020040] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 5.039669] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 5.059798] systemd[1]: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 5.082603] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 5.106398] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 5.130490] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 5.151805] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ 5.164876] systemd[1]: Mounting Temporary Directory (/tmp)...
Mounting Temporary Directory (/tmp)...
[ 5.189612] systemd[1]: Starting Create list of static device nodes for the current kernel...
Starting Create list of st�…odes for the current kernel...
[ 5.215595] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[ 5.226676] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 5.243593] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 5.256939] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 5.283088] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[ 5.291409] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 5.302131] systemd[1]: Mounting Kernel Configuration File System...
Mounting Kernel Configuration File System...
[ 5.329955] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 5.344929] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 5.352826] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 5.374216] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 5.398221] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 5.419121] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 5.443852] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Finished Create list of st�… nodes for the current kernel.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Remount Root and Kernel File Systems.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Setup Virtual Console.
Starting Flush Journal to Persistent Storage...
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Flush Journal to Persistent Storage.
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting Rule-based Manage�…for Device Events and Files...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started Rule-based Manager for Device Events and Files.
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Finished Create Volatile Files and Directories.
Starting Start Psplash Boot Screen...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Start Psplash Boot Screen.
[ OK ] Started Start psplash-syst�…progress communication helper.
[ OK ] Finished Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
[ OK ] Reached target System Time Set.
[ 6.071258] CAN device driver interface
[ OK ] Reached target System Time Synchronized.
[ 6.084679] caam 30900000.crypto: device ID = 0x0a16040100000100 (Era 9)
Starting Load/Save Screen �…of backlight:lvds_backlight...
[ 6.100590] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[ OK ] Finished Load/Save Screen �…s of backlight:lvds_back[ 6.117894] os08a20: loading out-of-tree module taints kernel.
light.
[ 6.125575] caam 30900000.crypto: job rings = 2, qi = 0
[ OK ] Created slice system-w[ 6.187452] ov2775 1-0036: supply DOVDD not found, using dummy regulator
eston.slice.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers 6.258980] ov2775 1-0036: supply DVDD not found, using dummy regulator
[0m.
[ OK ] [ 6.269258] ov2775 1-0036: supply AVDD not found, using dummy regulator
Listening on Avahi mDNS/[ 6.269417] imx8_media_dev: module is from the staging directory, the quality is unknown, you have been warned.
DNS-SD Stack Activation Socket 6.281601] os08a20_probe camera mipi os08a20, is found
m.
[ 6.306246] Error: Driver 'ov2775' is already registered, aborting...
[ 6.315828] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[ OK ] Listening on D-Bus System Message Bus Socket.
[ 6.340896] mx8-img-md: Registered mxc_isi.1.capture as /dev/video0
[ 6.347508] mx8-img-md: Registered sensor subdevice: ov2775 1-0036 (1)
[ OK ] Listening on dropbea[ 6.357934] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
r.socket.
[ 6.366246] mx8-img-md: created link [mxc-mipi-csi2.1] => [mxc_isi.1]
[ 6.373087] mx8-img-md: created link [ov2775 1-0036] => [mxc-mipi-csi2.0]
[ 6.380118] mxc-md 32c00000.bus:camera: mxc_md_create_links
[ 6.386155] clean ISI channel: mxc_isi.1
[ OK ] Reached target Sockets.
[ 6.406094] enter viv_video_init_module
[ OK ] Reached target Basic System.
[ 6.420536] enter viv_isp_init_module
[ 6.425686] Error: Driver 'mxc-mipi-csi2-sam' is already registered, aborting...
[ OK [ 6.433811] enter viv_dwe_init_module
] Started Job spooling tools.
[ 6.450156] enter isp_hw_probe
Starting Console System Startup Logging...[ 6.461647] register platform driver failed.
[ OK ] Started Periodic Com[ 6.476778] enter dwe_hw_probe
mand Scheduler.
[ 6.489839] vvcam dewarp driver probed
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Configuration for i.MX GPU (Former rc_gpu.S).
[ 6.556164] Error: Driver 'mxc-mipi-csi2-sam' is already registered, aborting...
[ 6.563922] register platform driver failed.
[ OK ] Started ISP i.MX 8Mplus daemon.
Starting IPv6 Packet Filtering Framework...
Starting IPv4 Packet Filtering Framework...
Starting Network Time Service (one-shot ntpdate mode)...
[ 6.640699] vvcam isp driver registered
Starting Telephony service...
[ OK ] Started Updates psplash to basic.
[ OK ] Started System Logging Service.
Starting User Login Management...
[ OK ] Started TEE Supplicant.
[ OK ] Finished Console System Startup Logging.
[ OK ] Finished Load/Save Random Seed.
[ OK ] Finished IPv6 Packet Filtering Framework.
[ OK ] Finished IPv4 Packet Filtering Framework.
[ OK ] Finished Network Time Service (one-shot ntpdate mode).
[ OK ] Started Telephony service.
[ OK ] Started User Login Management.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Reached target Network (Pre).
[ OK ] Reached target Hardware activated USB gadget.
Starting Save/Restore Sound Card State...
Starting Connection service...
Starting File System Check on /dev/mmcblk1p1...
Starting Network Service...
[ OK ] Finished Save/Restore Sound Card State.
[ OK ] Reached target Sound Card.
[ OK ] Started Connection service.
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Started Network Service.
[ OK ] Reached target Network.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
[ OK ] Started Respond to IPv6 Node Information Queries.
[ OK ] Started Update psplash to network.
Starting Terminate Psplash Boot Screen...
Starting /etc/rc.local Compatibility...
[ OK ] Started Network Router Discovery Daemon.
Starting Permit User Sessions...
[ OK ] Finished File System Check on /dev/mmcblk1p1.
[ OK ] Finished Terminate Psplash Boot Screen.
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Finished Permit User Sessions.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
Mounting /run/media/mmcblk1p1...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc1.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
Starting Hostname Service...
Starting Update UTMP about System Runlevel Changes...
Starting Weston, a Wayland�…ositor, as a system service...
Starting WPA supplicant...
[ OK ] Mounted /run/media/mmcblk1p1.
[ OK ] Started Hostname Service.
Starting User Database Manager...
[ OK ] Started WPA supplicant.
[ OK ] Finished Update UTMP about System Runlevel Changes.
[ OK ] Started User Database Manager.
[ OK ] Created slice User Slice of UID 0.
Starting User Runtime Directory /run/user/0...
[ OK ] Finished User Runtime Directory /run/user/0.
Starting User Manager for UID 0...
[ 7.868806] audit: type=1006 audit(1600596967.704:2): pid=558 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ OK ] Started User Manager for UID 0.
[ OK ] Started Session c1 of user root.
[ 8.234963] audit: type=1006 audit(1600596968.068:3): pid=551 uid=0 old-auid=4294967295 auid=0 tty=tty7 old-ses=4294967295 ses=2 res=1
[ OK ] Started Weston, a Wayland �…mpositor, as a system service.
NXP i.MX Release Distro 5.10-gatesgarth imx8mpevk ttymxc1
imx8mpevk login: root
root@imx8mpevk:~# v4l2-ctl --list-devices
():
/dev/v4l-subdev0
/dev/v4l-subdev3
/dev/v4l-subdev4
():
/dev/v4l-subdev1
(csi0):
/dev/v4l-subdev2
FSL Capture Media Device (platform:mxc-md):
/dev/media0
VIV (platform:viv0):
/dev/video0
VIV (platform:viv1):
/dev/video1
root@imx8mpevk:~# [ 35.807929] can1-stby: disabling
[ 35.811167] can2-stby: disabling
gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../git/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:15.477847500
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video1 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../git/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:15.437418750
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/v4l-subdev2 ! autovideosink
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/v4l-subdev2' is not a capture device.
Additional debug info:
../git/sys/v4l2/v4l2_calls.c(681): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x0
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
Thank You for the consistent inputs.
Kind Regards,
Keniz Pankajkumar Gandhi
from team:
-----------------
I flashed 5.10.9-1.0.0+g32513c25d8c7 onto imx8mpevk and had ov5640 connected over minisastocsi and was able to display capture from sensor. Here is the log:
v4l2-ctl --list-devices
():
/dev/v4l-subdev0
mxc-isi-cap (platform:32e00000.isi:cap_devic):
/dev/video1
mxc-isi-m2m (platform:32e00000.isi:m2m_devic):
/dev/video0
FSL Capture Media Device (platform:mxc-md):
/dev/media0
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video1 ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 207.702269] bypass csc
[ 207.704678] input fmt YUV4
[ 207.707382] output fmt YUYV
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.886781875
Setting pipeline to NULL ...
Total showed frames (31), playing for (0:00:05.886753625), fps (5.266).
Freeing pipeline ...
Please ask customer to try /dev/video1 with imx8mp-evk.dtb.
-----------------
Best regards
igor
Hello @igorpadykov ,
Using imx8mp-evk.dtb, I am not able to recognise the capture device like you shown in your example. Can you please tell me what is it due to? I have plugged the connector tightly.
LOGS:
NXP i.MX Release Distro 5.10-gatesgarth imx8mpevk ttymxc1
imx8mpevk login: root
root@imx8mpevk:~# [ 35.805435] can1-stby: disabling
[ 35.808673] can2-stby: disabling
v4l2-ctl --list-devices
mxc-isi-m2m (platform:32e00000.isi:m2m_devic):
/dev/video0
root@imx8mpevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.
Additional debug info:
../git/sys/v4l2/v4l2_calls.c(681): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4204000
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
this may be due to broken MINISASTOCSI board, one can try other board.
Best regards
igor