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.

AM5728: Matrix GUI camera app fails

Guru 10235 points
Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X, TMDSCM572X

Hello, TI Experts,

 

We bought two set of "TMDSEVM572X and TMDSCM572X".

But we cannot  run "camera" App on Matrix GUI on the both two set of "TMDSEVM572X and TMDSCM572X" with PROCESSOR-SDK-LINUX-AM57X 04_00_00_04.

(We cannot find any camera capture image. Black screen is shown on LCD.)

 

And we found related E2E thread as below.

But we cannot solve this problem with the clue of such as " remove the camera module and connect it again"

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/530976?tisearch=e2e-sitesearch&keymatch=am572x%20no%20camera

 

We found some error message of "mt9t11x" in Linux boot log as below;

[   16.468943] mt9t11x 4-003c: input-clock-freq: 32000000

[   16.468948] mt9t11x 4-003c: pixel-clock-freq: 96000000

[   16.536411] mt9t11x 4-003c: Product ID error ffffff87  

 

Do you have same experience?

 

We would appreciate if you tell us how to solve this problem.

 

Best regards,

  • The software team have been notified. They will respond here.
  • Do you see just the black screen or as well see two buttons named "capture" and "exit". If you just see the black screen, then the sensor board is faulty and you will need new sensor board.
  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your help.

     

    Yes.

    I can see two buttons named "capture" and "exit" on the black screen.

     

    And I also checked with "ls /dev/video*".

     - I cannot see /dev/video1.

     

    We would appreciate if you tell us how to solve this problem.

     

    Best regards,

  • Hi, rogerio

    I agreed with your private post.
    And I'm waiting for your replay.

    I would appreciate if you tell me how to solve this problem.

    Best regards,
  • Hi, rogerio

    Thank you for your help.
    Do you have any update?

    I'm looking forward to your replay.

    I would appreciate if you tell us about the progress on this.

    Best regards,
  • PLSDK version 4.04 had known issue (PLSDK-1426) with camera functionality. The bug got introduced in this particular version of PLSDK and wasn't there before. The issue is documented in release notes. The bug is now identified and fixed. Release notes page is updated with details to download the patch.

    Here is the link to release notes page. Search for PLSDK-1426 and you can find the link to download the patch on the right most column of that row.

    processors.wiki.ti.com/.../Processor_SDK_Linux_Release_Notes
  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your help.

    I would like to check it.

     

    Best regards,

  • Matusan,

     What would you like to check? If you are meaning to ask the patch that fixes the camera problem, link to download the patch is embedded in the release notes page that I shared in my post above. 

    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,

    Thank you very much for your kindness.
    I really appreciate your help.

    I downloaded two files from the link.
    git.ti.com/.../a0af4124c35edb2713887f4d3ec14a30844b3f99

    1: vip.patch saved from git.ti.com/.../a0af4124c35edb2713887f4d3ec14a30844b3f99

    2: vip.c saved from git.ti.com/.../vip.c
        (downloaded by clicking the "Raw blob data-tab" on the web-site.) 


    1st: I tried to apply the patch.
    But I found the error as below;

    $> git am vip.patch
    $> fatal: Not a git repository (or any of the parent directories): .git

    2nd: I tried to replace the file vip.c located as below;
    ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/vip.c

    Question:
    Is it OK to replace the vip.c?

    I'm not familiar with git at that time.
    So If it is ok, I would like to replace vip.c and run "make linux".

    Is it work properly?

    Best regards,

  • Hi,

    Thank you very much for your kindness.
    I really appreciate your help.

    I tried both way as below;
     1: apply the patch
     2: replace the file vip.c

    Result:
    1:
      After execute "unshallow-repositories.sh" in the SDK, we have succeeded in "git am vip.patch" operation.
        - But we cannot find any camera capture image on "dual-camera-demo" App on Matrix GUI".
          (We can only see two buttons named "capture" and "exit" on the GREEN screen.)
        - I can see /dev/video1 like below.  
              root@am57xx-evm:~# ls /dev/video*
                                                   /dev/video0 /dev/video1 /dev/video10 /dev/video11

    2:
      The result is same of the above.
      (We can only see two buttons named "capture" and "exit" on the GREEN screen.)

    Question:
       Do you have same experience?

    We would appreciate if you tell us the recommended way of patch update procedure.

    Best regards,

  • Replacing the vip.c file is okay. If you launched "make linux" when command prompt is at ti-proccesor-sdk-linux\am57xx-xxxx directory, then it is okay. Make sure you are using the rebuilt kernel and not the old one. You can do so by checking the time stamp of the kernel printed when running below instruction on the target directory

    #uname -a

    Check this link to install the kernel -
    processors.wiki.ti.com/.../Linux_Kernel_Users_Guide
  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your help.

     

    Yes.

    I did replacing the vip.c file and run "make linux" at ti-proccesor-sdk-linux\am57xx-xxxx directory.

    And I check time stamp with "uname -a" on the EVM as below. (The result looks OK.)

     > Linux am57xx-evm 4.9.28-geed43d1050 #1 SMP PREEMPT Thu Aug 24 15:54:57 JST 2017 armv7l GNU/Linux

     

    But we cannot find any camera capture image on "dual-camera-demo" App on Matrix GUI".

     (We can only see two buttons named "capture" and "exit" on the GREEN screen.)

     

    I also share the command operation summary as below;

     

    1:Replace vip.c (& check diff)

     vip.c was saved from http://git.ti.com/processor-sdk/processor-sdk-linux/blobs/a0af4124c35edb2713887f4d3ec14a30844b3f99/drivers/media/platform/ti-vpe/vip.c

     Host> diff -c ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/vip.c ./vip.c > diff_vip.txt

     Host> rm ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/vip.c

     Host> cp vip.c ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/

     

    2:Build

     Host> cd ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/

     Host> make linux

     

    3:create SD card

     Host> sudo ./bin/create-sdcard.sh

     

    4:replace & copy files to SD card

     Host> sudo rm /media/usr/rootfs/boot/zImage*

     Host> sudo rm /media/usr/rootfs/boot/vmlinux*

     Host> sudo cp ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/arch/arm/boot/zImage /media/usr/rootfs/boot/

     Host> sudo cp ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/vmlinux /media/usr/rootfs/boot/

     Host> sudo cp ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/arch/arm/boot/dts/*.dtb /media/usr/rootfs/boot/

     

    5:EVM boot & check /dev/video1

     root@am57xx-evm:~# ls /dev/video*

      /dev/video0   /dev/video1   /dev/video10  /dev/video11

     

    6:run "uname -a"

     root@am57xx-evm:~# uname -a

     Linux am57xx-evm 4.9.28-geed43d1050 #1 SMP PREEMPT Thu Aug 24 15:54:57 JST 2017 armv7l GNU/Linux

     

     

    Question:

      Do you have same experience?

     

    We would also appreciate if you check the attached files as follows;

      -"diff_vip.txt".

      -"bootlog.txt"

     

    Best regards,

    U-Boot SPL 2017.01-g9fd60700db (Jun 28 2017 - 19:55:57)
    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-g9fd60700db (Jun 28 2017 - 19:55:57 -0400)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM572x EVM Rev A3
    Board: AM572x EVM REV A.30
    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
    
    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:  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 4 ms (139.6 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
    3722224 bytes read in 212 ms (16.7 MiB/s)
    103304 bytes read in 92 ms (1.1 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe3000, end 8ffff387 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (usr@usr-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Thu Aug 24 15:54:57 JST 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: TI AM572x EVM Rev A3
    [    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 @eed34000 s22092 r8192 d22964 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=00092998-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K 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.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000315] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000323] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000734] Console: colour dummy device 80x30
    [    0.000752] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000759] This ensures that you still see kernel messages. Please
    [    0.000765] update your kernel commandline.
    [    0.000782] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000795] pid_max: default: 32768 minimum: 301
    [    0.000895] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000906] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001518] CPU: Testing write buffer coherency: ok
    [    0.001729] /cpus/cpu@0 missing clock-frequency property
    [    0.001746] /cpus/cpu@1 missing clock-frequency property
    [    0.001758] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001774] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080066] EFI services will not be available.
    [    0.170319] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170406] Brought up 2 CPUs
    [    0.170420] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170427] CPU: All CPU(s) started in HYP mode.
    [    0.170434] CPU: Virtualization extensions available.
    [    0.170941] devtmpfs: initialized
    [    0.198219] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198451] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198467] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201832] pinctrl core: initialized pinctrl subsystem
    [    0.202630] NET: Registered protocol family 16
    [    0.203486] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204455] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.313671] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440378] cpuidle: using governor ladder
    [    0.470400] cpuidle: using governor menu
    [    0.480098] OMAP GPIO hardware version 0.1
    [    0.494600] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.521053] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.521063] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521409] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521419] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521951] OMAP DMA hardware revision 0.0
    [    0.571674] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572969] edma 43300000.edma: memcpy is disabled
    [    0.577779] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.582217] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.582388] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.582535] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582683] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582940] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.583112] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585750] palmas 0-0058: Irq flag is 0x00000008
    [    0.613380] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.617179] vtt_fixed: supplied by smps3
    [    0.651347] random: fast init done
    [    0.692496] vdd_3v3: supplied by regen1
    [    0.692715] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.695882] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696374] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.696940] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.697130] media: Linux media interface: v0.10
    [    0.697175] Linux video capture interface: v2.00
    [    0.697209] pps_core: LinuxPPS API ver. 1 registered
    [    0.697217] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.697237] PTP clock support registered
    [    0.697276] EDAC MC: Ver: 3.0.0
    [    0.697964] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.698260] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.698539] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.698819] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.699155] Advanced Linux Sound Architecture Driver Initialized.
    [    0.699966] clocksource: Switched to clocksource arch_sys_counter
    [    0.710688] NET: Registered protocol family 2
    [    0.711186] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.711249] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.711374] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.711419] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711450] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711577] NET: Registered protocol family 1
    [    0.711921] RPC: Registered named UNIX socket transport module.
    [    0.711931] RPC: Registered udp transport module.
    [    0.711938] RPC: Registered tcp transport module.
    [    0.711945] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.712855] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.715763] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.723337] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.724037] NFS: Registering the id_resolver key type
    [    0.724064] Key type id_resolver registered
    [    0.724072] Key type id_legacy registered
    [    0.724114] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.725272] bounce: pool size: 64 pages
    [    0.725417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.725427] io scheduler noop registered
    [    0.725435] io scheduler deadline registered
    [    0.725560] io scheduler cfq registered (default)
    [    0.729930] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.730475] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.733874] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.733887] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.733921] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.733943] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.735340] dra7-pcie 51000000.pcie: phy link never came up
    [    1.735509] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.735522] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.735533] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.735544] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.735917] PCI: bus0: Fast back to back transfers disabled
    [    1.736037] PCI: bus1: Fast back to back transfers enabled
    [    1.736154] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.736170] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.736184] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.736401] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.737434] backlight supply power not found, using dummy regulator
    [    1.799497] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.802902] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.771530] console [ttyS2] enabled
    [    2.775867] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.786614] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.793391] [drm] Initialized
    [    2.798257] OMAP DSS rev 6.1
    [    2.801646] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.809990] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.820047] display supply vcc not found, using dummy regulator
    [    2.997208] brd: module loaded
    [    3.015510] loop: module loaded
    [    3.019225] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    3.028920] libphy: Fixed MDIO Bus: probed
    [    3.089994] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    3.096117] libphy: 48485000.mdio: probed
    [    3.104303] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.114041] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.124266] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:04:b0
    [    3.130953] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.139218] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:04:b1
    [    3.147624] mousedev: PS/2 mouse device common for all mice
    [    3.153558] i2c /dev entries driver
    [    3.159891] gpio-fan gpio_fan: GPIO fan initialized
    [    3.166138] tmp102 0-0048: initialized
    [    3.175042] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.250306] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.256686] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.400868] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.411577] NET: Registered protocol family 10
    [    3.426700] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.433041] NET: Registered protocol family 17
    [    3.437643] Key type dns_resolver registered
    [    3.442035] omap_voltage_late_init: Voltage driver support not added
    [    3.448479] Power Management for TI OMAP4+ devices.
    [    3.453586] Registering SWP/SWPB emulation handler
    [    3.467387] dmm 4e000000.dmm: initialized all PAT entries
    [    3.501031] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.507672] [drm] No driver support for vblank timestamp query.
    [    3.515496] [drm] Enabling DMM ywrap scrolling
    [    3.554219] mmc1: new DDR MMC card at address 0001
    [    3.554563] mmcblk1: mmc1:0001 S10004 3.56 GiB
    [    3.554721] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.554865] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.555340]  mmcblk1: p1 p2 p3
    [    3.568352] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.570146] mmc0: new ultra high speed DDR50 SDHC card at address 0007
    [    3.570414] mmcblk0: mmc0:0007 SD08G 7.42 GiB
    [    3.571212]  mmcblk0: p1 p2
    [    3.588631] Console: switching to colour frame buffer device 100x30
    [    3.643100] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.682404] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.689342] hctosys: unable to open rtc device (rtc0)
    [    3.694992] aic_dvdd_fixed: disabling
    [    3.698671] vmmcwl_fixed: disabling
    [    3.702355] ldousb: disabling
    [    3.705601] ALSA device list:
    [    3.708579]   No soundcards found.
    [    7.095210] EXT4-fs (mmcblk0p2): recovery complete
    [    7.103965] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.112140] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [    7.120300] devtmpfs: mounted
    [    7.124545] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    7.334441] systemd[1]: System time before build time, advancing clock.
    [    7.393652] 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)
    [    7.412139] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.05!
    
    [    7.451317] systemd[1]: Set hostname to <am57xx-evm>.
    [    7.465543] systemd[1]: Initializing machine ID from random generator.
    [    7.804774] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    7.812600] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    7.820312] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    7.827754] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    7.837247] 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
    [    7.882332] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Journal Socket.
             Mounting Debug File System...
             Starting Setup Virtual Console...
             Starting Create Static Device Nodes in /dev...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [    8.545066] cmemk: loading out-of-tree module taints kernel.
    [    8.554521] CMEMK module: reference Linux version 4.9.28
    [    8.561331] allocated heap buffer 0x40500000 of size 0x100000
    [    8.567147] cmemk initialized
             Starting Journal Service...
    [    8.586380] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    8.595948] cryptodev: driver 1.8 loaded.
             Mounting Temporary Directory...
             Mounting POSIX Message Queue File System...
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Rebuild Hardware Database...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
    [    9.309497] systemd-journald[117]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Opkg first boot configure...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
    [  OK  ] Started Network Time Synchronization.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started udev Coldplug all Devices.
    [   12.499606] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [   12.520263] remoteproc remoteproc0: 58820000.ipu is available
    [   12.528468] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [   12.549614] remoteproc remoteproc1: 55020000.ipu is available
    [   12.569746] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [   12.577643] remoteproc remoteproc2: 40800000.dsp is available
    [   12.600306] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [   12.610119] remoteproc remoteproc3: 41000000.dsp is available
    [  OK  ] Found device /dev/ttyS2.
    [   13.083325] remoteproc remoteproc1: powering up 55020000.ipu
    [   13.090682] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [   13.109760] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   13.160832] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [   13.185027] mt9t11x 4-003c: input-clock-freq: 32000000
    [   13.191748] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [   13.224148] mt9t11x 4-003c: mt9t111 chip ID 2680 rev ffffff87
    [   13.231080] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [   13.249225] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   13.260402] remoteproc remoteproc1: registered virtio0 (type 7)
    [   13.267644] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   13.278861] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   13.293328] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   13.354754] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.360968] omap-des 480a5000.des: will run requests pump with realtime priority
    [   13.393632] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   13.450790] vpe 489d0000.vpe: Device registered as /dev/video0
    [   13.484805] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [  OK  ] Started Opkg first boot configure.
    [   14.432157] remoteproc remoteproc0: powering up 58820000.ipu
    [   14.437852] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [   14.446862] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   14.459487] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   14.465069] remoteproc remoteproc0: registered virtio1 (type 7)
    [   14.472618] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   14.473864] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [   14.487908] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.487916] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   14.494582] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.494610] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.494673] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   14.529805] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [   14.541592] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [   14.549859] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [   14.560317] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   14.567502] rtc-ds1307 2-006f: SET TIME!
    [   14.571891] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   14.573862] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [   14.580098] rtc-ds1307 2-006f: 64 bytes nvram
    [   14.586212] remoteproc remoteproc3: powering up 41000000.dsp
    [   14.586223] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [   14.592896] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   14.592930] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   14.593016] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   14.594869] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   14.595772] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   14.626938] SCSI subsystem initialized
    [   14.692970] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   14.703443] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   14.741009] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   14.758719] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   14.772038] vip 48990000.vip: VPDMA firmware loaded
    [   14.777456] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   14.796797] vip2-s0: Port A: Using subdev mt9t11x for capture
    [   14.804941] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   14.805873] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   14.805891] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   14.805897] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [  OK  ] Created slice system-systemd\x2dbacklight.sli[   14.863297] vip2-s0: device registered as video1
    ce.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [   14.900308] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   14.905873] remoteproc remoteproc2: registered virtio2 (type 7)
    [   14.926287] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   14.952317] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   14.995776] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   15.002548] remoteproc remoteproc3: registered virtio3 (type 7)
    [   15.019771] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   15.064291] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [   15.095998] scsi host0: ahci
    [   15.100693] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [   15.227493] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [   15.279896] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   15.299755] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   15.328841] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   15.412822] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   15.464966] ata1: SATA link down (SStatus 0 SControl 300)
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [   16.216235] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   16.232589] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   16.245068] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   16.245417] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   16.254996] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   16.256502] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   16.256543] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   16.302633] NET: Registered protocol family 43
    [   16.359825] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   16.372489] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   16.382608] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   16.392646] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   16.402962] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   16.431568] usbcore: registered new interface driver usbfs
    [   16.445873] usbcore: registered new interface driver hub
    [   16.454940] remoteproc remoteproc4: 4b234000.pru0 is available
    [   16.454979] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   16.455212] remoteproc remoteproc5: 4b238000.pru1 is available
    [   16.455256] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   16.455511] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   16.455540] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   16.455758] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   16.455788] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   16.552308] usbcore: registered new device driver usb
    [   16.581962] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   16.587565] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   16.596473] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   16.605748] xhci-hcd xhci-hcd.1.auto: irq 473, io mem 0x48890000
    [  OK  ] Reached target Sound Card.
    [   16.613984] hub 1-0:1.0: USB hub found
    [   16.621768] hub 1-0:1.0: 1 port detected
    [   16.625984] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   16.632229] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   16.640328] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   16.649418] hub 2-0:1.0: USB hub found
    [   16.654045] hub 2-0:1.0: 1 port detected
    [   16.989997] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   17.184185] hub 1-1:1.0: USB hub found
    [   17.188408] hub 1-1:1.0: 4 ports detected
    [   17.320040] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   17.360228] hub 2-1:1.0: USB hub found
    [   17.364539] hub 2-1:1.0: 4 ports detected
    [  OK  ] Started Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Login Service...
             Starting Telephony service...
             Starting uim-sysfs.service...
             Starting TI MultiCore Tools Daemon...
    [  OK  ] Started System Logging Service.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Telephony service.
             Starting Network Service...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Save/Restore Sound Card State...
    [  OK  ] Started TI MultiCore Tools Daemon.
    [  OK  ] Started Login Service.
    [   19.625312] Bluetooth: Core ver 2.22
    [   19.628965] NET: Registered protocol family 31
    [   19.658318] Bluetooth: HCI device and connection manager initialized
    [   19.658333] Bluetooth: HCI socket layer initialized
    [   19.658345] Bluetooth: L2CAP socket layer initialized
    [   19.658389] Bluetooth: SCO socket layer initialized
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Network Service.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.[   19.744601] net eth1: initializing cpsw version 1.15 (0)
    
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Simple Network Management Protocol (SNMP)[   19.818492] net eth0: initialized cpsw ale version 1.4
     Daemon....
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [   19.862643] net eth0: ALE Table size 1024
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
    [   19.993156] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   20.038033] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Started Network Name Resolution.
    [   20.069341] net eth0: initializing cpsw version 1.15 (0)
    [   20.125148] NET: Registered protocol family 15
    [   20.233695] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   20.289821] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   20.296360] Initializing XFRM netlink socket
    [   20.306605] random: crng init done
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Started uim-sysfs.service.
             Starting rc.pvr.service...
    [   21.092566] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    ***************************************************************
    ***************************************************************
    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.
    [   25.447397] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   25.461186] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   25.474853] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   25.488492] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2017.05 am57xx-evm ttyS2
    
    am57xx-evm login: root
    root@am57xx-evm:~# ls /dev/video*
    /dev/video0   /dev/video1   /dev/video10  /dev/video11
    
    root@am57xx-evm:~# uname -a
    Linux am57xx-evm 4.9.28-geed43d1050 #1 SMP PREEMPT Thu Aug 24 15:54:57 JST 2017 armv7l GNU/Linux
    
    

    1874,1878c1874
    < /*
    <  * Does the exact opposite of set_fmt_params
    <  * It makes sure the DataPath register is sane after tear down
    <  */
    < static void unset_fmt_params(struct vip_stream *stream)
    ---
    > static void vip_disable_sc_path(struct vip_stream *stream)
    1883,1884c1879
    < 	stream->sequence = 0;
    < 	stream->field = V4L2_FIELD_TOP;
    ---
    > 	vip_dbg(3, dev, "%s:\n", __func__);
    1886,1969c1881,1882
    < 	if (port->csc == VIP_CSC_Y2R) {
    < 		if (port->port_id == VIP_PORTA) {
    < 			vip_set_slice_path(dev, VIP_CSC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_MULTI_CHANNEL_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_HI_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_SRC_DATA_SELECT, 0);
    < 		} else {
    < 			vip_set_slice_path(dev, VIP_CSC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_MULTI_CHANNEL_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_LO_DATA_SELECT, 0);
    < 		}
    < 		/* We are done */
    < 		return;
    < 	} else if (port->csc == VIP_CSC_R2Y) {
    < 		if (port->scaler && port->fmt->coplanar) {
    < 			if (port->port_id == VIP_PORTA) {
    < 				vip_set_slice_path(dev,
    < 						   VIP_CSC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_SC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_SRC_DATA_SELECT,
    < 						   0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_RGB_OUT_HI_DATA_SELECT,
    < 						   0);
    < 			}
    < 		} else if (port->scaler) {
    < 			if (port->port_id == VIP_PORTA) {
    < 				vip_set_slice_path(dev,
    < 						   VIP_CSC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_SC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_SRC_DATA_SELECT,
    < 						   0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_RGB_OUT_HI_DATA_SELECT,
    < 						   0);
    < 			}
    < 		} else if (port->fmt->coplanar) {
    < 			if (port->port_id == VIP_PORTA) {
    < 				vip_set_slice_path(dev,
    < 						   VIP_CSC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_SRC_DATA_SELECT,
    < 						   0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_RGB_OUT_HI_DATA_SELECT,
    < 						   0);
    < 			}
    < 		} else {
    < 			if (port->port_id == VIP_PORTA) {
    < 				vip_set_slice_path(dev,
    < 						   VIP_CSC_SRC_DATA_SELECT, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_SRC_DATA_SELECT,
    < 						   0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 				vip_set_slice_path(dev,
    < 						   VIP_RGB_OUT_HI_DATA_SELECT,
    < 						   0);
    < 			}
    < 		}
    < 		/* We are done */
    < 		return;
    < 	} else if (vip_is_fmt_rgb(port->fmt->fourcc)) {
    < 		if (port->port_id == VIP_PORTA) {
    < 			vip_set_slice_path(dev,
    < 					   VIP_MULTI_CHANNEL_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_LO_DATA_SELECT, 0);
    < 		}
    < 		/* We are done */
    < 		return;
    < 	}
    ---
    > 	if (port->scaler)
    > 		vip_set_slice_path(dev, VIP_SC_SRC_DATA_SELECT, 0);
    1971,2025c1884,1885
    < 	if (port->scaler && port->fmt->coplanar) {
    < 		if (port->port_id == VIP_PORTA) {
    < 			vip_set_slice_path(dev, VIP_SC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_1_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_HI_DATA_SELECT, 0);
    < 		} else {
    < 			vip_set_slice_path(dev, VIP_SC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_2_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_LO_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_MULTI_CHANNEL_DATA_SELECT, 0);
    < 		}
    < 	} else if (port->scaler) {
    < 		if (port->port_id == VIP_PORTA) {
    < 			vip_set_slice_path(dev, VIP_SC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_1_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_HI_DATA_SELECT, 0);
    < 		} else {
    < 			vip_set_slice_path(dev, VIP_SC_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_2_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_2_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_HI_DATA_SELECT, 0);
    < 		}
    < 	} else if (port->fmt->coplanar) {
    < 		if (port->port_id == VIP_PORTA) {
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_1_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_1_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_HI_DATA_SELECT, 0);
    < 		} else {
    < 			vip_set_slice_path(dev,
    < 					   VIP_CHR_DS_2_SRC_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_CHR_DS_2_DATA_BYPASS, 0);
    < 			vip_set_slice_path(dev,
    < 					   VIP_MULTI_CHANNEL_DATA_SELECT, 0);
    < 			vip_set_slice_path(dev, VIP_RGB_OUT_LO_DATA_SELECT, 0);
    < 		}
    < 	} else {
    < 		/*
    < 		 * We undo all data path setting except for the multi
    < 		 * stream case.
    < 		 * Because we cannot disrupt other on-going capture if only
    < 		 * one stream is terminated the other might still be going
    < 		 */
    < 		vip_set_slice_path(dev, VIP_MULTI_CHANNEL_DATA_SELECT, 1);
    < 		vip_set_slice_path(dev, VIP_RGB_OUT_LO_DATA_SELECT, 0);
    < 	}
    ---
    > 	if (port->csc != VIP_CSC_NA)
    > 		vip_set_slice_path(dev, VIP_CSC_SRC_DATA_SELECT, 0);
    2702c2562
    < 	unset_fmt_params(stream);
    ---
    > 	vip_disable_sc_path(stream);
    2932,2933d2791
    < 
    < 	memset(&f, 0, sizeof(f));
    

  • You are missing installing the modules.

    After

    Host> make linux

    Do

    1. set the DESTDIR variable in the Rules.make file to point to the filesystem you are using. It can be the mounted path of the filesystem in sdcard . In below example, DESTDIR is set to the filesystem in host machine as the bootargs is configured to run in nfs mode.

    DESTDIR=/home/manishalocal/AM57x/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/filesystem

            2. Host-> make linux_install

    After this, you should see the camera app working. 

  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your help.

     

    I think you are right.

    You maybe find camera capture image on your EVM.

     

    So, I did "make linux_install" to boot-SD card as follows;

     - edit Rules.make like below.

        DESTDIR=/media/usr/rootfs/

     - Host-> make linux_install

     

    And I also found update files in SD-card "/media/usr/rootfs/boot".

     

    But unfortunately we cannot find any camera capture image.

     - We can only see two buttons named "capture" and "exit" on the Black screen with warning as below.

     - Both two set of "TMDSEVM572X(rev.A3) and TMDSCM572X(rev.A1)" which we have had same result including warning message.

       (Please see attached jpg for detail about EVM revision.)

     

    Question:

      -Did you see those warnings?

     

    We would appreciate if you tell us how to solve this problem.

     

    --

    I also share the command operation summary as below;

     

    1:Replace vip.c (& check diff)

     vip.c was saved from http://git.ti.com/processor-sdk/processor-sdk-linux/blobs/a0af4124c35edb2713887f4d3ec14a30844b3f99/drivers/media/platform/ti-vpe/vip.c

     Host> diff -c ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/vip.c ./vip.c > diff_vip.txt

     Host> rm ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/vip.c

     Host> cp vip.c ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/board-support/linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050/drivers/media/platform/ti-vpe/

     

    2:edit Rules.make like below.

       DESTDIR=/media/usr/rootfs/

     

    3:create SD card

     Host> sudo ./bin/create-sdcard.sh

     

    4:Build & install

     Host> cd ~/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/

     Host> make linux_clean

     Host> make linux

     Host> sudo make linux_install

     

     Host> ls -lt /media/usr/rootfs/boot/

     

    -rwxr-xr-x 1 root root  2444961  9月  1 13:17 System.map

    -rwxr-xr-x 1 root root 14240076  9月  1 13:17 vmlinux

    -rwxr-xr-x 1 root root  3722136  9月  1 13:17 zImage

    -rw-r--r-- 1 root root   102365  9月  1 13:17 devicetree-uImage-am57xx-evm.dtb

    -rw-r--r-- 1 root root   103533  9月  1 13:17 devicetree-uImage-am57xx-evm-reva3-cam-ov10635.dtb

    -rw-r--r-- 1 root root   103304  9月  1 13:17 devicetree-uImage-am57xx-evm-reva3.dtb

    -rw-r--r-- 1 root root   102594  9月  1 13:17 devicetree-uImage-am57xx-evm-cam-ov10635.dtb

    -rw-r--r-- 1 root root   103304  9月  1 13:17 devicetree-uImage-am57xx-evm-reva3-cam-mt9t111.dtb

    -rw-r--r-- 1 root root   102365  9月  1 13:17 devicetree-uImage-am57xx-evm-cam-mt9t111.dtb

    -rw-r--r-- 1 root root    98557  9月  1 13:17 devicetree-uImage-am57xx-beagle-x15.dtb

    -rw-r--r-- 1 root root    97749  9月  1 13:17 devicetree-uImage-am57xx-beagle-x15-revb1.dtb

    -rw-r--r-- 1 root root   101731  9月  1 13:17 devicetree-uImage-am572x-idk.dtb

    -rw-r--r-- 1 root root   102884  9月  1 13:17 devicetree-uImage-am572x-idk-lcd-osd101t2587.dtb

    -rw-r--r-- 1 root root   102303  9月  1 13:17 devicetree-uImage-am572x-idk-jailhouse.dtb

    -rw-r--r-- 1 root root   102884  9月  1 13:17 devicetree-uImage-am572x-idk-lcd-osd101t2045.dtb

    -rw-r--r-- 1 root root   103536  9月  1 13:17 devicetree-uImage-am572x-evm-jailhouse.dtb

    -rw-r--r-- 1 root root   100224  9月  1 13:17 devicetree-uImage-am571x-idk.dtb

    -rw-r--r-- 1 root root   101217  9月  1 13:17 devicetree-uImage-am571x-idk-lcd-osd101t2587.dtb

    -rw-r--r-- 1 root root   104321  9月  1 13:17 devicetree-uImage-am571x-idk-pru-excl-uio.dtb

    -rw-r--r-- 1 root root   101217  9月  1 13:17 devicetree-uImage-am571x-idk-lcd-osd101t2045.dtb

    lrwxrwxrwx 1 root root       32  6月 29 14:44 am571x-idk.dtb -> devicetree-uImage-am571x-idk.dtb

    lrwxrwxrwx 1 root root       48  6月 29 14:44 am571x-idk-lcd-osd101t2045.dtb -> devicetree-uImage-am571x-idk-lcd-osd101t2045.dtb

    lrwxrwxrwx 1 root root       48  6月 29 14:44 am571x-idk-lcd-osd101t2587.dtb -> devicetree-uImage-am571x-idk-lcd-osd101t2587.dtb

    lrwxrwxrwx 1 root root       45  6月 29 14:44 am571x-idk-pru-excl-uio.dtb -> devicetree-uImage-am571x-idk-pru-excl-uio.dtb

    lrwxrwxrwx 1 root root       42  6月 29 14:44 am572x-evm-jailhouse.dtb -> devicetree-uImage-am572x-evm-jailhouse.dtb

    lrwxrwxrwx 1 root root       32  6月 29 14:44 am572x-idk.dtb -> devicetree-uImage-am572x-idk.dtb

    lrwxrwxrwx 1 root root       42  6月 29 14:44 am572x-idk-jailhouse.dtb -> devicetree-uImage-am572x-idk-jailhouse.dtb

    lrwxrwxrwx 1 root root       48  6月 29 14:44 am572x-idk-lcd-osd101t2045.dtb -> devicetree-uImage-am572x-idk-lcd-osd101t2045.dtb

    lrwxrwxrwx 1 root root       48  6月 29 14:44 am572x-idk-lcd-osd101t2587.dtb -> devicetree-uImage-am572x-idk-lcd-osd101t2587.dtb

    lrwxrwxrwx 1 root root       45  6月 29 14:44 am572x-idk-pru-excl-uio.dtb -> devicetree-uImage-am572x-idk-pru-excl-uio.dtb

    lrwxrwxrwx 1 root root       39  6月 29 14:44 am57xx-beagle-x15.dtb -> devicetree-uImage-am57xx-beagle-x15.dtb

    lrwxrwxrwx 1 root root       45  6月 29 14:44 am57xx-beagle-x15-revb1.dtb -> devicetree-uImage-am57xx-beagle-x15-revb1.dtb

    lrwxrwxrwx 1 root root       44  6月 29 14:44 am57xx-evm-cam-mt9t111.dtb -> devicetree-uImage-am57xx-evm-cam-mt9t111.dtb

    lrwxrwxrwx 1 root root       44  6月 29 14:44 am57xx-evm-cam-ov10635.dtb -> devicetree-uImage-am57xx-evm-cam-ov10635.dtb

    lrwxrwxrwx 1 root root       32  6月 29 14:44 am57xx-evm.dtb -> devicetree-uImage-am57xx-evm.dtb

    lrwxrwxrwx 1 root root       50  6月 29 14:44 am57xx-evm-reva3-cam-mt9t111.dtb -> devicetree-uImage-am57xx-evm-reva3-cam-mt9t111.dtb

    lrwxrwxrwx 1 root root       50  6月 29 14:44 am57xx-evm-reva3-cam-ov10635.dtb -> devicetree-uImage-am57xx-evm-reva3-cam-ov10635.dtb

    lrwxrwxrwx 1 root root       38  6月 29 14:44 am57xx-evm-reva3.dtb -> devicetree-uImage-am57xx-evm-reva3.dtb

    lrwxrwxrwx 1 root root       25  6月 29 14:44 uImage -> uImage-4.9.28-geed43d1050

    -rw-r--r-- 1 root root   105428  6月 29 07:32 devicetree-uImage-am572x-idk-pru-excl-uio.dtb

    -rw-r--r-- 1 root root   104321  6月 29 07:32 devicetree-zImage-am571x-idk-pru-excl-uio.dtb

    -rw-r--r-- 1 root root   103536  6月 29 07:32 devicetree-zImage-am572x-evm-jailhouse.dtb

    -rw-r--r-- 1 root root   102303  6月 29 07:32 devicetree-zImage-am572x-idk-jailhouse.dtb

    -rw-r--r-- 1 root root   102884  6月 29 07:32 devicetree-zImage-am572x-idk-lcd-osd101t2045.dtb

    -rw-r--r-- 1 root root   102884  6月 29 07:32 devicetree-zImage-am572x-idk-lcd-osd101t2587.dtb

    -rw-r--r-- 1 root root   105428  6月 29 07:32 devicetree-zImage-am572x-idk-pru-excl-uio.dtb

    -rw-r--r-- 1 root root   101217  6月 29 07:32 devicetree-zImage-am571x-idk-lcd-osd101t2587.dtb

    -rw-r--r-- 1 root root   101731  6月 29 07:32 devicetree-zImage-am572x-idk.dtb

    -rw-r--r-- 1 root root   100224  6月 29 07:32 devicetree-zImage-am571x-idk.dtb

    -rw-r--r-- 1 root root   101217  6月 29 07:32 devicetree-zImage-am571x-idk-lcd-osd101t2045.dtb

    -rw-r--r-- 1 root root    98557  6月 29 07:32 devicetree-zImage-am57xx-beagle-x15.dtb

    -rw-r--r-- 1 root root    97749  6月 29 07:32 devicetree-zImage-am57xx-beagle-x15-revb1.dtb

    -rw-r--r-- 1 root root   102365  6月 29 07:32 devicetree-zImage-am57xx-evm-cam-mt9t111.dtb

    -rw-r--r-- 1 root root   102594  6月 29 07:32 devicetree-zImage-am57xx-evm-cam-ov10635.dtb

    -rw-r--r-- 1 root root   102365  6月 29 07:32 devicetree-zImage-am57xx-evm.dtb

    -rw-r--r-- 1 root root   103304  6月 29 07:32 devicetree-zImage-am57xx-evm-reva3-cam-mt9t111.dtb

    -rw-r--r-- 1 root root   103533  6月 29 07:32 devicetree-zImage-am57xx-evm-reva3-cam-ov10635.dtb

    -rw-r--r-- 1 root root   103304  6月 29 07:32 devicetree-zImage-am57xx-evm-reva3.dtb

    -rw-r--r-- 1 root root  3725688  6月 29 07:32 uImage-4.9.28-geed43d1050

    -rw-r--r-- 1 root root 14371148  6月 29 07:32 vmlinux-4.9.28-geed43d1050

    -rw-r--r-- 1 root root  3725624  6月 29 07:32 zImage-4.9.28-geed43d1050

     

    5:boot EVM with sd-card

     

    root@am57xx-evm:~# uname -a

    Linux am57xx-evm 4.9.28-geed43d1050 #1 SMP PREEMPT Fri Sep 1 12:04:06 JST 2017 armv7l GNU/Linux

     

    root@am57xx-evm:~# ls /dev/video*

    /dev/video0   /dev/video1   /dev/video10  /dev/video11

     

    root@am57xx-evm:~# [   45.462961] ------------[ cut here ]------------

    [   45.467616] WARNING: CPU: 1 PID: 1169 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158

    [   45.478429] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bc_example(O) bluetooth rpmsg_proto xhci_plat_hcd xhci_hcd usbcore rpmsg_rpc pru_rproc pruss_intc dwc3 udc_core pruss usb_common ti_vip ahci_platform libahci_platform libahci snd_soc_simple_card snd_soc_simple_card_utils libata pvrsrvkm(O) scsi_mod omap_aes_driver ti_vpe ti_sc ti_csc snd_soc_omap_hdmi_audio pruss_soc_bus omap_sham omap_wdt extcon_palmas dwc3_omap snd_soc_tlv320aic3x ti_vpdma pixcir_i2c_ts rtc_ds1307 extcon_core rtc_omap rtc_palmas omap_des des_generic mt9t11x crypto_engine omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)[   45.550043] CPU: 1 PID: 1169 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #1

    [   45.558691] Hardware name: Generic DRA74X (Flattened Device Tree)

    [   45.564808] Backtrace:

    [   45.567282] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)

    [   45.574886]  r7:00000009 r6:60000013 r5:00000000 r4:c1022410

    [   45.580573] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)

    [   45.587829] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)

    [   45.594822]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000

    [   45.600508] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)

    [   45.608114]  r9:00000000 r8:c103e20c r7:ffffff87 r6:edf6687c r5:edf66ad8 r4:edf669b4

    [   45.615896] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)

    [   45.624724] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)

    [   45.633549]  r7:c06d7c9c r6:ed97d800 r5:00000000 r4:edf6687c

    [   45.639237] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)

    [   45.647276]  r5:ed23e9c0 r4:00000001

    [   45.650869] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)

    [   45.659001] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)

    [   45.667126]  r5:40045612 r4:c06f09c8

    [   45.670722] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)

    [   45.678847]  r5:40045612 r4:00000001

    [   45.682440] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)

    [   45.690743]  r10:00000001 r9:00000000 r8:be8d1714 r7:d5745e18 r6:00000004 r5:00000004

    [   45.698605]  r4:40045612

    [   45.701151] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)

    [   45.708930]  r10:00000000 r9:d5744000 r8:ed1ee2cc r7:be8d1714 r6:40045612 r5:ed23e9c0

    [   45.716793]  r4:ed97d800

    [   45.719341] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)

    [   45.726775] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)

    [   45.734293]  r9:d5744000 r8:be8d1714 r7:0000000f r6:ed23e9c0 r5:ed26a030 r4:be8d1714

    [   45.742073] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)

    [   45.749417]  r10:00000000 r9:d5744000 r8:be8d1714 r7:40045612 r6:ed23e9c0 r5:0000000f

    [   45.757279]  r4:ed23e9c1

    [   45.759829] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)

    [   45.767434]  r9:d5744000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0

    [   45.775308] ---[ end trace ae6569b1de1e8937 ]---

     

    Best regards,

  • Hi Matusan,

    The steps looks good. Can you try not to replace entire vip.c file but just to add the line "memset(&f, 0, sizeof(f));" in vip_init_stream() function after line #line 2791 or you can apply the attached patch. https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0020.0001_2D00_vip_2D00_add_2D00_memset_2D00_to_2D00_initialize_2D00_the_2D00_format.patch

    It should apply clean.

    Once you have applied the patch. Do

    #make linux

    #make linux_install

    No need to reformat the sd card.

    Not replacing entire vip file and just taking that one line change, and building  and installing the kernel as above has worked at my end.

    If it still doesn't work for you, you can enable v4l2 debug log as shown below and share the log.

    echo 3 >/sys/class/video4linux/video1/dev_debug

  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

     

    I tried to apply the attached patch. 0020.0001-vip-add-memset-to-initialize-the-format.patch.

     - Host> git am 0020.0001-vip-add-memset-to-initialize-the-format.patch

       (Sorry I cannot understand "It should apply clean" how to write the command in Linux Host PC?)

     

    And I checked to add the line "memset(&f, 0, sizeof(f));" in vip_init_stream() function in vip.c.

     

    Then,

    Host>#make linux

    Host>#make linux_install

     

    Traget> echo 3 > /sys/class/video4linux/video1/dev_debug

     

    But we cannot find any camera capture image.

     - We can only see two buttons named "capture" and "exit" on the Black screen with warning as below.

     

    We would appreciate if you tell us how to solve this problem.

     

     

    --

    I also share the command operation summary as below;

     

    root@am57xx-evm:~# ls /dev/video*

    /dev/video0   /dev/video1   /dev/video10  /dev/video11

     

    root@am57xx-evm:~# echo 3 > /sys/class/video4linux/video1/dev_debug

     

    root@am57xx-evm:~# [   62.345058] ------------[ cut here ]------------

    [   62.349713] WARNING: CPU: 0 PID: 1119 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158

    [   62.361808] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user bc_example(O) xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo xhci_plat_hcd xhci_hcd usbcore pru_rproc pruss_intc rpmsg_proto dwc3 pruss rpmsg_rpc udc_core usb_common bluetooth snd_soc_simple_card snd_soc_simple_card_utils ti_vip pvrsrvkm(O) snd_soc_omap_hdmi_audio ahci_platform omap_wdt libahci_platform omap_aes_driver libahci omap_sham pruss_soc_bus libata scsi_mod snd_soc_tlv320aic3x pixcir_i2c_ts rtc_palmas rtc_ds1307 ti_vpe dwc3_omap ti_sc ti_csc ti_vpdma extcon_palmas extcon_core omap_des rtc_omap des_generic crypto_engine mt9t11x omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)[   62.438884] CPU: 0 PID: 1119 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #2

    [   62.447533] Hardware name: Generic DRA74X (Flattened Device Tree)

    [   62.453650] Backtrace:

    [   62.456125] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)

    [   62.463730]  r7:00000009 r6:60000013 r5:00000000 r4:c1022410

    [   62.469417] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)

    [   62.476675] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)

    [   62.483666]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000

    [   62.489353] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)

    [   62.496957]  r9:00000003 r8:c103e20c r7:ffffff87 r6:ed17287c r5:ed172ad8 r4:ed1729b4

    [   62.504736] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)

    [   62.513563] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)

    [   62.522388]  r7:c06d7c9c r6:ed9d2000 r5:00000000 r4:ed17287c

    [   62.528074] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)

    [   62.536111]  r5:ed9f3000 r4:00000001

    [   62.539704] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)

    [   62.547836] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)

    [   62.555960]  r5:40045612 r4:c06f09c8

    [   62.559555] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)

    [   62.567679]  r5:40045612 r4:00000001

    [   62.571273] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)

    [   62.579573]  r10:00000001 r9:00000000 r8:be8b2714 r7:eca5be18 r6:00000004 r5:00000004

    [   62.587436]  r4:40045612

    [   62.589981] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)

    [   62.597758]  r10:00000000 r9:eca5a000 r8:eda2d6cc r7:be8b2714 r6:40045612 r5:ed9f3000

    [   62.605621]  r4:ed9d2000

    [   62.608167] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)

    [   62.615601] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)

    [   62.623119]  r9:eca5a000 r8:be8b2714 r7:0000000f r6:ed9f3000 r5:ed934cf0 r4:be8b2714

    [   62.630900] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)

    [   62.638241]  r10:00000000 r9:eca5a000 r8:be8b2714 r7:40045612 r6:ed9f3000 r5:0000000f

    [   62.646102]  r4:ed9f3001

    [   62.648651] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)

    [   62.656256]  r9:eca5a000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0

    [   62.664569] ---[ end trace e98ba5987f751e3f ]---

     

    Best regards,

  • The V4L2 logs are printed in the dmesg logs. Please share the dmesg logs. You can also enable vb2buf and vip logs by using below cmds and share the dmesg log. 

    • echo 3 > /sys/module/videobuf2_core/parameters/debug
    • echo 3 > /sys/module/ti_vip/parameters/debug

    In addition, to be sure that the memset()  function is getting executed, you can add printk or vip_info() as below after the memset function cal inside vip_init_port()

    vip_info(dev, "memset  executed\n");


  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    I would like to send the dmesg log.

    We would appreciate if you tell us how to solve this problem.

    Best regards,

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #2 SMP PREEMPT Wed Jun 28 18:16:59 EDT 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: TI AM572x EVM Rev A3
    [    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 @eed34000 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=ttyO2,115200n8 root=PARTUUID=000341b6-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2492K rodata, 2048K init, 296K bss, 33376K 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.000324] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000332] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000743] Console: colour dummy device 80x30
    [    0.000759] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000766] This ensures that you still see kernel messages. Please
    [    0.000772] update your kernel commandline.
    [    0.000789] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000802] pid_max: default: 32768 minimum: 301
    [    0.000903] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000914] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001521] CPU: Testing write buffer coherency: ok
    [    0.001731] /cpus/cpu@0 missing clock-frequency property
    [    0.001748] /cpus/cpu@1 missing clock-frequency property
    [    0.001759] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001775] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080070] EFI services will not be available.
    [    0.170324] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170410] Brought up 2 CPUs
    [    0.170424] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170431] CPU: All CPU(s) started in HYP mode.
    [    0.170437] CPU: Virtualization extensions available.
    [    0.170942] devtmpfs: initialized
    [    0.198249] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198483] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198500] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201854] pinctrl core: initialized pinctrl subsystem
    [    0.202657] NET: Registered protocol family 16
    [    0.203518] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204474] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.314881] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440392] cpuidle: using governor ladder
    [    0.470416] cpuidle: using governor menu
    [    0.478425] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478654] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.480114] OMAP GPIO hardware version 0.1
    [    0.480820] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.481035] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482833] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.483039] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484862] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.485069] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486819] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.487025] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488796] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.489004] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490823] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.491036] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492820] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.493022] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494591] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.521011] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.521022] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521371] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521381] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521915] OMAP DMA hardware revision 0.0
    [    0.561640] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.562934] edma 43300000.edma: memcpy is disabled
    [    0.567667] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.568038] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.568308] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.568650] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.569023] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.572109] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.572278] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.572428] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.572578] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.572836] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.573010] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.575630] palmas 0-0058: Irq flag is 0x00000008
    [    0.603246] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.607017] vtt_fixed: supplied by smps3
    [    0.641750] random: fast init done
    [    0.682372] vdd_3v3: supplied by regen1
    [    0.682591] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.684985] gpiochip_find_base: found new base at 504
    [    0.685003] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.685231] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.685756] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.686251] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.686825] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.687016] media: Linux media interface: v0.10
    [    0.687062] Linux video capture interface: v2.00
    [    0.687097] pps_core: LinuxPPS API ver. 1 registered
    [    0.687104] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.687124] PTP clock support registered
    [    0.687163] EDAC MC: Ver: 3.0.0
    [    0.687850] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.688149] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.688428] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.688709] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.689051] Advanced Linux Sound Architecture Driver Initialized.
    [    0.689868] clocksource: Switched to clocksource arch_sys_counter
    [    0.700578] NET: Registered protocol family 2
    [    0.701077] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.701140] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.701265] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.701313] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.701344] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.701473] NET: Registered protocol family 1
    [    0.701835] RPC: Registered named UNIX socket transport module.
    [    0.701845] RPC: Registered udp transport module.
    [    0.701852] RPC: Registered tcp transport module.
    [    0.701859] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.701868] PCI: CLS 0 bytes, default 64
    [    0.702773] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.705670] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.713184] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.713888] NFS: Registering the id_resolver key type
    [    0.713909] Key type id_resolver registered
    [    0.713916] Key type id_legacy registered
    [    0.713956] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.715125] bounce: pool size: 64 pages
    [    0.715267] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.715277] io scheduler noop registered
    [    0.715286] io scheduler deadline registered
    [    0.715411] io scheduler cfq registered (default)
    [    0.719776] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.720314] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.723556] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.723564] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.723590] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.723709] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.723721] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.723754] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.723775] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.725167] dra7-pcie 51000000.pcie: phy link never came up
    [    1.725337] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.725350] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.725361] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.725371] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.725405] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.725428] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.725442] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.725510] pci 0000:00:00.0: supports D1
    [    1.725517] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.725745] PCI: bus0: Fast back to back transfers disabled
    [    1.725865] PCI: bus1: Fast back to back transfers enabled
    [    1.725982] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.725998] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.726012] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.726232] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.726245] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.726372] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.727204] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.727211] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.727219] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.727226] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.727232] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.727239] pwm-backlight backlight: lookup for GPIO enable failed
    [    1.727269] backlight supply power not found, using dummy regulator
    [    1.789547] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.792909] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.761534] console [ttyS2] enabled
    [    2.765878] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.776625] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.783402] [drm] Initialized
    [    2.788282] OMAP DSS rev 6.1
    [    2.791662] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.800102] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.808960] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.808966] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.808993] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.809008] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.809014] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.809049] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.809061] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.809067] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.809112] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.809772] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.810071] panel-dpi display: GPIO lookup for consumer enable
    [    2.810078] panel-dpi display: using device tree for GPIO lookup
    [    2.810103] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    2.810115] panel-dpi display: GPIO lookup for consumer reset
    [    2.810121] panel-dpi display: using device tree for GPIO lookup
    [    2.810128] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    2.810134] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    2.810140] panel-dpi display: using lookup tables for GPIO lookup
    [    2.810147] panel-dpi display: lookup for GPIO reset failed
    [    2.810177] display supply vcc not found, using dummy regulator
    [    2.847022] brd: module loaded
    [    2.865318] loop: module loaded
    [    2.869033] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.878722] libphy: Fixed MDIO Bus: probed
    [    2.939894] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    2.946020] libphy: 48485000.mdio: probed
    [    2.964851] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    2.974592] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    2.984793] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:9e:ba
    [    2.991479] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.999746] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:9e:bb
    [    3.008142] mousedev: PS/2 mouse device common for all mice
    [    3.014064] i2c /dev entries driver
    [    3.019179] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.020406] gpio-fan gpio_fan: GPIO fan initialized
    [    3.026641] tmp102 0-0048: initialized
    [    3.035465] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    3.035471] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.035497] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.035533] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.040209] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    3.040215] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.040223] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.040230] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.040243] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.040249] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    3.110062] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.110067] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.110073] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.110078] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.110082] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.110087] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.110092] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.110096] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.110101] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.110105] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.110109] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.110113] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.110227] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.116609] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.200093] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    3.200097] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.200103] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.200108] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.200112] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.200116] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    3.200122] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    3.200126] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.200130] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.200135] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.200139] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.200143] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    3.260177] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
    [    3.260267] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
    [    3.260342] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [    3.260423] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [    3.260779] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.271439] NET: Registered protocol family 10
    [    3.286576] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.292930] NET: Registered protocol family 17
    [    3.297531] Key type dns_resolver registered
    [    3.301924] omap_voltage_late_init: Voltage driver support not added
    [    3.308370] Power Management for TI OMAP4+ devices.
    [    3.313471] Registering SWP/SWPB emulation handler
    [    3.327361] dmm 4e000000.dmm: initialized all PAT entries
    [    3.360954] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.367596] [drm] No driver support for vblank timestamp query.
    [    3.375495] [drm] Enabling DMM ywrap scrolling
    [    3.401981] mmc1: new DDR MMC card at address 0001
    [    3.402311] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    3.402445] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.402573] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.403101]  mmcblk1: p1 p2 p3
    [    3.418248] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.420042] mmc0: new ultra high speed DDR50 SDHC card at address 0007
    [    3.420313] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
    [    3.421094]  mmcblk0: p1 p2
    [    3.448544] Console: switching to colour frame buffer device 100x30
    [    3.503024] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.561343] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    3.561371] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    3.561395] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    3.561418] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
    [    3.561441] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
    [    3.562076] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.569035] hctosys: unable to open rtc device (rtc0)
    [    3.574683] aic_dvdd_fixed: disabling
    [    3.578361] vmmcwl_fixed: disabling
    [    3.582054] ldousb: disabling
    [    3.585288] ALSA device list:
    [    3.588265]   No soundcards found.
    [    9.684816] EXT4-fs (mmcblk0p2): recovery complete
    [    9.693643] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    9.701821] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [    9.709197] devtmpfs: mounted
    [    9.713471] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    9.940860] systemd[1]: System time before build time, advancing clock.
    [    9.990094] 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)
    [   10.008569] systemd[1]: Detected architecture arm.
    [   10.041179] systemd[1]: Set hostname to <am57xx-evm>.
    [   10.339149] systemd[1]: sockets.target: Found ordering cycle on sockets.target/start
    [   10.346982] systemd[1]: sockets.target: Found dependency on avahi-daemon.socket/start
    [   10.354870] systemd[1]: sockets.target: Found dependency on sysinit.target/start
    [   10.362345] systemd[1]: sockets.target: Found dependency on alignment.service/start
    [   10.370052] systemd[1]: sockets.target: Found dependency on basic.target/start
    [   10.377309] systemd[1]: sockets.target: Found dependency on sockets.target/start
    [   10.384771] systemd[1]: sockets.target: Breaking ordering cycle by deleting job avahi-daemon.socket/start
    [   10.876163] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   11.092269] cmemk: loading out-of-tree module taints kernel.
    [   11.098631] CMEMK module: reference Linux version 4.9.28
    [   11.104670] allocated heap buffer 0x40500000 of size 0x100000
    [   11.111044] cmemk initialized
    [   11.127219] cryptodev: driver 1.8 loaded.
    [   11.735242] systemd-journald[118]: Received request to flush runtime journal from PID 1
    [   12.307880] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [   12.382175] remoteproc remoteproc0: 58820000.ipu is available
    [   12.408055] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [   12.432524] remoteproc remoteproc1: 55020000.ipu is available
    [   12.454241] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [   12.464737] remoteproc remoteproc2: 40800000.dsp is available
    [   12.475694] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [   12.486763] remoteproc remoteproc3: 41000000.dsp is available
    [   12.787216] remoteproc remoteproc1: powering up 55020000.ipu
    [   12.792945] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [   12.801636] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   12.878271] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [   12.878279] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   12.878286] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.878292] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.878296] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [   12.878302] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [   12.878307] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [   12.878311] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   12.878317] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.878373] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   12.888061] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   12.894923] pixcir_ts 4-005c: GPIO lookup for consumer attb
    [   12.894927] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   12.894932] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.894947] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   12.894957] pixcir_ts 4-005c: GPIO lookup for consumer reset
    [   12.894960] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   12.894964] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.894977] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   12.894984] pixcir_ts 4-005c: GPIO lookup for consumer wake
    [   12.894986] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   12.894990] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.894993] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.894995] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   12.894999] pixcir_ts 4-005c: lookup for GPIO wake failed
    [   12.895002] pixcir_ts 4-005c: GPIO lookup for consumer enable
    [   12.895005] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   12.895008] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.895011] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   12.895014] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   12.895017] pixcir_ts 4-005c: lookup for GPIO enable failed
    [   12.895984] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   12.896888] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   12.918687] remoteproc remoteproc1: registered virtio0 (type 7)
    [   12.926516] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   13.050616] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [   13.062863] mt9t11x 4-003c: input-clock-freq: 32000000
    [   13.069078] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [   13.075445] mt9t11x 4-003c: GPIO lookup for consumer reset
    [   13.075450] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.075512] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.075524] mt9t11x 4-003c: GPIO lookup for consumer powerdown
    [   13.075528] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.075545] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.075554] mt9t11x 4-003c: GPIO lookup for consumer oscen
    [   13.075559] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.075574] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.075582] mt9t11x 4-003c: GPIO lookup for consumer bufen
    [   13.075586] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.075601] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.075609] mt9t11x 4-003c: GPIO lookup for consumer camen
    [   13.075613] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.075629] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.081315] rtc rtc2: 48838000.rtc: dev (253:2)
    [   13.081325] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [   13.102048] mt9t11x 4-003c: mt9t111 chip ID 2680 rev 0077
    [   13.108046] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [   13.153786] remoteproc remoteproc0: powering up 58820000.ipu
    [   13.159480] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [   13.174875] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   13.185533] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [   13.185542] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [   13.202562] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   13.202576] remoteproc remoteproc0: registered virtio1 (type 7)
    [   13.202580] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   13.214643] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [   13.214759] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [   13.214845] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [   13.214940] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   13.230634] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [   13.246809] rtc-ds1307 2-006f: SET TIME!
    [   13.254115] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [   13.254121] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [   13.255166] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.255172] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.259360] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [   13.259651] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.259657] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.259662] rtc rtc0: alarm rollover: year
    [   13.259954] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.259962] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.260135] rtc rtc0: mcp7941x: dev (253:0)
    [   13.260148] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [   13.270213] rtc-ds1307 2-006f: got IRQ 475
    [   13.270230] rtc-ds1307 2-006f: 64 bytes nvram
    [   13.278411] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   13.298509] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.304645] rtc-ds1307 2-006f: write secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.304649] rtc-ds1307 2-006f: write: b8 23 20 0c 28 06 17
    [   13.306615] omap-des 480a5000.des: will run requests pump with realtime priority
    [   13.319429] rtc-ds1307 2-006f: read: b8 23 20 0c 28 06 17
    [   13.319435] rtc-ds1307 2-006f: read secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.350087] vpe 489d0000.vpe: Device registered as /dev/video0
    [   13.489454] SCSI subsystem initialized
    [   13.505649] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   13.523104] libata version 3.00 loaded.
    [   13.538949] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   13.570135] vip 48990000.vip: VPDMA firmware loaded
    [   13.575735] vip2-s0: Port A: Using subdev mt9t11x for capture
    [   13.575911] vip2-s0: device registered as video1
    [   13.599626] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   13.613520] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   13.613662] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   13.613825] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   13.615347] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   13.615497] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   13.615826] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   13.615848] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   13.615854] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [   13.662548] scsi host0: ahci
    [   13.662849] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [   13.663477] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   13.823529] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   13.823539] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   13.826550] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [   14.000499] ata1: SATA link down (SStatus 0 SControl 300)
    [   14.427347] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.433370] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   14.449688] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.455573] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.461498] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   14.521949] remoteproc remoteproc3: powering up 41000000.dsp
    [   14.527644] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [   14.590250] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   14.596139] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   14.602055] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   14.609970] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.627053] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   14.627127] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   14.627267] remoteproc remoteproc2: registered virtio2 (type 7)
    [   14.627272] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   14.662897] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.671473] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.681377] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.684151] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   14.684176] remoteproc remoteproc3: registered virtio3 (type 7)
    [   14.684180] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   14.684232] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   14.715752] Bluetooth: Core ver 2.22
    [   14.715788] NET: Registered protocol family 31
    [   14.715791] Bluetooth: HCI device and connection manager initialized
    [   14.715801] Bluetooth: HCI socket layer initialized
    [   14.715810] Bluetooth: L2CAP socket layer initialized
    [   14.715833] Bluetooth: SCO socket layer initialized
    [   15.156789] net eth1: initializing cpsw version 1.15 (0)
    [   15.171634] net eth0: initialized cpsw ale version 1.4
    [   15.190462] net eth0: ALE Table size 1024
    [   15.393330] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   15.459055] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.580854] net eth0: initializing cpsw version 1.15 (0)
    [   15.786449] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   15.874118] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   15.889198] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.942801] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   15.945020] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   15.945195] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   15.951050] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   15.951075] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   15.951376] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   16.021390] vip2-s0: memset  executed
    [   16.039112] NET: Registered protocol family 43
    [   16.069846] usbcore: registered new interface driver usbfs
    [   16.070478] usbcore: registered new interface driver hub
    [   16.070549] usbcore: registered new device driver usb
    [   16.089447] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   16.089468] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   16.091453] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   16.091501] xhci-hcd xhci-hcd.1.auto: irq 473, io mem 0x48890000
    [   16.094110] hub 1-0:1.0: USB hub found
    [   16.094144] hub 1-0:1.0: 1 port detected
    [   16.094738] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   16.094750] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   16.094818] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   16.095844] hub 2-0:1.0: USB hub found
    [   16.096054] hub 2-0:1.0: 1 port detected
    [   16.345069] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   16.361566] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   16.383323] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   16.404218] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   16.426409] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   16.449953] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   16.491644] remoteproc remoteproc4: 4b234000.pru0 is available
    [   16.505723] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   16.517700] hub 2-1:1.0: USB hub found
    [   16.517982] hub 2-1:1.0: 4 ports detected
    [   16.558582] remoteproc remoteproc5: 4b238000.pru1 is available
    [   16.571645] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   16.603375] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   16.614913] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   16.626549] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   16.659031] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   16.671252] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   16.831350] hub 1-1:1.0: USB hub found
    [   16.840550] hub 1-1:1.0: 4 ports detected
    [   17.232621] NET: Registered protocol family 15
    [   17.487028] Initializing XFRM netlink socket
    [   17.575641] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   17.863701] random: crng init done
    [   25.448338] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   25.461378] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   25.474476] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   25.487537] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   68.463131] vip2-s0: vip_open
    [   68.463150] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 640x480
    [   68.463159] vip2-s0: memset  executed
    [   68.466844] vip2-s0: calc_format_size: fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   68.466851] vip2-s0: init_stream fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   68.466856] vip2-s0: init_stream vpdma data type: 0x02
    [   68.466863] vip2-s0: vip_init_stream: stream instance 0x600a0013ed8fb000
    [   68.466928] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x0004091c, capabilities=0x85200001, device_caps=0x05200001
    [   68.466971] video1: VIDIOC_G_PARM: type=vid-cap, capability=0x1000, capturemode=0x0, timeperframe=1/30, extendedmode=0, readbuffers=4
    [   68.467002] vip2-s0: g_fmt fourcc:NV12 code: 2006 size: 640x480 bpl:640 img_size:460800
    [   68.467007] vip2-s0: g_fmt vpdma data type: 0x02
    [   68.467011] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=NV12, field=none, bytesperline=640, sizeimage=460800, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   68.467042] vip2-s0: s_fmt input fourcc:YUYV size: 800x600 bpl:640 img_size:460800
    [   68.467048] vip2-s0: try_fmt fourcc:YUYV size: 800x600
    [   68.467056] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 2048x1536
    [   68.467061] vip2-s0: try_fmt loop:0 found new larger: 2048x1536
    [   68.467066] vip2-s0: try_fmt loop:0 found at least larger: 2048x1536
    [   68.467071] vip2-s0: try_fmt loop:0 found new best: 2048x1536
    [   68.467076] vip2-s0: try_fmt loop:1 fourcc:YUYV size: 1920x1200
    [   68.467081] vip2-s0: try_fmt loop:1 found at least larger: 1920x1200
    [   68.467086] vip2-s0: try_fmt loop:1 found new best: 1920x1200
    [   68.467091] vip2-s0: try_fmt loop:2 fourcc:YUYV size: 1920x1080
    [   68.467096] vip2-s0: try_fmt loop:2 found at least larger: 1920x1080
    [   68.467100] vip2-s0: try_fmt loop:2 found new best: 1920x1080
    [   68.467105] vip2-s0: try_fmt loop:3 fourcc:YUYV size: 1600x1200
    [   68.467110] vip2-s0: try_fmt loop:3 found at least larger: 1600x1200
    [   68.467115] vip2-s0: try_fmt loop:4 fourcc:YUYV size: 1440x900
    [   68.467120] vip2-s0: try_fmt loop:4 found at least larger: 1440x900
    [   68.467124] vip2-s0: try_fmt loop:4 found new best: 1440x900
    [   68.467129] vip2-s0: try_fmt loop:5 fourcc:YUYV size: 1280x800
    [   68.467134] vip2-s0: try_fmt loop:5 found at least larger: 1280x800
    [   68.467139] vip2-s0: try_fmt loop:5 found new best: 1280x800
    [   68.467144] vip2-s0: try_fmt loop:6 fourcc:YUYV size: 1280x720
    [   68.467148] vip2-s0: try_fmt loop:6 found at least larger: 1280x720
    [   68.467153] vip2-s0: try_fmt loop:6 found new best: 1280x720
    [   68.467157] vip2-s0: try_fmt loop:7 fourcc:YUYV size: 800x600
    [   68.467162] vip2-s0: try_fmt loop:7 found at least larger: 800x600
    [   68.467167] vip2-s0: try_fmt loop:7 found new best: 800x600
    [   68.467171] vip2-s0: try_fmt loop:7 found direct match: 800x600
    [   68.467177] vip2-s0: calc_format_size: fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   68.467184] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   68.467190] vip2-s0: s_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   68.467196] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 800x600
    [   68.467202] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 800x600
    [   68.467207] vip2-s0: s_fmt vpdma data type: 0x07
    [   68.467210] video1: VIDIOC_S_FMT: type=vid-cap, width=800, height=600, pixelformat=YUYV, field=none, bytesperline=1600, sizeimage=960000, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   68.467406] vip2-s0: get 3 buffer(s) of size 960000 each.
    [   68.467416] vb2-core: __vb2_queue_alloc: allocated 3 buffers, 1 plane(s) each
    [   68.474624] video1: VIDIOC_REQBUFS: count=3, type=vid-cap, memory=dmabuf
    [   68.474682] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   68.474748] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   68.474763] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   68.474805] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   68.474815] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   68.474846] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   68.474858] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   68.482790] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [   68.488749] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   68.496120] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [   68.502154] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   68.509342] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [   68.515652] vip2-s0: vip_set_slice_path:
    [   68.515661] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
    [   68.515665] vip2-s0: vip_set_slice_path:
    [   68.515672] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000
    [   68.542128] vip2-s0: stream on failed in subdev
    [   68.542134] vb2-core: vb2_start_streaming: driver refused to start streaming
    [   68.549219] ------------[ cut here ]------------
    [   68.553906] WARNING: CPU: 0 PID: 1166 at /home/gtbldadm/processor-sdk-linux-morty-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158
    [   68.576400] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc bc_example(O) xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo pru_rproc pruss_intc xhci_plat_hcd xhci_hcd usbcore rpmsg_proto pruss rpmsg_rpc dwc3 udc_core usb_common bluetooth snd_soc_simple_card snd_soc_simple_card_utils omap_sham snd_soc_omap_hdmi_audio ahci_platform omap_aes_driver libahci_platform pvrsrvkm(O) libahci ti_vip pruss_soc_bus libata omap_wdt scsi_mod omap_des ti_vpe des_generic ti_sc snd_soc_tlv320aic3x rtc_ds1307 rtc_palmas crypto_engine ti_csc ti_vpdma dwc3_omap rtc_omap mt9t11x extcon_palmas pixcir_i2c_ts extcon_core omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [   68.647859] CPU: 0 PID: 1166 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #2
    [   68.656506] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   68.662622] Backtrace: 
    [   68.665093] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [   68.672696]  r7:00000009 r6:60000013 r5:00000000 r4:c1022410
    [   68.678382] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)
    [   68.685637] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)
    [   68.692628]  r7:00000009 r6:c0c03f44 r5:00000000 r4:00000000
    [   68.698312] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)
    [   68.705914]  r9:00000003 r8:c103e20c r7:ffffff87 r6:ed8fb87c r5:ed8fbad8 r4:ed8fb9b4
    [   68.713691] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)
    [   68.722516] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)
    [   68.731338]  r7:c06d7c9c r6:ed9af800 r5:00000000 r4:ed8fb87c
    [   68.737022] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)
    [   68.745057]  r5:eda186c0 r4:00000001
    [   68.748648] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)
    [   68.756777] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)
    [   68.764900]  r5:40045612 r4:c06f09c8
    [   68.768492] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)
    [   68.776615]  r5:40045612 r4:00000001
    [   68.780205] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)
    [   68.788504]  r10:00000001 r9:00000000 r8:be9af714 r7:d55c9e18 r6:00000004 r5:00000004
    [   68.796364]  r4:40045612
    [   68.798909] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)
    [   68.806684]  r10:00000000 r9:d55c8000 r8:ed9c1ccc r7:be9af714 r6:40045612 r5:eda186c0
    [   68.814544]  r4:ed9af800
    [   68.817089] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)
    [   68.824519] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)
    [   68.832034]  r9:d55c8000 r8:be9af714 r7:0000000f r6:eda186c0 r5:edab5e78 r4:be9af714
    [   68.839810] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)
    [   68.847150]  r10:00000000 r9:d55c8000 r8:be9af714 r7:40045612 r6:eda186c0 r5:0000000f
    [   68.855009]  r4:eda186c1
    [   68.857555] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
    [   68.865157]  r9:d55c8000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0
    [   68.872996] ---[ end trace 9b4ebfa36076c4b2 ]---
    [   68.877718] video1: VIDIOC_STREAMON: error -121: type=vid-cap
    [   68.887441] vb2-core: vb2_core_streamoff: successful
    [   68.892466] video1: VIDIOC_STREAMOFF: type=vid-cap
    [   68.908765] vip2-s0: vip_release
    [   68.908790] vip2-s0: vip_release_stream: stream instance 0xc08c6744ed8fb000
    [   68.908806] vip2-s0: vip_release_port: port instance 0xeda186c0ed9a1c10
    

  • Hi Matusan,

    The patches got applied well. It seems now some other issue  - the sensor board is not responding to the video streaming request. Can you try snapping the sensor on the sensor board tightly and see all the pins are secure well.  Do you have another sensor board - ov10635 based?

    We can look at the issue with your sensor board if you can collect the logs from the sensor board. You can do so by adding below line 

    #define DEBUG

    At the very top of drivers/media/i2c/mt9t11x.c and rebuild the kernel and do make linux_install. 

     

  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your help.

     

    I would like to send the dmesg log generated by adding "#define DEBUG" to mt9t11x.c.

    1: We would appreciate if you check this log and give us some clue to solve this problem.

     

    And We didn't have another sensor board.

    2: We would also appreciate if you tell us where to buy "ov10635 based sensor board" for AM57GPEVM.

     

    Best regards,

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (usr@usr-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #4 SMP PREEMPT Mon Sep 11 15:27:38 JST 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: TI AM572x EVM Rev A3
    [    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 @eed34000 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=ttyO2,115200n8 root=PARTUUID=000341b6-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K 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.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000320] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000328] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000737] Console: colour dummy device 80x30
    [    0.000754] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000762] This ensures that you still see kernel messages. Please
    [    0.000768] update your kernel commandline.
    [    0.000784] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000798] pid_max: default: 32768 minimum: 301
    [    0.000898] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000909] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001513] CPU: Testing write buffer coherency: ok
    [    0.001724] /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.001768] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080068] EFI services will not be available.
    [    0.170322] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170407] Brought up 2 CPUs
    [    0.170420] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170427] CPU: All CPU(s) started in HYP mode.
    [    0.170433] CPU: Virtualization extensions available.
    [    0.170939] devtmpfs: initialized
    [    0.198188] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198422] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198438] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201814] pinctrl core: initialized pinctrl subsystem
    [    0.202612] NET: Registered protocol family 16
    [    0.203475] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204431] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.314305] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440379] cpuidle: using governor ladder
    [    0.470406] cpuidle: using governor menu
    [    0.478404] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478630] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.480089] OMAP GPIO hardware version 0.1
    [    0.480800] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.481014] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482823] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.483030] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484855] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.485064] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486815] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.487019] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488800] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.489006] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490831] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.491043] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492830] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.493035] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494598] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.521027] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.521038] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521388] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521397] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521927] OMAP DMA hardware revision 0.0
    [    0.571613] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572901] edma 43300000.edma: memcpy is disabled
    [    0.577677] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.578047] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.578323] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.578663] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.579039] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.582118] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.582290] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.582439] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582589] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582847] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.583020] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585646] palmas 0-0058: Irq flag is 0x00000008
    [    0.612671] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.616444] vtt_fixed: supplied by smps3
    [    0.661868] random: fast init done
    [    0.692382] vdd_3v3: supplied by regen1
    [    0.692612] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.695007] gpiochip_find_base: found new base at 504
    [    0.695024] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.695250] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.695777] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696270] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.696841] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.697031] media: Linux media interface: v0.10
    [    0.697076] Linux video capture interface: v2.00
    [    0.697110] pps_core: LinuxPPS API ver. 1 registered
    [    0.697118] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.697138] PTP clock support registered
    [    0.697176] EDAC MC: Ver: 3.0.0
    [    0.697863] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.698162] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.698441] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.698721] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.699061] Advanced Linux Sound Architecture Driver Initialized.
    [    0.699872] clocksource: Switched to clocksource arch_sys_counter
    [    0.710633] NET: Registered protocol family 2
    [    0.711129] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.711193] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.711318] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.711363] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711393] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711521] NET: Registered protocol family 1
    [    0.711861] RPC: Registered named UNIX socket transport module.
    [    0.711870] RPC: Registered udp transport module.
    [    0.711877] RPC: Registered tcp transport module.
    [    0.711884] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.711894] PCI: CLS 0 bytes, default 64
    [    0.712803] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.715685] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.723186] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.723894] NFS: Registering the id_resolver key type
    [    0.723915] Key type id_resolver registered
    [    0.723923] Key type id_legacy registered
    [    0.723965] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.725127] bounce: pool size: 64 pages
    [    0.725269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.725279] io scheduler noop registered
    [    0.725288] io scheduler deadline registered
    [    0.725414] io scheduler cfq registered (default)
    [    0.729785] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.730324] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.733565] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.733573] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.733600] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.733721] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.733733] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.733766] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.733787] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.735181] dra7-pcie 51000000.pcie: phy link never came up
    [    1.735352] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.735365] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.735376] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.735387] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.735421] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.735444] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.735458] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.735527] pci 0000:00:00.0: supports D1
    [    1.735535] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.735763] PCI: bus0: Fast back to back transfers disabled
    [    1.735882] PCI: bus1: Fast back to back transfers enabled
    [    1.735999] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.736015] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.736030] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.736250] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.736263] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.736390] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.737218] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.737225] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.737233] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.737240] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.737246] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.737253] pwm-backlight backlight: lookup for GPIO enable failed
    [    1.737281] backlight supply power not found, using dummy regulator
    [    1.799546] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.802924] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.771530] console [ttyS2] enabled
    [    2.775873] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.786615] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.793392] [drm] Initialized
    [    2.798258] OMAP DSS rev 6.1
    [    2.801645] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.809987] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.818807] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818814] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818841] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.818855] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818861] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818896] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.818908] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818913] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818958] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.819617] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.819929] panel-dpi display: GPIO lookup for consumer enable
    [    2.819936] panel-dpi display: using device tree for GPIO lookup
    [    2.819961] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    2.819974] panel-dpi display: GPIO lookup for consumer reset
    [    2.819980] panel-dpi display: using device tree for GPIO lookup
    [    2.819987] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    2.819993] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    2.819999] panel-dpi display: using lookup tables for GPIO lookup
    [    2.820006] panel-dpi display: lookup for GPIO reset failed
    [    2.820036] display supply vcc not found, using dummy regulator
    [    2.997186] brd: module loaded
    [    3.015472] loop: module loaded
    [    3.019208] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    3.028924] libphy: Fixed MDIO Bus: probed
    [    3.089897] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    3.096022] libphy: 48485000.mdio: probed
    [    3.104516] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.114257] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.124482] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:9e:ba
    [    3.131170] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.139440] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:9e:bb
    [    3.147847] mousedev: PS/2 mouse device common for all mice
    [    3.153771] i2c /dev entries driver
    [    3.158894] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.160138] gpio-fan gpio_fan: GPIO fan initialized
    [    3.166256] tmp102 0-0048: initialized
    [    3.175096] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    3.175104] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.175131] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.175168] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.179809] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    3.179815] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.179823] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.179830] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.179836] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.179843] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    3.250051] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.250055] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.250061] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.250066] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.250070] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.250074] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.250080] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.250083] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.250088] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.250092] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.250096] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.250100] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.250211] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.256592] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.340095] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    3.340099] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.340105] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.340109] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.340114] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.340118] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    3.340123] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    3.340127] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.340131] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.340136] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.340140] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.340144] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    3.400174] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
    [    3.400259] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
    [    3.400338] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [    3.400420] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [    3.400781] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.411481] NET: Registered protocol family 10
    [    3.426603] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.432952] NET: Registered protocol family 17
    [    3.437554] Key type dns_resolver registered
    [    3.441953] omap_voltage_late_init: Voltage driver support not added
    [    3.448395] Power Management for TI OMAP4+ devices.
    [    3.453499] Registering SWP/SWPB emulation handler
    [    3.467366] dmm 4e000000.dmm: initialized all PAT entries
    [    3.497294] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.507801] mmc0: new high speed SDHC card at address 0007
    [    3.514251] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.520152] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
    [    3.522121]  mmcblk0: p1 p2
    [    3.528238] [drm] No driver support for vblank timestamp query.
    [    3.529059] mmc1: new DDR MMC card at address 0001
    [    3.539444] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    3.544037] [drm] Enabling DMM ywrap scrolling
    [    3.554224] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.554376] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.554977]  mmcblk1: p1 p2 p3
    [    3.608587] Console: switching to colour frame buffer device 100x30
    [    3.631694] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.691277] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    3.691305] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    3.691329] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    3.691352] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
    [    3.691375] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
    [    3.692010] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.698945] hctosys: unable to open rtc device (rtc0)
    [    3.704595] aic_dvdd_fixed: disabling
    [    3.708275] vmmcwl_fixed: disabling
    [    3.711975] ldousb: disabling
    [    3.715224] ALSA device list:
    [    3.718202]   No soundcards found.
    [   10.539627] EXT4-fs (mmcblk0p2): recovery complete
    [   10.548453] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   10.556631] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [   10.566642] devtmpfs: mounted
    [   10.570918] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [   10.877019] systemd[1]: System time before build time, advancing clock.
    [   10.946038] 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)
    [   10.964520] systemd[1]: Detected architecture arm.
    [   11.001273] systemd[1]: Set hostname to <am57xx-evm>.
    [   11.362728] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   11.370545] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   11.378241] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   11.385515] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   11.392998] systemd[1]: sysinit.target: Found dependency on rpcbind.socket/start
    [   11.400446] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   11.407878] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [   12.059496] cmemk: loading out-of-tree module taints kernel.
    [   12.065913] CMEMK module: reference Linux version 4.9.28
    [   12.074486] allocated heap buffer 0x40500000 of size 0x100000
    [   12.080438] cmemk initialized
    [   12.121602] cryptodev: driver 1.8 loaded.
    [   12.179023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   12.729831] systemd-journald[117]: Received request to flush runtime journal from PID 1
    [   13.312983] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [   13.361082] remoteproc remoteproc0: 58820000.ipu is available
    [   13.372701] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [   13.385038] remoteproc remoteproc1: 55020000.ipu is available
    [   13.397708] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [   13.412219] remoteproc remoteproc2: 40800000.dsp is available
    [   13.412537] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [   13.412614] remoteproc remoteproc3: 41000000.dsp is available
    [   13.708981] mt9t11x 4-003c: _get_pdata invoked
    [   13.708990] mt9t11x 4-003c: _get_pdata: DT Node found
    [   13.708999] mt9t11x 4-003c: _get_pdata: endpoint found
    [   13.709018] mt9t11x 4-003c: input-clock-freq: 32000000
    [   13.715837] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [   13.721363] mt9t11x 4-003c: GPIO lookup for consumer reset
    [   13.721368] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.721432] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.721468] mt9t11x 4-003c: GPIO lookup for consumer powerdown
    [   13.721473] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.721491] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.721501] mt9t11x 4-003c: GPIO lookup for consumer oscen
    [   13.721505] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.721520] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.721528] mt9t11x 4-003c: GPIO lookup for consumer bufen
    [   13.721533] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.721547] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.721556] mt9t11x 4-003c: GPIO lookup for consumer camen
    [   13.721560] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.721576] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.721588] mt9t11x 4-003c: mt9t11x_initialize_controls:
    [   13.721604] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [   13.780273] mt9t11x 4-003c: mt9t111 chip ID 2680 rev 0077
    [   13.785709] mt9t11x 4-003c: __mt9t11x_set_power: on: 0
    [   13.785718] mt9t11x 4-003c: mt9t11x_pll_calc_params:
    [   13.786360] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [   13.793960] pixcir_ts 4-005c: GPIO lookup for consumer attb
    [   13.793965] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.793972] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.793989] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.793999] pixcir_ts 4-005c: GPIO lookup for consumer reset
    [   13.794004] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.794009] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.794024] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.794033] pixcir_ts 4-005c: GPIO lookup for consumer wake
    [   13.794037] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.794042] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.794046] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.794050] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.794055] pixcir_ts 4-005c: lookup for GPIO wake failed
    [   13.794059] pixcir_ts 4-005c: GPIO lookup for consumer enable
    [   13.794063] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.794068] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.794072] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.794076] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.794081] pixcir_ts 4-005c: lookup for GPIO enable failed
    [   13.815427] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.832337] omap-des 480a5000.des: will run requests pump with realtime priority
    [   13.911177] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [   14.292055] remoteproc remoteproc0: powering up 58820000.ipu
    [   14.297750] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [   14.318283] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   14.334006] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   14.339529] remoteproc remoteproc0: registered virtio0 (type 7)
    [   14.341514] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [   14.341626] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [   14.341841] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [   14.341960] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   14.375910] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   14.434219] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.440020] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [   14.447850] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   14.499995] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   14.506073] remoteproc remoteproc1: registered virtio1 (type 7)
    [   14.507914] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   14.508794] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [   14.527888] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   14.622354] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [   14.622364] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [   14.730775] rtc rtc2: 48838000.rtc: dev (253:2)
    [   14.730784] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [   14.775119] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [   14.789286] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   14.798379] rtc-ds1307 2-006f: read: a8 24 20 2c 28 06 17
    [   14.798390] rtc-ds1307 2-006f: read secs=28, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.798712] rtc-ds1307 2-006f: read: a8 24 20 2c 28 06 17
    [   14.798718] rtc-ds1307 2-006f: read secs=28, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.799078] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [   14.799373] rtc-ds1307 2-006f: read: a8 24 20 2c 28 06 17
    [   14.799379] rtc-ds1307 2-006f: read secs=28, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.799384] rtc rtc0: alarm rollover: year
    [   14.801469] rtc-ds1307 2-006f: read: a8 24 20 2c 28 06 17
    [   14.801480] rtc-ds1307 2-006f: read secs=28, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.805950] rtc rtc0: mcp7941x: dev (253:0)
    [   14.805968] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [   14.827774] rtc-ds1307 2-006f: got IRQ 472
    [   14.827796] rtc-ds1307 2-006f: 64 bytes nvram
    [   14.832631] vpe 489d0000.vpe: Device registered as /dev/video0
    [   14.849296] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   14.876064] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [   14.876073] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   14.876080] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   14.876085] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   14.876090] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [   14.876095] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [   14.876100] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [   14.876105] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   14.876110] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   14.876152] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   14.881935] vip 48990000.vip: VPDMA firmware loaded
    [   14.886914] vip2-s0: Port A: Using subdev mt9t11x for capture
    [   14.895621] vip2-s0: device registered as video1
    [   15.447557] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.555078] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.578916] SCSI subsystem initialized
    [   15.579313] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.582838] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.583459] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.583626] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   15.707723] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   15.775554] libata version 3.00 loaded.
    [   15.904246] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   15.912119] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   15.922552] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [   15.944143] scsi host0: ahci
    [   15.947971] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [   15.984235] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   16.281310] ata1: SATA link down (SStatus 0 SControl 300)
    [   16.643081] remoteproc remoteproc2: powering up 40800000.dsp
    [   16.648775] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   16.664493] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   16.670380] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   16.676302] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   16.696773] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   16.699524] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   16.713670] remoteproc remoteproc2: registered virtio2 (type 7)
    [   16.725724] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   16.725729] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   16.727248] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   16.742592] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [   16.762909] remoteproc remoteproc3: powering up 41000000.dsp
    [   16.769795] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [   16.785266] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   16.791156] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   16.797100] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   16.836815] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   16.836886] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   16.896559] remoteproc remoteproc3: registered virtio3 (type 7)
    [   16.932433] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   16.965055] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   16.965979] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   17.001339] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   17.033113] net eth1: initializing cpsw version 1.15 (0)
    [   17.033120] net eth0: initialized cpsw ale version 1.4
    [   17.033123] net eth0: ALE Table size 1024
    [   17.237663] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   17.255342] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   17.271245] net eth0: initializing cpsw version 1.15 (0)
    [   17.303102] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   17.401978] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   17.451399] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   17.794303] Bluetooth: Core ver 2.22
    [   17.797936] NET: Registered protocol family 31
    [   17.815634] Bluetooth: HCI device and connection manager initialized
    [   17.846757] Bluetooth: HCI socket layer initialized
    [   17.884487] Bluetooth: L2CAP socket layer initialized
    [   17.895903] Bluetooth: SCO socket layer initialized
    [   18.362905] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   18.394778] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   18.395257] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 8
    [   18.419080] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   18.423591] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   18.424014] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   18.424719] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   18.432754] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   18.443599] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   18.445471] vip2-s0: memset  executed
    [   18.520773] NET: Registered protocol family 43
    [   18.549436] remoteproc remoteproc4: 4b234000.pru0 is available
    [   18.549485] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   18.549778] remoteproc remoteproc5: 4b238000.pru1 is available
    [   18.549819] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   18.550888] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   18.550921] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   18.551175] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   18.551206] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   18.590637] usbcore: registered new interface driver usbfs
    [   18.590825] usbcore: registered new interface driver hub
    [   18.590907] usbcore: registered new device driver usb
    [   18.621598] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   18.621619] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   18.622978] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   18.623020] xhci-hcd xhci-hcd.1.auto: irq 474, io mem 0x48890000
    [   18.624731] hub 1-0:1.0: USB hub found
    [   18.624950] hub 1-0:1.0: 1 port detected
    [   18.625488] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   18.625502] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   18.625562] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   18.626516] hub 2-0:1.0: USB hub found
    [   18.626733] hub 2-0:1.0: 1 port detected
    [   18.962449] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   18.962833] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   18.979943] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   19.005098] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   19.025789] hub 2-1:1.0: USB hub found
    [   19.030120] hub 2-1:1.0: 4 ports detected
    [   19.149906] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   19.329757] hub 1-1:1.0: USB hub found
    [   19.335680] hub 1-1:1.0: 4 ports detected
    [   19.886078] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   19.908748] NET: Registered protocol family 15
    [   20.462859] Initializing XFRM netlink socket
    [   20.789856] random: crng init done
    [   27.367285] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   27.380254] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   27.393257] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   27.406178] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [  107.985543] vip2-s0: vip_open
    [  107.985563] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 640x480
    [  107.985573] vip2-s0: memset  executed
    [  107.989258] vip2-s0: calc_format_size: fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [  107.989264] vip2-s0: init_stream fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [  107.989269] vip2-s0: init_stream vpdma data type: 0x02
    [  107.989277] vip2-s0: vip_init_stream: stream instance 0x600a0013ed930000
    [  107.989346] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x0004091c, capabilities=0x85200001, device_caps=0x05200001
    [  107.989389] video1: VIDIOC_G_PARM: type=vid-cap, capability=0x1000, capturemode=0x0, timeperframe=1/30, extendedmode=0, readbuffers=4
    [  107.989419] vip2-s0: g_fmt fourcc:NV12 code: 2006 size: 640x480 bpl:640 img_size:460800
    [  107.989424] vip2-s0: g_fmt vpdma data type: 0x02
    [  107.989428] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=NV12, field=none, bytesperline=640, sizeimage=460800, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  107.989458] vip2-s0: s_fmt input fourcc:YUYV size: 800x600 bpl:640 img_size:460800
    [  107.989464] vip2-s0: try_fmt fourcc:YUYV size: 800x600
    [  107.989471] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 2048x1536
    [  107.989476] vip2-s0: try_fmt loop:0 found new larger: 2048x1536
    [  107.989482] vip2-s0: try_fmt loop:0 found at least larger: 2048x1536
    [  107.989487] vip2-s0: try_fmt loop:0 found new best: 2048x1536
    [  107.989492] vip2-s0: try_fmt loop:1 fourcc:YUYV size: 1920x1200
    [  107.989496] vip2-s0: try_fmt loop:1 found at least larger: 1920x1200
    [  107.989501] vip2-s0: try_fmt loop:1 found new best: 1920x1200
    [  107.989506] vip2-s0: try_fmt loop:2 fourcc:YUYV size: 1920x1080
    [  107.989511] vip2-s0: try_fmt loop:2 found at least larger: 1920x1080
    [  107.989516] vip2-s0: try_fmt loop:2 found new best: 1920x1080
    [  107.989521] vip2-s0: try_fmt loop:3 fourcc:YUYV size: 1600x1200
    [  107.989525] vip2-s0: try_fmt loop:3 found at least larger: 1600x1200
    [  107.989530] vip2-s0: try_fmt loop:4 fourcc:YUYV size: 1440x900
    [  107.989535] vip2-s0: try_fmt loop:4 found at least larger: 1440x900
    [  107.989540] vip2-s0: try_fmt loop:4 found new best: 1440x900
    [  107.989545] vip2-s0: try_fmt loop:5 fourcc:YUYV size: 1280x800
    [  107.989549] vip2-s0: try_fmt loop:5 found at least larger: 1280x800
    [  107.989554] vip2-s0: try_fmt loop:5 found new best: 1280x800
    [  107.989559] vip2-s0: try_fmt loop:6 fourcc:YUYV size: 1280x720
    [  107.989564] vip2-s0: try_fmt loop:6 found at least larger: 1280x720
    [  107.989568] vip2-s0: try_fmt loop:6 found new best: 1280x720
    [  107.989573] vip2-s0: try_fmt loop:7 fourcc:YUYV size: 800x600
    [  107.989578] vip2-s0: try_fmt loop:7 found at least larger: 800x600
    [  107.989582] vip2-s0: try_fmt loop:7 found new best: 800x600
    [  107.989587] vip2-s0: try_fmt loop:7 found direct match: 800x600
    [  107.989594] vip2-s0: calc_format_size: fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  107.989600] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  107.989606] vip2-s0: s_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  107.989612] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 800x600
    [  107.989618] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 800x600
    [  107.989623] vip2-s0: s_fmt vpdma data type: 0x07
    [  107.989626] video1: VIDIOC_S_FMT: type=vid-cap, width=800, height=600, pixelformat=YUYV, field=none, bytesperline=1600, sizeimage=960000, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  107.989823] vip2-s0: get 3 buffer(s) of size 960000 each.
    [  107.989833] vb2-core: __vb2_queue_alloc: allocated 3 buffers, 1 plane(s) each
    [  107.999959] video1: VIDIOC_REQBUFS: count=3, type=vid-cap, memory=dmabuf
    [  107.999987] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  108.000015] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  108.000026] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  108.000052] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  108.000059] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  108.000084] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  108.000096] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  108.007847] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [  108.014047] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  108.021594] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [  108.027767] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  108.035350] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [  108.041614] vip2-s0: vip_set_slice_path:
    [  108.041623] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
    [  108.041628] vip2-s0: vip_set_slice_path:
    [  108.041634] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000
    [  108.041921] mt9t11x 4-003c: mt9t11x_s_stream: enable: 1
    [  108.041930] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [  108.067958] mt9t11x 4-003c: mt9t11x_init_camera_optimized:
    [  108.067967] mt9t11x 4-003c: mt9t11x_reset:
    [  108.068142] vip2-s0: stream on failed in subdev
    [  108.068148] vb2-core: vb2_start_streaming: driver refused to start streaming
    [  108.076468] ------------[ cut here ]------------
    [  108.081306] WARNING: CPU: 1 PID: 1153 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158
    [  108.092021] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 bc_example(O) af_key xfrm_algo xhci_plat_hcd xhci_hcd usbcore pru_rproc pruss_intc rpmsg_proto dwc3 pruss udc_core usb_common rpmsg_rpc bluetooth snd_soc_simple_card snd_soc_simple_card_utils pvrsrvkm(O) ahci_platform libahci_platform libahci libata snd_soc_omap_hdmi_audio omap_aes_driver scsi_mod pruss_soc_bus omap_sham omap_wdt extcon_palmas dwc3_omap ti_vip extcon_core ti_vpe snd_soc_tlv320aic3x rtc_ds1307 ti_sc ti_csc rtc_omap ti_vpdma rtc_palmas omap_des pixcir_i2c_ts mt9t11x des_generic crypto_engine omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [  108.163579] CPU: 0 PID: 1153 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #4
    [  108.172232] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  108.178351] Backtrace: 
    [  108.180825] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [  108.188430]  r7:00000009 r6:600f0013 r5:00000000 r4:c1022410
    [  108.194117] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)
    [  108.201375] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)
    [  108.208367]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000
    [  108.214054] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)
    [  108.221660]  r9:00000003 r8:c103e20c r7:ffffff87 r6:ed93087c r5:ed930ad8 r4:ed9309b4
    [  108.229440] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)
    [  108.238267] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)
    [  108.247091]  r7:c06d7c9c r6:ed9a2800 r5:00000000 r4:ed93087c
    [  108.252777] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)
    [  108.260815]  r5:ed2a9600 r4:00000001
    [  108.264409] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)
    [  108.272540] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)
    [  108.280664]  r5:40045612 r4:c06f09c8
    [  108.284259] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)
    [  108.292384]  r5:40045612 r4:00000001
    [  108.295977] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)
    [  108.304279]  r10:00000001 r9:00000000 r8:bebd4714 r7:ece1fe18 r6:00000004 r5:00000004
    [  108.312140]  r4:40045612
    [  108.314686] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)
    [  108.322464]  r10:00000000 r9:ece1e000 r8:ed8b8acc r7:bebd4714 r6:40045612 r5:ed2a9600
    [  108.330325]  r4:ed9a2800
    [  108.332873] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)
    [  108.340308] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)
    [  108.347823]  r9:ece1e000 r8:bebd4714 r7:0000000f r6:ed2a9600 r5:ed98f1b8 r4:bebd4714
    [  108.355604] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)
    [  108.362946]  r10:00000000 r9:ece1e000 r8:bebd4714 r7:40045612 r6:ed2a9600 r5:0000000f
    [  108.370807]  r4:ed2a9601
    [  108.373355] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
    [  108.380960]  r9:ece1e000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0
    [  108.388801] ---[ end trace 9e76659366b86c25 ]---
    [  108.393575] video1: VIDIOC_STREAMON: error -121: type=vid-cap
    [  108.398527] vb2-core: vb2_core_streamoff: successful
    [  108.403837] video1: VIDIOC_STREAMOFF: type=vid-cap
    [  108.403872] vip2-s0: vip_release
    [  108.403891] vip2-s0: vip_release_stream: stream instance 0xc08c4420ed930000
    [  108.403898] vip2-s0: vip_release_port: port instance 0xed2a9600ed9a2c10
    

  • Hi Matusan,

    Please check with AM57xx marketing person to know where to buy the "ov10635 based sensor board"

    Analyzing the log you shared - 

    [  108.041634] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000

    [  108.041921] mt9t11x 4-003c: mt9t11x_s_stream: enable: 1

    [  108.041930] mt9t11x 4-003c: __mt9t11x_set_power: on: 1

    [  108.067958] mt9t11x 4-003c: mt9t11x_init_camera_optimized:

    [  108.067967] mt9t11x 4-003c: mt9t11x_reset:

    [  108.068142] vip2-s0: stream on failed in subdev

    [  108.393575] video1: VIDIOC_STREAMON: error -121: type=vid-cap

    [  108.398527] vb2-core: vb2_core_streamoff: successful

    That one of the two i2c_transfer inside of mt9t11x_reset() return -121 which translate to –EREMOTEIO.

    Drilling down the i2c stack we can find that in omap_i2c_xfer_msg() –EREMOTEIO is return when there is a NACK on the bus.

    So we suspect it is some kind of i2c related issue on the MT9T111 sensor board.

    Can you collect following more information to further corner the problem -

    1. At probe time  you are able to read the Product ID register (since the driver probed successfully).

    So as a debug step in mt9t11x_sysctl_startup(), could you please add the following code before the call to mt9t11x_reset()

    int chipid;

    chipid =  mt9t11x_reg_read(client, 0x0000);

    /* if chipid is <0 then there was an i2c error otherwise the value should be 0x2680 or 9856 */

    dev_info(&client->dev, “startup: chipid:%d\n”, chipid);

    If the above debug log shows an i2c error then maybe there is some kind we might try a longer Power up delay.

    If the above show the actual expected value but the mt9t11x_reset() still fails this might indicate that some of the pins to the sensor itself were damaged.

    2. As mentioned above, you can try increasing the powerup delay to see if that makes difference.

    In __mt9t11x_set_power() increase the usleep_range() values by 10x (i.e 250000, 260000).

    3. You can also disable the powerdown functionality and leave the sensor always powered on.

    In __mt9t11x_set_power() comment out the “else” of “if (on)” that way right at probe the sensor would be powered on and would stay on.

    Can you please run through above and let us know your findings?

    Regards,

    Manisha

  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    I would like to send the trial result including dmesg logs.

    Unfortunately, we cannot still find any camera capture image.

    (We can only see two buttons named "capture" and "exit" on the Black screen.)

    We would appreciate if you tell us how to solve this problem.

    <results>

    Trial 1: about read the Product ID register

    - I'd like to send the dmesg log "2017_0914_dmesg_1.log"

    Trial2: about  increase the usleep_range() values by 10x

    - I'd like to send the dmesg log "2017_0914_dmesg_2.log"

    Trial3: about disable the powerdown functionality

     - I'd like to send the dmesg log "2017_0914_dmesg_3.log"

        and modified "mt9t11x.c".

    Best regards,

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (usr@usr-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #4 SMP PREEMPT Mon Sep 11 15:27:38 JST 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: TI AM572x EVM Rev A3
    [    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 @eed34000 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=ttyO2,115200n8 root=PARTUUID=000341b6-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K 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.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000319] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000327] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000736] Console: colour dummy device 80x30
    [    0.000753] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000760] This ensures that you still see kernel messages. Please
    [    0.000766] update your kernel commandline.
    [    0.000783] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000797] pid_max: default: 32768 minimum: 301
    [    0.000896] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000906] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001515] CPU: Testing write buffer coherency: ok
    [    0.001721] /cpus/cpu@0 missing clock-frequency property
    [    0.001738] /cpus/cpu@1 missing clock-frequency property
    [    0.001749] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001767] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080065] EFI services will not be available.
    [    0.170309] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170395] Brought up 2 CPUs
    [    0.170409] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170416] CPU: All CPU(s) started in HYP mode.
    [    0.170422] CPU: Virtualization extensions available.
    [    0.170924] devtmpfs: initialized
    [    0.198094] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198325] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198341] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201678] pinctrl core: initialized pinctrl subsystem
    [    0.202479] NET: Registered protocol family 16
    [    0.203346] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204302] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.313558] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440377] cpuidle: using governor ladder
    [    0.470403] cpuidle: using governor menu
    [    0.478409] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478637] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.480091] OMAP GPIO hardware version 0.1
    [    0.480798] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.481015] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482815] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.483020] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484844] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.485054] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486811] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.487014] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488790] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.488996] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490817] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.491030] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492812] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.493015] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494581] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.520981] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.520992] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521343] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521353] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521884] OMAP DMA hardware revision 0.0
    [    0.571609] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572898] edma 43300000.edma: memcpy is disabled
    [    0.577690] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.578058] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.578331] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.578672] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.579048] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.582125] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.582293] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.582441] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582589] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582848] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.583022] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585654] palmas 0-0058: Irq flag is 0x00000008
    [    0.613299] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.617085] vtt_fixed: supplied by smps3
    [    0.651320] random: fast init done
    [    0.692388] vdd_3v3: supplied by regen1
    [    0.692609] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.695025] gpiochip_find_base: found new base at 504
    [    0.695042] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.695267] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.695797] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696297] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.696870] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.697061] media: Linux media interface: v0.10
    [    0.697106] Linux video capture interface: v2.00
    [    0.697141] pps_core: LinuxPPS API ver. 1 registered
    [    0.697148] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.697169] PTP clock support registered
    [    0.697207] EDAC MC: Ver: 3.0.0
    [    0.697895] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.698194] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.698474] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.698758] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.699097] Advanced Linux Sound Architecture Driver Initialized.
    [    0.699914] clocksource: Switched to clocksource arch_sys_counter
    [    0.710665] NET: Registered protocol family 2
    [    0.711158] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.711222] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.711347] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.711393] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711424] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711551] NET: Registered protocol family 1
    [    0.711896] RPC: Registered named UNIX socket transport module.
    [    0.711906] RPC: Registered udp transport module.
    [    0.711913] RPC: Registered tcp transport module.
    [    0.711919] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.711929] PCI: CLS 0 bytes, default 64
    [    0.712830] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.715724] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.723251] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.723954] NFS: Registering the id_resolver key type
    [    0.723980] Key type id_resolver registered
    [    0.723988] Key type id_legacy registered
    [    0.724029] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.725185] bounce: pool size: 64 pages
    [    0.725328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.725338] io scheduler noop registered
    [    0.725345] io scheduler deadline registered
    [    0.725469] io scheduler cfq registered (default)
    [    0.729837] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.730373] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.733632] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.733639] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.733667] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.733785] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.733797] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.733829] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.733851] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.735248] dra7-pcie 51000000.pcie: phy link never came up
    [    1.735419] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.735432] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.735443] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.735454] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.735489] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.735512] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.735525] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.735593] pci 0000:00:00.0: supports D1
    [    1.735600] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.735828] PCI: bus0: Fast back to back transfers disabled
    [    1.735948] PCI: bus1: Fast back to back transfers enabled
    [    1.736063] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.736079] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.736093] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.736314] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.736328] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.736454] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.737291] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.737299] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.737306] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.737313] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.737320] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.737327] pwm-backlight backlight: lookup for GPIO enable failed
    [    1.737356] backlight supply power not found, using dummy regulator
    [    1.799401] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.802775] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.771382] console [ttyS2] enabled
    [    2.775724] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.786467] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.793244] [drm] Initialized
    [    2.798095] OMAP DSS rev 6.1
    [    2.801472] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.809795] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.818686] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818693] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818720] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.818734] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818740] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818775] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.818786] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818792] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818838] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.819497] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.819765] panel-dpi display: GPIO lookup for consumer enable
    [    2.819772] panel-dpi display: using device tree for GPIO lookup
    [    2.819797] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    2.819809] panel-dpi display: GPIO lookup for consumer reset
    [    2.819815] panel-dpi display: using device tree for GPIO lookup
    [    2.819822] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    2.819828] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    2.819833] panel-dpi display: using lookup tables for GPIO lookup
    [    2.819840] panel-dpi display: lookup for GPIO reset failed
    [    2.819869] display supply vcc not found, using dummy regulator
    [    2.856747] brd: module loaded
    [    2.895036] loop: module loaded
    [    2.898769] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.908454] libphy: Fixed MDIO Bus: probed
    [    2.969948] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    2.976072] libphy: 48485000.mdio: probed
    [    2.984383] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    2.994124] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.004321] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:9e:ba
    [    3.011008] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.019274] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:9e:bb
    [    3.027680] mousedev: PS/2 mouse device common for all mice
    [    3.033612] i2c /dev entries driver
    [    3.038722] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.039960] gpio-fan gpio_fan: GPIO fan initialized
    [    3.046188] tmp102 0-0048: initialized
    [    3.054994] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    3.055002] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.055028] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.055063] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.059707] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    3.059713] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.059720] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.059727] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.059733] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.059740] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    3.130096] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.130101] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.130106] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.130111] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.130115] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.130119] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.130125] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.130128] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.130133] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.130137] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.130141] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.130145] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.130257] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.136638] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.220139] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    3.220144] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.220149] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.220154] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.220158] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.220162] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    3.220168] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    3.220171] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.220176] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.220180] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.220184] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.220189] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    3.280217] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
    [    3.280303] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
    [    3.280382] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [    3.280463] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [    3.280827] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.291527] NET: Registered protocol family 10
    [    3.306647] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.313000] NET: Registered protocol family 17
    [    3.317598] Key type dns_resolver registered
    [    3.321987] omap_voltage_late_init: Voltage driver support not added
    [    3.328431] Power Management for TI OMAP4+ devices.
    [    3.333546] Registering SWP/SWPB emulation handler
    [    3.347435] dmm 4e000000.dmm: initialized all PAT entries
    [    3.380987] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.387628] [drm] No driver support for vblank timestamp query.
    [    3.395432] [drm] Enabling DMM ywrap scrolling
    [    3.434379] mmc1: new DDR MMC card at address 0001
    [    3.434730] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    3.434892] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.435041] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.435566]  mmcblk1: p1 p2 p3
    [    3.448296] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.450091] mmc0: new ultra high speed DDR50 SDHC card at address 0007
    [    3.450358] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
    [    3.451154]  mmcblk0: p1 p2
    [    3.468578] Console: switching to colour frame buffer device 100x30
    [    3.523048] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.561603] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    3.561632] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    3.561655] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    3.561678] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
    [    3.561700] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
    [    3.562353] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.569292] hctosys: unable to open rtc device (rtc0)
    [    3.574939] aic_dvdd_fixed: disabling
    [    3.578618] vmmcwl_fixed: disabling
    [    3.582304] ldousb: disabling
    [    3.585539] ALSA device list:
    [    3.588517]   No soundcards found.
    [   10.117544] EXT4-fs (mmcblk0p2): recovery complete
    [   10.126327] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   10.134504] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [   10.141912] devtmpfs: mounted
    [   10.146162] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [   10.370180] systemd[1]: System time before build time, advancing clock.
    [   10.419455] 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)
    [   10.438017] systemd[1]: Detected architecture arm.
    [   10.471258] systemd[1]: Set hostname to <am57xx-evm>.
    [   10.780983] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   10.788771] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   10.796505] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   10.803799] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   10.811283] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
    [   10.819150] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   10.826613] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [   11.292422] cmemk: loading out-of-tree module taints kernel.
    [   11.298803] CMEMK module: reference Linux version 4.9.28
    [   11.304837] allocated heap buffer 0x40500000 of size 0x100000
    [   11.311368] cmemk initialized
    [   11.321438] cryptodev: driver 1.8 loaded.
    [   11.544204] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   12.138986] systemd-journald[120]: Received request to flush runtime journal from PID 1
    [   12.574425] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [   12.606063] remoteproc remoteproc0: 58820000.ipu is available
    [   12.618179] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [   12.631850] remoteproc remoteproc1: 55020000.ipu is available
    [   12.632558] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [   12.632635] remoteproc remoteproc2: 40800000.dsp is available
    [   12.632883] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [   12.632955] remoteproc remoteproc3: 41000000.dsp is available
    [   12.846072] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [   12.846083] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [   12.875565] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [   12.875574] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   12.875584] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.875591] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.875596] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [   12.875603] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [   12.875609] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [   12.875615] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   12.875622] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   12.875682] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   12.891375] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [   12.994583] rtc rtc2: 48838000.rtc: dev (253:2)
    [   12.994595] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [   13.018363] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   13.024348] omap-des 480a5000.des: will run requests pump with realtime priority
    [   13.124336] remoteproc remoteproc1: powering up 55020000.ipu
    [   13.130121] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [   13.138541] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   13.175579] pixcir_ts 4-005c: GPIO lookup for consumer attb
    [   13.175586] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.175593] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175611] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.175622] pixcir_ts 4-005c: GPIO lookup for consumer reset
    [   13.175626] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.175632] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175647] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.175656] pixcir_ts 4-005c: GPIO lookup for consumer wake
    [   13.175660] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.175665] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175669] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175673] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.175678] pixcir_ts 4-005c: lookup for GPIO wake failed
    [   13.175683] pixcir_ts 4-005c: GPIO lookup for consumer enable
    [   13.175686] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.175691] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175696] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.175700] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.175704] pixcir_ts 4-005c: lookup for GPIO enable failed
    [   13.215575] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   13.222895] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   13.223074] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   13.243850] rtc-ds1307 2-006f: SET TIME!
    [   13.248314] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [   13.248321] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [   13.248369] remoteproc remoteproc1: registered virtio0 (type 7)
    [   13.254864] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   13.262665] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.262672] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.263022] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [   13.263307] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.263314] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.263320] rtc rtc0: alarm rollover: year
    [   13.263601] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [   13.263609] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [   13.263762] rtc rtc0: mcp7941x: dev (253:0)
    [   13.263777] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [   13.271228] rtc-ds1307 2-006f: got IRQ 475
    [   13.271241] rtc-ds1307 2-006f: 64 bytes nvram
    [   13.330774] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [   13.346137] mt9t11x 4-003c: _get_pdata invoked
    [   13.346144] mt9t11x 4-003c: _get_pdata: DT Node found
    [   13.346155] mt9t11x 4-003c: _get_pdata: endpoint found
    [   13.346176] mt9t11x 4-003c: input-clock-freq: 32000000
    [   13.355250] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [   13.355258] mt9t11x 4-003c: GPIO lookup for consumer reset
    [   13.355262] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.355325] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.355337] mt9t11x 4-003c: GPIO lookup for consumer powerdown
    [   13.355339] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.355355] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.355364] mt9t11x 4-003c: GPIO lookup for consumer oscen
    [   13.355366] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.355381] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.355388] mt9t11x 4-003c: GPIO lookup for consumer bufen
    [   13.355390] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.355405] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.355412] mt9t11x 4-003c: GPIO lookup for consumer camen
    [   13.355414] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.355429] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.355441] mt9t11x 4-003c: mt9t11x_initialize_controls:
    [   13.355459] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [   13.383067] mt9t11x 4-003c: mt9t111 chip ID 2680 rev 0077
    [   13.393339] mt9t11x 4-003c: __mt9t11x_set_power: on: 0
    [   13.393348] mt9t11x 4-003c: mt9t11x_pll_calc_params:
    [   13.393554] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [   13.405363] SCSI subsystem initialized
    [   13.468437] remoteproc remoteproc0: powering up 58820000.ipu
    [   13.474894] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [   13.475028] libata version 3.00 loaded.
    [   13.501374] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   13.540655] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   13.543639] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [   13.543771] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [   13.543971] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [   13.544080] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   13.628552] remoteproc remoteproc0: registered virtio1 (type 7)
    [   13.644228] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   13.680432] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   13.687197] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   13.696305] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [   13.716482] scsi host0: ahci
    [   13.719606] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [   13.728738] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   13.790267] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   13.800504] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   13.827714] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   13.840400] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   13.889874] rtc-ds1307 2-006f: write secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.889884] rtc-ds1307 2-006f: write: b8 23 20 0c 28 06 17
    [   13.890427] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   13.897054] rtc-ds1307 2-006f: read: b8 23 20 2c 28 06 17
    [   13.897063] rtc-ds1307 2-006f: read secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.903462] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   13.914765] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   13.922812] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   13.950254] vpe 489d0000.vpe: Device registered as /dev/video0
    [   13.969482] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   13.999952] vip 48990000.vip: VPDMA firmware loaded
    [   14.000062] vip2-s0: Port A: Using subdev mt9t11x for capture
    [   14.000489] vip2-s0: device registered as video1
    [   14.052710] ata1: SATA link down (SStatus 0 SControl 300)
    [   14.301292] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   14.301300] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   14.302021] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [   14.366689] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.378200] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.379180] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.768784] remoteproc remoteproc3: powering up 41000000.dsp
    [   14.777318] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [   14.795358] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   14.801248] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   14.807182] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   14.862384] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   14.911964] remoteproc remoteproc2: powering up 40800000.dsp
    [   14.911973] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   14.918561] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   14.918589] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   14.918625] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   14.983196] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   14.983212] remoteproc remoteproc3: registered virtio2 (type 7)
    [   14.983216] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   14.984152] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   14.990484] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   14.990503] remoteproc remoteproc2: registered virtio3 (type 7)
    [   14.990508] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   14.990935] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   15.245923] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   15.256372] vip2-s0: memset  executed
    [   15.259338] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   15.261711] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   15.262173] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   15.262570] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   15.263975] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   15.264404] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   15.311006] NET: Registered protocol family 43
    [   15.313103] usbcore: registered new interface driver usbfs
    [   15.313267] usbcore: registered new interface driver hub
    [   15.313515] usbcore: registered new device driver usb
    [   15.327969] remoteproc remoteproc4: 4b234000.pru0 is available
    [   15.328019] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   15.328473] remoteproc remoteproc5: 4b238000.pru1 is available
    [   15.328555] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   15.329304] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   15.329346] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   15.329897] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   15.329962] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   15.352959] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   15.352979] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   15.353391] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   15.353434] xhci-hcd xhci-hcd.1.auto: irq 473, io mem 0x48890000
    [   15.358301] hub 1-0:1.0: USB hub found
    [   15.358327] hub 1-0:1.0: 1 port detected
    [   15.358603] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   15.358613] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   15.359225] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   15.373426] hub 2-0:1.0: USB hub found
    [   15.373454] hub 2-0:1.0: 1 port detected
    [   15.526949] net eth1: initializing cpsw version 1.15 (0)
    [   15.526955] net eth0: initialized cpsw ale version 1.4
    [   15.526959] net eth0: ALE Table size 1024
    [   15.688012] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   15.702641] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   15.710610] net eth0: initializing cpsw version 1.15 (0)
    [   15.723148] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   15.773874] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   15.783675] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   15.841728] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   15.842036] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   15.848494] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   15.868861] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.902849] hub 1-1:1.0: USB hub found
    [   15.903114] hub 1-1:1.0: 4 ports detected
    [   15.947092] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   16.024927] Bluetooth: Core ver 2.22
    [   16.028561] NET: Registered protocol family 31
    [   16.030486] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   16.041564] Bluetooth: HCI device and connection manager initialized
    [   16.048096] Bluetooth: HCI socket layer initialized
    [   16.053988] Bluetooth: L2CAP socket layer initialized
    [   16.059240] Bluetooth: SCO socket layer initialized
    [   16.078882] hub 2-1:1.0: USB hub found
    [   16.083043] hub 2-1:1.0: 4 ports detected
    [   17.056882] NET: Registered protocol family 15
    [   17.061556] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   17.148030] Initializing XFRM netlink socket
    [   17.406454] random: crng init done
    [   25.447341] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   25.460331] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   25.473312] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   25.488092] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [  171.651956] vip2-s0: vip_open
    [  171.651976] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 640x480
    [  171.651986] vip2-s0: memset  executed
    [  171.655669] vip2-s0: calc_format_size: fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [  171.655676] vip2-s0: init_stream fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [  171.655681] vip2-s0: init_stream vpdma data type: 0x02
    [  171.655690] vip2-s0: vip_init_stream: stream instance 0x600a0013ee137000
    [  171.655761] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x0004091c, capabilities=0x85200001, device_caps=0x05200001
    [  171.655806] video1: VIDIOC_G_PARM: type=vid-cap, capability=0x1000, capturemode=0x0, timeperframe=1/30, extendedmode=0, readbuffers=4
    [  171.655836] vip2-s0: g_fmt fourcc:NV12 code: 2006 size: 640x480 bpl:640 img_size:460800
    [  171.655842] vip2-s0: g_fmt vpdma data type: 0x02
    [  171.655845] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=NV12, field=none, bytesperline=640, sizeimage=460800, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  171.655875] vip2-s0: s_fmt input fourcc:YUYV size: 800x600 bpl:640 img_size:460800
    [  171.655881] vip2-s0: try_fmt fourcc:YUYV size: 800x600
    [  171.655889] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 2048x1536
    [  171.655895] vip2-s0: try_fmt loop:0 found new larger: 2048x1536
    [  171.655900] vip2-s0: try_fmt loop:0 found at least larger: 2048x1536
    [  171.655905] vip2-s0: try_fmt loop:0 found new best: 2048x1536
    [  171.655910] vip2-s0: try_fmt loop:1 fourcc:YUYV size: 1920x1200
    [  171.655915] vip2-s0: try_fmt loop:1 found at least larger: 1920x1200
    [  171.655920] vip2-s0: try_fmt loop:1 found new best: 1920x1200
    [  171.655925] vip2-s0: try_fmt loop:2 fourcc:YUYV size: 1920x1080
    [  171.655930] vip2-s0: try_fmt loop:2 found at least larger: 1920x1080
    [  171.655935] vip2-s0: try_fmt loop:2 found new best: 1920x1080
    [  171.655940] vip2-s0: try_fmt loop:3 fourcc:YUYV size: 1600x1200
    [  171.655944] vip2-s0: try_fmt loop:3 found at least larger: 1600x1200
    [  171.655950] vip2-s0: try_fmt loop:4 fourcc:YUYV size: 1440x900
    [  171.655955] vip2-s0: try_fmt loop:4 found at least larger: 1440x900
    [  171.655960] vip2-s0: try_fmt loop:4 found new best: 1440x900
    [  171.655965] vip2-s0: try_fmt loop:5 fourcc:YUYV size: 1280x800
    [  171.655969] vip2-s0: try_fmt loop:5 found at least larger: 1280x800
    [  171.655974] vip2-s0: try_fmt loop:5 found new best: 1280x800
    [  171.655979] vip2-s0: try_fmt loop:6 fourcc:YUYV size: 1280x720
    [  171.655984] vip2-s0: try_fmt loop:6 found at least larger: 1280x720
    [  171.655988] vip2-s0: try_fmt loop:6 found new best: 1280x720
    [  171.655993] vip2-s0: try_fmt loop:7 fourcc:YUYV size: 800x600
    [  171.655998] vip2-s0: try_fmt loop:7 found at least larger: 800x600
    [  171.656002] vip2-s0: try_fmt loop:7 found new best: 800x600
    [  171.656007] vip2-s0: try_fmt loop:7 found direct match: 800x600
    [  171.656013] vip2-s0: calc_format_size: fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  171.656019] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  171.656025] vip2-s0: s_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [  171.656031] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 800x600
    [  171.656038] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 800x600
    [  171.656042] vip2-s0: s_fmt vpdma data type: 0x07
    [  171.656045] video1: VIDIOC_S_FMT: type=vid-cap, width=800, height=600, pixelformat=YUYV, field=none, bytesperline=1600, sizeimage=960000, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [  171.656244] vip2-s0: get 3 buffer(s) of size 960000 each.
    [  171.656253] vb2-core: __vb2_queue_alloc: allocated 3 buffers, 1 plane(s) each
    [  171.663480] video1: VIDIOC_REQBUFS: count=3, type=vid-cap, memory=dmabuf
    [  171.663534] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  171.663599] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  171.663613] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  171.663648] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  171.663658] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [  171.663685] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [  171.663697] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  171.671211] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [  171.677374] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  171.684919] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [  171.691183] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [  171.698569] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [  171.704984] vip2-s0: vip_set_slice_path:
    [  171.704993] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
    [  171.704997] vip2-s0: vip_set_slice_path:
    [  171.705004] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000
    [  171.705293] mt9t11x 4-003c: mt9t11x_s_stream: enable: 1
    [  171.705302] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [  171.731331] mt9t11x 4-003c: mt9t11x_init_camera_optimized:
    [  171.731402] mt9t11x 4-003c: startup: chipid:-121
    [  171.736043] mt9t11x 4-003c: mt9t11x_reset:
    [  171.736219] vip2-s0: stream on failed in subdev
    [  171.736225] vb2-core: vb2_start_streaming: driver refused to start streaming
    [  171.747455] ------------[ cut here ]------------
    [  171.752798] WARNING: CPU: 1 PID: 1145 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158
    [  171.764186] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 bc_example(O) ah4 af_key xfrm_algo bluetooth xhci_plat_hcd xhci_hcd pru_rproc pruss_intc rpmsg_proto usbcore pruss rpmsg_rpc dwc3 udc_core usb_common snd_soc_simple_card snd_soc_simple_card_utils ti_vip ti_vpe snd_soc_omap_hdmi_audio omap_wdt ti_sc pvrsrvkm(O) omap_aes_driver pruss_soc_bus omap_sham ahci_platform libahci_platform libahci libata scsi_mod rtc_ds1307 ti_csc mt9t11x ti_vpdma pixcir_i2c_ts dwc3_omap omap_des rtc_omap snd_soc_tlv320aic3x des_generic extcon_palmas crypto_engine extcon_core rtc_palmas omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [  171.835702] CPU: 0 PID: 1145 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #4
    [  171.844353] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  171.850472] Backtrace: 
    [  171.852947] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [  171.860551]  r7:00000009 r6:600e0013 r5:00000000 r4:c1022410
    [  171.866240] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)
    [  171.873496] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)
    [  171.880490]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000
    [  171.886176] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)
    [  171.893779]  r9:00000003 r8:c103e20c r7:ffffff87 r6:ee13787c r5:ee137ad8 r4:ee1379b4
    [  171.901559] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)
    [  171.910386] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)
    [  171.919209]  r7:c06d7c9c r6:eda03c00 r5:00000000 r4:ee13787c
    [  171.924896] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)
    [  171.932932]  r5:edebb6c0 r4:00000001
    [  171.936525] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)
    [  171.944656] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)
    [  171.952779]  r5:40045612 r4:c06f09c8
    [  171.956374] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)
    [  171.964497]  r5:40045612 r4:00000001
    [  171.968089] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)
    [  171.976391]  r10:00000001 r9:00000000 r8:bef5f724 r7:ece53e18 r6:00000004 r5:00000004
    [  171.984251]  r4:40045612
    [  171.986796] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)
    [  171.994574]  r10:00000000 r9:ece52000 r8:eda098cc r7:bef5f724 r6:40045612 r5:edebb6c0
    [  172.002435]  r4:eda03c00
    [  172.004982] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)
    [  172.012416] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)
    [  172.019932]  r9:ece52000 r8:bef5f724 r7:0000000f r6:edebb6c0 r5:ed0f81c8 r4:bef5f724
    [  172.027711] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)
    [  172.035053]  r10:00000000 r9:ece52000 r8:bef5f724 r7:40045612 r6:edebb6c0 r5:0000000f
    [  172.042915]  r4:edebb6c1
    [  172.045462] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
    [  172.053065]  r9:ece52000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0
    [  172.062224] ---[ end trace 7ae67ead3861ab83 ]---
    [  172.067036] video1: VIDIOC_STREAMON: error -121: type=vid-cap
    [  172.073722] vb2-core: vb2_core_streamoff: successful
    [  172.079071] video1: VIDIOC_STREAMOFF: type=vid-cap
    [  172.079114] vip2-s0: vip_release
    [  172.079153] vip2-s0: vip_release_stream: stream instance 0xc08c4420ee137000
    [  172.079161] vip2-s0: vip_release_port: port instance 0xedebb6c0eda00410
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (usr@usr-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #8 SMP PREEMPT Thu Sep 14 10:59:44 JST 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: TI AM572x EVM Rev A3
    [    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 @eed34000 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=ttyO2,115200n8 root=PARTUUID=000341b6-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K 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.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000319] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000327] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000739] Console: colour dummy device 80x30
    [    0.000756] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000763] This ensures that you still see kernel messages. Please
    [    0.000769] update your kernel commandline.
    [    0.000786] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000799] pid_max: default: 32768 minimum: 301
    [    0.000900] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000910] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001518] CPU: Testing write buffer coherency: ok
    [    0.001725] /cpus/cpu@0 missing clock-frequency property
    [    0.001741] /cpus/cpu@1 missing clock-frequency property
    [    0.001752] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001769] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080063] EFI services will not be available.
    [    0.170310] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170397] Brought up 2 CPUs
    [    0.170410] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170417] CPU: All CPU(s) started in HYP mode.
    [    0.170423] CPU: Virtualization extensions available.
    [    0.170927] devtmpfs: initialized
    [    0.198148] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198380] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198397] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201760] pinctrl core: initialized pinctrl subsystem
    [    0.202562] NET: Registered protocol family 16
    [    0.203421] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204372] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.314777] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440363] cpuidle: using governor ladder
    [    0.470389] cpuidle: using governor menu
    [    0.478389] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478612] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.480064] OMAP GPIO hardware version 0.1
    [    0.480768] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.480983] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482752] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.482962] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484780] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.484989] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486744] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.486949] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488727] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.488933] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490758] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.490971] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492763] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.492967] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494535] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.520943] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.520953] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521298] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521308] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521834] OMAP DMA hardware revision 0.0
    [    0.571552] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572844] edma 43300000.edma: memcpy is disabled
    [    0.577638] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.578005] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.578278] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.578617] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.578993] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.582085] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.582256] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.582402] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582552] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582813] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.582984] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585622] palmas 0-0058: Irq flag is 0x00000008
    [    0.612618] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.616406] vtt_fixed: supplied by smps3
    [    0.661754] random: fast init done
    [    0.692372] vdd_3v3: supplied by regen1
    [    0.692591] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.694990] gpiochip_find_base: found new base at 504
    [    0.695007] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.695234] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.695760] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696247] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.696818] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.697010] media: Linux media interface: v0.10
    [    0.697057] Linux video capture interface: v2.00
    [    0.697091] pps_core: LinuxPPS API ver. 1 registered
    [    0.697099] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.697119] PTP clock support registered
    [    0.697157] EDAC MC: Ver: 3.0.0
    [    0.697846] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.698144] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.698422] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.698704] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.699045] Advanced Linux Sound Architecture Driver Initialized.
    [    0.699863] clocksource: Switched to clocksource arch_sys_counter
    [    0.710603] NET: Registered protocol family 2
    [    0.711097] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.711160] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.711285] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.711332] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711362] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711491] NET: Registered protocol family 1
    [    0.711855] RPC: Registered named UNIX socket transport module.
    [    0.711864] RPC: Registered udp transport module.
    [    0.711871] RPC: Registered tcp transport module.
    [    0.711878] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.711888] PCI: CLS 0 bytes, default 64
    [    0.712793] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.715700] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.723215] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.723918] NFS: Registering the id_resolver key type
    [    0.723938] Key type id_resolver registered
    [    0.723946] Key type id_legacy registered
    [    0.723987] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.725146] bounce: pool size: 64 pages
    [    0.725289] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.725299] io scheduler noop registered
    [    0.725307] io scheduler deadline registered
    [    0.725433] io scheduler cfq registered (default)
    [    0.729789] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.730323] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.733581] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.733589] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.733616] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.733734] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.733746] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.733779] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.733800] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.735206] dra7-pcie 51000000.pcie: phy link never came up
    [    1.735377] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.735390] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.735401] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.735411] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.735445] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.735469] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.735482] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.735550] pci 0000:00:00.0: supports D1
    [    1.735557] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.735785] PCI: bus0: Fast back to back transfers disabled
    [    1.735905] PCI: bus1: Fast back to back transfers enabled
    [    1.736022] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.736038] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.736052] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.736272] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.736286] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.736412] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.737243] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.737250] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.737259] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.737266] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.737272] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.737279] pwm-backlight backlight: lookup for GPIO enable failed
    [    1.737307] backlight supply power not found, using dummy regulator
    [    1.799461] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.802816] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.771456] console [ttyS2] enabled
    [    2.775791] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.786540] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.793320] [drm] Initialized
    [    2.798186] OMAP DSS rev 6.1
    [    2.801572] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.809915] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.818735] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818742] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818769] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.818783] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818789] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818823] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.818835] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818840] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818887] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.819548] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.819816] panel-dpi display: GPIO lookup for consumer enable
    [    2.819822] panel-dpi display: using device tree for GPIO lookup
    [    2.819894] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    2.819908] panel-dpi display: GPIO lookup for consumer reset
    [    2.819914] panel-dpi display: using device tree for GPIO lookup
    [    2.819922] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    2.819928] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    2.819934] panel-dpi display: using lookup tables for GPIO lookup
    [    2.819940] panel-dpi display: lookup for GPIO reset failed
    [    2.819970] display supply vcc not found, using dummy regulator
    [    2.906950] brd: module loaded
    [    2.965342] loop: module loaded
    [    2.969069] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.978734] libphy: Fixed MDIO Bus: probed
    [    3.039898] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    3.046023] libphy: 48485000.mdio: probed
    [    3.054443] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.064183] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.074378] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:9e:ba
    [    3.081068] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.089345] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:9e:bb
    [    3.097750] mousedev: PS/2 mouse device common for all mice
    [    3.103686] i2c /dev entries driver
    [    3.108800] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.110031] gpio-fan gpio_fan: GPIO fan initialized
    [    3.116165] tmp102 0-0048: initialized
    [    3.125026] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    3.125033] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.125058] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.125094] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.129738] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    3.129744] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.129752] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.129759] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.129764] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.129771] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    3.200042] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.200047] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.200053] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.200058] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.200062] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.200066] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.200072] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.200076] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.200080] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.200085] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.200088] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.200092] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.200203] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.206582] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.290087] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    3.290092] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.290097] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.290103] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.290106] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.290111] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    3.290116] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    3.290120] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.290124] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.290129] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.290132] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.290136] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    3.350159] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
    [    3.350246] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
    [    3.350325] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [    3.350407] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [    3.350768] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.361484] NET: Registered protocol family 10
    [    3.376609] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.382957] NET: Registered protocol family 17
    [    3.387557] Key type dns_resolver registered
    [    3.391944] omap_voltage_late_init: Voltage driver support not added
    [    3.398389] Power Management for TI OMAP4+ devices.
    [    3.403506] Registering SWP/SWPB emulation handler
    [    3.417326] dmm 4e000000.dmm: initialized all PAT entries
    [    3.450942] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.457585] [drm] No driver support for vblank timestamp query.
    [    3.465394] [drm] Enabling DMM ywrap scrolling
    [    3.467017] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.469193] mmc0: new high speed SDHC card at address 0007
    [    3.479602] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
    [    3.484627]  mmcblk0: p1 p2
    [    3.493532] mmc1: new DDR MMC card at address 0001
    [    3.493829] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    3.493975] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.494123] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.494612]  mmcblk1: p1 p2 p3
    [    3.558557] Console: switching to colour frame buffer device 100x30
    [    3.591186] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.631539] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    3.631566] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    3.631590] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    3.631612] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
    [    3.631635] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
    [    3.632289] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.639228] hctosys: unable to open rtc device (rtc0)
    [    3.644872] aic_dvdd_fixed: disabling
    [    3.648551] vmmcwl_fixed: disabling
    [    3.652237] ldousb: disabling
    [    3.655472] ALSA device list:
    [    3.658450]   No soundcards found.
    [   10.578720] EXT4-fs (mmcblk0p2): recovery complete
    [   10.587613] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   10.595790] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [   10.606350] devtmpfs: mounted
    [   10.610622] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [   10.916424] systemd[1]: System time before build time, advancing clock.
    [   10.985661] 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)
    [   11.004144] systemd[1]: Detected architecture arm.
    [   11.041268] systemd[1]: Set hostname to <am57xx-evm>.
    [   11.420731] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   11.428521] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   11.436262] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   11.443561] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   11.451027] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop
    [   11.458459] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   11.465924] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [   11.969477] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   12.029177] cmemk: loading out-of-tree module taints kernel.
    [   12.035589] CMEMK module: reference Linux version 4.9.28
    [   12.041732] allocated heap buffer 0x40500000 of size 0x100000
    [   12.047535] cmemk initialized
    [   12.068540] cryptodev: driver 1.8 loaded.
    [   13.043234] systemd-journald[110]: Received request to flush runtime journal from PID 1
    [   13.412978] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [   13.462931] remoteproc remoteproc0: 58820000.ipu is available
    [   13.492062] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [   13.510784] remoteproc remoteproc1: 55020000.ipu is available
    [   13.525246] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [   13.536098] remoteproc remoteproc2: 40800000.dsp is available
    [   13.560916] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [   13.591393] remoteproc remoteproc3: 41000000.dsp is available
    [   13.743692] pixcir_ts 4-005c: GPIO lookup for consumer attb
    [   13.743700] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.743707] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743725] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.743737] pixcir_ts 4-005c: GPIO lookup for consumer reset
    [   13.743741] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.743747] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743761] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [   13.743770] pixcir_ts 4-005c: GPIO lookup for consumer wake
    [   13.743774] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.743779] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743784] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743788] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.743793] pixcir_ts 4-005c: lookup for GPIO wake failed
    [   13.743798] pixcir_ts 4-005c: GPIO lookup for consumer enable
    [   13.743802] pixcir_ts 4-005c: using device tree for GPIO lookup
    [   13.743806] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743811] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [   13.743814] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [   13.743819] pixcir_ts 4-005c: lookup for GPIO enable failed
    [   13.800958] rtc-ds1307 2-006f: read: a7 24 20 2c 28 06 17
    [   13.800967] rtc-ds1307 2-006f: read secs=27, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.801266] rtc-ds1307 2-006f: read: a7 24 20 2c 28 06 17
    [   13.801273] rtc-ds1307 2-006f: read secs=27, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.801626] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [   13.801908] rtc-ds1307 2-006f: read: a7 24 20 2c 28 06 17
    [   13.801915] rtc-ds1307 2-006f: read secs=27, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.801921] rtc rtc0: alarm rollover: year
    [   13.802198] rtc-ds1307 2-006f: read: a7 24 20 2c 28 06 17
    [   13.802205] rtc-ds1307 2-006f: read secs=27, mins=24, hours=20, mday=28, mon=5, year=117, wday=3
    [   13.802354] rtc rtc0: mcp7941x: dev (253:0)
    [   13.802366] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [   13.809074] rtc-ds1307 2-006f: got IRQ 472
    [   13.809086] rtc-ds1307 2-006f: 64 bytes nvram
    [   13.818528] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [   13.818536] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [   13.840277] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [   13.840285] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   13.840293] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   13.840299] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   13.840304] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [   13.840310] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [   13.840316] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [   13.840320] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [   13.840325] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [   13.840376] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [   13.844882] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [   13.890661] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [   13.901341] mt9t11x 4-003c: _get_pdata invoked
    [   13.901350] mt9t11x 4-003c: _get_pdata: DT Node found
    [   13.901361] mt9t11x 4-003c: _get_pdata: endpoint found
    [   13.901386] mt9t11x 4-003c: input-clock-freq: 32000000
    [   13.907098] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [   13.916800] mt9t11x 4-003c: GPIO lookup for consumer reset
    [   13.916806] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.916875] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.916888] mt9t11x 4-003c: GPIO lookup for consumer powerdown
    [   13.916893] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.916911] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.916921] mt9t11x 4-003c: GPIO lookup for consumer oscen
    [   13.916926] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.916943] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.916952] mt9t11x 4-003c: GPIO lookup for consumer bufen
    [   13.916955] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.916971] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.916980] mt9t11x 4-003c: GPIO lookup for consumer camen
    [   13.916984] mt9t11x 4-003c: using device tree for GPIO lookup
    [   13.917000] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [   13.917012] mt9t11x 4-003c: mt9t11x_initialize_controls:
    [   13.917029] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [   14.177454] mt9t11x 4-003c: mt9t111 chip ID 2680 rev 0077
    [   14.183388] mt9t11x 4-003c: __mt9t11x_set_power: on: 0
    [   14.183397] mt9t11x 4-003c: mt9t11x_pll_calc_params:
    [   14.183602] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [   14.227718] rtc rtc2: 48838000.rtc: dev (253:2)
    [   14.227730] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [   14.271342] rtc-ds1307 2-006f: write secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.271350] rtc-ds1307 2-006f: write: b8 23 20 0c 28 06 17
    [   14.272118] rtc-ds1307 2-006f: read: b8 23 20 2c 28 06 17
    [   14.272126] rtc-ds1307 2-006f: read secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [   14.277330] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   14.287423] omap-des 480a5000.des: will run requests pump with realtime priority
    [   14.537615] remoteproc remoteproc1: powering up 55020000.ipu
    [   14.543561] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [   14.551645] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [   14.566699] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [   14.600151] vpe 489d0000.vpe: Device registered as /dev/video0
    [   14.606380] remoteproc remoteproc0: powering up 58820000.ipu
    [   14.606393] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [   14.606481] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [   14.620896] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   14.620915] remoteproc remoteproc1: registered virtio0 (type 7)
    [   14.620918] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [   14.626915] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   14.626928] remoteproc remoteproc0: registered virtio1 (type 7)
    [   14.626931] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [   14.685525] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [   14.695818] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [   14.704384] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [   14.712800] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [   14.721981] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [   14.733345] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [   14.772646] SCSI subsystem initialized
    [   14.893625] libata version 3.00 loaded.
    [   14.938234] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [   15.046686] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   15.118346] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [   15.128624] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [   15.139600] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [   15.164158] scsi host0: ahci
    [   15.167294] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [   15.222443] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [   15.336305] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   15.501289] ata1: SATA link down (SStatus 0 SControl 300)
    [   15.736891] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   15.743005] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   15.751434] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   15.758339] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   15.890366] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   15.890377] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   15.890898] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [   16.851529] Bluetooth: Core ver 2.22
    [   16.855158] NET: Registered protocol family 31
    [   16.859618] Bluetooth: HCI device and connection manager initialized
    [   16.866266] Bluetooth: HCI socket layer initialized
    [   16.871253] Bluetooth: L2CAP socket layer initialized
    [   16.876346] Bluetooth: SCO socket layer initialized
    [   16.890376] remoteproc remoteproc2: powering up 40800000.dsp
    [   16.896069] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [   16.913109] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   16.918999] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   16.924945] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   16.947968] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   16.961084] remoteproc remoteproc2: registered virtio2 (type 7)
    [   16.966864] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   16.989459] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [   17.043825] remoteproc remoteproc3: powering up 41000000.dsp
    [   17.075944] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [   17.082572] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   17.082602] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   17.082690] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   17.164971] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   17.165042] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   17.222022] remoteproc remoteproc3: registered virtio3 (type 7)
    [   17.227973] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [   17.282857] net eth1: initializing cpsw version 1.15 (0)
    [   17.322875] net eth0: initialized cpsw ale version 1.4
    [   17.366292] net eth0: ALE Table size 1024
    [   17.421090] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [   17.449923] vip 48990000.vip: VPDMA firmware loaded
    [   17.455409] vip2-s0: Port A: Using subdev mt9t11x for capture
    [   17.455594] vip2-s0: device registered as video1
    [   17.542345] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   17.632313] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   17.687922] net eth0: initializing cpsw version 1.15 (0)
    [   17.918913] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   18.071687] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   18.155369] NET: Registered protocol family 15
    [   18.242114] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   18.263356] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   18.282266] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   18.448765] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   18.487856] Initializing XFRM netlink socket
    [   19.484614] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   19.500356] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   19.502954] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   19.503606] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   19.508506] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   19.510088] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   19.510515] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   19.579684] NET: Registered protocol family 43
    [   19.617473] vip2-s0: memset  executed
    [   19.655381] usbcore: registered new interface driver usbfs
    [   19.655428] usbcore: registered new interface driver hub
    [   19.655549] usbcore: registered new device driver usb
    [   19.661607] remoteproc remoteproc4: 4b234000.pru0 is available
    [   19.661655] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   19.661924] remoteproc remoteproc5: 4b238000.pru1 is available
    [   19.661964] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   19.662241] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   19.662287] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   19.662560] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   19.662601] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   19.676252] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   19.676271] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   19.676760] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   19.676800] xhci-hcd xhci-hcd.1.auto: irq 475, io mem 0x48890000
    [   19.677475] hub 1-0:1.0: USB hub found
    [   19.677503] hub 1-0:1.0: 1 port detected
    [   19.677831] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   19.677844] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   19.677960] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   19.678472] hub 2-0:1.0: USB hub found
    [   19.678494] hub 2-0:1.0: 1 port detected
    [   19.930920] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   19.931259] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 4
    [   19.973022] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   19.973317] rpmsg_rpc virtio0.rpmsg-rpc.-1.102: published functions = 9
    [   19.994100] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 8
    [   20.039908] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   20.205576] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   20.254136] hub 1-1:1.0: USB hub found
    [   20.258459] hub 1-1:1.0: 4 ports detected
    [   20.380153] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   20.430126] hub 2-1:1.0: USB hub found
    [   20.434131] hub 2-1:1.0: 4 ports detected
    [   20.530729] random: crng init done
    [   27.367294] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   27.380334] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   27.393286] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   27.406242] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   98.745902] vip2-s0: vip_open
    [   98.745922] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 640x480
    [   98.745930] vip2-s0: memset  executed
    [   98.749615] vip2-s0: calc_format_size: fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   98.749622] vip2-s0: init_stream fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   98.749628] vip2-s0: init_stream vpdma data type: 0x02
    [   98.749635] vip2-s0: vip_init_stream: stream instance 0x600a0013ee903000
    [   98.749710] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x0004091c, capabilities=0x85200001, device_caps=0x05200001
    [   98.749754] video1: VIDIOC_G_PARM: type=vid-cap, capability=0x1000, capturemode=0x0, timeperframe=1/30, extendedmode=0, readbuffers=4
    [   98.749785] vip2-s0: g_fmt fourcc:NV12 code: 2006 size: 640x480 bpl:640 img_size:460800
    [   98.749790] vip2-s0: g_fmt vpdma data type: 0x02
    [   98.749794] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=NV12, field=none, bytesperline=640, sizeimage=460800, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   98.749825] vip2-s0: s_fmt input fourcc:YUYV size: 800x600 bpl:640 img_size:460800
    [   98.749830] vip2-s0: try_fmt fourcc:YUYV size: 800x600
    [   98.749838] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 2048x1536
    [   98.749843] vip2-s0: try_fmt loop:0 found new larger: 2048x1536
    [   98.750276] vip2-s0: try_fmt loop:0 found at least larger: 2048x1536
    [   98.750282] vip2-s0: try_fmt loop:0 found new best: 2048x1536
    [   98.750289] vip2-s0: try_fmt loop:1 fourcc:YUYV size: 1920x1200
    [   98.750296] vip2-s0: try_fmt loop:1 found at least larger: 1920x1200
    [   98.750302] vip2-s0: try_fmt loop:1 found new best: 1920x1200
    [   98.750310] vip2-s0: try_fmt loop:2 fourcc:YUYV size: 1920x1080
    [   98.750315] vip2-s0: try_fmt loop:2 found at least larger: 1920x1080
    [   98.750320] vip2-s0: try_fmt loop:2 found new best: 1920x1080
    [   98.750325] vip2-s0: try_fmt loop:3 fourcc:YUYV size: 1600x1200
    [   98.750331] vip2-s0: try_fmt loop:3 found at least larger: 1600x1200
    [   98.750337] vip2-s0: try_fmt loop:4 fourcc:YUYV size: 1440x900
    [   98.750342] vip2-s0: try_fmt loop:4 found at least larger: 1440x900
    [   98.750347] vip2-s0: try_fmt loop:4 found new best: 1440x900
    [   98.750353] vip2-s0: try_fmt loop:5 fourcc:YUYV size: 1280x800
    [   98.750358] vip2-s0: try_fmt loop:5 found at least larger: 1280x800
    [   98.750364] vip2-s0: try_fmt loop:5 found new best: 1280x800
    [   98.750369] vip2-s0: try_fmt loop:6 fourcc:YUYV size: 1280x720
    [   98.750374] vip2-s0: try_fmt loop:6 found at least larger: 1280x720
    [   98.750379] vip2-s0: try_fmt loop:6 found new best: 1280x720
    [   98.750384] vip2-s0: try_fmt loop:7 fourcc:YUYV size: 800x600
    [   98.750389] vip2-s0: try_fmt loop:7 found at least larger: 800x600
    [   98.750396] vip2-s0: try_fmt loop:7 found new best: 800x600
    [   98.750402] vip2-s0: try_fmt loop:7 found direct match: 800x600
    [   98.750409] vip2-s0: calc_format_size: fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   98.750416] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   98.750424] vip2-s0: s_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   98.750430] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 800x600
    [   98.750436] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 800x600
    [   98.750441] vip2-s0: s_fmt vpdma data type: 0x07
    [   98.750445] video1: VIDIOC_S_FMT: type=vid-cap, width=800, height=600, pixelformat=YUYV, field=none, bytesperline=1600, sizeimage=960000, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   98.750678] vip2-s0: get 3 buffer(s) of size 960000 each.
    [   98.750689] vb2-core: __vb2_queue_alloc: allocated 3 buffers, 1 plane(s) each
    [   98.757856] video1: VIDIOC_REQBUFS: count=3, type=vid-cap, memory=dmabuf
    [   98.757879] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   98.757907] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   98.757914] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   98.757939] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   98.757945] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   98.757970] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   98.757981] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   98.765992] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [   98.772040] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   98.779238] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [   98.785445] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   98.792667] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [   98.798802] vip2-s0: vip_set_slice_path:
    [   98.798810] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
    [   98.798815] vip2-s0: vip_set_slice_path:
    [   98.798821] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000
    [   98.799111] mt9t11x 4-003c: mt9t11x_s_stream: enable: 1
    [   98.799120] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [   99.059153] mt9t11x 4-003c: mt9t11x_init_camera_optimized:
    [   99.059216] mt9t11x 4-003c: startup: chipid:-121
    [   99.063901] mt9t11x 4-003c: mt9t11x_reset:
    [   99.064069] vip2-s0: stream on failed in subdev
    [   99.064074] vb2-core: vb2_start_streaming: driver refused to start streaming
    [   99.074642] ------------[ cut here ]------------
    [   99.079287] WARNING: CPU: 1 PID: 1134 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158
    [   99.090988] Modules linked in: bc_example(O) xhci_plat_hcd xhci_hcd pru_rproc usbcore sha512_generic pruss_intc sha512_arm rpmsg_proto sha256_generic pruss rpmsg_rpc dwc3 sha1_generic udc_core sha1_arm_neon usb_common sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo ti_vip bluetooth snd_soc_simple_card snd_soc_simple_card_utils omap_aes_driver pvrsrvkm(O) snd_soc_omap_hdmi_audio ahci_platform libahci_platform libahci omap_wdt pruss_soc_bus omap_sham libata scsi_mod ti_vpe ti_sc ti_csc omap_des ti_vpdma dwc3_omap des_generic rtc_omap snd_soc_tlv320aic3x crypto_engine extcon_palmas extcon_core rtc_palmas mt9t11x rtc_ds1307 pixcir_i2c_ts omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [   99.162458] CPU: 0 PID: 1134 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #8
    [   99.171106] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   99.177222] Backtrace: 
    [   99.179695] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [   99.187298]  r7:00000009 r6:600f0013 r5:00000000 r4:c1022410
    [   99.192983] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)
    [   99.200238] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)
    [   99.207228]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000
    [   99.212912] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)
    [   99.220514]  r9:00000003 r8:c103e20c r7:ffffff87 r6:ee90387c r5:ee903ad8 r4:ee9039b4
    [   99.228292] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)
    [   99.237117] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)
    [   99.245938]  r7:c06d7c9c r6:edb7ec00 r5:00000000 r4:ee90387c
    [   99.251623] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)
    [   99.259658]  r5:ed9b33c0 r4:00000001
    [   99.263250] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)
    [   99.271379] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)
    [   99.279502]  r5:40045612 r4:c06f09c8
    [   99.283094] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)
    [   99.291216]  r5:40045612 r4:00000001
    [   99.294806] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)
    [   99.303106]  r10:00000001 r9:00000000 r8:bebc5714 r7:ecb67e18 r6:00000004 r5:00000004
    [   99.310966]  r4:40045612
    [   99.313510] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)
    [   99.321285]  r10:00000000 r9:ecb66000 r8:eda3decc r7:bebc5714 r6:40045612 r5:ed9b33c0
    [   99.329145]  r4:edb7ec00
    [   99.331690] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)
    [   99.339122] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)
    [   99.346637]  r9:ecb66000 r8:bebc5714 r7:0000000f r6:ed9b33c0 r5:edab9e78 r4:bebc5714
    [   99.354414] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)
    [   99.361753]  r10:00000000 r9:ecb66000 r8:bebc5714 r7:40045612 r6:ed9b33c0 r5:0000000f
    [   99.369613]  r4:ed9b33c1
    [   99.372158] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
    [   99.379760]  r9:ecb66000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0
    [   99.395182] ---[ end trace df9769f9bcf94b9b ]---
    [   99.400031] video1: VIDIOC_STREAMON: error -121: type=vid-cap
    [   99.405007] vb2-core: vb2_core_streamoff: successful
    [   99.410444] video1: VIDIOC_STREAMOFF: type=vid-cap
    [   99.410480] vip2-s0: vip_release
    [   99.410505] vip2-s0: vip_release_stream: stream instance 0xc08c4420ee903000
    [   99.410511] vip2-s0: vip_release_port: port instance 0xed9b33c0edb7d410
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (usr@usr-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #8 SMP PREEMPT Thu Sep 14 10:59:44 JST 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: TI AM572x EVM Rev A3
    [    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 @eed34000 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=ttyO2,115200n8 root=PARTUUID=000341b6-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: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K 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.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000320] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000328] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000737] Console: colour dummy device 80x30
    [    0.000754] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000761] This ensures that you still see kernel messages. Please
    [    0.000767] update your kernel commandline.
    [    0.000784] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000798] pid_max: default: 32768 minimum: 301
    [    0.000897] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000908] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001525] CPU: Testing write buffer coherency: ok
    [    0.001735] /cpus/cpu@0 missing clock-frequency property
    [    0.001751] /cpus/cpu@1 missing clock-frequency property
    [    0.001762] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001779] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080073] EFI services will not be available.
    [    0.170319] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170406] Brought up 2 CPUs
    [    0.170420] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170427] CPU: All CPU(s) started in HYP mode.
    [    0.170433] CPU: Virtualization extensions available.
    [    0.170938] devtmpfs: initialized
    [    0.198130] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.198363] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.198379] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.201749] pinctrl core: initialized pinctrl subsystem
    [    0.202552] NET: Registered protocol family 16
    [    0.203410] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.204339] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.313937] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.440377] cpuidle: using governor ladder
    [    0.470401] cpuidle: using governor menu
    [    0.478423] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.478650] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.480115] OMAP GPIO hardware version 0.1
    [    0.480822] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.481039] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.482801] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.483011] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.484836] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.485046] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.486791] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.486995] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.488775] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.488982] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.490804] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.491018] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.492810] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.493014] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.494579] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.521009] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.521020] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521368] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521377] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.521903] OMAP DMA hardware revision 0.0
    [    0.571569] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.572862] edma 43300000.edma: memcpy is disabled
    [    0.577638] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.578007] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.578281] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.578621] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.578995] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.582065] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.582235] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.582383] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.582532] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.582790] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.582964] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.585588] palmas 0-0058: Irq flag is 0x00000008
    [    0.613217] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.616970] vtt_fixed: supplied by smps3
    [    0.651700] random: fast init done
    [    0.692322] vdd_3v3: supplied by regen1
    [    0.692542] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.694937] gpiochip_find_base: found new base at 504
    [    0.694953] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.695179] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.695707] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.696205] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.696779] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.696968] media: Linux media interface: v0.10
    [    0.697015] Linux video capture interface: v2.00
    [    0.697050] pps_core: LinuxPPS API ver. 1 registered
    [    0.697058] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.697078] PTP clock support registered
    [    0.697117] EDAC MC: Ver: 3.0.0
    [    0.697811] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.698109] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.698391] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.698673] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.699017] Advanced Linux Sound Architecture Driver Initialized.
    [    0.699830] clocksource: Switched to clocksource arch_sys_counter
    [    0.710595] NET: Registered protocol family 2
    [    0.711091] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.711155] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.711280] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.711325] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711355] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.711483] NET: Registered protocol family 1
    [    0.711827] RPC: Registered named UNIX socket transport module.
    [    0.711836] RPC: Registered udp transport module.
    [    0.711844] RPC: Registered tcp transport module.
    [    0.711851] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.711861] PCI: CLS 0 bytes, default 64
    [    0.712760] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.715649] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.723201] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.723909] NFS: Registering the id_resolver key type
    [    0.723930] Key type id_resolver registered
    [    0.723938] Key type id_legacy registered
    [    0.723979] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.725136] bounce: pool size: 64 pages
    [    0.725280] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.725291] io scheduler noop registered
    [    0.725299] io scheduler deadline registered
    [    0.725425] io scheduler cfq registered (default)
    [    0.729788] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.730324] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.733588] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.733595] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.733622] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.733740] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.733753] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.733786] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.733807] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.735224] dra7-pcie 51000000.pcie: phy link never came up
    [    1.735394] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.735407] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.735418] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.735428] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.735462] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.735485] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.735499] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.735567] pci 0000:00:00.0: supports D1
    [    1.735575] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.735805] PCI: bus0: Fast back to back transfers disabled
    [    1.735925] PCI: bus1: Fast back to back transfers enabled
    [    1.736044] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.736060] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.736075] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.736295] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.736308] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.736433] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.737264] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.737271] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.737279] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.737286] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.737292] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.737299] pwm-backlight backlight: lookup for GPIO enable failed
    [    1.737329] backlight supply power not found, using dummy regulator
    [    1.799433] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.802784] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.771417] console [ttyS2] enabled
    [    2.775762] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.786504] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.793281] [drm] Initialized
    [    2.798140] OMAP DSS rev 6.1
    [    2.801519] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.809867] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.818689] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818697] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818723] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.818738] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818743] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818778] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.818789] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.818795] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.818841] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.819500] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.819769] panel-dpi display: GPIO lookup for consumer enable
    [    2.819776] panel-dpi display: using device tree for GPIO lookup
    [    2.819800] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    2.819813] panel-dpi display: GPIO lookup for consumer reset
    [    2.819864] panel-dpi display: using device tree for GPIO lookup
    [    2.819872] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    2.819878] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    2.819884] panel-dpi display: using lookup tables for GPIO lookup
    [    2.819891] panel-dpi display: lookup for GPIO reset failed
    [    2.819921] display supply vcc not found, using dummy regulator
    [    2.856768] brd: module loaded
    [    2.905062] loop: module loaded
    [    2.908776] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.918471] libphy: Fixed MDIO Bus: probed
    [    2.979865] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    2.985990] libphy: 48485000.mdio: probed
    [    3.004728] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.014468] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.024663] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:a6:9e:ba
    [    3.031351] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.039619] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:a6:9e:bb
    [    3.048027] mousedev: PS/2 mouse device common for all mice
    [    3.053948] i2c /dev entries driver
    [    3.059066] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.060329] gpio-fan gpio_fan: GPIO fan initialized
    [    3.066557] tmp102 0-0048: initialized
    [    3.075380] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
    [    3.075387] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.075413] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.075449] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.080125] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
    [    3.080131] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
    [    3.080140] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.080147] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.080159] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.080166] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
    [    3.150018] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.150023] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.150029] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.150034] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.150038] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.150043] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.150048] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.150052] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.150057] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.150061] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.150065] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.150069] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.150183] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.156563] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.240059] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
    [    3.240064] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.240069] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.240074] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.240078] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.240082] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
    [    3.240088] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
    [    3.240092] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
    [    3.240096] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
    [    3.240101] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
    [    3.240105] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
    [    3.240109] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
    [    3.300134] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led0[0]' - status (0)
    [    3.300222] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led1[0]' - status (0)
    [    3.300300] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
    [    3.300381] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
    [    3.300735] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.311400] NET: Registered protocol family 10
    [    3.326532] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.332880] NET: Registered protocol family 17
    [    3.337478] Key type dns_resolver registered
    [    3.341870] omap_voltage_late_init: Voltage driver support not added
    [    3.348317] Power Management for TI OMAP4+ devices.
    [    3.353417] Registering SWP/SWPB emulation handler
    [    3.368958] dmm 4e000000.dmm: initialized all PAT entries
    [    3.400900] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.407544] [drm] No driver support for vblank timestamp query.
    [    3.415430] [drm] Enabling DMM ywrap scrolling
    [    3.443456] mmc1: new DDR MMC card at address 0001
    [    3.443809] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    3.443957] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.454123] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.454784]  mmcblk1: p1 p2 p3
    [    3.458295] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.460089] mmc0: new ultra high speed DDR50 SDHC card at address 0007
    [    3.460367] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
    [    3.461156]  mmcblk0: p1 p2
    [    3.488526] Console: switching to colour frame buffer device 100x30
    [    3.543039] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.601257] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    3.601285] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    3.601310] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    3.601333] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
    [    3.601355] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
    [    3.602000] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.608957] hctosys: unable to open rtc device (rtc0)
    [    3.614611] aic_dvdd_fixed: disabling
    [    3.618290] vmmcwl_fixed: disabling
    [    3.621986] ldousb: disabling
    [    3.625231] ALSA device list:
    [    3.628210]   No soundcards found.
    [    4.405880] EXT4-fs (mmcblk0p2): recovery complete
    [    4.850435] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.858589] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [    4.868336] devtmpfs: mounted
    [    4.872701] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    5.132565] systemd[1]: System time before build time, advancing clock.
    [    5.190426] 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)
    [    5.208897] systemd[1]: Detected architecture arm.
    [    5.241152] systemd[1]: Set hostname to <am57xx-evm>.
    [    5.555654] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    5.563484] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    5.571198] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    5.578455] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    5.585929] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    5.595381] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [    5.643238] systemd[1]: Created slice User and Session Slice.
    [    5.752698] cmemk: loading out-of-tree module taints kernel.
    [    5.759081] CMEMK module: reference Linux version 4.9.28
    [    5.765067] allocated heap buffer 0x40500000 of size 0x100000
    [    5.771470] cmemk initialized
    [    5.782945] cryptodev: driver 1.8 loaded.
    [    5.852012] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    7.149462] systemd-journald[121]: Received request to flush runtime journal from PID 1
    [    7.384192] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    7.420265] remoteproc remoteproc0: 58820000.ipu is available
    [    7.428111] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    7.437751] remoteproc remoteproc1: 55020000.ipu is available
    [    7.476124] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    7.531820] remoteproc remoteproc2: 40800000.dsp is available
    [    7.556699] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    7.568126] remoteproc remoteproc3: 41000000.dsp is available
    [    7.733100] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [    7.733111] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [    7.752841] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [    7.752848] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    7.752855] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.752860] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.752865] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [    7.752870] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [    7.752875] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [    7.752880] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    7.752885] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.752938] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [    7.757800] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [    7.907816] pixcir_ts 4-005c: GPIO lookup for consumer attb
    [    7.907824] pixcir_ts 4-005c: using device tree for GPIO lookup
    [    7.907831] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907849] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [    7.907861] pixcir_ts 4-005c: GPIO lookup for consumer reset
    [    7.907865] pixcir_ts 4-005c: using device tree for GPIO lookup
    [    7.907871] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907886] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
    [    7.907895] pixcir_ts 4-005c: GPIO lookup for consumer wake
    [    7.907900] pixcir_ts 4-005c: using device tree for GPIO lookup
    [    7.907905] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907909] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907913] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [    7.907918] pixcir_ts 4-005c: lookup for GPIO wake failed
    [    7.907923] pixcir_ts 4-005c: GPIO lookup for consumer enable
    [    7.907926] pixcir_ts 4-005c: using device tree for GPIO lookup
    [    7.907931] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907935] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
    [    7.907939] pixcir_ts 4-005c: using lookup tables for GPIO lookup
    [    7.907943] pixcir_ts 4-005c: lookup for GPIO enable failed
    [    7.921623] remoteproc remoteproc0: powering up 58820000.ipu
    [    7.927460] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [    7.938130] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    7.952111] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.957651] remoteproc remoteproc0: registered virtio0 (type 7)
    [    7.964786] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [    7.973148] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    7.981612] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    7.990306] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    7.997767] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    8.060537] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
    [    8.071001] mt9t11x 4-003c: _get_pdata invoked
    [    8.071007] mt9t11x 4-003c: _get_pdata: DT Node found
    [    8.071015] mt9t11x 4-003c: _get_pdata: endpoint found
    [    8.071032] mt9t11x 4-003c: input-clock-freq: 32000000
    [    8.076812] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [    8.085119] mt9t11x 4-003c: GPIO lookup for consumer reset
    [    8.085124] mt9t11x 4-003c: using device tree for GPIO lookup
    [    8.085186] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [    8.085198] mt9t11x 4-003c: GPIO lookup for consumer powerdown
    [    8.085202] mt9t11x 4-003c: using device tree for GPIO lookup
    [    8.085219] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [    8.085228] mt9t11x 4-003c: GPIO lookup for consumer oscen
    [    8.085232] mt9t11x 4-003c: using device tree for GPIO lookup
    [    8.085246] of_get_named_gpiod_flags: parsed 'oscen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [    8.085255] mt9t11x 4-003c: GPIO lookup for consumer bufen
    [    8.085259] mt9t11x 4-003c: using device tree for GPIO lookup
    [    8.085274] of_get_named_gpiod_flags: parsed 'bufen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [    8.085282] mt9t11x 4-003c: GPIO lookup for consumer camen
    [    8.085286] mt9t11x 4-003c: using device tree for GPIO lookup
    [    8.085302] of_get_named_gpiod_flags: parsed 'camen-gpios' property of node '/ocp/i2c@4807c000/mt9t11x@3C[0]' - status (0)
    [    8.085315] mt9t11x 4-003c: mt9t11x_initialize_controls:
    [    8.085329] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [    8.340238] mt9t11x 4-003c: mt9t111 chip ID 2680 rev 0077
    [    8.345666] mt9t11x 4-003c: __mt9t11x_set_power: on: 0
    [    8.345675] mt9t11x 4-003c: mt9t11x_pll_calc_params:
    [    8.346676] mt9t11x 4-003c: mt9t11x sensor driver registered !!
    [    8.360403] rtc-ds1307 2-006f: SET TIME!
    [    8.365811] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [    8.365824] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [    8.366373] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [    8.366381] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [    8.366745] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [    8.367025] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [    8.367033] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [    8.367039] rtc rtc0: alarm rollover: year
    [    8.367319] rtc-ds1307 2-006f: read: 80 00 00 0a 01 01 01
    [    8.367326] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=1
    [    8.367479] rtc rtc0: mcp7941x: dev (253:0)
    [    8.367492] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [    8.383152] rtc-ds1307 2-006f: got IRQ 473
    [    8.383168] rtc-ds1307 2-006f: 64 bytes nvram
    [    8.406517] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    8.450058] vpe 489d0000.vpe: Device registered as /dev/video0
    [    8.464890] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    8.472932] omap-des 480a5000.des: will run requests pump with realtime priority
    [    8.520370] remoteproc remoteproc1: powering up 55020000.ipu
    [    8.528568] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [    8.539702] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    8.557973] rtc rtc2: 48838000.rtc: dev (253:2)
    [    8.557986] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [    8.579646] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    8.649976] vip 48990000.vip: VPDMA firmware loaded
    [    8.665035] vip2-s0: Port A: Using subdev mt9t11x for capture
    [    8.695050] vip2-s0: device registered as video1
    [    8.727667] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.746843] SCSI subsystem initialized
    [    8.752852] remoteproc remoteproc1: registered virtio1 (type 7)
    [    8.761280] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [    8.768825] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    8.780405] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [    8.830067] libata version 3.00 loaded.
    [    8.897271] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    8.904069] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    8.912660] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    8.922266] rtc-ds1307 2-006f: write secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [    8.922271] rtc-ds1307 2-006f: write: b8 23 20 0c 28 06 17
    [    8.923083] rtc-ds1307 2-006f: read: b8 23 20 2c 28 06 17
    [    8.923092] rtc-ds1307 2-006f: read secs=38, mins=23, hours=20, mday=28, mon=5, year=117, wday=3
    [    8.933701] scsi host0: ahci
    [    8.936847] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 346
    [    8.973169] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    9.041213] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    9.081755] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    9.115146] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    9.121314] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    9.129274] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    9.135250] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    9.192697] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    9.284551] ata1: SATA link down (SStatus 0 SControl 300)
    [    9.379196] remoteproc remoteproc2: powering up 40800000.dsp
    [    9.385091] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21891524
    [    9.394509] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [    9.394514] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [    9.449560] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [    9.455452] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    9.461414] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    9.471579] remoteproc remoteproc3: powering up 41000000.dsp
    [    9.478767] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21891524
    [    9.509932] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    9.515822] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    9.521788] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    9.641251] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    9.708209] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    9.714255] remoteproc remoteproc2: registered virtio2 (type 7)
    [    9.769993] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [    9.816610] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    9.871615] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    9.877341] remoteproc remoteproc3: registered virtio3 (type 7)
    [    9.877346] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [    9.881193] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   10.020622] Bluetooth: Core ver 2.22
    [   10.066390] NET: Registered protocol family 31
    [   10.099014] Bluetooth: HCI device and connection manager initialized
    [   10.099032] Bluetooth: HCI socket layer initialized
    [   10.099041] Bluetooth: L2CAP socket layer initialized
    [   10.099079] Bluetooth: SCO socket layer initialized
    [   10.166917] net eth1: initializing cpsw version 1.15 (0)
    [   10.176230] net eth0: initialized cpsw ale version 1.4
    [   10.187050] net eth0: ALE Table size 1024
    [   10.341607] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.355526] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.360797] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.363165] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   10.373506] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [   10.397376] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   10.428908] net eth0: initializing cpsw version 1.15 (0)
    [   10.681655] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [   10.695676] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   11.237872] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [   11.265878] vip2-s0: memset  executed
    [   11.299063] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [   11.310089] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [   11.310520] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 8
    [   11.311489] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   11.311935] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [   11.312443] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [   11.313689] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   11.314116] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [   11.394855] NET: Registered protocol family 43
    [   11.459262] usbcore: registered new interface driver usbfs
    [   11.459308] usbcore: registered new interface driver hub
    [   11.460377] usbcore: registered new device driver usb
    [   11.464567] remoteproc remoteproc4: 4b234000.pru0 is available
    [   11.464612] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [   11.464905] remoteproc remoteproc5: 4b238000.pru1 is available
    [   11.464948] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [   11.465223] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [   11.465253] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [   11.465497] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [   11.465529] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   11.483377] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.483397] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   11.483965] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [   11.484011] xhci-hcd xhci-hcd.1.auto: irq 475, io mem 0x48890000
    [   11.488851] hub 1-0:1.0: USB hub found
    [   11.488880] hub 1-0:1.0: 1 port detected
    [   11.489187] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   11.489199] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   11.489258] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.492538] hub 2-0:1.0: USB hub found
    [   11.492737] hub 2-0:1.0: 1 port detected
    [   11.839877] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   11.900859] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [   11.909678] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [   11.964120] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [   12.033461] hub 1-1:1.0: USB hub found
    [   12.037634] hub 1-1:1.0: 4 ports detected
    [   12.159904] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   12.226946] hub 2-1:1.0: USB hub found
    [   12.251134] hub 2-1:1.0: 4 ports detected
    [   12.726817] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   12.738530] NET: Registered protocol family 15
    [   12.743629] random: crng init done
    [   12.844251] Initializing XFRM netlink socket
    [   20.327244] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   20.340205] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   20.353320] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   20.366297] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   63.345479] vip2-s0: vip_open
    [   63.345499] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 640x480
    [   63.345508] vip2-s0: memset  executed
    [   63.349191] vip2-s0: calc_format_size: fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   63.349198] vip2-s0: init_stream fourcc:NV12 size: 640x480 bpl:640 img_size:460800
    [   63.349203] vip2-s0: init_stream vpdma data type: 0x02
    [   63.349211] vip2-s0: vip_init_stream: stream instance 0x600a0013edaec000
    [   63.349278] video1: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x0004091c, capabilities=0x85200001, device_caps=0x05200001
    [   63.349322] video1: VIDIOC_G_PARM: type=vid-cap, capability=0x1000, capturemode=0x0, timeperframe=1/30, extendedmode=0, readbuffers=4
    [   63.349351] vip2-s0: g_fmt fourcc:NV12 code: 2006 size: 640x480 bpl:640 img_size:460800
    [   63.349356] vip2-s0: g_fmt vpdma data type: 0x02
    [   63.349360] video1: VIDIOC_G_FMT: type=vid-cap, width=640, height=480, pixelformat=NV12, field=none, bytesperline=640, sizeimage=460800, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   63.349390] vip2-s0: s_fmt input fourcc:YUYV size: 800x600 bpl:640 img_size:460800
    [   63.349396] vip2-s0: try_fmt fourcc:YUYV size: 800x600
    [   63.349403] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 2048x1536
    [   63.349408] vip2-s0: try_fmt loop:0 found new larger: 2048x1536
    [   63.349413] vip2-s0: try_fmt loop:0 found at least larger: 2048x1536
    [   63.349419] vip2-s0: try_fmt loop:0 found new best: 2048x1536
    [   63.349424] vip2-s0: try_fmt loop:1 fourcc:YUYV size: 1920x1200
    [   63.349429] vip2-s0: try_fmt loop:1 found at least larger: 1920x1200
    [   63.349433] vip2-s0: try_fmt loop:1 found new best: 1920x1200
    [   63.349438] vip2-s0: try_fmt loop:2 fourcc:YUYV size: 1920x1080
    [   63.349443] vip2-s0: try_fmt loop:2 found at least larger: 1920x1080
    [   63.349448] vip2-s0: try_fmt loop:2 found new best: 1920x1080
    [   63.349453] vip2-s0: try_fmt loop:3 fourcc:YUYV size: 1600x1200
    [   63.349457] vip2-s0: try_fmt loop:3 found at least larger: 1600x1200
    [   63.349462] vip2-s0: try_fmt loop:4 fourcc:YUYV size: 1440x900
    [   63.349467] vip2-s0: try_fmt loop:4 found at least larger: 1440x900
    [   63.349472] vip2-s0: try_fmt loop:4 found new best: 1440x900
    [   63.349477] vip2-s0: try_fmt loop:5 fourcc:YUYV size: 1280x800
    [   63.349481] vip2-s0: try_fmt loop:5 found at least larger: 1280x800
    [   63.349485] vip2-s0: try_fmt loop:5 found new best: 1280x800
    [   63.349490] vip2-s0: try_fmt loop:6 fourcc:YUYV size: 1280x720
    [   63.349495] vip2-s0: try_fmt loop:6 found at least larger: 1280x720
    [   63.349499] vip2-s0: try_fmt loop:6 found new best: 1280x720
    [   63.349505] vip2-s0: try_fmt loop:7 fourcc:YUYV size: 800x600
    [   63.349509] vip2-s0: try_fmt loop:7 found at least larger: 800x600
    [   63.349513] vip2-s0: try_fmt loop:7 found new best: 800x600
    [   63.349518] vip2-s0: try_fmt loop:7 found direct match: 800x600
    [   63.349524] vip2-s0: calc_format_size: fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   63.349530] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   63.349536] vip2-s0: s_fmt fourcc:YUYV size: 800x600 bpl:1600 img_size:960000
    [   63.349542] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 800x600
    [   63.349548] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 800x600
    [   63.349552] vip2-s0: s_fmt vpdma data type: 0x07
    [   63.349556] video1: VIDIOC_S_FMT: type=vid-cap, width=800, height=600, pixelformat=YUYV, field=none, bytesperline=1600, sizeimage=960000, colorspace=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
    [   63.349751] vip2-s0: get 3 buffer(s) of size 960000 each.
    [   63.349760] vb2-core: __vb2_queue_alloc: allocated 3 buffers, 1 plane(s) each
    [   63.357892] video1: VIDIOC_REQBUFS: count=3, type=vid-cap, memory=dmabuf
    [   63.357917] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   63.357947] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   63.357954] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   63.357980] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   63.357986] video1: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=dmabuf, bytesused=0, offset/userptr=0x0, length=960000
    [   63.358015] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
    [   63.358026] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   63.365754] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    [   63.372063] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   63.379559] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [   63.385920] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [   63.393940] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [   63.400225] vip2-s0: vip_set_slice_path:
    [   63.400232] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
    [   63.400237] vip2-s0: vip_set_slice_path:
    [   63.400243] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000
    [   63.400527] mt9t11x 4-003c: mt9t11x_s_stream: enable: 1
    [   63.400535] mt9t11x 4-003c: __mt9t11x_set_power: on: 1
    [   63.660567] mt9t11x 4-003c: mt9t11x_init_camera_optimized:
    [   63.660640] mt9t11x 4-003c: startup: chipid:-121
    [   63.665287] mt9t11x 4-003c: mt9t11x_reset:
    [   63.665463] vip2-s0: stream on failed in subdev
    [   63.665468] vb2-core: vb2_start_streaming: driver refused to start streaming
    [   63.672686] ------------[ cut here ]------------
    [   63.677423] WARNING: CPU: 0 PID: 1143 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xdc/0x158
    [   63.688177] Modules linked in: sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm_neon sha1_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 bc_example(O) ah4 af_key xfrm_algo xhci_plat_hcd xhci_hcd pru_rproc usbcore pruss_intc rpmsg_proto pruss dwc3 rpmsg_rpc udc_core usb_common bluetooth snd_soc_simple_card snd_soc_simple_card_utils pvrsrvkm(O) omap_aes_driver omap_sham snd_soc_omap_hdmi_audio pruss_soc_bus omap_wdt ahci_platform libahci_platform libahci libata scsi_mod ti_vip rtc_omap omap_des ti_vpe des_generic dwc3_omap rtc_ds1307 ti_sc ti_csc ti_vpdma crypto_engine mt9t11x pixcir_i2c_ts snd_soc_tlv320aic3x extcon_palmas extcon_core rtc_palmas omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)
    [   63.759665] CPU: 0 PID: 1143 Comm: dual_camera Tainted: G           O    4.9.28-geed43d1050 #8
    [   63.768310] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   63.774426] Backtrace: 
    [   63.776900] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [   63.784503]  r7:00000009 r6:600c0013 r5:00000000 r4:c1022410
    [   63.790188] [<c020b540>] (show_stack) from [<c04c9f40>] (dump_stack+0x8c/0xa0)
    [   63.797442] [<c04c9eb4>] (dump_stack) from [<c022dcf0>] (__warn+0xec/0x104)
    [   63.804432]  r7:00000009 r6:c0bf4d54 r5:00000000 r4:00000000
    [   63.810115] [<c022dc04>] (__warn) from [<c022ddc0>] (warn_slowpath_null+0x28/0x30)
    [   63.817716]  r9:00000003 r8:c103e20c r7:ffffff87 r6:edaec87c r5:edaecad8 r4:edaec9b4
    [   63.825494] [<c022dd98>] (warn_slowpath_null) from [<c06ec394>] (vb2_start_streaming+0xdc/0x158)
    [   63.834319] [<c06ec2b8>] (vb2_start_streaming) from [<c06ee10c>] (vb2_core_streamon+0x130/0x178)
    [   63.843140]  r7:c06d7c9c r6:ed950400 r5:00000000 r4:edaec87c
    [   63.848827] [<c06edfdc>] (vb2_core_streamon) from [<c06f09a8>] (vb2_streamon+0x38/0x58)
    [   63.856861]  r5:ed869600 r4:00000001
    [   63.860452] [<c06f0970>] (vb2_streamon) from [<c06f0a0c>] (vb2_ioctl_streamon+0x44/0x48)
    [   63.868582] [<c06f09c8>] (vb2_ioctl_streamon) from [<c06d7cc0>] (v4l_streamon+0x24/0x28)
    [   63.876705]  r5:40045612 r4:c06f09c8
    [   63.880298] [<c06d7c9c>] (v4l_streamon) from [<c06dbbbc>] (__video_do_ioctl+0x298/0x30c)
    [   63.888420]  r5:40045612 r4:00000001
    [   63.892011] [<c06db924>] (__video_do_ioctl) from [<c06db5d8>] (video_usercopy+0x18c/0x4bc)
    [   63.900309]  r10:00000001 r9:00000000 r8:beeec714 r7:eda41e18 r6:00000004 r5:00000004
    [   63.908169]  r4:40045612
    [   63.910712] [<c06db44c>] (video_usercopy) from [<c06db920>] (video_ioctl2+0x18/0x1c)
    [   63.918489]  r10:00000000 r9:eda40000 r8:ed9d40cc r7:beeec714 r6:40045612 r5:ed869600
    [   63.926349]  r4:ed950400
    [   63.928893] [<c06db908>] (video_ioctl2) from [<c06d667c>] (v4l2_ioctl+0xa8/0xe0)
    [   63.936324] [<c06d65d4>] (v4l2_ioctl) from [<c033eba8>] (do_vfs_ioctl+0xa8/0x7fc)
    [   63.943838]  r9:eda40000 r8:beeec714 r7:0000000f r6:ed869600 r5:ed07a4f8 r4:beeec714
    [   63.951616] [<c033eb00>] (do_vfs_ioctl) from [<c033f338>] (SyS_ioctl+0x3c/0x64)
    [   63.958956]  r10:00000000 r9:eda40000 r8:beeec714 r7:40045612 r6:ed869600 r5:0000000f
    [   63.966816]  r4:ed869601
    [   63.969362] [<c033f2fc>] (SyS_ioctl) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
    [   63.976964]  r9:eda40000 r8:c0207d84 r7:00000036 r6:0002a83c r5:0002a738 r4:0002a6c0
    [   63.993558] ---[ end trace fdee78caf0755e6a ]---
    [   63.998389] video1: VIDIOC_STREAMON: error -121: type=vid-cap
    [   64.006413] vb2-core: vb2_core_streamoff: successful
    [   64.017426] video1: VIDIOC_STREAMOFF: type=vid-cap
    [   64.017461] vip2-s0: vip_release
    [   64.017479] vip2-s0: vip_release_stream: stream instance 0xc08c4420edaec000
    [   64.017486] vip2-s0: vip_release_port: port instance 0xed869600ed979010
    
    /*
     * Aptina mt9t11x CMOS Image Sensor driver
     *
     * This an adaptation of the existing soc_camera/mt9t112.c
     * to use the newer v4l2 subdevice framework.
     *
     * Copyright (C) 2015 Benoit Parrot <bparrot@ti.com>
     *
     * Register definitions and initial settings based on
     * soc_camera/mt9t112.c driver written by Kuninori Morimoto.
     * Copyright (C) 2009 Renesas Solutions Corp.
     * Kuninori Morimoto <morimoto.kuninori@renesas.com>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    
    #define DEBUG
    
    #include <linux/delay.h>
    #include <linux/gpio.h>
    #include <linux/i2c.h>
    #include <linux/kernel.h>
    #include <linux/media.h>
    #include <linux/module.h>
    #include <linux/of_gpio.h>
    #include <linux/ratelimit.h>
    #include <linux/slab.h>
    #include <linux/string.h>
    #include <linux/videodev2.h>
    
    #include <media/media-entity.h>
    #include <media/v4l2-ctrls.h>
    #include <media/v4l2-device.h>
    #include <media/v4l2-event.h>
    #include <media/v4l2-image-sizes.h>
    #include <media/v4l2-subdev.h>
    #include <media/v4l2-mediabus.h>
    #include <media/v4l2-common.h>
    #include <media/v4l2-of.h>
    
    static int debug;
    module_param(debug, int, 0644);
    MODULE_PARM_DESC(debug, "Debug level (0-2)");
    
    #define DRIVER_NAME "mt9t11x"
    
    #define MT9T111_ID	0
    #define MT9T112_ID	1
    
    /* you can check PLL/clock info */
    #define EXT_CLOCK 32000000
    #define MT9T11x_DEF_PIXEL_CLOCK 96000000
    #define MT9T11x_DEF_EXT_CLOCK 32000000
    
    #define MT9T11x_MAX_EXT_CLK 54000000
    #define MT9T11x_MAX_VCO_CLK 768000000
    #define MT9T11x_MAX_PIXEL_CLK 96000000
    #define MT9T11x_MAX_MIPI_CLK 768000000
    #define MT9T11x_MAX_MCU_CLK 96000000
    #define MT9T11x_MAX_SOC_CLK 54000000
    #define MT9T11x_MAX_SENSOR_CLK 70000000
    #define MT9T11x_MAX_PFD_CLK 24000000
    
    #define MT9T11x_FLAG_VFLIP	BIT(2)
    #define MT9T11x_FLAG_HFLIP	BIT(3)
    
    struct mt9t11x_pll_divider {
    	u8 m, n;
    	u8 p1, p2, p3, p4, p5, p6, p7;
    };
    
    /*
     * mt9t11x camera info
     */
    struct mt9t11x_camera_info {
    	u32 flags;
    	struct mt9t11x_pll_divider divider;
    	unsigned int mclk;
    	unsigned int pclk;
    	struct v4l2_of_endpoint endpoint;
    };
    
    /************************************************************************
     *			macro
     ***********************************************************************/
    /*
     * frame size
     */
    #define MIN_WIDTH   32
    #define MIN_HEIGHT  32
    #define MAX_WIDTH   2048
    #define MAX_HEIGHT  1536
    
    #define VGA_WIDTH   640
    #define VGA_HEIGHT  480
    
    /*
     * Logical address
     */
    #define _VAR(id, offset, base)	(base | (id & 0x1f) << 10 | (offset & 0x3ff))
    #define VAR(id, offset)  _VAR(id, offset, 0x0000)
    #define VAR8(id, offset) _VAR(id, offset, 0x8000)
    
    /************************************************************************
     *			struct
     ***********************************************************************/
    struct mt9t11x_format {
    	u32 code;
    	u32 colorspace;
    	u16 fmt;
    	u16 order;
    };
    
    struct mt9t11x_framesize {
    	u16 width;
    	u16 height;
    };
    
    struct mt9t11x_resolution_param {
    	u16 col_strt;
    	u16 row_end;
    	u16 col_end;
    	u16 read_mode;
    	u16 fine_cor;
    	u16 fine_min;
    	u16 fine_max;
    	u16 base_lines;
    	u16 min_lin_len;
    	u16 line_len;
    	u16 con_width;
    	u16 con_height;
    	u16 s_f1_50;
    	u16 s_f2_50;
    	u16 s_f1_60;
    	u16 s_f2_60;
    	u16 per_50;
    	u16 per_50_M;
    	u16 per_60;
    	u16 fd_w_height;
    	u16 tx_water;
    	u16 max_fd_50;
    	u16 max_fd_60;
    	u16 targ_fd;
    };
    
    struct mt9t11x_priv {
    	struct v4l2_subdev		subdev;
    #if defined(CONFIG_MEDIA_CONTROLLER)
    	struct media_pad		pad;
    #endif
    	struct v4l2_ctrl_handler	handler;
    
    	struct mt9t11x_camera_info	*info;
    	struct i2c_client		*client;
    	struct v4l2_rect		frame;
    	struct v4l2_clk			*clk;
    	const struct mt9t11x_format	*format;
    	int				num_formats;
    	u32				flags;
    
    	/* GPIOs */
    	struct gpio_desc		*reset_gpio;
    	struct gpio_desc		*powerdown_gpio;
    	struct gpio_desc		*oscen_gpio;
    	struct gpio_desc		*bufen_gpio;
    	struct gpio_desc		*camen_gpio;
    
    	/* V4L2 Ctrl handle */
    	struct v4l2_ctrl		*hflip;
    	struct v4l2_ctrl		*vflip;
    
    	/* Protects the struct fields below */
    	struct mutex			lock;
    	int				streaming;
    	int				power;
    
    	struct mt9t11x_resolution_param	resolution;
    };
    
    /************************************************************************
     *			supported frame sizes
     ***********************************************************************/
    
    static const struct mt9t11x_framesize mt9t11x_framesizes[] = {
    	{
    		.width		= 2048,
    		.height		= 1536,
    	}, {
    		.width		= 1920,
    		.height		= 1200,
    	}, {
    		.width		= 1920,
    		.height		= 1080,
    	}, {
    		.width		= 1600,
    		.height		= 1200,
    	}, {
    		.width		= 1440,
    		.height		= 900,
    	}, {
    		.width		= 1280,
    		.height		= 800,
    	}, {
    		.width		= 1280,
    		.height		= 720,
    	}, {
    		.width		= 800,
    		.height		= 600,
    	}, {
    		.width		= 800,
    		.height		= 480,
    	}, {
    		.width		= 640,
    		.height		= 480,
    	}, {
    		.width		= 600,
    		.height		= 400,
    	}, {
    		.width		= 352,
    		.height		= 288,
    	}, {
    		.width		= 320,
    		.height		= 240,
    	}, {
    		.width		= 160,
    		.height		= 120,
    	},
    };
    
    /************************************************************************
     *			supported format
     ***********************************************************************/
    
    static const struct mt9t11x_format mt9t11x_cfmts[] = {
    	{
    		.code		= MEDIA_BUS_FMT_UYVY8_2X8,
    		.colorspace	= V4L2_COLORSPACE_JPEG,
    		.fmt		= 1,
    		.order		= 0,
    	}, {
    		.code		= MEDIA_BUS_FMT_VYUY8_2X8,
    		.colorspace	= V4L2_COLORSPACE_JPEG,
    		.fmt		= 1,
    		.order		= 1,
    	}, {
    		.code		= MEDIA_BUS_FMT_YUYV8_2X8,
    		.colorspace	= V4L2_COLORSPACE_JPEG,
    		.fmt		= 1,
    		.order		= 2,
    	}, {
    		.code		= MEDIA_BUS_FMT_YVYU8_2X8,
    		.colorspace	= V4L2_COLORSPACE_JPEG,
    		.fmt		= 1,
    		.order		= 3,
    	}, {
    		.code		= MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,
    		.colorspace	= V4L2_COLORSPACE_SRGB,
    		.fmt		= 8,
    		.order		= 2,
    	}, {
    		.code		= MEDIA_BUS_FMT_RGB565_2X8_LE,
    		.colorspace	= V4L2_COLORSPACE_SRGB,
    		.fmt		= 4,
    		.order		= 2,
    	},
    };
    
    /************************************************************************
     *			general function
     ***********************************************************************/
    static inline struct mt9t11x_priv *sd_to_mt9t11x(struct v4l2_subdev *sd)
    {
    	return container_of(sd, struct mt9t11x_priv, subdev);
    }
    
    static inline struct mt9t11x_priv *to_mt9t11x(const struct i2c_client *client)
    {
    	return sd_to_mt9t11x(i2c_get_clientdata(client));
    }
    
    static inline struct mt9t11x_priv *ctrl_to_mt9t11x(struct v4l2_ctrl *ctrl)
    {
    	return container_of(ctrl->handler, struct mt9t11x_priv, handler);
    }
    
    static int mt9t11x_reg_read(const struct i2c_client *client, u16 command)
    {
    	struct i2c_msg msg[2];
    	u8 buf[2];
    	int ret;
    
    	command = swab16(command);
    
    	msg[0].addr  = client->addr;
    	msg[0].flags = 0;
    	msg[0].len   = 2;
    	msg[0].buf   = (u8 *)&command;
    
    	msg[1].addr  = client->addr;
    	msg[1].flags = I2C_M_RD;
    	msg[1].len   = 2;
    	msg[1].buf   = buf;
    
    	/*
    	 * if return value of this function is < 0,
    	 * it mean error.
    	 * else, under 16bit is valid data.
    	 */
    	ret = i2c_transfer(client->adapter, msg, 2);
    	if (ret < 0)
    		return ret;
    
    	memcpy(&ret, buf, 2);
    	return swab16(ret);
    }
    
    static int mt9t11x_reg_write(const struct i2c_client *client,
    			     u16 command, u16 data)
    {
    	struct i2c_msg msg;
    	u8 buf[4];
    	int ret;
    
    	command = swab16(command);
    	data = swab16(data);
    
    	memcpy(buf + 0, &command, 2);
    	memcpy(buf + 2, &data,    2);
    
    	msg.addr  = client->addr;
    	msg.flags = 0;
    	msg.len   = 4;
    	msg.buf   = buf;
    
    	/*
    	 * i2c_transfer return message length,
    	 * but this function should return 0 if correct case
    	 */
    	ret = i2c_transfer(client->adapter, &msg, 1);
    	if (ret >= 0)
    		ret = 0;
    
    	return ret;
    }
    
    static int mt9t11x_reg_mask_set(const struct i2c_client *client,
    				u16  command,
    				u16  mask,
    				u16  set)
    {
    	int val = mt9t11x_reg_read(client, command);
    
    	if (val < 0)
    		return val;
    
    	val &= ~mask;
    	val |= set & mask;
    
    	return mt9t11x_reg_write(client, command, val);
    }
    
    /* mcu access */
    static int mt9t11x_mcu_read(const struct i2c_client *client, u16 command)
    {
    	int ret;
    
    	ret = mt9t11x_reg_write(client, 0x098E, command);
    	if (ret < 0)
    		return ret;
    
    	return mt9t11x_reg_read(client, 0x0990);
    }
    
    static int mt9t11x_mcu_write(const struct i2c_client *client,
    			     u16 command, u16 data)
    {
    	int ret;
    
    	ret = mt9t11x_reg_write(client, 0x098E, command);
    	if (ret < 0)
    		return ret;
    
    	return mt9t11x_reg_write(client, 0x0990, data);
    }
    
    static int mt9t11x_mcu_mask_set(const struct i2c_client *client,
    				u16  command,
    				u16  mask,
    				u16  set)
    {
    	int val = mt9t11x_mcu_read(client, command);
    
    	if (val < 0)
    		return val;
    
    	val &= ~mask;
    	val |= set & mask;
    
    	return mt9t11x_mcu_write(client, command, val);
    }
    
    static int mt9t11x_reset(const struct i2c_client *client)
    {
    	int ret;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	ret = mt9t11x_reg_mask_set(client, 0x001a, 0x0001, 0x0001);
    	if (ret < 0)
    		return ret;
    	usleep_range(1000, 2000);
    	ret = mt9t11x_reg_mask_set(client, 0x001a, 0x0001, 0x0000);
    	if (ret < 0)
    		return ret;
    
    	return ret;
    }
    
    static int mt9t11x_streaming(struct mt9t11x_priv *priv, int on)
    {
    	struct i2c_client *client = priv->client;
    	int ret, tmp;
    
    	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
    	on = (on) ? 1 : 0;
    
    	ret = mt9t11x_reg_mask_set(client, 0x001a, 0x0200, on << 9);
    	if (ret < 0)
    		return ret;
    
    	tmp = mt9t11x_reg_read(client, 0x001A);
    	dev_dbg(&client->dev, "reset_and_misc_control: 0x%04x\n", tmp);
    
    	return 0;
    }
    
    
    #define CLOCK_INFO(a, b)				\
    	do {						\
    		if (debug > 1)				\
    			mt9t11x_clock_info(a, b);	\
    	} while (0)
    static int mt9t11x_clock_info(const struct i2c_client *client, u32 ext)
    {
    	int m, n, p1, p2, p3, p4, p5, p6, p7;
    	u32 vco, clk;
    	char *enable;
    
    	ext /= 1000; /* kbyte order */
    
    	n = mt9t11x_reg_read(client, 0x0012);
    	p1 = n & 0x000f;
    	n = n >> 4;
    	p2 = n & 0x000f;
    	n = n >> 4;
    	p3 = n & 0x000f;
    
    	n = mt9t11x_reg_read(client, 0x002a);
    	p4 = n & 0x000f;
    	n = n >> 4;
    	p5 = n & 0x000f;
    	n = n >> 4;
    	p6 = n & 0x000f;
    
    	n = mt9t11x_reg_read(client, 0x002c);
    	p7 = n & 0x000f;
    
    	n = mt9t11x_reg_read(client, 0x0010);
    	m = n & 0x00ff;
    	n = (n >> 8) & 0x003f;
    
    	enable = ((ext < 6000) || (ext > 54000)) ? "X" : "";
    	dev_dbg(&client->dev, "EXTCLK          : %10u K %s\n", ext, enable);
    
    	vco = 2 * m * ext / (n + 1);
    	enable = ((vco < 384000) || (vco > 768000)) ? "X" : "";
    	dev_dbg(&client->dev, "VCO             : %10u K %s\n", vco, enable);
    
    	clk = vco / (p1 + 1) / (p2 + 1);
    	enable = (clk > 96000) ? "X" : "";
    	dev_dbg(&client->dev, "PIXCLK          : %10u K %s\n", clk, enable);
    
    	clk = vco / (p3 + 1);
    	enable = (clk > 768000) ? "X" : "";
    	dev_dbg(&client->dev, "MIPICLK         : %10u K %s\n", clk, enable);
    
    	clk = vco / (p6 + 1);
    	enable = (clk > 96000) ? "X" : "";
    	dev_dbg(&client->dev, "MCU CLK         : %10u K %s\n", clk, enable);
    
    	clk = vco / (p5 + 1);
    	enable = (clk > 54000) ? "X" : "";
    	dev_dbg(&client->dev, "SOC CLK         : %10u K %s\n", clk, enable);
    
    	clk = vco / (p4 + 1);
    	enable = (clk > 70000) ? "X" : "";
    	dev_dbg(&client->dev, "Sensor CLK      : %10u K %s\n", clk, enable);
    
    	clk = vco / (p7 + 1);
    	dev_dbg(&client->dev, "External sensor : %10u K\n", clk);
    
    	clk = ext / (n + 1);
    	enable = ((clk < 2000) || (clk > 24000)) ? "X" : "";
    	dev_dbg(&client->dev, "PFD             : %10u K %s\n", clk, enable);
    
    	return 0;
    }
    
    static void mt9t11x_frame_check(u32 *width, u32 *height, u32 *left, u32 *top)
    {
    	v4l_bound_align_image(width, MIN_WIDTH, MAX_WIDTH, 1,
    			      height, MIN_HEIGHT, MAX_HEIGHT, 1, 0);
    	*left = 0;
    	*top = 0;
    }
    
    static int mt9t11x_set_a_frame_size(const struct i2c_client *client,
    				    u16 width,
    				    u16 height)
    {
    	int ret;
    	u16 wstart = (MAX_WIDTH - width) / 2;
    	u16 hstart = (MAX_HEIGHT - height) / 2;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	/* (Context A) Image Width/Height */
    	ret = mt9t11x_mcu_write(client, VAR(26, 0), width);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(26, 2), height);
    	if (ret < 0)
    		return ret;
    
    	/* (Context A) Output Width/Height */
    	ret = mt9t11x_mcu_write(client, VAR(18, 43), 8 + width);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(18, 45), 8 + height);
    	if (ret < 0)
    		return ret;
    
    	/* (Context A) Start Row/Column */
    	ret = mt9t11x_mcu_write(client, VAR(18, 2), 4 + hstart);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(18, 4), 4 + wstart);
    	if (ret < 0)
    		return ret;
    
    	/* (Context A) End Row/Column */
    	ret = mt9t11x_mcu_write(client, VAR(18, 6), 11 + height + hstart);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(18, 8), 11 + width  + wstart);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_mcu_write(client, VAR8(1, 0), 0x06);
    	if (ret < 0)
    		return ret;
    
    	return ret;
    }
    
    static int mt9t11x_set_pll_dividers(const struct i2c_client *client,
    				    u8 m, u8 n,
    				    u8 p1, u8 p2, u8 p3,
    				    u8 p4, u8 p5, u8 p6,
    				    u8 p7)
    {
    	int ret;
    	u16 val;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	/* N/M */
    	val = (n << 8) |
    	      (m << 0);
    	ret = mt9t11x_reg_mask_set(client, 0x0010, 0x3fff, val);
    	if (ret < 0)
    		return ret;
    
    	/* P1/P2/P3 */
    	val = ((p3 & 0x0F) << 8) |
    	      ((p2 & 0x0F) << 4) |
    	      ((p1 & 0x0F) << 0);
    	ret = mt9t11x_reg_mask_set(client, 0x0012, 0x0fff, val);
    	if (ret < 0)
    		return ret;
    
    	/* P4/P5/P6 */
    	val = (0x7         << 12) |
    	      ((p6 & 0x0F) <<  8) |
    	      ((p5 & 0x0F) <<  4) |
    	      ((p4 & 0x0F) <<  0);
    	ret = mt9t11x_reg_mask_set(client, 0x002A, 0x7fff, val);
    	if (ret < 0)
    		return ret;
    
    	/* P7 */
    	val = (0x1         << 12) |
    	      ((p7 & 0x0F) <<  0);
    	ret = mt9t11x_reg_mask_set(client, 0x002C, 0x100f, val);
    	if (ret < 0)
    		return ret;
    
    	return ret;
    }
    
    static int mt9t11x_set_resolution_params(const struct i2c_client *client)
    {
    	int ret = 1;
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    	struct mt9t11x_resolution_param *resolution = &priv->resolution;
    
    	if ((priv->frame.width == 1280) && (priv->frame.height == 720)) {
    		resolution->col_strt    = 0x0004;
    		resolution->row_end     = 0x05AD;
    		resolution->col_end     = 0x050B;
    		resolution->read_mode   = 0x002C;
    		resolution->fine_cor    = 0x008C;
    		resolution->fine_min    = 0x01F1;
    		resolution->fine_max    = 0x00FF;
    		resolution->base_lines  = 0x032D;
    		resolution->min_lin_len = 0x0378;
    		resolution->line_len    = 0x091C;
    		resolution->con_width   = 0x0508;
    		resolution->con_height  = 0x02D8;
    		resolution->s_f1_50     = 0x23;
    		resolution->s_f2_50     = 0x25;
    		resolution->s_f1_60     = 0x2B;
    		resolution->s_f2_60     = 0x2D;
    		resolution->per_50      = 0xDC;
    		resolution->per_50_M    = 0x00;
    		resolution->per_60      = 0xB7;
    		resolution->fd_w_height = 0x05;
    		resolution->tx_water    = 0x0210;
    		resolution->max_fd_50   = 0x0004;
    		resolution->max_fd_60   = 0x0004;
    		resolution->targ_fd     = 0x0004;
    	} else if ((priv->frame.width <= 1024) &&
    		   (priv->frame.height <= 768) &&
    		   (priv->frame.width != priv->frame.height)) {
    		resolution->col_strt    = 0x000;
    		resolution->row_end     = 0x60D;
    		resolution->col_end     = 0x80D;
    		resolution->read_mode   = 0x046C;
    		resolution->fine_cor    = 0x00CC;
    		resolution->fine_min    = 0x0381;
    		resolution->fine_max    = 0x024F;
    		resolution->base_lines  = 0x0364;
    		resolution->min_lin_len = 0x05D0;
    		resolution->line_len    = 0x07AC;
    		resolution->con_width   = 0x0408;
    		resolution->con_height  = 0x0308;
    		resolution->s_f1_50     = 0x23;
    		resolution->s_f2_50     = 0x25;
    		resolution->s_f1_60     = 0x2A;
    		resolution->s_f2_60     = 0x2C;
    		resolution->per_50      = 0x05;
    		resolution->per_50_M    = 0x01;
    		resolution->per_60      = 0xD9;
    		resolution->fd_w_height = 0x06;
    		resolution->max_fd_50   = 0x0003;
    		resolution->max_fd_60   = 0x0004;
    		resolution->targ_fd     = 0x0003;
    		if ((priv->frame.width == 1024) &&
    		    (priv->frame.height == 768)) {
    			resolution->tx_water = 0x0218;
    		} else if ((priv->frame.width == 800) &&
    			   (priv->frame.height == 480)) {
    			resolution->tx_water = 0x02DA;
    		} else {
    			/*
    			 * 640 x 480 but use it with everything else until
    			 * we figure out how to calc it
    			 */
    			resolution->tx_water = 0x0352;
    		}
    	} else {
    		ret = 0;
    	}
    
    	return ret;
    }
    
    static int mt9t11x_pll_setup_pll(const struct i2c_client *client)
    {
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    	int data, i, ret;
    
    	/* Bypass PLL */
    	ret = mt9t11x_reg_mask_set(client, 0x14, 1, 1);
    	if (ret < 0)
    		return ret;
    	/* Power-down PLL */
    	ret = mt9t11x_reg_mask_set(client, 0X14, 2, 0);
    	if (ret < 0)
    		return ret;
    	/* PLL control: BYPASS PLL = 8517 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2145);
    	if (ret < 0)
    		return ret;
    
    	/* Replace these registers when new timing parameters are generated */
    	ret = mt9t11x_set_pll_dividers(client,
    				       priv->info->divider.m,
    				       priv->info->divider.n,
    				       priv->info->divider.p1,
    				       priv->info->divider.p2,
    				       priv->info->divider.p3,
    				       priv->info->divider.p4,
    				       priv->info->divider.p5,
    				       priv->info->divider.p6,
    				       priv->info->divider.p7);
    	if (ret < 0)
    		return ret;
    
    	/* Reset Misc. Control = 536 */
    	/* make sure parallel interface is not enable at first */
    	ret = mt9t11x_reg_write(client, 0x001A, 0x018);
    	if (ret < 0)
    		return ret;
    	/* PLL control: TEST_BYPASS on = 9541 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2545);
    	if (ret < 0)
    		return ret;
    	/* PLL control: PLL_ENABLE on = 9543 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2547);
    	if (ret < 0)
    		return ret;
    	/* PLL control: SEL_LOCK_DET on = 9287 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2447);
    	if (ret < 0)
    		return ret;
    	/* PLL control: TEST_BYPASS off = 8263 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2047);
    	if (ret < 0)
    		return ret;
    
    	/*  Wait for the PLL to lock */
    	for (i = 0; i < 1000; i++) {
    		data = mt9t11x_reg_read(client, 0x0014);
    		if (0x8000 & data)
    			break;
    
    		usleep_range(10000, 11000);
    	}
    
    	/* PLL control: PLL_BYPASS off = 8262 */
    	ret = mt9t11x_reg_write(client, 0x0014, 0x2046);
    	if (ret < 0)
    		return ret;
    	/* Reference clock count for 20 us = 640 */
    	ret = mt9t11x_reg_write(client, 0x0022, 0x0280);
    	if (ret < 0)
    		return ret;
    	/* Pad Slew Rate = 1911 */
    	ret = mt9t11x_reg_write(client, 0x001E, 0x0777);
    	if (ret < 0)
    		return ret;
    	/* JPEG Clock = 1024 */
    	ret = mt9t11x_reg_write(client, 0x0016, 0x0400);
    
    	return ret;
    }
    
    inline u32 calc_vco(u32 desired, u32 ext, u8 *_m, u8 *_n)
    {
    	u32 m, n;
    	u32 delta, actual;
    	long bestdelta = -1;
    
    	n = *_n + 1;
    	if (n == 0)
    		n = 1;
    
    	for (; n <= 64; n++)
    		for (m = 1; m <= 256; m++) {
    			actual = ext * 2;
    			actual *= m;
    			actual /= n;
    			delta = (desired - actual);
    			if (delta < 0)
    				continue;
    			if ((delta < bestdelta) || (bestdelta == -1)) {
    				bestdelta = delta;
    				*_m = (u8)(m);
    				*_n = (u8)(n - 1);
    			}
    		}
    	actual = ext * 2 * (*_m);
    	actual /= (*_n + 1);
    
    	return actual;
    }
    
    static inline u32 calc_pixclk(u32 desired, u32 vco, u8 *_p1, u8 *_p2)
    {
    	u32 p1, p2;
    	u32 delta, actual;
    	long bestdelta = -1;
    
    	for (p1 = 1; p1 <= 16; p1++)
    		for (p2 = 1; p2 <= 16; p2++) {
    			actual = vco;
    			actual /= p1;
    			actual /= p2;
    			delta = (desired - actual);
    			if (delta < 0)
    				continue;
    			if ((delta < bestdelta) || (bestdelta == -1)) {
    				bestdelta = delta;
    				*_p1 = (u8)(p1 - 1);
    				*_p2 = (u8)(p2 - 1);
    			}
    		}
    	actual = vco / (*_p1 + 1);
    	actual /= (*_p2 + 1);
    
    	return actual;
    }
    
    static inline u32 calc_div(u32 desired, u32 src, u8 *_div)
    {
    	u32 div;
    
    	if (src > desired) {
    		div = src / desired;
    		if ((src % desired) > 0)
    			div++;
    	} else {
    		div = 1;
    	}
    
    	*_div = (u8)(div - 1);
    
    	return 0;
    }
    
    static unsigned int mt9t11x_pll_calc_params(struct mt9t11x_priv *priv)
    {
    	struct i2c_client *client = priv->client;
    	struct mt9t11x_camera_info *info = priv->info;
    	u32 vco;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	calc_div(MT9T11x_MAX_PFD_CLK, info->mclk, &info->divider.n);
    	vco = calc_vco(MT9T11x_MAX_VCO_CLK, info->mclk, &info->divider.m,
    		       &info->divider.n);
    	calc_pixclk(info->pclk, vco, &info->divider.p1, &info->divider.p2);
    	calc_div(MT9T11x_MAX_MIPI_CLK, vco, &info->divider.p3);
    	calc_div(MT9T11x_MAX_MCU_CLK, vco, &info->divider.p6);
    	calc_div(MT9T11x_MAX_SOC_CLK, vco, &info->divider.p5);
    	calc_div(MT9T11x_MAX_SENSOR_CLK, vco, &info->divider.p4);
    
    	return 0;
    }
    
    static int mt9t11x_sysctl_startup(const struct i2c_client *client)
    {
    	int ret = 0;
    
    // insert begin 
    int chipid;
    
    chipid =  mt9t11x_reg_read(client, 0x0000);
    
    /* if chipid is <0 then there was an i2c error otherwise the value should be 0x2680 or 9856 */
    
    dev_info(&client->dev, "startup: chipid:%d\n", chipid);
    // insert end
    
    	/* reset */
    	mt9t11x_reset(client);
    
    	/* Setup PLL */
    	mt9t11x_pll_setup_pll(client);
    
    	return ret;
    }
    
    static int mt9t11x_high_speed_overrides(const struct i2c_client *client)
    {
    	int ret;
    
    	/*
    	 * Use this section to apply settings that are specific to this
    	 * revision of SOC or for any other specialized settings
    	 * clear the "Output Buffer Enable Adaptive Clock" bit to enable
    	 * the SYSCTL slew rate settings, change this in the variables
    	 * and register
    	 */
    
    	/* PRI_A_CONFIG_JPEG_OB_TX_CONTROL_VAR */
    	ret = mt9t11x_mcu_write(client, VAR(26, 160), 0x082E);
    	if (ret < 0)
    		return ret;
    	/* PRI_B_CONFIG_JPEG_OB_TX_CONTROL_VAR */
    	ret = mt9t11x_mcu_write(client, VAR(27, 160), 0x082E);
    	if (ret < 0)
    		return ret;
    	/* SEC_A_CONFIG_JPEG_OB_TX_CONTROL_VAR */
    	ret = mt9t11x_mcu_write(client, VAR(28, 160), 0x082E);
    	if (ret < 0)
    		return ret;
    	/* SEC_B_CONFIG_JPEG_OB_TX_CONTROL_VAR */
    	ret = mt9t11x_mcu_write(client, VAR(29, 160), 0x082E);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_reg_mask_set(client, 0x3C52, 0x0040, 0);
    	if (ret < 0)
    		return ret;
    
    	/* Set correct values for Context B FIFO control */
    	/* CAM1_CTX_B_RX_FIFO_TRIGGER_MARK */
    	ret = mt9t11x_mcu_write(client, VAR(18, 142), 32);
    	if (ret < 0)
    		return ret;
    	/* PRI_B_CONFIG_IO_OB_MANUAL_FLAG */
    	ret = mt9t11x_mcu_write(client, VAR(27, 172), 0);
    
    	return ret;
    }
    
    static int mt9t11x_go(const struct i2c_client *client)
    {
    	int data, i, ret;
    
    	/* release MCU from standby */
    	ret = mt9t11x_reg_mask_set(client, 0x0018, 0x0001, 0);
    	if (ret < 0)
    		return ret;
    
    	/* wait for K26A to come out of standby */
    	for (i = 0; i < 100; i++) {
    		data = mt9t11x_reg_read(client, 0x0018);
    		if (!(0x4000 & data))
    			break;
    
    		usleep_range(10000, 11000);
    	}
    
    	return ret;
    }
    
    static int mt9t11x_continue(const struct i2c_client *client)
    {
    	int data, i, ret;
    
    	/* clear powerup stop bit */
    	ret = mt9t11x_reg_mask_set(client, 0x0018, 0x0004, 0);
    	if (ret < 0)
    		return ret;
    
    	/* wait for sequencer to enter preview state */
    	for (i = 0; i < 100; i++) {
    		data = mt9t11x_mcu_read(client, VAR8(1, 1));
    		if (data == 3)
    			break;
    
    		usleep_range(10000, 11000);
    	}
    
    	return ret;
    }
    
    static int mt9t11x_mcu_powerup_stop_enable(const struct i2c_client *client)
    {
    	int ret;
    
    	/* set powerup stop bit */
    	ret = mt9t11x_reg_mask_set(client, 0x0018, 0x0004, 0x0004);
    
    	return ret;
    }
    
    static int mt9t11x_custom_setup(const struct i2c_client *client)
    {
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    	struct mt9t11x_resolution_param *resolution = &priv->resolution;
    	int ret;
    
    	/* I2C Master Clock Divider */
    	ret = mt9t11x_mcu_write(client, VAR(24, 6), 0x0100);
    	if (ret < 0)
    		return ret;
    	/* Output Width (A) */
    	ret = mt9t11x_mcu_write(client, VAR(26, 0), priv->frame.width);
    	if (ret < 0)
    		return ret;
    	/* Output Height (A) */
    	ret = mt9t11x_mcu_write(client, VAR(26, 2), priv->frame.height);
    	if (ret < 0)
    		return ret;
    	/* JPEG (A) */
    	ret = mt9t11x_mcu_write(client, VAR8(26, 142), 0x00);
    	if (ret < 0)
    		return ret;
    	/* Adaptive Output Clock (A) */
    	ret = mt9t11x_mcu_mask_set(client, VAR(26, 160), 0x0040, 0x0000);
    	if (ret < 0)
    		return ret;
    	/* Row Start (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 2), 0x000);
    	if (ret < 0)
    		return ret;
    	/* Column Start (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 4), resolution->col_strt);
    	if (ret < 0)
    		return ret;
    	/* Row End (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 6), resolution->row_end);
    	if (ret < 0)
    		return ret;
    	/* Column End (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 8), resolution->col_end);
    	if (ret < 0)
    		return ret;
    	/* Row Speed (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 10), 0x0111);
    	if (ret < 0)
    		return ret;
    	/* Read Mode (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 12), resolution->read_mode);
    	if (ret < 0)
    		return ret;
    	/* Fine Correction (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 15), resolution->fine_cor);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Min (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 17), resolution->fine_min);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Max Margin (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 19), resolution->fine_max);
    	if (ret < 0)
    		return ret;
    	/* Base Frame Lines (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 29), resolution->base_lines);
    	if (ret < 0)
    		return ret;
    	/* Min Line Length (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 31), resolution->min_lin_len);
    	if (ret < 0)
    		return ret;
    	/* Line Length (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 37), resolution->line_len);
    	if (ret < 0)
    		return ret;
    	/* Contex Width (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 43), resolution->con_width);
    	if (ret < 0)
    		return ret;
    	/* Context Height (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 45), resolution->con_height);
    	if (ret < 0)
    		return ret;
    	/* Output Width (B) */
    	ret = mt9t11x_mcu_write(client, VAR(27, 0), 0x0800);
    	if (ret < 0)
    		return ret;
    	/* Output Height (B) */
    	ret = mt9t11x_mcu_write(client, VAR(27, 2), 0x0600);
    	if (ret < 0)
    		return ret;
    	/* JPEG (B) */
    	ret = mt9t11x_mcu_write(client, VAR8(27, 142), 0x01);
    	if (ret < 0)
    		return ret;
    	/* Adaptive Output Clock (B) */
    	ret = mt9t11x_mcu_mask_set(client, VAR(27, 160), 0x0040, 0x0000);
    	if (ret < 0)
    		return ret;
    	/* Row Start (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 74), 0x004);
    	if (ret < 0)
    		return ret;
    	/* Column Start (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 76), 0x004);
    	if (ret < 0)
    		return ret;
    	/* Row End (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 78), 0x60B);
    	if (ret < 0)
    		return ret;
    	/* Column End (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 80), 0x80B);
    	if (ret < 0)
    		return ret;
    	/* Row Speed (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 82), 0x0111);
    	if (ret < 0)
    		return ret;
    	/* Read Mode (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 84), 0x0024);
    	if (ret < 0)
    		return ret;
    	/* Fine Correction (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 87), 0x008C);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Min (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 89), 0x01F1);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Max Margin (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 91), 0x00FF);
    	if (ret < 0)
    		return ret;
    	/* Base Frame Lines (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 101), 0x06AE);
    	if (ret < 0)
    		return ret;
    	/* Min Line Length (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 103), 0x0378);
    	if (ret < 0)
    		return ret;
    	/* Line Length (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 109), 0x0A3A);
    	if (ret < 0)
    		return ret;
    	/* Contex Width (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 115), 0x0808);
    	if (ret < 0)
    		return ret;
    	/* Context Height (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 117), 0x0608);
    	if (ret < 0)
    		return ret;
    	/* search_f1_50 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 165), resolution->s_f1_50);
    	if (ret < 0)
    		return ret;
    	/* search_f2_50 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 166), resolution->s_f2_50);
    	if (ret < 0)
    		return ret;
    	/* search_f1_60 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 167), resolution->s_f1_60);
    	if (ret < 0)
    		return ret;
    	/* search_f2_60 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 168), resolution->s_f2_60);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (A) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 68), resolution->per_50);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (A MSB) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 303), resolution->per_50_M);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (A) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 69), resolution->per_60);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (A MSB) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 301), 0x00);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (B) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 140), 0xD2);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (B) MSB */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 304), 0x00);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (B) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 141), 0xAF);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (B) MSB */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 302), 0x00);
    	if (ret < 0)
    		return ret;
    	/* FD Window Height */
    	ret = mt9t11x_mcu_write(client, VAR8(14, 37), resolution->fd_w_height);
    	if (ret < 0)
    		return ret;
    	/* Stat_min */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 9), 0x02);
    	if (ret < 0)
    		return ret;
    	/* Stat_max */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 10), 0x03);
    	if (ret < 0)
    		return ret;
    	/* Min_amplitude */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 12), 0x0A);
    	if (ret < 0)
    		return ret;
    	/* RX FIFO Watermark (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 70), 0x0080);
    	if (ret < 0)
    		return ret;
    	/* TX FIFO Watermark (A) */
    	ret = mt9t11x_mcu_write(client, VAR(26, 170), resolution->tx_water);
    	if (ret < 0)
    		return ret;
    	/* Max FD Zone 50 Hz */
    	ret = mt9t11x_mcu_write(client, VAR(26, 21), resolution->max_fd_50);
    	if (ret < 0)
    		return ret;
    	/* Max FD Zone 60 Hz */
    	ret = mt9t11x_mcu_write(client, VAR(26, 23), resolution->max_fd_60);
    	if (ret < 0)
    		return ret;
    	/* AE Target FD Zone */
    	ret = mt9t11x_mcu_write(client, VAR(26, 45), resolution->targ_fd);
    	if (ret < 0)
    		return ret;
    	/* RX FIFO Watermark (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 142), 0x0080);
    	if (ret < 0)
    		return ret;
    	/* TX FIFO Watermark (B) */
    	ret = mt9t11x_mcu_write(client, VAR(27, 170), 0x01D0);
    	if (ret < 0)
    		return ret;
    	/* Refresh Sequencer Mode */
    	ret = mt9t11x_mcu_write(client, VAR8(1, 0), 0x06);
    	if (ret < 0)
    		return ret;
    	/* Refresh Sequencer */
    	ret = mt9t11x_mcu_write(client, VAR8(1, 0), 0x05);
    	if (ret < 0)
    		return ret;
    
    #ifdef TEST_PATTERN
    	ret = mt9t11x_mcu_write(client, VAR(24, 3), 0x100);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(24, 37), 0x0B);
    #endif
    
    	return ret;
    }
    
    static int mt9t11x_optimal_power_consumption(const struct i2c_client *client)
    {
    	int ret;
    
    	/* Analog setting B */
    	ret = mt9t11x_reg_write(client, 0x3084, 0x2409);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_reg_write(client, 0x3092, 0x0A49);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_reg_write(client, 0x3094, 0x4949);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_reg_write(client, 0x3096, 0x4950);
    
    	return ret;
    }
    
    static int mt9t11x_blooming_row_pattern(const struct i2c_client *client)
    {
    	int ret;
    
    	/* Improve high light image quality */
    
    	/* [CAM1_CTX_A_COARSE_ITMIN] */
    	ret = mt9t11x_mcu_write(client, VAR(18, 21), 0x0004);
    	if (ret < 0)
    		return ret;
    	/* [CAM1_CTX_B_COARSE_ITMIN] */
    	ret = mt9t11x_mcu_write(client, VAR(18, 93), 0x0004);
    
    	return ret;
    }
    
    static int mt9t11x_set_orientation(const struct i2c_client *client,
    				   u32 mask, u32 flip)
    {
    	int ret;
    
    	flip &= mask;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	/* [CAM1_CTX_A_READ_MODE] */
    	ret = mt9t11x_mcu_mask_set(client, VAR(18, 12), mask, flip);
    	if (ret < 0)
    		return ret;
    	/* [CAM1_CTX_A_PIXEL_ORDER] */
    	ret = mt9t11x_mcu_mask_set(client, VAR8(18, 14), mask, flip);
    	if (ret < 0)
    		return ret;
    
    	/* [CAM1_CTX_B_READ_MODE] */
    	ret = mt9t11x_mcu_mask_set(client, VAR(18, 84), mask, flip);
    	if (ret < 0)
    		return ret;
    	/* [CAM1_CTX_B_PIXEL_ORDER] */
    	ret = mt9t11x_mcu_mask_set(client, VAR8(18, 86), mask, flip);
    	if (ret < 0)
    		return ret;
    
    	/* [SEQ_CMD] */
    	ret = mt9t11x_mcu_write(client, VAR8(1, 0), 0x06);
    
    	return ret;
    }
    
    static int mt9t11x_init_camera_optimized(const struct i2c_client *client)
    {
    	int ret;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	ret = mt9t11x_sysctl_startup(client);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_powerup_stop_enable(client);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_go(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_custom_setup(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_high_speed_overrides(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_optimal_power_consumption(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_blooming_row_pattern(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_continue(client);
    
    	return ret;
    }
    
    static int mt9t11x_init_setting(const struct i2c_client *client)
    {
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    	int ret;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	/* Adaptive Output Clock (A) */
    	ret = mt9t11x_mcu_mask_set(client, VAR(26, 160), 0x0040, 0x0000);
    	if (ret < 0)
    		return ret;
    	/* Read Mode (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 12), 0x0024);
    	if (ret < 0)
    		return ret;
    	/* Fine Correction (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 15), 0x00CC);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Min (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 17), 0x01f1);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Max Margin (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 19), 0x00fF);
    	if (ret < 0)
    		return ret;
    	/* Base Frame Lines (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 29), 0x032D);
    	if (ret < 0)
    		return ret;
    	/* Min Line Length (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 31), 0x073a);
    	if (ret < 0)
    		return ret;
    	/* Line Length (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 37), 0x07d0);
    	if (ret < 0)
    		return ret;
    	/* Adaptive Output Clock (B) */
    	ret = mt9t11x_mcu_mask_set(client, VAR(27, 160), 0x0040, 0x0000);
    	if (ret < 0)
    		return ret;
    	/* Row Start (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 74), 0x004);
    	if (ret < 0)
    		return ret;
    	/* Column Start (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 76), 0x004);
    	if (ret < 0)
    		return ret;
    	/* Row End (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 78), 0x60B);
    	if (ret < 0)
    		return ret;
    	/* Column End (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 80), 0x80B);
    	if (ret < 0)
    		return ret;
    	/* Fine Correction (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 87), 0x008C);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Min (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 89), 0x01F1);
    	if (ret < 0)
    		return ret;
    	/* Fine IT Max Margin (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 91), 0x00FF);
    	if (ret < 0)
    		return ret;
    	/* Base Frame Lines (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 101), 0x0668);
    	if (ret < 0)
    		return ret;
    	/* Min Line Length (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 103), 0x0AF0);
    	if (ret < 0)
    		return ret;
    	/* Line Length (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 109), 0x0AF0);
    	if (ret < 0)
    		return ret;
    	/*
    	 * Flicker Dectection registers
    	 * This section should be replaced whenever new Timing file is
    	 * generated.
    	 * All the following registers need to be replaced
    	 * Following registers are generated from Register Wizard but user can
    	 * modify them. For detail see auto flicker detection tuning
    	 */
    	/* FD_FDPERIOD_SELECT */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 5), 0x01);
    	if (ret < 0)
    		return ret;
    	/* PRI_B_CONFIG_FD_ALGO_RUN */
    	ret = mt9t11x_mcu_write(client, VAR(27, 17), 0x0003);
    	if (ret < 0)
    		return ret;
    	/* PRI_A_CONFIG_FD_ALGO_RUN */
    	ret = mt9t11x_mcu_write(client, VAR(26, 17), 0x0003);
    	if (ret < 0)
    		return ret;
    	/*
    	 * AFD range detection tuning registers
    	 */
    	/* search_f1_50 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 165), 0x25);
    	if (ret < 0)
    		return ret;
    	/* search_f2_50 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 166), 0x28);
    	if (ret < 0)
    		return ret;
    	/* search_f1_60 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 167), 0x2C);
    	if (ret < 0)
    		return ret;
    	/* search_f2_60 */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 168), 0x2F);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (A) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 68), 0xBA);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (A MSB) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 303), 0x00);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (A) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 69), 0x9B);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (A MSB) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 301), 0x00);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (B) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 140), 0x82);
    	if (ret < 0)
    		return ret;
    	/* period_50Hz (B) MSB */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 304), 0x00);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (B) */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 141), 0x6D);
    	if (ret < 0)
    		return ret;
    	/* period_60Hz (B) MSB */
    	ret = mt9t11x_mcu_write(client, VAR8(18, 302), 0x00);
    	if (ret < 0)
    		return ret;
    	/* FD Mode */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 2), 0x10);
    	if (ret < 0)
    		return ret;
    	/* Stat_min */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 9), 0x02);
    	if (ret < 0)
    		return ret;
    	/* Stat_max */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 10), 0x03);
    	if (ret < 0)
    		return ret;
    	/* Min_amplitude */
    	ret = mt9t11x_mcu_write(client, VAR8(8, 12), 0x0A);
    	if (ret < 0)
    		return ret;
    	/* RX FIFO Watermark (A) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 70), 0x0014);
    	if (ret < 0)
    		return ret;
    	/* RX FIFO Watermark (B) */
    	ret = mt9t11x_mcu_write(client, VAR(18, 142), 0x0014);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_set_a_frame_size(client,
    				       priv->frame.width,
    				       priv->frame.height);
    
    	return ret;
    }
    
    static int mt9t11x_init_camera(const struct i2c_client *client)
    {
    	int ret;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	ret = mt9t11x_sysctl_startup(client);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_powerup_stop_enable(client);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_go(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_init_setting(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_high_speed_overrides(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_optimal_power_consumption(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_blooming_row_pattern(client);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_continue(client);
    	if (ret < 0)
    		return ret;
    
    	return ret;
    }
    
    /************************************************************************
     *			v4l2_subdev_core_ops
     ***********************************************************************/
    
    #ifdef CONFIG_VIDEO_ADV_DEBUG
    static int mt9t11x_g_register(struct v4l2_subdev *sd,
    			      struct v4l2_dbg_register *reg)
    {
    	struct i2c_client *client = v4l2_get_subdevdata(sd);
    	int                ret;
    
    	reg->size = 2;
    	ret = mt9t11x_reg_read(client, reg->reg);
    
    	reg->val = (__u64)ret;
    
    	return 0;
    }
    
    static int mt9t11x_s_register(struct v4l2_subdev *sd,
    			      const struct v4l2_dbg_register *reg)
    {
    	struct i2c_client *client = v4l2_get_subdevdata(sd);
    	int ret;
    
    	ret = mt9t11x_reg_write(client, reg->reg, reg->val);
    
    	return ret;
    }
    #endif
    
    static void __mt9t11x_set_power(struct mt9t11x_priv *priv, int on)
    {
    	struct i2c_client *client = priv->client;
    
    	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
    	on = (on) ? 1 : 0;
    
    	if (priv->power == on)
    		return;
    
    	if (on) {
    		if (priv->powerdown_gpio)
    			gpiod_set_value_cansleep(priv->powerdown_gpio, 0);
    		if (priv->reset_gpio)
    			gpiod_set_value_cansleep(priv->reset_gpio, 0);
    //		usleep_range(25000, 26000);
    		usleep_range(250000, 260000);
    	} else {
    //		if (priv->powerdown_gpio)
    //			gpiod_set_value_cansleep(priv->powerdown_gpio, 1);
    //		if (priv->reset_gpio)
    //			gpiod_set_value_cansleep(priv->reset_gpio, 1);
    	}
    
    	priv->power = on;
    }
    
    static int mt9t11x_s_power(struct v4l2_subdev *sd, int on)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	struct i2c_client *client = priv->client;
    
    	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
    
    	mutex_lock(&priv->lock);
    	__mt9t11x_set_power(priv, on);
    	mutex_unlock(&priv->lock);
    	return 0;
    }
    
    static struct v4l2_subdev_core_ops mt9t11x_subdev_core_ops = {
    	.log_status = v4l2_ctrl_subdev_log_status,
    	.subscribe_event = v4l2_ctrl_subdev_subscribe_event,
    	.unsubscribe_event = v4l2_event_subdev_unsubscribe,
    	.s_power	= mt9t11x_s_power,
    #ifdef CONFIG_VIDEO_ADV_DEBUG
    	.g_register	= mt9t11x_g_register,
    	.s_register	= mt9t11x_s_register,
    #endif
    };
    
    /*
     * V4L2 controls
     */
    static int mt9t11x_s_ctrl(struct v4l2_ctrl *ctrl)
    {
    	struct mt9t11x_priv *priv = ctrl_to_mt9t11x(ctrl);
    	struct i2c_client *client = priv->client;
    	int ret = -EINVAL;
    
    	dev_dbg(&client->dev, "%s: ctrl_id:0x%x (%s), value: %d\n",
    		__func__, ctrl->id, ctrl->name, ctrl->val);
    
    	mutex_lock(&priv->lock);
    	/*
    	 * If the device is not powered up now, postpone applying control's
    	 * value to the hardware, until it is ready to accept commands.
    	 */
    	if (priv->power == 0) {
    		mutex_unlock(&priv->lock);
    		return 0;
    	}
    
    	switch (ctrl->id) {
    	case V4L2_CID_VFLIP:
    		mt9t11x_set_orientation(client, 0x2, (ctrl->val) ? 2 : 0);
    		ret = 0;
    		break;
    	case V4L2_CID_HFLIP:
    		mt9t11x_set_orientation(client, 0x1, (ctrl->val) ? 1 : 0);
    		ret = 0;
    		break;
    	}
    
    	mutex_unlock(&priv->lock);
    	return ret;
    }
    
    static const struct v4l2_ctrl_ops mt9t11x_ctrl_ops = {
    	.s_ctrl	= mt9t11x_s_ctrl,
    };
    
    static int mt9t11x_initialize_controls(struct mt9t11x_priv *priv)
    {
    	const struct v4l2_ctrl_ops *ops = &mt9t11x_ctrl_ops;
    	struct i2c_client *client = priv->client;
    	struct v4l2_subdev *sd = &priv->subdev;
    	struct v4l2_ctrl_handler *hdl = &priv->handler;
    	int ret;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	ret = v4l2_ctrl_handler_init(hdl, 2);
    	if (ret < 0)
    		return ret;
    
    	priv->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
    	priv->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
    	sd->ctrl_handler = hdl;
    	if (priv->handler.error)
    		return priv->handler.error;
    
    	return 0;
    }
    
    /************************************************************************
     *			v4l2_subdev_video_ops
     ***********************************************************************/
    static int mt9t11x_set_params(struct mt9t11x_priv *priv,
    			      const struct v4l2_rect *rect,
    			      u32 code)
    {
    	int i;
    
    	/*
    	 * get color format
    	 */
    	for (i = 0; i < priv->num_formats; i++)
    		if (mt9t11x_cfmts[i].code == code)
    			break;
    
    	if (i == priv->num_formats)
    		return -EINVAL;
    
    	priv->frame  = *rect;
    
    	/*
    	 * frame size check
    	 */
    	mt9t11x_frame_check(&priv->frame.width, &priv->frame.height,
    			    &priv->frame.left, &priv->frame.top);
    
    	priv->format = mt9t11x_cfmts + i;
    
    	return 0;
    }
    
    static int mt9t11x_s_stream(struct v4l2_subdev *sd, int enable)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	struct i2c_client *client = priv->client;
    	int ret = 0;
    	int optimize = 0;
    	struct v4l2_rect rect = {
    		.width = priv->frame.width,
    		.height = priv->frame.height,
    		.left = priv->frame.left,
    		.top = priv->frame.top,
    	};
    	u16 param;
    
    	dev_dbg(&client->dev, "%s: enable: %d\n", __func__, enable);
    
    	mutex_lock(&priv->lock);
    
    	if (priv->streaming == enable) {
    		mutex_unlock(&priv->lock);
    		return 0;
    	}
    
    	if (!enable) {
    		/* Stop Streaming Sequence */
    		mt9t11x_streaming(priv, false);
    		__mt9t11x_set_power(priv, 0);
    		priv->streaming = enable;
    		mutex_unlock(&priv->lock);
    		return 0;
    	}
    
    	mt9t11x_set_params(priv, &rect, priv->format->code);
    
    	__mt9t11x_set_power(priv, 1);
    
    	/* fill the structure with new resolution parameters */
    	optimize = mt9t11x_set_resolution_params(client);
    
    	if (optimize) {
    		ret = mt9t11x_init_camera_optimized(client);
    		if (ret < 0)
    			return ret;
    	} else {
    		ret = mt9t11x_init_camera(client);
    		if (ret < 0)
    			return ret;
    	}
    	/*
    	 * By default data is sampled on falling edge of pixclk.
    	 * Change the default to be rising edge. i.e. Invert PCLK
    	 */
    	param = (priv->info->flags & V4L2_MBUS_PCLK_SAMPLE_RISING) ?
    		0x0001 : 0x0000;
    	ret = mt9t11x_reg_write(client, 0x3C20, param);
    	if (ret < 0)
    		return ret;
    	usleep_range(5000, 6000);
    
    	ret = mt9t11x_mcu_write(client, VAR(26, 7), priv->format->fmt);
    	if (ret < 0)
    		return ret;
    	ret = mt9t11x_mcu_write(client, VAR(26, 9), priv->format->order);
    	if (ret < 0)
    		return ret;
    
    	ret = mt9t11x_mcu_write(client, VAR8(1, 0), 0x06);
    	if (ret < 0)
    		return ret;
    
    	if (priv->flags & MT9T11x_FLAG_VFLIP)
    		v4l2_ctrl_s_ctrl(priv->vflip, 1);
    
    	/* Make sure H/W is consistent with current control settings */
    	ret = mt9t11x_set_orientation(client, 0x3,
    				      (v4l2_ctrl_g_ctrl(priv->vflip) << 1 |
    				       v4l2_ctrl_g_ctrl(priv->hflip)));
    	if (ret < 0)
    		return ret;
    
    	dev_dbg(&client->dev, "format : %04x\n", priv->format->code);
    	dev_dbg(&client->dev, "size   : %d x %d\n",
    		priv->frame.width,
    		priv->frame.height);
    
    	priv->streaming = enable;
    	mt9t11x_streaming(priv, true);
    
    	CLOCK_INFO(client, EXT_CLOCK);
    
    	mutex_unlock(&priv->lock);
    	return ret;
    }
    
    static void mt9t11x_get_default_format(struct mt9t11x_priv *priv,
    				       struct v4l2_mbus_framefmt *mf)
    {
    	struct v4l2_rect rect = {
    		.width = VGA_WIDTH,
    		.height = VGA_HEIGHT,
    		.left = (MAX_WIDTH - VGA_WIDTH) / 2,
    		.top = (MAX_HEIGHT - VGA_HEIGHT) / 2,
    	};
    
    	mt9t11x_set_params(priv, &rect, MEDIA_BUS_FMT_UYVY8_2X8);
    
    	/* Need fixing */
    	mf->width = rect.width;
    	mf->height = rect.height;
    	mf->colorspace = mt9t11x_cfmts[0].colorspace;
    	mf->code = mt9t11x_cfmts[0].code;
    
    	mf->field = V4L2_FIELD_NONE;
    }
    
    static int mt9t11x_get_fmt(struct v4l2_subdev *sd,
    			   struct v4l2_subdev_pad_config *cfg,
    			   struct v4l2_subdev_format *fmt)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	struct v4l2_mbus_framefmt *mf;
    
    	if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) {
    		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
    		mutex_lock(&priv->lock);
    		fmt->format = *mf;
    		mutex_unlock(&priv->lock);
    		return 0;
    	}
    
    	mutex_lock(&priv->lock);
    	mf = &fmt->format;
    	mf->width	= priv->frame.width;
    	mf->height	= priv->frame.height;
    	mf->colorspace	= priv->format->colorspace;
    	mf->code	= priv->format->code;
    	mf->field	= V4L2_FIELD_NONE;
    	mutex_unlock(&priv->lock);
    
    	return 0;
    }
    
    static void __mt9t11x_try_frame_size(struct v4l2_mbus_framefmt *mf)
    {
    	const struct mt9t11x_framesize *fsize = &mt9t11x_framesizes[0];
    	const struct mt9t11x_framesize *match = NULL;
    	int i = ARRAY_SIZE(mt9t11x_framesizes);
    	unsigned int min_err = UINT_MAX;
    
    	while (i--) {
    		int err = abs(fsize->width - mf->width)
    				+ abs(fsize->height - mf->height);
    		if (err < min_err) {
    			min_err = err;
    			match = fsize;
    		}
    		fsize++;
    	}
    
    	if (!match)
    		match = &mt9t11x_framesizes[0];
    
    	mf->width  = match->width;
    	mf->height = match->height;
    }
    
    static int mt9t11x_set_fmt(struct v4l2_subdev *sd,
    			   struct v4l2_subdev_pad_config *cfg,
    			   struct v4l2_subdev_format *fmt)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	unsigned int index = priv->num_formats;
    	struct v4l2_mbus_framefmt *mf = &fmt->format;
    	int ret = 0;
    	struct v4l2_rect rect;
    
    	__mt9t11x_try_frame_size(mf);
    	rect.width = mf->width;
    	rect.height = mf->height;
    	rect.left = priv->frame.left;
    	rect.top = priv->frame.top;
    
    	while (--index >= 0)
    		if (mt9t11x_cfmts[index].code == mf->code)
    			break;
    
    	if (index < 0)
    		return -EINVAL;
    
    	mf->colorspace = mt9t11x_cfmts[index].colorspace;
    	mf->code = mt9t11x_cfmts[index].code;
    	mf->field = V4L2_FIELD_NONE;
    
    	mutex_lock(&priv->lock);
    
    	if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) {
    		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
    		*mf = fmt->format;
    	} else {
    		ret = mt9t11x_set_params(priv, &rect, mf->code);
    	}
    
    	mutex_unlock(&priv->lock);
    
    	return ret;
    }
    
    static int mt9t11x_enum_mbus_code(struct v4l2_subdev *sd,
    				  struct v4l2_subdev_pad_config *cfg,
    				  struct v4l2_subdev_mbus_code_enum *code)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    
    	if (code->index >= priv->num_formats)
    		return -EINVAL;
    
    	code->code = mt9t11x_cfmts[code->index].code;
    
    	return 0;
    }
    
    static int mt9t11x_enum_frame_sizes(struct v4l2_subdev *sd,
    				    struct v4l2_subdev_pad_config *cfg,
    				    struct v4l2_subdev_frame_size_enum *fse)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	int i = priv->num_formats;
    
    	if (fse->index >= ARRAY_SIZE(mt9t11x_framesizes))
    		return -EINVAL;
    
    	while (--i)
    		if (mt9t11x_cfmts[i].code == fse->code)
    			break;
    
    	fse->code = mt9t11x_cfmts[i].code;
    
    	fse->min_width  = mt9t11x_framesizes[fse->index].width;
    	fse->max_width  = fse->min_width;
    	fse->max_height = mt9t11x_framesizes[fse->index].height;
    	fse->min_height = fse->max_height;
    
    	return 0;
    }
    
    static const struct v4l2_subdev_video_ops mt9t11x_subdev_video_ops = {
    	.s_stream	= mt9t11x_s_stream,
    };
    
    static const struct v4l2_subdev_pad_ops mt9t11x_subdev_pad_ops = {
    	.enum_mbus_code		= mt9t11x_enum_mbus_code,
    	.enum_frame_size	= mt9t11x_enum_frame_sizes,
    	.get_fmt		= mt9t11x_get_fmt,
    	.set_fmt		= mt9t11x_set_fmt,
    };
    
    /************************************************************************
     *			i2c driver
     ***********************************************************************/
    static struct v4l2_subdev_ops mt9t11x_subdev_ops = {
    	.core	= &mt9t11x_subdev_core_ops,
    	.video	= &mt9t11x_subdev_video_ops,
    	.pad   = &mt9t11x_subdev_pad_ops,
    };
    
    /*
     * V4L2 subdev internal operations
     */
    static int mt9t11x_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
    {
    	struct mt9t11x_priv *priv = sd_to_mt9t11x(sd);
    	struct i2c_client *client = priv->client;
    	struct v4l2_mbus_framefmt *mf;
    
    	dev_dbg(&client->dev, "%s:\n", __func__);
    
    	mf = v4l2_subdev_get_try_format(sd, fh->pad, 0);
    	mt9t11x_get_default_format(priv, mf);
    
    	return 0;
    }
    
    static const struct v4l2_subdev_internal_ops mt9t11x_subdev_internal_ops = {
    	.open = mt9t11x_open,
    };
    
    static int mt9t11x_camera_probe(struct i2c_client *client)
    {
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    	const char          *devname;
    	int                  chipid;
    	int                  custom_rev;
    	int		     ret = 0;
    
    	__mt9t11x_set_power(priv, 1);
    
    	/*
    	 * check and show chip ID
    	 */
    	chipid = mt9t11x_reg_read(client, 0x0000);
    
    	switch (chipid) {
    	case 0x2680:
    		devname = "mt9t111";
    		/*
    		 * Looks like only uyvy is supported
    		 * so limiting available formats.
    		 */
    		priv->num_formats = 1;
    		break;
    	case 0x2682:
    		devname = "mt9t112";
    		priv->num_formats = ARRAY_SIZE(mt9t11x_cfmts);
    		break;
    	default:
    		dev_err(&client->dev, "Product ID error %04x\n", chipid);
    		ret = -ENODEV;
    		goto done;
    	}
    
    	custom_rev = mt9t11x_reg_read(client, 0x31FE);
    
    	dev_info(&client->dev, "%s chip ID %04x rev %04x\n",
    		 devname, chipid, custom_rev);
    
    done:
    	__mt9t11x_set_power(priv, 0);
    	return ret;
    }
    
    static struct mt9t11x_camera_info *
    mt9t11x_get_pdata(struct i2c_client *client)
    {
    	struct mt9t11x_camera_info *pdata;
    	struct device_node *endpoint;
    	struct v4l2_of_endpoint *v4l2_endpoint;
    
    	dev_dbg(&client->dev, "_get_pdata invoked\n");
    
    	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
    		return client->dev.platform_data;
    
    	dev_dbg(&client->dev, "_get_pdata: DT Node found\n");
    
    	endpoint = of_graph_get_next_endpoint(client->dev.of_node, NULL);
    	if (!endpoint)
    		return NULL;
    
    	dev_dbg(&client->dev, "_get_pdata: endpoint found\n");
    
    	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
    	if (!pdata)
    		goto done;
    
    	v4l2_endpoint = &pdata->endpoint;
    	v4l2_of_parse_endpoint(endpoint, v4l2_endpoint);
    
    	if (of_property_read_u32(endpoint, "input-clock-freq", &pdata->mclk)) {
    		dev_err(&client->dev, "input-clock-freq property not found\n");
    		goto err_out;
    	} else if (pdata->mclk > MT9T11x_MAX_EXT_CLK) {
    		dev_err(&client->dev, "input-clock-freq property exceed max value\n");
    		goto err_out;
    	}
    	dev_info(&client->dev, "input-clock-freq: %d\n", pdata->mclk);
    
    	if (of_property_read_u32(endpoint, "pixel-clock-freq", &pdata->pclk)) {
    		dev_err(&client->dev, "pixel-clock-freq property not found\n");
    		goto err_out;
    	} else if (pdata->pclk > MT9T11x_MAX_PIXEL_CLK) {
    		dev_err(&client->dev, "pixel-clock-freq property exceed max value\n");
    		goto err_out;
    	}
    	dev_info(&client->dev, "pixel-clock-freq: %d\n", pdata->pclk);
    
    	/* Just copy them for now */
    	if (pdata->endpoint.bus_type == V4L2_MBUS_PARALLEL)
    		pdata->flags = pdata->endpoint.bus.parallel.flags;
    	else
    		pdata->flags = 0;
    done:
    	of_node_put(endpoint);
    	return pdata;
    err_out:
    	of_node_put(endpoint);
    	kfree(pdata);
    	return NULL;
    }
    
    static int mt9t11x_probe(struct i2c_client *client,
    			 const struct i2c_device_id *did)
    {
    	struct mt9t11x_priv *priv;
    	struct v4l2_subdev *sd;
    	struct mt9t11x_camera_info *info = mt9t11x_get_pdata(client);
    	struct v4l2_mbus_framefmt mf;
    
    	int ret;
    	struct gpio_desc *gpio;
    
    	if (!info) {
    		dev_err(&client->dev, "mt9t11x: missing platform data!\n");
    		return -EINVAL;
    	}
    
    	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
    	if (!priv)
    		return -ENOMEM;
    
    	priv->info = info;
    
    	mutex_init(&priv->lock);
    	priv->client = client;
    
    	gpio = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_LOW);
    	if (IS_ERR(gpio)) {
    		if (PTR_ERR(gpio) != -ENOENT)
    			return PTR_ERR(gpio);
    		gpio = NULL;
    	}
    	priv->reset_gpio = gpio;
    
    	gpio = devm_gpiod_get(&client->dev, "powerdown", GPIOD_OUT_LOW);
    	if (IS_ERR(gpio)) {
    		if (PTR_ERR(gpio) != -ENOENT)
    			return PTR_ERR(gpio);
    		gpio = NULL;
    	}
    	priv->powerdown_gpio = gpio;
    
    	gpio = devm_gpiod_get(&client->dev, "oscen", GPIOD_OUT_LOW);
    	if (IS_ERR(gpio)) {
    		if (PTR_ERR(gpio) != -ENOENT)
    			return PTR_ERR(gpio);
    		gpio = NULL;
    	}
    	priv->oscen_gpio = gpio;
    
    	gpio = devm_gpiod_get(&client->dev, "bufen", GPIOD_OUT_LOW);
    	if (IS_ERR(gpio)) {
    		if (PTR_ERR(gpio) != -ENOENT)
    			return PTR_ERR(gpio);
    		gpio = NULL;
    	}
    	priv->bufen_gpio = gpio;
    
    	gpio = devm_gpiod_get(&client->dev, "camen", GPIOD_OUT_LOW);
    	if (IS_ERR(gpio)) {
    		if (PTR_ERR(gpio) != -ENOENT)
    			return PTR_ERR(gpio);
    		gpio = NULL;
    	}
    	priv->camen_gpio = gpio;
    
    	/* Do these here for now */
    	if (priv->bufen_gpio)
    		gpiod_set_value_cansleep(priv->bufen_gpio, 1);
    
    	if (priv->oscen_gpio)
    		gpiod_set_value_cansleep(priv->oscen_gpio, 1);
    
    	if (priv->camen_gpio)
    		gpiod_set_value_cansleep(priv->camen_gpio, 1);
    
    	sd = &priv->subdev;
    	v4l2_i2c_subdev_init(sd, client, &mt9t11x_subdev_ops);
    	strlcpy(sd->name, DRIVER_NAME, sizeof(sd->name));
    
    	sd->internal_ops = &mt9t11x_subdev_internal_ops;
    	sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
    		     V4L2_SUBDEV_FL_HAS_EVENTS;
    
    #if defined(CONFIG_MEDIA_CONTROLLER)
    	priv->pad.flags = MEDIA_PAD_FL_SOURCE;
    	sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
    	ret = media_entity_pads_init(&sd->entity, 1, &priv->pad);
    	if (ret < 0)
    		return ret;
    #endif
    	ret = mt9t11x_initialize_controls(priv);
    	if (ret < 0)
    		goto err_me;
    
    	ret = mt9t11x_camera_probe(client);
    	if (ret < 0)
    		goto err_ctrls;
    
    	mt9t11x_get_default_format(priv, &mf);
    
    	/* Calculate the PLL register value needed */
    	mt9t11x_pll_calc_params(priv);
    
    	ret = v4l2_async_register_subdev(sd);
    	if (ret)
    		goto err_ctrls;
    
    	dev_info(&client->dev, "%s sensor driver registered !!\n", sd->name);
    
    	return 0;
    err_ctrls:
    	v4l2_ctrl_handler_free(sd->ctrl_handler);
    err_me:
    #if defined(CONFIG_MEDIA_CONTROLLER)
    	media_entity_cleanup(&sd->entity);
    #endif
    	return ret;
    }
    
    static int mt9t11x_remove(struct i2c_client *client)
    {
    	struct mt9t11x_priv *priv = to_mt9t11x(client);
    
    	v4l2_async_unregister_subdev(&priv->subdev);
    	v4l2_device_unregister_subdev(&priv->subdev);
    #if defined(CONFIG_MEDIA_CONTROLLER)
    	media_entity_cleanup(&priv->subdev.entity);
    #endif
    	v4l2_ctrl_handler_free(priv->subdev.ctrl_handler);
    	kfree(priv->info);
    	kfree(priv);
    	return 0;
    }
    
    static const struct i2c_device_id mt9t11x_id[] = {
    	{ "mt9t111", 0 },
    	{ "mt9t112", 0 },
    	{ /* sentinel */ }
    };
    MODULE_DEVICE_TABLE(i2c, mt9t11x_id);
    
    #if IS_ENABLED(CONFIG_OF)
    static const struct of_device_id mt9t11x_of_match[] = {
    	{ .compatible = "aptina,mt9t111", .data = (void *)MT9T111_ID},
    	{ .compatible = "aptina,mt9t112", .data = (void *)MT9T112_ID},
    	{ /* sentinel */ },
    };
    MODULE_DEVICE_TABLE(of, mt9t11x_of_match);
    #endif
    
    static struct i2c_driver mt9t11x_i2c_driver = {
    	.driver = {
    		.owner = THIS_MODULE,
    		.name	= DRIVER_NAME,
    		.of_match_table = of_match_ptr(mt9t11x_of_match),
    	},
    	.probe		= mt9t11x_probe,
    	.remove		= mt9t11x_remove,
    	.id_table	= mt9t11x_id,
    };
    
    module_i2c_driver(mt9t11x_i2c_driver);
    
    MODULE_AUTHOR("Benoit Parrot <bparrot@ti.com>");
    MODULE_DESCRIPTION("MT9T11x CMOS Image Sensor driver");
    MODULE_LICENSE("GPL v2");
    

  • Hi Matusan,

    Your sensor board has gone bad.

    Please initiate RMA process to order new camera.

    Regards,
    Manisha
  • Hi,

     

    Thank you very much for your kindness.

    I really appreciate your sincere support.

     

    I'd like to consider RMA possibility.

     

    Best regards,