Video playback on 3.18 imx kernel ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Video playback on 3.18 imx kernel ?

1,323 Views
hareeshdas
Contributor II

Hi all,

     I am trying to play video on 3.18 imx kernel. (As of now i don't see any git repo for video playback on 3.18 kernel. If any one know any link or documents, please share).

     I am able to port VPU, IPU and framebuffer related drivers and libraries from 3.14 imx kernel ( but lags in proper documentation procedure). I have also copied the gstreamer plugins to rootfs.

    We are using custom board and it boots successfully with an hdmi display connected. In the /dev I see "mxc_vpu, mxc_ipu, mxc_hdmi, fb0 and fb1" devices are registered. And I can see login prompt on hdmi display. When I play a video file using "./gplay fast_n_furious.avi" from minicom console, No Video on hdmi (but it shows playing on console, [Playing  ][Vol=01][00:00:59/00:01:00][fps:0]  and ends).

    Please see the boot log and gplay command log below. What i missed here ? Any help is much appreciated.

/**************************************************************************************boot log ***********************************************************************/

U-Boot 2014.10+ (May 26 2015 - 11:40:17)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz

Reset cause: POR

Board: MX6-VISE

I2C:   ready

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

*** Warning - bad CRC, using default environment

auto-detected panel HDMI

Display: HDMI (1024x768)

In:    serial

Out:   serial

Err:   serial

PMIC:  PFUZE100 ID=0x10

Net:   FEC [PRIME]

Error: FEC address not set.

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc0 is current device

** Unrecognized filesystem type **

MMC read: dev # 0, block # 2048, count 12288 ... 12288 blocks read: OK

MMC read: dev # 0, block # 20480, count 2048 ... 2048 blocks read: OK

Booting from mmc ...

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-3.18.7-00598-gfea40bd-dirt

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    5825152 Bytes = 5.6 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Loading Kernel Image ... OK

   Using Device Tree in place at 18000000, end 1800beaf

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Linux version 3.18.7-00598-gfea40bd-dirty (rajeswari@localhost.localdomain) (gcc version 4.7.3 20130102 (prerelease) (crosstool-NG linaro-1.13.1-4.7-20135

[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine model: Freescale i.MX6 Quad SABRE Smart Device Board

[    0.000000] cma: Reserved 64 MiB at 0x9c000000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] On node 0 totalpages: 262144

[    0.000000] free_area_init_node: node 0, pgdat 80a6bb40, node_mem_map 9edf8000

[    0.000000]   Normal zone: 1024 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 131072 pages, LIFO batch:31

[    0.000000]   HighMem zone: 3584 pages used for memmap

[    0.000000]   HighMem zone: 131072 pages, LIFO batch:31

[    0.000000] PERCPU: Embedded 10 pages/cpu @9ed97000 s9216 r8192 d23552 u40960

[    0.000000] pcpu-alloc: s9216 r8192 d23552 u40960 alloc=10*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 261120

[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=hdmi,1920x1024M@60,if=RGB24 loglevel=8

[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

[    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: 954976K/1048576K available (7255K kernel code, 490K rwdata, 2532K rodata, 364K init, 8369K bss, 93600K reserved, 458752K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)

[    0.000000]     vmalloc : 0xa0800000 - 0xff000000   (1512 MB)

[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)

[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)

[    0.000000]       .text : 0x80008000 - 0x80996fcc   (9788 kB)

[    0.000000]       .init : 0x80997000 - 0x809f2000   ( 364 kB)

[    0.000000]       .data : 0x809f2000 - 0x80a6cb60   ( 491 kB)

[    0.000000]        .bss : 0x80a6cb60 - 0x81299080   (8370 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] Hierarchical RCU implementation.

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] L2C-310 erratum 769419 enabled

[    0.000000] L2C-310 enabling early BRESP for Cortex-A9

[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9

[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines

[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled

[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB

[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76070001

[    0.000000] Switching to timer-based delay loop, resolution 333ns

[    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns

[    0.001067] Console: colour dummy device 80x30

[    0.001096] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar

[    0.001106] ... MAX_LOCKDEP_SUBCLASSES:  8

[    0.001114] ... MAX_LOCK_DEPTH:          48

[    0.001122] ... MAX_LOCKDEP_KEYS:        8191

[    0.001130] ... CLASSHASH_SIZE:          4096

[    0.001138] ... MAX_LOCKDEP_ENTRIES:     32768

[    0.001145] ... MAX_LOCKDEP_CHAINS:      65536

[    0.001153] ... CHAINHASH_SIZE:          32768

[    0.001161]  memory used by lock dependency info: 5167 kB

[    0.001169]  per task-struct memory footprint: 1152 bytes

[    0.001202] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)

[    0.001221] pid_max: default: 32768 minimum: 301

[    0.001565] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.001581] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.003146] CPU: Testing write buffer coherency: ok

[    0.003879] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.003978] Setting up static identity map for 0x1071b7d8 - 0x1071b848

[    0.007997] CPU1: Booted secondary processor

[    0.008033] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.009672] CPU2: Booted secondary processor

[    0.009705] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

[    0.011119] CPU3: Booted secondary processor

[    0.011152] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

[    0.011322] Brought up 4 CPUs

[    0.011356] SMP: Total of 4 processors activated (24.00 BogoMIPS).

[    0.011366] CPU: All CPU(s) started in SVC mode.

[    0.013183] devtmpfs: initialized

[    0.021861] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

[    0.026746] pinctrl core: initialized pinctrl subsystem

[    0.028134] regulator-dummy: no parameters

[    0.053679] NET: Registered protocol family 16

[    0.057170] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.059206] CPU identified as i.MX6Q, silicon rev 1.5

[    0.079429] vdd1p1: 800 <--> 1375 mV at 1100 mV

[    0.080433] vdd3p0: 2800 <--> 3150 mV at 3000 mV

[    0.081334] vdd2p5: 2000 <--> 2750 mV at 2400 mV

[    0.082342] vddarm: 725 <--> 1450 mV at 1150 mV

[    0.083287] vddpu: 725 <--> 1450 mV at 1150 mV

[    0.084253] vddsoc: 725 <--> 1450 mV at 1175 mV

[    0.299758] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

[    0.299774] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.301642] imx6q-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6qdl-sabresd/pciereggrp

[    0.302407] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

[    0.357440] mxs-dma 110000.dma-apbh: initialized

[    0.358960] usb_otg_vbus: 5000 mV

[    0.359607] usb_h1_vbus: 5000 mV

[    0.360280] wm8962-supply: no parameters

[    0.360909] MPCIE_3V3: 3300 mV

[    0.361527] wlan-en-regulator: 1800 mV

[    0.363583] vgaarb: loaded

[    0.365297] SCSI subsystem initialized

[    0.365757] libata version 3.00 loaded.

[    0.366395] usbcore: registered new interface driver usbfs

[    0.366539] usbcore: registered new interface driver hub

[    0.366693] usbcore: registered new device driver usb

[    0.371694] i2c i2c-0: IMX I2C adapter registered

[    0.384470] i2c i2c-1: IMX I2C adapter registered

[    0.387251] i2c i2c-2: IMX I2C adapter registered

[    0.387478] Linux video capture interface: v2.00

[    0.387751] pps_core: LinuxPPS API ver. 1 registered

[    0.387763] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    0.387818] PTP clock support registered

[    0.388716] iMX6: ipu_probe

[    0.399826] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

[    0.401701] iMX6: ipu_probe

[    0.419829] imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

[    0.421403] Advanced Linux Sound Architecture Driver Initialized.

[    0.425679] cfg80211: Calling CRDA to update world regulatory domain

[    0.427105] Switched to clocksource mxc_timer1

[    0.457590] NET: Registered protocol family 2

[    0.459220] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

[    0.459425] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)

[    0.460856] TCP: Hash tables configured (established 4096 bind 4096)

[    0.461016] TCP: reno registered

[    0.461063] UDP hash table entries: 256 (order: 2, 20480 bytes)

[    0.461265] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)

[    0.462350] NET: Registered protocol family 1

[    0.463429] RPC: Registered named UNIX socket transport module.

[    0.463445] RPC: Registered udp transport module.

[    0.463456] RPC: Registered tcp transport module.

[    0.463467] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.463518] PCI: CLS 0 bytes, default 64

[    0.464717] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available

[    0.468544] futex hash table entries: 1024 (order: 4, 65536 bytes)

[    0.487423] VFS: Disk quotas dquot_6.5.2

[    0.487904] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.495223] NFS: Registering the id_resolver key type

[    0.495424] Key type id_resolver registered

[    0.495439] Key type id_legacy registered

[    0.495613] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

[    0.497637] fuse init (API version 7.23)

[    0.498595] msgmni has been set to 969

[    0.501155] bounce: pool size: 64 pages

[    0.501240] io scheduler noop registered

[    0.501265] io scheduler deadline registered

[    0.501359] io scheduler cfq registered (default)

[    0.502141] imx-weim 21b8000.weim: Driver registered.

[    0.816717] imx6q-pcie 1ffc000.pcie: phy link never came up

[    0.817397] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00

[    0.817419] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]

[    0.817435] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]

[    0.817471] pci_bus 0000:00: root bus resource [bus 00-ff]

[    0.817571] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400

[    0.817635] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]

[    0.817676] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]

[    0.817873] pci 0000:00:00.0: supports D1

[    0.817890] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold

[    0.818746] PCI: bus0: Fast back to back transfers disabled

[    0.819126] PCI: bus1: Fast back to back transfers enabled

[    0.819149] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01

[    0.819273] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]

[    0.819314] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]

[    0.819333] pci 0000:00:00.0: PCI bridge to [bus 01]

[    0.819973] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

[    0.820016] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded

[    0.822795] backlight supply power not found, using dummy regulator

[    0.828894] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1

[    0.828924] fbcvt: Aspect ratio not CVT standard

[    0.828942] fbcvt: 1920x1024@60: CVT Name - Not a CVT standard - 1.966 Mega Pixel Image

[    0.828942]

[    0.829263] mxc_sdc_fb fb@0: registered mxc display driver hdmi

[    0.877327] imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

[    0.975644] Console: switching to colour frame buffer device 240x67

[    1.025822] iMX6: sdma_probe

[    1.027446] imx-sdma 20ec000.sdma: loaded firmware 1.1

[    1.035520] imx-sdma 20ec000.sdma: initialized

[    1.058135] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1

[    1.077796] pfuze100-regulator 1-0008: FAB: 0, FIN: 0

[    1.077804] pfuze100-regulator 1-0008: pfuze100 found.

[    1.081924] SW1AB: 300 <--> 1875 mV at 1375 mV

[    1.085991] SW1C: 300 <--> 1875 mV at 1375 mV

[    1.088209] SW2: 800 <--> 3300 mV at 3150 mV

[    1.090165] SW3A: 400 <--> 1975 mV at 1200 mV

[    1.092104] SW3B: 400 <--> 1975 mV at 1200 mV

[    1.094040] SW4: 800 <--> 1975 mV at 1800 mV

[    1.095700] SWBST: 5000 <--> 5150 mV at 5000 mV

[    1.124037] VSNVS: 1000 <--> 3000 mV at 3000 mV

[    1.126033] VREFDDR: 750 mV

[    1.128046] VGEN1: 800 <--> 1550 mV at 1200 mV

[    1.130044] VGEN2: 800 <--> 1550 mV at 800 mV

[    1.133385] VGEN3: 1800 <--> 3300 mV at 2800 mV

[    1.135392] VGEN4: 1800 <--> 3300 mV at 1800 mV

[    1.137446] VGEN5: 1800 <--> 3300 mV at 3000 mV

[    1.141198] VGEN6: 1800 <--> 3300 mV at 1800 mV

[    1.143626] Serial: IMX driver

[    1.144420] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX

[    2.299507] console [ttymxc0] enabled

[    2.302271] serial: Freescale lpuart driver

[    2.303353] [drm] Initialized drm 1.1.0 20060810

[    2.303440] Error: Driver 'imx-ipuv3' is already registered, aborting...

[    2.331867] brd: module loaded

[    2.348303] loop: module loaded

[    2.350497] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024

[    2.350509] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480

[    2.350520] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000

[    2.350530] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000

[    2.353912] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled

[    2.353949] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode

[    2.353963] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst

[    2.360931] scsi host0: ahci_platform

[    2.362774] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71

[    2.369423] CAN device driver interface

[    2.371746] 2188000.ethernet supply phy not found, using dummy regulator

[    2.389189] pps pps0: new PPS source ptp0

[    2.390396] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00

[    2.390425] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 1e:e0:14:27:29:39

[    2.398799] libphy: fec_enet_mii_bus: probed

[    2.400573] fec 2188000.ethernet eth0: registered PHC device 0

[    2.402226] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    2.402238] ehci-pci: EHCI PCI platform driver

[    2.402401] ehci-mxc: Freescale On-Chip EHCI Host driver

[    2.402792] usbcore: registered new interface driver usb-storage

[    2.417113] ci_hdrc ci_hdrc.1: doesn't support gadget

[    2.417155] ci_hdrc ci_hdrc.1: EHCI Host Controller

[    2.417346] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1

[    2.437186] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

[    2.441213] hub 1-0:1.0: USB hub found

[    2.441481] hub 1-0:1.0: 1 port detected

[    2.445117] mousedev: PS/2 mouse device common for all mice

[    2.446738] egalax_ts 2-0004: Failed to read firmware version

[    2.446783] egalax_ts: probe of 2-0004 failed with error -5

[    2.448241] input: st1232-touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0055/input/input1

[    2.452254] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0

[    2.452511] i2c /dev entries driver

[    2.455734] IR NEC protocol handler initialized

[    2.455769] IR RC5(x/sz) protocol handler initialized

[    2.455783] IR RC6 protocol handler initialized

[    2.455796] IR JVC protocol handler initialized

[    2.455809] IR Sony protocol handler initialized

[    2.455822] IR SANYO protocol handler initialized

[    2.455835] IR Sharp protocol handler initialized

[    2.455848] IR MCE Keyboard/mouse protocol handler initialized

[    2.455861] IR XMP protocol handler initialized

[    2.457283] iMX6: mxc_vout_probe

[    2.457293] iMX6: mxc_vout_setup_output

[    2.457953] mxc_v4l2_output v4l2_out: V4L2 device registered as video16

[    2.458415] mxc_v4l2_output v4l2_out: V4L2 device registered as video17

[    2.462749] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)

[    2.463525] sdhci: Secure Digital Host Controller Interface driver

[    2.463528] sdhci: Copyright(c) Pierre Ossman

[    2.463538] sdhci-pltfm: SDHCI platform and OF driver helper

[    2.466492] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found

[    2.587180] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

[    2.591599] sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode

[    2.591906] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found

[    2.591914] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found

[    2.609575] sdhci-esdhc-imx 2190000.usdhc: card claims to support voltages below defined range

[    2.631212] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)

[    2.632364] random: nonblocking pool is initialized

[    2.634651] mmc0: new high speed SDIO card at address 0001

[    2.636767] wl18xx: get_platform_data

[    2.637554] wl18xx: wlcore_probe_of

[    2.637555] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

[    2.639779] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found

[    2.639787] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found

[    2.644347] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2

[    2.644530] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2

[    2.644541] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2

[    2.644544] wlcore: WARNING falling back to default config

[    2.687150] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

[    2.688293] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

[    2.688622] iMX6: vpu_init

[    2.688828] iMX6: vpu_dev_probe

[    2.688832] iMX6: vpu_dev_probe 0

[    2.688845] iMX6: vpu_dev_probe 1

[    2.689926] 2040000.vpu supply pu not found, using dummy regulator

[    2.691202] mxc_vpu 2040000.vpu: VPU initialized

[    2.697839] usbcore: registered new interface driver usbhid

[    2.697843] usbhid: USB HID core driver

[    2.699740] mx6-camera v4l2cap@ipu1: deferring mipi_csi2 registration

[    2.701434] platform v4l2cap@ipu1: Driver mx6-camera requests probe deferral

[    2.702082] imx6-mipi-csi2: data lanes: 2

[    2.702095] imx6-mipi-csi2: flags: 0x00000100

[    2.717191] ata1: SATA link down (SStatus 0 SControl 300)

[    2.717253] ahci-imx 2200000.sata: no device found, disabling link.

[    2.717260] ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug

[    2.845363] mmc1: host does not support reading read-only switch, assuming write-enable

[    2.874041] mmc1: new high speed SDHC card at address aaaa

[    2.875475] mmcblk0: mmc1:aaaa SU04G 3.69 GiB

[    2.885503]  mmcblk0: p1

[    3.108824] i2c 0-004b: Driver max44009 requests probe deferral

[    3.176924] mmc2: BKOPS_EN bit is not set

[    3.277265] wm8962 0-001a: customer id 0 revision D

[    3.285890] mmc2: new DDR MMC card at address 0001

[    3.286845] mmcblk1: mmc2:0001 P1XXXX 3.60 GiB

[    3.287334] mmcblk1boot0: mmc2:0001 P1XXXX partition 1 16.0 MiB

[    3.287597] mmcblk1boot1: mmc2:0001 P1XXXX partition 2 16.0 MiB

[    3.287833] mmcblk1rpmb: mmc2:0001 P1XXXX partition 3 128 KiB

[    3.294891]  mmcblk1: p1

[    3.356351] input: WM8962 Beep Generator as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input2

[    3.360498] imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok

[    3.368670] nf_conntrack version 0.5.0 (15945 buckets, 63780 max)

[    3.370866] TCP: cubic registered

[    3.372423] NET: Registered protocol family 10

[    3.375792] sit: IPv6 over IPv4 tunneling driver

[    3.378905] NET: Registered protocol family 17

[    3.378946] can: controller area network core (rev 20120528 abi 9)

[    3.379108] NET: Registered protocol family 29

[    3.379126] can: raw protocol (rev 20120528)

[    3.379226] can: broadcast manager protocol (rev 20120528 t)

[    3.379259] can: netlink gateway (rev 20130117) max_hops=1

[    3.379961] Key type dns_resolver registered

[    3.384275] iMX6: vpu_dev_probe

[    3.384278] iMX6: vpu_dev_probe 0

[    3.384292] mxc_vpu mxc_vpu.0: vpu: unable to get vpu base addr

[    3.384476] Registering SWP/SWPB emulation handler

[    3.392047] mx6-camera v4l2cap@ipu1: Registered subdev imx6-mipi-csi2

[    3.392137] mx6-camera v4l2cap@ipu1: No driver found for /soc/aips-bus@02100000/i2c@021a0000/ov5640@3c

[    3.393443] platform v4l2cap@ipu1: Driver mx6-camera requests probe deferral

[    3.394968] max44009 0-004b: MAX44009: Ambient Light Sensor detected

[    3.398814] mx6-camera v4l2cap@ipu1: Registered subdev imx6-mipi-csi2

[    3.398864] mx6-camera v4l2cap@ipu1: No driver found for /soc/aips-bus@02100000/i2c@021a0000/ov5640@3c

[    3.399437] platform v4l2cap@ipu1: Driver mx6-camera requests probe deferral

[    3.412383] input: gpio-keys as /devices/soc0/gpio-keys/input/input3

[    3.419502] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)

[    3.421121] mx6-camera v4l2cap@ipu1: Registered subdev imx6-mipi-csi2

[    3.421174] mx6-camera v4l2cap@ipu1: No driver found for /soc/aips-bus@02100000/i2c@021a0000/ov5640@3c

[    3.421870] platform v4l2cap@ipu1: Driver mx6-camera requests probe deferral

[    3.498580] VGEN1: disabling

[    3.734593] SWBST: disabling

[    3.739127] SW4: disabling

[    3.742634] wm8962-supply: disabling

[    3.743546] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

[    3.752162] usb_otg_vbus: disabling

[    3.755239] wlcore: loaded

[    3.759209] ALSA device list:

[    3.762195]   #0: wm8962-audio

[    3.856994] kjournald starting.  Commit interval 5 seconds

[    3.859819] EXT3-fs (mmcblk0p1): using internal journal

[    3.862351] EXT3-fs (mmcblk0p1): recovery complete

[    3.862358] EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode

[    3.862567] VFS: Mounted root (ext3 filesystem) on device 179:1.

[    3.866204] devtmpfs: mounted

[    3.866743] Freeing unused kernel memory: 364K (80997000 - 809f2000)

INIT: version 2.88 booting

Starting udev

[    4.689710] udevd[125]: starting version 182

bootlogd: cannot allocate pseudo tty: No such file or directory

Mon Mar 23 06:05:27 UTC 2015

INIT: Entering runlevel: 5

Configuring network interfaces... [    7.041095] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=2188000.ethernet:01, irq=)

[    7.054076] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

udhcpc (v1.22.1) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

done.

Starting syslogd/klogd: done

Poky (Yocto Project Reference Distro) 1.7.1 imx6qsabresd /dev/ttymxc0

imx6qsabresd login: root

/**************************************************************************************gplay command log************************************************************************/

root@imx6qsabresd:/home/G_Streamer# ./gplay fast_n_furious.avi

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=fast_n_furious.avi

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0][INFO]     Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

        plugin: 4.0.2

        wrapper: 1.0.57(VPUWRAPPER_ARM_LINUX Build on Jan  5 2015 13:19:43)

        vpulib: 5.4.27

        firmware: 3.1.1.46061

FOUND GST_MESSAGE_TAG!

    video codec: XVID MPEG-4

FOUND GST_MESSAGE_TAG!

    audio codec: MPEG-1 layer 3

FOUND GST_MESSAGE_TAG!

        encoder: SUPER(C) - by eRightSoft

         artist: created.with.SUPER(C).v2009.bld.35

container format: AVI

get GST_MESSAGE_ELEMENT missing-plugin, type=(string)decoder, detail=(GstCaps)audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, parsed=(boolean)tru;

FOUND GST_MESSAGE_TAG!

    audio codec: MPEG 1 Audio, Layer 3 (MP3)

nominal bitrate: 128000

FOUND GST_MESSAGE_TAG!

        has crc: FALSE

   channel mode: stereo

MFW_GST_V4LSINK_PLUGIN 4.0.2 build on Jan  5 2015 13:22:33.

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

[WARN]  VPU iram is less than needed, some parts don't use iram

set v4l rotate sucessfully

>>V4L_SINK: Actually buffer status:

        hardware buffer : 10

        software buffer : 0

FOUND GST_MESSAGE_TAG!

    image width: 720

   image height: 400

get GST_MESSAGE_ELEMENT prepare-xwindow-id;

get GST_MESSAGE_ELEMENT playbin2-stream-changed, uri=(string)file:///home/G_Streamer/fast_n_furious.avi;

full screen size:1920x1080

[V4L Update Display]: left=0, top=0, width=1920, height=1080

set v4l display crop sucessfully

fsl_player_play()

FSL_PLAYER_01.00_LINUX build on Dec 31 2014 17:00:27

        [h]display the operation Help

        [p]Play

        [s]Stop

        [e]Seek

        [a]Pause when playing, play when paused

        [v]Volume

        [m]Switch to mute or not

        [>]Play next file

        [<]Play previous file

        [r]Switch to repeated mode or not

        [f]Set full screen or not

        [z]resize the width and height

        [t]Rotate

        [c]Setting play rate

        [i]Display the metadata

        [x]eXit

FOUND GST_MESSAGE_TAG!

minimum bitrate: 128012

        bitrate: 127981

maximum bitrate: 128012

FOUND GST_MESSAGE_TAG!

minimum bitrate: 127706

[Playing  ][Vol=01][00:00:59/00:01:00][fps:0]EOS Found!

FSL_PLAYER_UI_MSG_EOS

Running time 0:01:00.025893008 render fps 0.000

Total rendered:0

fsl_player_stop()

fsl_player_stop()

player_exit(): No more multimedia files, exit.

[--->FINALIZE v4l_sink

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!

fsl_player_deinit

root@imx6qsabresd:

Thanks & Regards,

Hari

0 Kudos
2 Replies

599 Views
fabio_estevam
NXP Employee
NXP Employee

You can use kernel 4.0 with the coda (VPU driver) and mainline Gstreamer to play videos.

Regards,

Fabio Estevam

0 Kudos

599 Views
gusarambula
NXP TechSupport
NXP TechSupport

Unfortunately the available BSPs work with slightly older kernel versions so I’m afraid there is no information on what patches are required to port from kernel 3.14. There is some work being done on the Community BSP on newer kernels but as far as I know it’s still work in progress.

Hopefully a community user may provide some insights but most people are working with 3.14 or older kernel versions.

0 Kudos