This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: HDMI issue in latest SDK

Part Number: AM5728


Tool/software: Linux

Hi,

I compiled the latest SDK 4.0.0.4 and install the filesystem on our AM5728 board .

I can start the linux,but there is an error that Initialization script print:

[FAILED] Failed to start SYSV:

and the matrix-gui and weston has no response.

I have tried 

/etc/init.d/matrix-gui-2.0 restart  

/etc/init.d/weston restart

but it still not working on HDMI.It's just output "Please wait..." on HDMI.

I have tried

dmabuftest -s 32:800x600 -c 720x288@YUYV -d /dev/video1

to capture video and display on hdmi ,it print 

ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)

and stop .

I have tried these in SDK3.0.0.4 and work well. 

  • The software team have been notified. They will respond here.
  • Hi,
    I received same error in SDK 4.0.0.4.
  • user4592053 said:
    but it still not working on HDMI.It's just output "Please wait..." on HDMI.

    Please connect a mouse to the board. Weston won't launch if there is no input device connected to the board/ 

    user4592053 said:
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)

    This was known issue in 4.0 release, documented in it's release notes (captured below). The issue is now fixed and the patch can be downloaded from the link mentioned below. 

    PLSDK-1426 am571x-idk, am572x-idk, am572x-evm Dual Camera test fails on AM571/2 IDK and AM572x GP EVM vip driver patch available at http://git.ti.com/processor-sdk/processor-sdk-linux/commit/a0af4124c35edb2713887f4d3ec14a30844b3f99
  • Hi, Manisha,
    The patch didn't slove my problem, the error is the same. And the line number of vip.c in my kernel is not the same as the patch. The kernel I used is linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050, which is in the Processor SDK 04.00.00.04/board-support.
    Thanks.
  • Were you able to get over the HDMI display error?

    Regarding the camera patch, please apply it manually. or you can replace the entire vip.c file. Also , make sure that you are using the newly built kernel image when you run the test case.
  • HDMI display is ok, and I used Matrix APP Launcher v2 p1 run demo 'qt-opencv-opencl-opengl-multithreaded'.
    I applied the patch manually, and rebuild ti-vip.ko, then matually replace the old ti-vip.ko file in SD card. And the error was the same at last.
  • By the way, the demo 'qt-opencv-opencl-opengl-multithreaded' runs well.
  • Hi Carolyn,

    The vip driver is inbuilt You need to make sure you are installing kernel modules too. Please use make linux_install using the Makefile in processor sdk at top level. You will have to modify Rules.make file to set the DESTDIR variable pointing to the filesystem on the sd card or nfs (what ever you are using).

    #make linux

    #make linux_install


    Regards,
    Manisha

  • Hi, Manisha,

    After I copied the ti-vip.ko to sd card, I used below command in console:

    insmod /lib/modules/(kernel type)/kernel/drivers/media/ti-vpe/ti-vip.ko

  • Hi, Manisha,
    Does usb_capture.txt need for psdk 04.00.00.04? I found usb_capture.txt form e2e.ti.com/.../2023362. Thanks.
  • usb_capture.txt is not needed.

    To be sure that rebuilt vip module is used, please follow the step of make linux_install. You will need to set the DESTDIR varibale to point to your SD card in the Rules.make file. If root permission is required to copy to the sd card, please use same - # sudo make linux_install.

    If the demo still doesn't run, please enable following debug logs and share with us the dmesg and console logs both.

    echo 3 >/sys/class/video4linux/video1/dev_debug
    This allows V4L2 ioctl calls to be logged.
    echo 3 > /sys/module/videobuf2_core/parameters/debug
    This allows VB2 buffers operation to be logged.
    In addition ti-vip also has specific debug log which can be enabled as follows:
    echo 3 > /sys/module/ti_vip/parameters/debug
  • U-Boot SPL 2017.01-00319-gfe893f7-dirty (Aug 25 2017 - 10:01:38)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-00319-gfe893f7-dirty (Aug 25 2017 - 10:01:38 +0800)
    
    CPU  : DRA752-GP ES2.0
    Model: SEED DBS5728
    Board: SEED DBS5728 REV 
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    I2C chip 50: requested alen 2 does not match chip offset_len 1
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    574 bytes read in 3 ms (186.5 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3722112 bytes read in 225 ms (15.8 MiB/s)
    98962 bytes read in 52 ms (1.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffff291 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (root@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #12 SMP PREEMPT Thu Sep 7 14:08:40 CST 2017
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: SEED DBS5728
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 13 pages/cpu @eed37000 s22092 r8192 d22964 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=50e41a45-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1675696K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33360K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc104e860   ( 315 kB)
    [    0.000000]        .bss : 0xc1050000 - 0xc109a130   ( 297 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000322] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000330] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000731] Console: colour dummy device 80x30
    [    0.000748] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000755] This ensures that you still see kernel messages. Please
    [    0.000762] update your kernel commandline.
    [    0.000779] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000793] pid_max: default: 32768 minimum: 301
    [    0.000892] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000903] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001514] CPU: Testing write buffer coherency: ok
    [    0.001723] /cpus/cpu@0 missing clock-frequency property
    [    0.001740] /cpus/cpu@1 missing clock-frequency property
    [    0.001751] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001767] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080081] EFI services will not be available.
    [    0.170332] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170418] Brought up 2 CPUs
    [    0.170431] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170438] CPU: All CPU(s) started in HYP mode.
    [    0.170444] CPU: Virtualization extensions available.
    [    0.170953] devtmpfs: initialized
    [    0.197224] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.197450] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.197466] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.200834] pinctrl core: initialized pinctrl subsystem
    [    0.201623] NET: Registered protocol family 16
    [    0.202480] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.203435] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.313582] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440388] cpuidle: using governor ladder
    [    0.470414] cpuidle: using governor menu
    [    0.479613] OMAP GPIO hardware version 0.1
    [    0.494025] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.520634] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.520644] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.520985] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.520995] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521521] OMAP DMA hardware revision 0.0
    [    0.571561] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572814] edma 43300000.edma: memcpy is disabled
    [    0.577612] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.581534] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.581709] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.581863] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582009] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582267] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.582447] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585210] palmas 0-0058: IRQ missing: skipping irq request
    [    0.610938] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.614886] vtt_fixed: supplied by smps3
    [    0.662950] random: fast init done
    [    0.691941] vdd_3v3: supplied by regen1
    [    0.692180] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.694340] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.694731] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.694898] media: Linux media interface: v0.10
    [    0.694944] Linux video capture interface: v2.00
    [    0.694982] pps_core: LinuxPPS API ver. 1 registered
    [    0.694991] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.695010] PTP clock support registered
    [    0.695042] EDAC MC: Ver: 3.0.0
    [    0.695734] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.696015] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.696294] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.696574] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.696899] Advanced Linux Sound Architecture Driver Initialized.
    [    0.697702] clocksource: Switched to clocksource arch_sys_counter
    [    0.707999] NET: Registered protocol family 2
    [    0.708492] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.708556] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.708681] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.708727] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.708758] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.708885] NET: Registered protocol family 1
    [    0.709256] RPC: Registered named UNIX socket transport module.
    [    0.709266] RPC: Registered udp transport module.
    [    0.709273] RPC: Registered tcp transport module.
    [    0.709280] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.710178] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.713056] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.720534] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.721252] NFS: Registering the id_resolver key type
    [    0.721273] Key type id_resolver registered
    [    0.721281] Key type id_legacy registered
    [    0.721320] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.722500] bounce: pool size: 64 pages
    [    0.722644] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.722654] io scheduler noop registered
    [    0.722662] io scheduler deadline registered
    [    0.722797] io scheduler cfq registered (default)
    [    0.727128] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.727639] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.789207] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.792507] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
    [    1.655310] console [ttyS0] enabled
    [    1.659710] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
    [    1.669437] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.680051] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    1.686798] [drm] Initialized
    [    1.691668] OMAP DSS rev 6.1
    [    1.695014] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.703458] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    1.723601] brd: module loaded
    [    1.731850] loop: module loaded
    [    1.739096] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
    [    1.745882] libphy: Fixed MDIO Bus: probed
    [    1.807728] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.813851] libphy: 48485000.mdio: probed
    [    1.821940] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83867
    [    1.830282] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver TI DP83867
    [    1.839193] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:b2:6d:9a
    [    1.845841] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.854164] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:b2:6d:9b
    [    1.862564] mousedev: PS/2 mouse device common for all mice
    [    1.868496] i2c /dev entries driver
    [    1.875974] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [    1.884304] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.889192] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.895665] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.902072] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.908470] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.914852] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.988386] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.999885] NET: Registered protocol family 10
    [    2.015232] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.021815] NET: Registered protocol family 17
    [    2.026466] Key type dns_resolver registered
    [    2.030892] omap_voltage_late_init: Voltage driver support not added
    [    2.037368] Power Management for TI OMAP4+ devices.
    [    2.042527] Registering SWP/SWPB emulation handler
    [    2.060001] dmm 4e000000.dmm: initialized all PAT entries
    [    2.066926] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.073590] [drm] No driver support for vblank timestamp query.
    [    2.166521] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.177637] mmc0: new high speed SDHC card at address aaaa
    [    2.183607] mmcblk0: mmc0:aaaa SL32G 29.7 GiB 
    [    2.189352]  mmcblk0: p1 p2
    [    2.342790] [drm] Enabling DMM ywrap scrolling
    [    2.368243] Console: switching to colour frame buffer device 100x37
    [    2.377975] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.419159] hctosys: unable to open rtc device (rtc0)
    [    2.425011] ldousb: disabling
    [    2.428328] ALSA device list:
    [    2.431307]   No soundcards found.
    [    3.043378] EXT4-fs (mmcblk0p2): recovery complete
    [    3.050077] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.058258] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.067740] devtmpfs: mounted
    [    3.072004] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    3.354871] systemd[1]: System time before build time, advancing clock.
    [    3.421376] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.439850] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.05!
    
    [    3.478545] systemd[1]: Set hostname to <am57xx-evm>.
    [    3.830903] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.838741] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.846441] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.853923] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.863413] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    3.910387] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.938044] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice System Slice.
             Starting Remount Root and Kernel File Systems...
    [    4.206516] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Reached target Slices.
             Starting Load Kernel Modules...
    [    4.267338] cmemk: loading out-of-tree module taints kernel.
    [    4.273876] CMEMK module: reference Linux version 4.9.28
    [  OK  ] Created slice system-getty.slice.
    [    4.281310] allocated heap buffer 0x40500000 of size 0x100000
    [    4.291178] cmemk initialized
    [    4.301205] cryptodev: driver 1.8 loaded.
             Starting Create list of required st... nodes for the current kernel...
             Mounting Debug File System...
             Mounting POSIX Message Queue File System...
             Starting Setup Virtual Console...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory...
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
             Starting Create Static Device Nodes in /dev...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [    5.381385] systemd-journald[122]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    5.747600] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    5.824352] remoteproc remoteproc0: 58820000.ipu is available
    [  OK  ] Started udev Coldplug all Devices.
    [    5.854135] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [  OK  ] Started Network Time Synchronization.
    [    5.923571] remoteproc remoteproc1: 55020000.ipu is available
    [    5.940351] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [  OK  ] Found device /dev/ttyS2.
    [    5.971058] remoteproc remoteproc2: 40800000.dsp is available
             Starting Synchronize System and HW clocks...
    [    6.038580] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [  OK  ] Reached target System Time Synchronized.
    [    6.083308] remoteproc remoteproc3: 41000000.dsp is available
    [  OK  ] Found device /dev/ttyS0.
    [    6.232057] rtc-ds1307 0-006f: rtc core: registered mcp7941x as rtc0
    [    6.250930] rtc-ds1307 0-006f: 64 bytes nvram
    [    6.380506] remoteproc remoteproc1: powering up 55020000.ipu
    [    6.386355] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [    6.407827] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    6.484677] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.490576] remoteproc remoteproc0: powering up 58820000.ipu
    [    6.490590] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [    6.490700] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    6.492490] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    6.493423] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [    6.545750] remoteproc remoteproc1: registered virtio0 (type 7)
    [    6.553953] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [    6.562404] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.564070] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [    6.564241] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [    6.564385] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [    6.564529] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    6.607542] remoteproc remoteproc0: registered virtio1 (type 7)
    [    6.615177] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [    6.676550] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    6.686390] omap-des 480a5000.des: will run requests pump with realtime priority
    [    6.729102] SCSI subsystem initialized
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    6.815883] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [    6.848807] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Listening on dropbear.socket.
    [    6.882606] CAN device driver interface
    [    6.891116] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    6.893175] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    6.893946] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    6.894633] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting uim-sysfs.service...
    [    7.008197] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    7.014963] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    7.024145] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
             Starting Print notice about GPLv3 packages...
    [    7.049457] scsi host0: ahci
    [    7.052683] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 345
             Starting TI MultiCore Tools Daemon...
    [    7.100416] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [    7.201521] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    7.207666] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    7.247999] vpe 489d0000.vpe: Device registered as /dev/video0
    [    7.301284] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=356)
    [    7.389823] ata1: SATA link down (SStatus 0 SControl 300)
    [    7.529363] asoc-simple-card sound@0: cannot find the slot for index 0 (range 0-0), error: -16
    [    7.548390] asoc-simple-card sound@0: ASoC: can't create sound card for card BeagleBoard-X15: -16
    [    7.574209] asoc-simple-card: probe of sound@0 failed with error -16
    [    7.638427] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    7.650230] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    7.667752] vip 48970000.vip: VPDMA firmware loaded
    [    7.677929] vip 48990000.vip: VPDMA firmware loaded
    [    8.595959] remoteproc remoteproc2: powering up 40800000.dsp
    [    8.601952] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [    8.629274] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [    8.635179] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    8.641158] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    8.655081] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc1
    [    8.725513] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    8.726509] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    8.771179] remoteproc remoteproc2: registered virtio2 (type 7)
    [    8.782114] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [    9.256260] remoteproc remoteproc3: powering up 41000000.dsp
    [    9.262065] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [    9.277061] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    9.282965] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    9.288924] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    9.324716] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    9.325484] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [    9.346811] remoteproc remoteproc3: registered virtio3 (type 7)
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Kernel Logging Service.
             Starting Network Service...
    [  OK  ] Starte[    9.363799] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    d Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Telephony service...
             Starting Save/Restore Sound Card State...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started uim-sysfs.service.
    [  OK  ] Started TI MultiCore Tools Daemon.
    [  OK  ] Started Network Service.
    [    9.549315] net eth1: initializing cpsw version 1.15 (0)
    [    9.567481] net eth0: initialized cpsw ale version 1.4
    [    9.587612] net eth0: ALE Table size 1024
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Network Name Resolution...
    [    9.695830] TI DP83867 48485000.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
             Starting rc.pvr.service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Login Service.
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [    9.810632] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [    9.857153] net eth0: initializing cpsw version 1.15 (0)
    [    9.931983] Bluetooth: Core ver 2.22
    [    9.956703] NET: Registered protocol family 31
    [    9.956836] TI DP83867 48485000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:00, irq=-1)
    [    9.980428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Network Name Re[   10.039205] Bluetooth: HCI device and connection manager initialized
    solution.
    [   10.051720] Bluetooth: HCI socket layer initialized
    [   10.063953] Bluetooth: L2CAP socket layer initialized
    [   10.079590] Bluetooth: SCO socket layer initialized
    [   10.223710] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   10.450711] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   10.478983] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.576725] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   10.585574] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   10.608440] NET: Registered protocol family 43
    [  OK  ] Started rc.pvr.service.
    [   10.697926] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   10.707594] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   10.727004] NET: Registered protocol family 15
    [   10.745581] usbcore: registered new interface driver usbfs
    [   10.745652] usbcore: registered new interface driver hub
    [   10.746700] usbcore: registered new device driver usb
    [   10.794634] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   10.794660] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   10.795336] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   10.795400] xhci-hcd xhci-hcd.1.auto: irq 441, io mem 0x48890000
    [   10.805417] hub 1-0:1.0: USB hub found
    [   10.805459] hub 1-0:1.0: 1 port detected
    [   10.805847] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   10.805870] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   10.805975] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   10.809414] hub 2-0:1.0: USB hub found
    [   10.809450] hub 2-0:1.0: 1 port detected
    [   10.809949] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   10.809972] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
    [   10.856123] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   10.856185] xhci-hcd xhci-hcd.2.auto: irq 442, io mem 0x488d0000
    [   10.857059] hub 3-0:1.0: USB hub found
    [   10.857095] hub 3-0:1.0: 1 port detected
    [   10.857535] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   10.857551] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
    [   10.857641] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [   10.860875] hub 4-0:1.0: USB hub found
    [   10.860907] hub 4-0:1.0: 1 port detected
    [   11.066113] Initializing XFRM netlink socket
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   11.158375] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   11.159740] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   11.207765] usb 3-1: new high-speed USB device number 2 using xhci-hcd
    [   11.382463] hub 1-1:1.0: USB hub found
    [   11.386614] hub 1-1:1.0: 4 ports detected
    [  OK  ] Reached target Sound Card.
             Starting weston.service...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [   11.727803] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [   12.024384] random: crng init done
    [  OK  ] Started rng-tools.service.
             Starting SYSV: The kdump script provides the support:...
    [   12.056925] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [FAILED] Failed to start SYSV: The kdump script provides the support:.
    See 'systemctl status kdump.service' for details.
             Starting gdbserverproxy.service...
    [   12.106106] uvcvideo 1-1.1:1.0: Entity type for entity Extension 3 was not initialized!
    [   12.116398] uvcvideo 1-1.1:1.0: Entity type for entity Processing 2 was not initialized!
    [   12.125040] uvcvideo 1-1.1:1.0: Entity type for entity Camera 1 was not initialized!
    [   12.135655] input: USB 2.0 Camera as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
    [   12.152004] usbcore: registered new interface driver uvcvideo
    [   12.158670] USB Video Class driver (1.1.1)
    [   12.287766] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
    [   12.536947] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [   12.586612] uvcvideo 1-1.2:1.0: Entity type for entity Extension 3 was not initialized!
    [   12.601585] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
    [   12.615075] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
    [   12.624237] input: USB 2.0 Camera as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input1
    [   13.407747] usb 1-1.3: new low-speed USB device number 7 using xhci-hcd
    [   13.646699] input: HID 04f3:0103 as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/0003:04F3:0103.0001/input/input2
    [   13.668912] hid-generic 0003:04F3:0103.0001: input: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-xhci-hcd.1.auto-1.3/input0
    [   13.689372] input: HID 04f3:0103 as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/0003:04F3:0103.0002/input/input3
    [   13.709010] hid-generic 0003:04F3:0103.0002: input: USB HID v1.10 Device [HID 04f3:0103] on usb-xhci-hcd.1.auto-1.3/input1
    [   13.724187] usbcore: registered new interface driver usbhid
    [   13.729960] usbhid: USB HID core driver
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	binutils-dev
    	binutils
    	bison-dev
    	bison
    	cpp-symlinks
    	cpp
    	dosfstools
    	g++-symlinks
    	g++
    	gawk-dev
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbc6x
    	gdbserver
    	gstreamer1.0-libav
    	hidapi
    	libcairo-perf-utils
    	libgmp10
    	libidn11
    	libmpc3
    	libmpfr4
    	libreadline-dev
    	libreadline6
    	m4-dev
    	m4
    	make
    	nettle
    	parted
    	swig-dev
    	swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm ttyS0
    
    Arago 2017.05 am57xx-evm ttyS0
    
    am57xx-evm login: [   19.045105] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   19.059021] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   20.325090] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   20.338834] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    root
    root@am57xx-evm:~# echo 3 ?   > /sys/class/video4linux/video1
    video1/  video10/ video11/ 
    root@am57xx-evm:~# echo 3 > /sys/class/video4linux/video1/dev_debug 
    root@am57xx-evm:~# echo 3 > /sys/class/video4linux/video1/dev_debug                                    module/vids\  eobuf2_core/parameters/debug 
    root@am57xx-evm:~# echo 3 > /sys/module/videobuf2_core/parameters/debug                                 ti_vip/parameters/debug 
    root@am57xx-evm:~# 
    root@am57xx-evm:~# dmabuftest -s 32:640x480 -d /dev/video1 -c 640x480@YUYV
    Opening Display..
    using 1 connectors, 640x480 display, multiplanar: 1
    Opening V4L2..
    [ 2328.518769] vb2-core: __vb2_queue_alloc: allocated 6 buffers, 1 plane(s) each
    Exported buffer fd = 6
    [ 2328.526406] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    
    Exported buffer fd = 8
    
    Exported buffer fd = 10
    
    Exported [ 2328.534968] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    buffer fd = 12
    
    Exported buffer fd = 14
    
    Exported buffer fd [ 2328.546323] vb2-core: __buf_prepare: buffer preparation failed: -14
    = 16
    
    [ 2328.558318] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2328.564607] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [ 2328.576250] vb2-core: __buf_prepare: buffer preparation failed: -14
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2328.582619] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 2328.593734] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [ 2328.600264] vb2-core: __buf_prepare: buffer preparation failed: -14
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2328.606583] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 2328.617727] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [ 2328.624196] vb2-core: __buf_prepare: buffer preparation failed: -14
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2328.630545] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 2328.641665] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [ 2328.648162] vb2-core: __buf_prepare: buffer preparation failed: -14
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2328.654482] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 2328.665618] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [ 2328.672112] vb2-core: __buf_prepare: buffer preparation failed: -14
    ERROR:v4l2_qbuf:457: VIDIOC_QBUF failed: Bad address (-1)
    [ 2329.317579] vb2-core: vb2_core_streamon: successful
    [ 2329.322536] vb2-core: __vb2_wait_for_done_vb: will sleep waiting for buffers
    ^C[ 2340.595766] vb2-core: __vb2_wait_for_done_vb: sleep was interrupted
    
    root@am57xx-evm:~# 
    dmesg|grep video
    [    0.694944] Linux video capture interface: v2.00
    [    7.247999] vpe 489d0000.vpe: Device registered as /dev/video0
    [   12.056925] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [   12.106106] uvcvideo 1-1.1:1.0: Entity type for entity Extension 3 was not initialized!
    [   12.116398] uvcvideo 1-1.1:1.0: Entity type for entity Processing 2 was not initialized!
    [   12.125040] uvcvideo 1-1.1:1.0: Entity type for entity Camera 1 was not initialized!
    [   12.152004] usbcore: registered new interface driver uvcvideo
    [   12.536947] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [   12.586612] uvcvideo 1-1.2:1.0: Entity type for entity Extension 3 was not initialized!
    [   12.601585] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
    [   12.615075] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
    [ 2328.459301] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=YUYV, field=none, bytesperline=1280, sizeimage=614400, colorspace=8, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [ 2328.518254] video1: VIDIOC_S_FMT: type=vid-cap, width=640, height=480, pixelformat=YUYV, field=none, bytesperline=1280, sizeimage=614400, colorspace=8, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [ 2328.525940] video1: VIDIOC_REQBUFS: count=6, type=vid-cap, memory=dmabuf
    [ 2328.526042] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2328.526107] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2328.526169] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2328.526230] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=3, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2328.526288] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=4, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2328.526347] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=5, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [ 2329.322512] video1: VIDIOC_STREAMON: type=vid-cap
    root@am57xx-evm:~#               
    Hi, Manisha,

    Please give me some advices by my logs, thanks.

  • Are you using usb based camera?

    Also, please share entire dmesg log.
  • Yes, I am using USB camera with uvc driver.

    dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (root@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #12 SMP PREEMPT Thu Sep 7 14:08:40 CST 2017
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: SEED DBS5728
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 474368
    [    0.000000] free_area_init_node: node 0, pgdat c104bc00, node_mem_map eeda2000
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 326912 pages, LIFO batch:31
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 13 pages/cpu @eed37000 s22092 r8192 d22964 u53248
    [    0.000000] pcpu-alloc: s22092 r8192 d22964 u53248 alloc=13*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=50e41a45-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1675696K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33360K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0a00000   (10208 kB)
                         .init : 0xc0e00000 - 0xc1000000   (2048 kB)
                         .data : 0xc1000000 - 0xc104e860   ( 315 kB)
                          .bss : 0xc1050000 - 0xc109a130   ( 297 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000017] Switching to timer-based delay loop, resolution 162ns
    [    0.000326] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000334] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000722] Console: colour dummy device 80x30
    [    0.000739] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000746] This ensures that you still see kernel messages. Please
    [    0.000753] update your kernel commandline.
    [    0.000770] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000783] pid_max: default: 32768 minimum: 301
    [    0.000884] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000895] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001502] CPU: Testing write buffer coherency: ok
    [    0.001712] /cpus/cpu@0 missing clock-frequency property
    [    0.001728] /cpus/cpu@1 missing clock-frequency property
    [    0.001740] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001757] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080079] EFI services will not be available.
    [    0.170334] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170420] Brought up 2 CPUs
    [    0.170434] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170441] CPU: All CPU(s) started in HYP mode.
    [    0.170447] CPU: Virtualization extensions available.
    [    0.170951] devtmpfs: initialized
    [    0.197266] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.197491] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.197508] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.200890] pinctrl core: initialized pinctrl subsystem
    [    0.201689] NET: Registered protocol family 16
    [    0.202550] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.203501] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.313349] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440390] cpuidle: using governor ladder
    [    0.470418] cpuidle: using governor menu
    [    0.477949] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478186] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.479626] OMAP GPIO hardware version 0.1
    [    0.480284] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.480539] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482297] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.482508] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484313] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.484522] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486320] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.486522] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488280] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.488482] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490262] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.490488] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492310] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.492523] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494054] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.520674] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.520685] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521023] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521033] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521560] OMAP DMA hardware revision 0.0
    [    0.571528] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572788] edma 43300000.edma: memcpy is disabled
    [    0.577567] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.577931] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.578197] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.578524] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vtt[0]'
    [    0.581505] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.581681] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.581835] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.581982] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582239] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.582419] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585196] palmas 0-0058: IRQ missing: skipping irq request
    [    0.610946] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.614848] vtt_fixed: supplied by smps3
    [    0.663066] random: fast init done
    [    0.691947] vdd_3v3: supplied by regen1
    [    0.692173] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.694323] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.694711] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.694879] media: Linux media interface: v0.10
    [    0.694924] Linux video capture interface: v2.00
    [    0.694964] pps_core: LinuxPPS API ver. 1 registered
    [    0.694972] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.694992] PTP clock support registered
    [    0.695022] EDAC MC: Ver: 3.0.0
    [    0.695717] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.695997] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.696280] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.696560] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.696886] Advanced Linux Sound Architecture Driver Initialized.
    [    0.697696] clocksource: Switched to clocksource arch_sys_counter
    [    0.707975] NET: Registered protocol family 2
    [    0.708472] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.708535] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.708661] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.708706] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.708737] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.708866] NET: Registered protocol family 1
    [    0.709217] RPC: Registered named UNIX socket transport module.
    [    0.709227] RPC: Registered udp transport module.
    [    0.709234] RPC: Registered tcp transport module.
    [    0.709241] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.709250] PCI: CLS 0 bytes, default 64
    [    0.710138] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.713039] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.720558] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.721280] NFS: Registering the id_resolver key type
    [    0.721301] Key type id_resolver registered
    [    0.721309] Key type id_legacy registered
    [    0.721347] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.722529] bounce: pool size: 64 pages
    [    0.722672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.722682] io scheduler noop registered
    [    0.722691] io scheduler deadline registered
    [    0.722824] io scheduler cfq registered (default)
    [    0.727161] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.727671] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.789169] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.792455] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
    [    1.655283] console [ttyS0] enabled
    [    1.659705] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
    [    1.669425] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.680035] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    1.686780] [drm] Initialized
    [    1.691627] OMAP DSS rev 6.1
    [    1.694976] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    1.703422] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    1.712215] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    1.712223] tpd12s015 encoder: using device tree for GPIO lookup
    [    1.712249] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    1.712281] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    1.712288] tpd12s015 encoder: using device tree for GPIO lookup
    [    1.712323] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    1.712335] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    1.712341] tpd12s015 encoder: using device tree for GPIO lookup
    [    1.712388] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    1.713004] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector@1[0]'
    [    1.723569] brd: module loaded
    [    1.731831] loop: module loaded
    [    1.739092] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
    [    1.745875] libphy: Fixed MDIO Bus: probed
    [    1.807722] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.813847] libphy: 48485000.mdio: probed
    [    1.821986] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver TI DP83867
    [    1.830330] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver TI DP83867
    [    1.839245] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:b2:6d:9a
    [    1.845892] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.854218] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:b2:6d:9b
    [    1.862615] mousedev: PS/2 mouse device common for all mice
    [    1.868543] i2c /dev entries driver
    [    1.876010] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [    1.884277] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    1.884284] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    1.884311] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    1.884347] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.889023] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    1.889030] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    1.889038] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    1.889046] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    1.889052] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    1.889059] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    1.889238] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.895712] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.902120] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.908521] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.914903] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.988383] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.999884] NET: Registered protocol family 10
    [    2.015238] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.021818] NET: Registered protocol family 17
    [    2.026477] Key type dns_resolver registered
    [    2.030898] omap_voltage_late_init: Voltage driver support not added
    [    2.037375] Power Management for TI OMAP4+ devices.
    [    2.042529] Registering SWP/SWPB emulation handler
    [    2.060159] dmm 4e000000.dmm: initialized all PAT entries
    [    2.067091] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.073754] [drm] No driver support for vblank timestamp query.
    [    2.166495] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.178374] mmc0: new high speed SDHC card at address aaaa
    [    2.184353] mmcblk0: mmc0:aaaa SL32G 29.7 GiB 
    [    2.190105]  mmcblk0: p1 p2
    [    2.342765] [drm] Enabling DMM ywrap scrolling
    [    2.368175] Console: switching to colour frame buffer device 100x37
    [    2.377850] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.419152] hctosys: unable to open rtc device (rtc0)
    [    2.425008] ldousb: disabling
    [    2.428322] ALSA device list:
    [    2.431302]   No soundcards found.
    [    2.947997] EXT4-fs (mmcblk0p2): recovery complete
    [    2.954570] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.962745] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.972528] devtmpfs: mounted
    [    2.976782] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    3.260772] systemd[1]: System time before build time, advancing clock.
    [    3.326127] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.344636] systemd[1]: Detected architecture arm.
    [    3.378522] systemd[1]: Set hostname to <am57xx-evm>.
    [    3.751650] systemd[1]: sockets.target: Found ordering cycle on sockets.target/start
    [    3.759466] systemd[1]: sockets.target: Found dependency on rpcbind.socket/start
    [    3.766903] systemd[1]: sockets.target: Found dependency on sysinit.target/start
    [    3.774382] systemd[1]: sockets.target: Found dependency on alignment.service/start
    [    3.782098] systemd[1]: sockets.target: Found dependency on basic.target/start
    [    3.789399] systemd[1]: sockets.target: Found dependency on sockets.target/start
    [    3.796832] systemd[1]: sockets.target: Breaking ordering cycle by deleting job rpcbind.socket/start
    [    4.286892] cmemk: loading out-of-tree module taints kernel.
    [    4.293416] CMEMK module: reference Linux version 4.9.28
    [    4.302760] allocated heap buffer 0x40500000 of size 0x100000
    [    4.314218] cmemk initialized
    [    4.325175] cryptodev: driver 1.8 loaded.
    [    4.412735] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    5.148246] systemd-journald[122]: Received request to flush runtime journal from PID 1
    [    5.731351] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    5.778129] remoteproc remoteproc0: 58820000.ipu is available
    [    5.798034] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    5.855515] remoteproc remoteproc1: 55020000.ipu is available
    [    5.893365] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    5.938616] remoteproc remoteproc2: 40800000.dsp is available
    [    5.974556] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    6.015135] remoteproc remoteproc3: 41000000.dsp is available
    [    6.165451] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [    6.372589] remoteproc remoteproc1: powering up 55020000.ipu
    [    6.378378] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [    6.387484] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    6.423676] rtc rtc0: 48838000.rtc: dev (253:0)
    [    6.423701] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
    [    6.510700] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.517009] remoteproc remoteproc1: registered virtio0 (type 7)
    [    6.517321] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    6.518208] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [    6.533999] remoteproc remoteproc0: powering up 58820000.ipu
    [    6.534011] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [    6.534119] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    6.567305] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [    6.579901] rtc-ds1307 0-006f: read: 85 02 00 2a 01 01 01
    [    6.579913] rtc-ds1307 0-006f: read secs=5, mins=2, hours=0, mday=1, mon=0, year=101, wday=1
    [    6.579932] rtc-ds1307 0-006f: /aliases ID 0 not available
    [    6.595746] rtc-ds1307 0-006f: read: 85 02 00 2a 01 01 01
    [    6.595767] rtc-ds1307 0-006f: read secs=5, mins=2, hours=0, mday=1, mon=0, year=101, wday=1
    [    6.596903] rtc-ds1307 0-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [    6.597133] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.604196] rtc-ds1307 0-006f: read: 85 02 00 2a 01 01 01
    [    6.604205] rtc-ds1307 0-006f: read secs=5, mins=2, hours=0, mday=1, mon=0, year=101, wday=1
    [    6.604212] rtc rtc1: alarm rollover: year
    [    6.604808] rtc-ds1307 0-006f: read: 85 02 00 2a 01 01 01
    [    6.604816] rtc-ds1307 0-006f: read secs=5, mins=2, hours=0, mday=1, mon=0, year=101, wday=1
    [    6.605032] rtc rtc1: mcp7941x: dev (253:1)
    [    6.605045] rtc-ds1307 0-006f: rtc core: registered mcp7941x as rtc1
    [    6.605371] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [    6.621817] remoteproc remoteproc0: registered virtio1 (type 7)
    [    6.627974] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [    6.636797] rtc-ds1307 0-006f: got IRQ 439
    [    6.636821] rtc-ds1307 0-006f: 64 bytes nvram
    [    6.643291] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [    6.643437] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [    6.643569] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    6.655529] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    6.793397] vpe 489d0000.vpe: Device registered as /dev/video0
    [    6.938739] CAN device driver interface
    [    6.973711] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.055819] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=356)
    [    7.087319] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    7.095344] omap-des 480a5000.des: will run requests pump with realtime priority
    [    7.108387] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    7.150367] SCSI subsystem initialized
    [    7.155710] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    7.157148] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    7.164543] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    7.194156] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    7.202662] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    7.211048] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer id
    [    7.211054] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [    7.211062] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb1[0]'
    [    7.211104] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb1[0]' - status (0)
    [    7.211119] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer vbus
    [    7.211124] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [    7.211130] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/extcon_usb1[0]'
    [    7.211135] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/extcon_usb1[0]'
    [    7.211140] extcon-usb-gpio extcon_usb1: using lookup tables for GPIO lookup
    [    7.211145] extcon-usb-gpio extcon_usb1: lookup for GPIO vbus failed
    [    7.212656] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer id
    [    7.212662] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [    7.212669] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb2[0]'
    [    7.212709] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb2[0]' - status (0)
    [    7.212720] extcon-usb-gpio extcon_usb2: GPIO lookup for consumer vbus
    [    7.212724] extcon-usb-gpio extcon_usb2: using device tree for GPIO lookup
    [    7.212730] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/extcon_usb2[0]'
    [    7.212734] of_get_named_gpiod_flags: can't parse 'vbus-gpio' property of node '/extcon_usb2[0]'
    [    7.212738] extcon-usb-gpio extcon_usb2: using lookup tables for GPIO lookup
    [    7.212743] extcon-usb-gpio extcon_usb2: lookup for GPIO vbus failed
    [    7.284284] libata version 3.00 loaded.
    [    7.604350] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    7.615126] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    7.627778] vip 48970000.vip: VPDMA firmware loaded
    [    7.637789] vip 48990000.vip: VPDMA firmware loaded
    [    7.651359] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    7.658178] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    7.666748] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    7.692981] scsi host0: ahci
    [    7.696218] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 345
    [    7.767440] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    7.939363] asoc-simple-card sound@0: cannot find the slot for index 0 (range 0-0), error: -16
    [    7.952625] asoc-simple-card sound@0: ASoC: can't create sound card for card BeagleBoard-X15: -16
    [    7.952655] asoc-simple-card: probe of sound@0 failed with error -16
    [    8.081306] ata1: SATA link down (SStatus 0 SControl 300)
    [    8.444741] net eth1: initializing cpsw version 1.15 (0)
    [    8.477079] net eth0: initialized cpsw ale version 1.4
    [    8.477091] net eth0: ALE Table size 1024
    [    8.558048] TI DP83867 48485000.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [    8.621060] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    8.655315] net eth0: initializing cpsw version 1.15 (0)
    [    8.759847] Bluetooth: Core ver 2.22
    [    8.763496] NET: Registered protocol family 31
    [    8.785932] TI DP83867 48485000.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:00, irq=-1)
    [    8.813701] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    8.865522] Bluetooth: HCI device and connection manager initialized
    [    8.895087] Bluetooth: HCI socket layer initialized
    [    8.948743] Bluetooth: L2CAP socket layer initialized
    [    8.957589] Bluetooth: SCO socket layer initialized
    [    9.087197] remoteproc remoteproc3: powering up 41000000.dsp
    [    9.104042] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [    9.156472] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    9.162381] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    9.168345] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    9.320840] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    9.321676] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    9.367761] remoteproc remoteproc3: registered virtio2 (type 7)
    [    9.373717] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [    9.959339] NET: Registered protocol family 43
    [    9.965279] remoteproc remoteproc2: powering up 40800000.dsp
    [    9.973056] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   10.001056] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   10.006971] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   10.012935] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   10.035201] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   10.062268] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   10.071261] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   10.083341] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   10.083366] remoteproc remoteproc2: registered virtio3 (type 7)
    [   10.083372] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   10.083425] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   10.178606] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   10.178869] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   10.220813] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   10.270412] usbcore: registered new interface driver usbfs
    [   10.283447] usbcore: registered new interface driver hub
    [   10.300243] usbcore: registered new device driver usb
    [   10.334027] NET: Registered protocol family 15
    [   10.341833] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   10.353080] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   10.380278] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   10.404048] xhci-hcd xhci-hcd.1.auto: irq 441, io mem 0x48890000
    [   10.420202] hub 1-0:1.0: USB hub found
    [   10.430929] hub 1-0:1.0: 1 port detected
    [   10.442771] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   10.453849] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   10.476115] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   10.485637] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.534625] hub 2-0:1.0: USB hub found
    [   10.548947] hub 2-0:1.0: 1 port detected
    [   10.562940] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   10.580511] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
    [   10.608825] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   10.636058] xhci-hcd xhci-hcd.2.auto: irq 442, io mem 0x488d0000
    [   10.661433] hub 3-0:1.0: USB hub found
    [   10.674684] hub 3-0:1.0: 1 port detected
    [   10.686956] Initializing XFRM netlink socket
    [   10.707638] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   10.734138] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
    [   10.760662] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [   10.794630] hub 4-0:1.0: USB hub found
    [   10.799931] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   10.814529] hub 4-0:1.0: 1 port detected
    [   10.988621] hub 1-1:1.0: USB hub found
    [   10.992762] hub 1-1:1.0: 4 ports detected
    [   11.057761] usb 3-1: new high-speed USB device number 2 using xhci-hcd
    [   11.337739] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
    [   11.676413] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [   11.697746] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
    [   11.715584] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   11.737810] uvcvideo 1-1.1:1.0: Entity type for entity Extension 3 was not initialized!
    [   11.745898] uvcvideo 1-1.1:1.0: Entity type for entity Processing 2 was not initialized!
    [   11.754742] uvcvideo 1-1.1:1.0: Entity type for entity Camera 1 was not initialized!
    [   11.763200] input: USB 2.0 Camera as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
    [   11.777527] usbcore: registered new interface driver uvcvideo
    [   11.783403] USB Video Class driver (1.1.1)
    [   11.951095] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05a3:9230)
    [   12.000049] uvcvideo 1-1.2:1.0: Entity type for entity Extension 3 was not initialized!
    [   12.008794] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
    [   12.017153] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
    [   12.026530] input: USB 2.0 Camera as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input1
    [   12.141393] random: crng init done
    [   12.817755] usb 1-1.3: new low-speed USB device number 7 using xhci-hcd
    [   13.083457] input: HID 04f3:0103 as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/0003:04F3:0103.0001/input/input2
    [   13.102259] hid-generic 0003:04F3:0103.0001: input: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-xhci-hcd.1.auto-1.3/input0
    [   13.120821] input: HID 04f3:0103 as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.3/1-1.3:1.1/0003:04F3:0103.0002/input/input3
    [   13.137199] hid-generic 0003:04F3:0103.0002: input: USB HID v1.10 Device [HID 04f3:0103] on usb-xhci-hcd.1.auto-1.3/input1
    [   13.148972] usbcore: registered new interface driver usbhid
    [   13.154979] usbhid: USB HID core driver
    [   20.325522] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   20.339300] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   20.352829] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   20.366469] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [  129.990310] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=YUYV, field=none, bytesperline=1280, sizeimage=614400, colorspace=8, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  130.049194] video1: VIDIOC_S_FMT: type=vid-cap, width=640, height=480, pixelformat=YUYV, field=none, bytesperline=1280, sizeimage=614400, colorspace=8, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  130.049688] vb2-core: __vb2_queue_alloc: allocated 6 buffers, 1 plane(s) each
    [  130.056857] video1: VIDIOC_REQBUFS: count=6, type=vid-cap, memory=dmabuf
    [  130.056957] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.056985] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057022] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.057048] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057083] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.057108] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057141] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=3, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.057166] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057200] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=4, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.057224] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057258] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=5, type=vid-cap, flags=0x00012000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=614400
    [  130.057282] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  130.057317] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.069445] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.077242] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.089332] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.095624] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.107283] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.113767] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.125130] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.131652] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.138082] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.149523] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.155993] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.163392] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.174320] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.181025] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.187364] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  130.198283] vb2-core: __qbuf_dmabuf: failed to map dmabuf for plane 0
    [  130.204987] vb2-core: __buf_prepare: buffer preparation failed: -14
    [  130.843317] vb2-core: vb2_core_streamon: successful
    [  130.848455] video1: VIDIOC_STREAMON: type=vid-cap
    [  130.848480] vb2-core: __vb2_wait_for_done_vb: will sleep waiting for buffers
    [  136.633823] vb2-core: __vb2_wait_for_done_vb: sleep was interrupted
    root@am57xx-evm:~# 

  • For USB camera, you need to apply usb_capture.txt  patch. VIP interface won't be used for USB camera. 

    Are you having the mt9t111 camera board (as part of the EVM package) connected on the EVM? You are using video1 in dmabuftest. Video1 is VIP based camera board. 

    You can do v4l2-ctl --list-devices and see all the v4l2 devices along with what interface they correspond to. Use the right video device for USB camera in your application. 

  • Hi,manisha
    Thanks for your reply.
    I wonder if there is no input device connected to the board.Does Weston and Matrix-gui will be launched.
    What should I do?
  • Hi,

    You can add 'require-input=false' in '/etc/weston.ini' file.

  • Hi,
    Thanks for your reply.
    I have try your suggestion,but it still not work.
    Here is my /etc/weston.ini :
    [shell]
    locking=false
    animation=zoom
    panel-location=top
    startup-animation=fade
    require-input=false
    [screensaver]
    # Uncomment path to disable screensaver
    #path=@libexecdir@/weston-screensaver
  • Hi,
    My weston.ini is:

    [shell]
    locking=false
    animation=zoom
    panel-location=top
    startup-animation=fade

    [screensaver]
    # Uncomment path to disable screensaver
    #path=@libexecdir@/weston-screensaver

    [core]
    require-input=false
  • Hi,
    I followed your advice,but my kernel is crash.
    My sdk is 4.0.0.4.Do we use the same sdk?
  • Yes, we used the same sdk. I changed the kernel to fit my own board. Maybe there is anything else need to be changed. I can launch matrix-gui without input. However, in my opinion, it is useless if there isn't any input on the board.
  • Thank you,I see
  • If you don't have touch screen, then connect mouse to the board to see Weston working and launching matrix GUI demo.