This thread has been locked.

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

Linux/DRA722: How to enable vout2 at DRA722

Part Number: DRA722

Tool/software: Linux

Hi:

Now we want to change to use DRA722  VIN2A_XX as VOUT2 to connect LCD, but actually there is no output in any VOUT2 pins.

But  we found that DRA745 VOUT3 can work correctly.

And this question is same as  e2e.ti.com/.../577167

1)  mux_data.h

configure VIN2A_XX to VOUT2

 omapconf dump 0x4a003554 0x4a0035C4 

|----------------------------|
| Address (hex) | Data (hex) |
|----------------------------|
| 0x4A003554 | 0x00040104 |
| 0x4A003558 | 0x00040104 |
| 0x4A00355C | 0x00050104 |
| 0x4A003560 | 0x00040104 |
| 0x4A003564 | 0x00040104 |
| 0x4A003568 | 0x00050104 |
| 0x4A00356C | 0x00050104 |
| 0x4A003570 | 0x00050104 |
| 0x4A003574 | 0x00050104 |

2)   dra7.dts

&dss {
ports {
#address-cells = <1>;
#size-cells = <0>;

port@lcd2 {
reg = <1>;

lvds_out: endpoint {
remote-endpoint = <&lvds_in>;
data-lines = <24>;
};
};
};
};

Thanks.

  • Hi,

    what is the version of SDK/Linux you use?

    Regards,
    Yordan
  • Hi:

    SDK: ti-glsdk_dra7xx-evm_7_04_00_03

    Linux :3.14

  • Hi,

    I will forward your question to DSS expert.

    Regards,
    Yordan
  • Hi,

    I will look into the issue and respond.

    Is there a reason to stay with 3.14 kernel? The last release on 3.14 was an year ago. We now have 4.4 kernel based release available.

    processors.wiki.ti.com/.../Category:Processor_SDK_Linux_Automotive

    regards,
    Venkat
  • Hi,

    We develop this project in 2015, my project asked to have two display screens,and it is ok to enable vout2 at dra745 cpu with 3.14 kernel,but it did'nt work at dra722.

  • Hi,
    this might be a clocking problem. For example, DRA722 has no VIDEO2 DPLL.
  • Hi,

    Can you please use the below script on target and send us the output? This script will print the DSS clocking scheme.

    git.ti.com/.../dss_clockdumps.sh

    regards,
    Venkat
  • Below is only using vout2:


    =====================DSS clock script===================
    Dumps internal clocks and muxes of DSS

    CTRL_CORE_DSS_PLL_CONTROL (0x4a002538) = 0x0000028E
    video1 PLL : Enabled
    video2 PLL : Disabled
    HDMI PLL : Disabled
    DSI1_A_CLK mux : DPLL Video1
    DSI1_B_CLK mux : DPLL Video1
    DSI1_C_CLK mux : DPLL Video2

    DSS_CTRL (0x58000040) = 0x00001000
    2: LCD1 clk switch : DSS clk
    3: LCD2 clk switch : DSI1_B_CLK
    10: LCD3 clk switch : DSS clk
    1: func clk switch : DSS clk
    13: DPI1 output : HDMI

    ========================================================
    Register dump for DPLL video1
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58004300 | 0x00000018 |
    | 0x58004304 | 0x00003283 |
    | 0x58004308 | 0x00000000 |
    | 0x5800430C | 0x00E10806 |
    | 0x58004310 | 0x00616008 |
    | 0x58004314 | 0x00000000 |
    | 0x58004318 | 0x00000005 |
    | 0x5800431C | 0x0C802325 |
    | 0x58004320 | 0x00000000 |
    |----------------------------|

    Details for DPLL video1
    PLL status : Locked
    M4 hsdiv(1) : Active
    M5 hsdiv(2) : inactive
    M6 hsdiv(3) : inactive
    M7 hsdiv(4) : inactive

    PLL_REGM = 132
    PLL_REGN = 3
    M4 DIV = 7
    M6 DIV = 0
    M7 DIV = 0

    Clock calculations (DPLL video1)
    sysclk = 20000000
    DCO clk = sysclk * 2 * REGM / (REGN + 1) = 1320000000
    M4clk (clkcout1) = DCO clk / (M4 DIV + 1) = 165000000
    M6clk (clkcout1) = DCO clk / (M6 DIV + 1) = 0
    M7clk (clkcout1) = DCO clk / (M7 DIV + 1) = 0

    ========================================================
    Clock O/P of MUXes
    Error: I2C Read failed
    Error: I2C Read failed
    Error: I2C Read failed
    omapconf: powerdm_deinit(): cpu not supported!!!
    omapconf: clockdm_deinit(): cpu not supported!!!
    DSI1_A_CLK : 165000000
    DSI1_B_CLK : 0
    DSI1_C_CLK : 0

    2: LCD1 clk : 192000000
    3: LCD2 clk : 0
    10: LCD3 clk : 192000000
    1: func clk : 192000000

    LCD1 logic clk(/ 4 ) : 48000000 pix clk(/ 1 ) : 48000000
    LCD2 logic clk(/ 1 ) : 0 pix clk(/ 5 ) : 0
    LCD3 logic clk(/ 4 ) : 48000000 pix clk(/ 1 ) : 48000000

    -----------------------------------------------------------------------------------------------------------------

    Below is only using vout1:

    =====================DSS clock script===================
    Dumps internal clocks and muxes of DSS

    CTRL_CORE_DSS_PLL_CONTROL (0x4a002538) = 0x000002A6
    video1 PLL : Enabled
    video2 PLL : Disabled
    HDMI PLL : Disabled
    DSI1_A_CLK mux : DPLL Video1
    DSI1_B_CLK mux : DPLL video2
    DSI1_C_CLK mux : DPLL Video2

    DSS_CTRL (0x58000040) = 0x00010001
    2: LCD1 clk switch : DSI1_A_CLK
    3: LCD2 clk switch : DSS clk
    10: LCD3 clk switch : DSS clk
    1: func clk switch : DSS clk
    13: DPI1 output : LCD1

    ========================================================
    Register dump for DPLL video1
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58004300 | 0x00000018 |
    | 0x58004304 | 0x00003283 |
    | 0x58004308 | 0x00000000 |
    | 0x5800430C | 0x00E10806 |
    | 0x58004310 | 0x00616008 |
    | 0x58004314 | 0x00000000 |
    | 0x58004318 | 0x00000005 |
    | 0x5800431C | 0x0C802325 |
    | 0x58004320 | 0x00000000 |
    |----------------------------|

    Details for DPLL video1
    PLL status : Locked
    M4 hsdiv(1) : Active
    M5 hsdiv(2) : inactive
    M6 hsdiv(3) : inactive
    M7 hsdiv(4) : inactive

    PLL_REGM = 132
    PLL_REGN = 3
    M4 DIV = 7
    M6 DIV = 0
    M7 DIV = 0

    Clock calculations (DPLL video1)
    sysclk = 20000000
    DCO clk = sysclk * 2 * REGM / (REGN + 1) = 1320000000
    M4clk (clkcout1) = DCO clk / (M4 DIV + 1) = 165000000
    M6clk (clkcout1) = DCO clk / (M6 DIV + 1) = 0
    M7clk (clkcout1) = DCO clk / (M7 DIV + 1) = 0

    ========================================================
    Clock O/P of MUXes
    Error: I2C Read failed
    Error: I2C Read failed
    Error: I2C Read failed
    omapconf: powerdm_deinit(): cpu not supported!!!
    omapconf: clockdm_deinit(): cpu not supported!!!
    DSI1_A_CLK : 165000000
    DSI1_B_CLK : 0
    DSI1_C_CLK : 0

    2: LCD1 clk : 165000000
    3: LCD2 clk : 192000000
    10: LCD3 clk : 192000000
    1: func clk : 192000000

    LCD1 logic clk(/ 1 ) : 165000000 pix clk(/ 5 ) : 33000000
    LCD2 logic clk(/ 4 ) : 48000000 pix clk(/ 1 ) : 48000000
    LCD3 logic clk(/ 4 ) : 48000000 pix clk(/ 1 ) : 48000000

  • Hi,

    We found that there are several  "omapdrm omapdrm.0: omap_crtc_flush() timeout" in the dmesg.

    root@dra7xx-g5-r1:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.14.57 (ubuntu@ubuntu-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 SMP PREEMPT Fri Mar 17 16:46:02 CST 2017
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=50c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA722
    [    0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] cma: CMA: reserved 64 MiB at ab800000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] On node 0 totalpages: 519936
    [    0.000000] free_area_init_node: node 0, pgdat c05be580, node_mem_map ea7de000
    [    0.000000]   Normal zone: 1520 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 2544 pages used for memmap
    [    0.000000]   HighMem zone: 325376 pages, LIFO batch:31
    [    0.000000] DRA722 ES1.0
    [    0.000000] PERCPU: Embedded 7 pages/cpu @ea7a2000 s6720 r8192 d13760 u32768
    [    0.000000] pcpu-alloc: s6720 r8192 d13760 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 518416
    [    0.000000] Kernel command line: console=ttyS2,115200n8 elevator=noop root=/dev/mmcblk0p1 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=1 consoleblank=0 cma=64M rootfstype=ext4 quiet
    [    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: 1933032K/2079744K available (3610K kernel code, 277K rwdata, 1780K rodata, 182K init, 328K bss, 146712K reserved, 1301504K highmem)
    [    0.000000] Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
        lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf800000 - 0xbfe00000   (   6 MB)
          .text : 0xc0008000 - 0xc054bcfc   (5392 kB)
          .init : 0xc054c000 - 0xc0579a40   ( 183 kB)
          .data : 0xc057a000 - 0xc05bf5f8   ( 278 kB)
           .bss : 0xc05bf604 - 0xc06119b4   ( 329 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns
    [    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
    [    0.000432] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 2794592043008ns
    [    0.000439] Switching to timer-based delay loop
    [    0.000955] Console: colour dummy device 80x30
    [    0.000977] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000990] pid_max: default: 32768 minimum: 301
    [    0.001066] Security Framework initialized
    [    0.001103] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001114] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.023053] CPU: Testing write buffer coherency: ok
    [    0.023300] /cpus/cpu@0 missing clock-frequency property
    [    0.023314] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.023340] Setting up static identity map for 0x80360540 - 0x8036058c
    [    0.060495] Brought up 1 CPUs
    [    0.060506] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.060513] CPU: All CPU(s) started in SVC mode.
    [    0.060875] devtmpfs: initialized
    [    0.061641] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.063353] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.074769] omap_hwmod: tptc0 using broken dt data from edma-controller
    [    0.075298] omap_hwmod: tptc1 using broken dt data from edma-controller
    [    0.239290] pinctrl core: initialized pinctrl subsystem
    [    0.240045] regulator-dummy: no parameters
    [    0.242474] NET: Registered protocol family 16
    [    0.243612] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.299193] syscon 4a002000.tisysconcore: regmap [mem 0x4a002000-0x4a0026cf] registered
    [    0.299505] syscon 4a002e00.tisyscon: regmap [mem 0x4a002e00-0x4a002e7b] registered
    [    0.302005] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.302283] OMAP GPIO hardware version 0.1
    [    0.302925] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.303782] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.304669] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.305560] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    [    0.306461] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    [    0.307370] gpiochip_add: registered GPIOs 192 to 223 on device: gpio
    [    0.308300] gpiochip_add: registered GPIOs 224 to 255 on device: gpio
    [    0.314996] platform 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    0.336125] OMAP DMA hardware revision 0.0
    [    0.358211] bio: create slab <bio-0> at 0
    [    0.373987] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.380375] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [    0.381042] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-sd[0]'
    [    0.381267] evm_3v3_sd: 3300 mV 
    [    0.381371] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-evm_3v3_sw[0]'
    [    0.381578] evm_3v3_sw: 3300 mV 
    [    0.381681] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-aic_dvdd[0]'
    [    0.381888] aic_dvdd: 1800 mV 
    [    0.381979] aic_dvdd: supplied by evm_3v3_sw
    [    0.385112] i2c-core: driver [palmas] using legacy suspend method
    [    0.385121] i2c-core: driver [palmas] using legacy resume method
    [    0.385668] SCSI subsystem initialized
    [    0.386513] usbcore: registered new interface driver usbfs
    [    0.386674] usbcore: registered new interface driver hub
    [    0.386861] usbcore: registered new device driver usb
    [    0.388942] palmas 0-0058: could not find pctldev for node /ocp/pinmux@4a003400/tps65917_pins_default, deferring probe
    [    0.388959] i2c 0-0058: Driver palmas requests probe deferral
    [    0.389318] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.390077] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.392325] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.392757] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 50 kHz
    [    0.393183] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.393468] media: Linux media interface: v0.10
    [    0.393620] Linux video capture interface: v2.00
    [    0.393855] pps_core: LinuxPPS API ver. 1 registered
    [    0.393864] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.395108] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.395938] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.396597] Advanced Linux Sound Architecture Driver Initialized.
    [    0.397624] Switched to clocksource arch_sys_counter
    [    0.415645] NET: Registered protocol family 2
    [    0.416303] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.416382] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.416545] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.416597] TCP: reno registered
    [    0.416609] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.416644] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.416846] NET: Registered protocol family 1
    [    0.417109] RPC: Registered named UNIX socket transport module.
    [    0.417118] RPC: Registered udp transport module.
    [    0.417124] RPC: Registered tcp transport module.
    [    0.417131] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.418222] sv_uio_probe
    [    0.418347] gpio-59 (NAV2BT_EN): gpiod_request: status -16
    [    0.418362] gpio-164 (USB2_POWER_EN): gpiod_request: status -16
    [    0.418863] sv_watchdog_probe
    [    0.421442] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.421791] bounce pool size: 64 pages
    [    0.435014] VFS: Disk quotas dquot_6.5.2
    [    0.435386] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.439555] NFS: Registering the id_resolver key type
    [    0.439583] Key type id_resolver registered
    [    0.439592] Key type id_legacy registered
    [    0.439636] msgmni has been set to 1473
    [    0.441958] NET: Registered protocol family 38
    [    0.441985] io scheduler noop registered (default)
    [    0.441993] io scheduler deadline registered
    [    0.442296] io scheduler cfq registered
    [    0.445076] platform 4a084000.phy: Driver omap-usb2 requests probe deferral
    [    0.445219] platform 4a085000.phy: Driver omap-usb2 requests probe deferral
    [    0.448009] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
    [    0.448403] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.450949] video:dss_initialize_debugfs 11 
    [    0.451513] OMAP DSS rev 6.1
    [    0.453093] max9263 0-0020: GPIO lookup for consumer enable
    [    0.453104] max9263 0-0020: using device tree for GPIO lookup
    [    0.453114] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/i2c@48070000/tlc59108@20[0]'
    [    0.453124] max9263 0-0020: using lookup tables for GPIO lookup
    [    0.453133] max9263 0-0020: lookup for GPIO enable failed
    [    0.467979] max9263 0-0020: Successfully initialized max9263
    [    0.469470] pbias_mmc_omap5: 1800 <--> 3300 mV at 3000 mV 
    [    0.470265] abb_mpu: 1100 <--> 1210 mV 
    [    0.470624] abb_ivahd: 1060 <--> 1250 mV 
    [    0.470976] abb_dspeve: 1060 <--> 1250 mV 
    [    0.471316] abb_gpu: 1060 <--> 1280 mV 
    [    0.471863] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.475154] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48020000[0]'
    [    0.475485] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    [    0.497480] console [ttyS2] enabled
    [    0.498065] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48066000[0]'
    [    0.498368] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 300, base_baud = 3000000) is a 8250
    [    0.498760] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4ae2b000[0]'
    [    0.499063] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 302, base_baud = 3000000) is a 8250
    [    0.499691] OS:MSG:serial_dra7xx_init:dra7xx-serio
    [    0.499808] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48422000[0]'
    [    0.501004] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    0.501316] [drm] Initialized drm 1.1.0 20060810
    [    0.511990] brd: module loaded
    [    0.517663] loop: module loaded
    [    0.519781] mcu_spi_init
    [    0.521928] mcu_spi_probe
    [    0.522097] 
     mcu_spi_cs = 1
    [    0.534401] m25p80 spi32766.0: found s25fl064k, expected w25q64
    [    0.534418] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
    [    0.534458] 4 ofpart partitions found on MTD device spi32766.0
    [    0.534467] Creating 4 MTD partitions on "spi32766.0":
    [    0.534477] 0x000000000000-0x000000500000 : "BOOT_IMAGE"
    [    0.535025] 0x000000500000-0x000000700000 : "DATA"
    [    0.535540] 0x000000700000-0x000000710000 : "FLAG"
    [    0.536040] 0x000000710000-0x000000800000 : "DATA3"
    [    0.539856] omap-dwc3 48880000.omap_dwc3_1: unable to get extcon device : extcon_usb1
    [    0.548283] platform 48880000.omap_dwc3_1: Driver omap-dwc3 requests probe deferral
    [    0.548994] platform 488d0000.usb: Driver dwc3 requests probe deferral
    [    0.549667] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.549676] ehci-omap: OMAP-EHCI Host Controller driver
    [    0.550164] usbcore: registered new interface driver usb-storage
    [    0.550807] serio_mcu serio0: mcu access enabled on 48422000.serial (serio_mcu0, minor 11)
    [    0.551073] i2c /dev entries driver
    [    0.552395] node->name =camera_ak8859
    [    0.552403] node->name =camera_ak8859
    [    0.552438] of_get_named_gpiod_flags exited with status 0
    [    0.552445] gpio num =150
    [    0.552452] ak8859_get_gpios status=0
    [    0.562467] ak8859_set_gpios status=0
    [    0.563214] ak8859_set_int_regs status=0
    [    0.563379] ak8859 1-0044: failed to get 8859 video status ERR 0
    [    0.569714] ak8859 1-0044: Camera not connected
    [    0.574263] ak8859 1-0044: Camera sensor driver registered
    [    0.574562] rvc_detect_init
    [    0.574911] rvc_detect_probe
    [    0.576066] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    0.577486] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    0.577697] Driver for 1-wire Dallas network protocol.
    [    0.578117] power_detect_init
    [    0.578449] power_detect_probe
    [    0.579681] coproc iva_coproc: probe
    [    0.579807] Adding alias for supply vdd,iva_coproc -> vdd,4a0025cc.voltdm
    [    0.579815] Adding alias for supply vbb,iva_coproc -> vbb,4a0025cc.voltdm
    [    0.579844] omap_voltdm 4a0025cc.voltdm: Unable to get vdd regulator:-517
    [    0.586665] coproc iva_coproc: of_pm_voltdm_notifier_register: Failed to get coproc regulator/voltdm: -517
    [    0.586674] coproc iva_coproc: coproc clock notifier not ready, retry
    [    0.593255] vip 48970000.vip: VPDMA firmware loaded
    [    0.593325] vip1-s1: Using subdev ak8859 1-0044 for capture
    [    0.593731] vpe 489d0000.vpe: Device registered as /dev/video0
    [    0.593812] vip1-s1: vip Device registered as /dev/video1
    [    0.593908] coproc iva_coproc: coproc_probe result=-517
    [    0.593930] platform iva_coproc: Driver coproc requests probe deferral
    [    0.593969] coproc dsp_coproc: probe
    [    0.594064] Adding alias for supply vdd,dsp_coproc -> vdd,4a0025e0.voltdm
    [    0.594072] Adding alias for supply vbb,dsp_coproc -> vbb,4a0025e0.voltdm
    [    0.594097] omap_voltdm 4a0025e0.voltdm: Unable to get vdd regulator:-517
    [    0.601128] coproc dsp_coproc: of_pm_voltdm_notifier_register: Failed to get coproc regulator/voltdm: -517
    [    0.601137] coproc dsp_coproc: coproc clock notifier not ready, retry
    [    0.607674] coproc dsp_coproc: coproc_probe result=-517
    [    0.607692] platform dsp_coproc: Driver coproc requests probe deferral
    [    0.607900] of_get_named_gpiod_flags exited with status 0
    [    0.607916] sv SMPS:1a, BC:1 
    [    0.619493] sv usb supply errCode = 0x0, Status = 0x8 
    [    0.623456] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    0.624879] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480b4000[0]'
    [    0.624889] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480b4000[0]'
    [    0.658337] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    0.659961] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    0.662539] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    0.663669] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    0.663687] omap-sham 4b101000.sham: initialization failed.
    [    0.669379] omap-sham: probe of 4b101000.sham failed with error -22
    [    0.669854] hidraw: raw HID events driver (C) Jiri Kosina
    [    0.676151] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer id
    [    0.676162] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [    0.676195] of_get_named_gpiod_flags exited with status 0
    [    0.676212] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer vbus
    [    0.676221] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    [    0.676230] of_get_named_gpiod_flags: can't parse gpios property of node '/extcon_usb1[0]'
    [    0.676238] extcon-usb-gpio extcon_usb1: using lookup tables for GPIO lookup
    [    0.676248] extcon-usb-gpio extcon_usb1: lookup for GPIO vbus failed
    [    0.681354] dra7xx-g5-codec multicodec_sound:  dra7xx-ak7738b-dai-codec <-> 4846c000.mcasp mapping ok
    [    0.681847] dra7xx-g5-codec multicodec_sound:  dra7xx-ak7738a-dai-codec <-> 48460000.mcasp mapping ok
    [    0.683596] TCP: cubic registered
    [    0.683605] Initializing XFRM netlink socket
    [    0.683637] NET: Registered protocol family 17
    [    0.683669] NET: Registered protocol family 15
    [    0.683718] 8021q: 802.1Q VLAN Support v1.8
    [    0.683771] Key type dns_resolver registered
    [    0.683780] NET: Registered protocol family 41
    [    0.684559] Power Management for TI OMAP4+ devices.
    [    0.684732] ThumbEE CPU extension supported.
    [    0.684751] Registering SWP/SWPB emulation handler
    [    0.685465] aic_dvdd: disabling
    [    0.685475] evm_3v3_sd: disabling
    [    0.685484] regulator-dummy: disabling
    [    0.685786] dmm 4e000000.dmm: workaround for errata i878 in use
    [    0.688568] dmm 4e000000.dmm: initialized all PAT entries
    [    0.689013] 58000000.dss supply vdda_video not found, using dummy regulator
    [    0.691540] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    0.691549] [drm] No driver support for vblank timestamp query.
    [    0.695175] [drm] Enabling DMM ywrap scrolling
    [    0.790868] mmc0: BKOPS_EN bit is not set
    [    0.797644] omapdrm omapdrm.0: lcd2: timeout waiting for enable
    [    0.806654] mmc0: new HS200 MMC card at address 0001
    [    0.807174] mmcblk0: mmc0:0001 eMMC   12.5 GiB 
    [    0.807361] mmcblk0boot0: mmc0:0001 eMMC   partition 1 4.00 MiB
    [    0.807541] mmcblk0boot1: mmc0:0001 eMMC   partition 2 4.00 MiB
    [    0.810268]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
    [    0.813724]  mmcblk0boot1: unknown partition table
    [    0.815539]  mmcblk0boot0: unknown partition table
    [    0.997640] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    1.002606] Console: switching to colour frame buffer device 100x30
    [    1.018856] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.018866] omapdrm omapdrm.0: registered panic notifier
    [    1.018882] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    1.019221] pinctrl-single 4a003400.pinmux: pin 4a003824.0 already requested by 4a003400.pinmux; cannot claim for 0-0058
    [    1.030177] pinctrl-single 4a003400.pinmux: pin-265 (0-0058) status -22
    [    1.036888] pinctrl-single 4a003400.pinmux: could not request pin 265 (4a003824.0) from group tps65917_pins_default  on device pinctrl-single
    [    1.049669] palmas 0-0058: Error applying setting, reverse things back
    [    1.056298] palmas 0-0058: Irq flag is 0x00000000
    [    1.058502] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [    1.058634] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
    [    1.066988] smps1: 850 <--> 1250 mV at 990 mV 
    [    1.068246] smps2: 850 <--> 1060 mV at 1050 mV 
    [    1.069487] smps3: 850 <--> 1250 mV at 990 mV 
    [    1.070731] smps4: 1800 mV 
    [    1.072565] smps5: 1350 mV 
    [    1.073875] ldo1: 1800 <--> 3300 mV at 900 mV 
    [    1.074683] ldo2: 1800 <--> 3300 mV at 1800 mV 
    [    1.076232] ldo3: 1800 mV 
    [    1.077787] ldo4: 3300 mV 
    [    1.079343] ldo5: 1800 mV 
    [    1.079986] REGEN1: no parameters
    [    1.080236] REGEN2: no parameters
    [    1.080479] REGEN3: no parameters
    [    1.080663] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
    [    1.088098] omap-usb2 4a084000.phy: Unbalanced pm_runtime_enable!
    [    1.088604] omap-usb2 4a085000.phy: Unbalanced pm_runtime_enable!
    [    1.490634] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
    [    1.490647] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
    [    1.490657] dwc3 48890000.usb: otg: can't start till gadget registers
    [    1.892386] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.892415] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    1.892753] xhci-hcd xhci-hcd.1.auto: irq 414, io mem 0x488d0000
    [    1.892942] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.892953] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.892962] usb usb1: Product: xHCI Host Controller
    [    1.892971] usb usb1: Manufacturer: Linux 3.14.57 xhci-hcd
    [    1.892980] usb usb1: SerialNumber: xhci-hcd.1.auto
    [    1.893718] hub 1-0:1.0: USB hub found
    [    1.893760] hub 1-0:1.0: 1 port detected
    [    1.894082] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    1.894101] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    1.894339] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    1.894350] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.894359] usb usb2: Product: xHCI Host Controller
    [    1.894368] usb usb2: Manufacturer: Linux 3.14.57 xhci-hcd
    [    1.894377] usb usb2: SerialNumber: xhci-hcd.1.auto
    [    1.895104] hub 2-0:1.0: USB hub found
    [    1.895148] hub 2-0:1.0: 1 port detected
    [    1.895663] coproc iva_coproc: probe
    [    1.895795] Adding alias for supply vdd,iva_coproc -> vdd,4a0025cc.voltdm
    [    1.895804] Adding alias for supply vbb,iva_coproc -> vbb,4a0025cc.voltdm
    [    1.896908] coproc iva_coproc: coproc_probe result=0
    [    1.897068] coproc dsp_coproc: probe
    [    1.897163] Adding alias for supply vdd,dsp_coproc -> vdd,4a0025e0.voltdm
    [    1.897171] Adding alias for supply vbb,dsp_coproc -> vbb,4a0025e0.voltdm
    [    1.897944] coproc dsp_coproc: coproc_probe result=0
    [    1.898059] of_get_named_gpiod_flags exited with status 0
    [    1.898086] of_get_named_gpiod_flags exited with status 0
    [    1.938476] sv read c is 1 
    [    1.939459] sv atmel_mxt_ts_init in 
    [    1.939536] of_get_named_gpiod_flags exited with status 0
    [    2.328811] atmel_mxt_ts 2-004a: Family: 164 Variant: 25 Firmware V1.0.AA Objects: 40
    [    2.334947] sv mxt_initialize_input_device call
    [    2.337212] atmel_mxt_ts 2-004a: T100 Touchscreen size X799Y479
    [    2.337530] input: Atmel maXTouch Touchscreen as /devices/44000000.ocp/48060000.i2c/i2c-2/2-004a/input/input0
    [    2.337845] sv mxt_initialize success 
     
    [    2.338363] ALSA device list:
    [    2.338373]   #0: DRA7xx-G5
    [    2.348817] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
    [    2.388034] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
    [    2.388064] VFS: Mounted root (ext4 filesystem) on device 179:1.
    [    2.388508] devtmpfs: mounted
    [    2.532932] pid = 1008, process name = rvc_os.
    [    2.757692] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    2.763166] pid = 1008, process name = rvc_os.
    [    2.795136] Running do_deferred_initcalls()
    [    2.796065] of_get_named_gpiod_flags exited with status 0
    [    2.796076] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]'
    [    2.851194]  remoteproc0: 55020000.ipu is available
    [    2.851206]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.851215]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.953205]  remoteproc0: powering up 55020000.ipu
    [    2.953222]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 3894572
    [    2.953285] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    2.957690] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    2.963117] pid = 1008, process name = rvc_os.
    [    2.970459] mmc1: host does not support reading read-only switch. assuming write-enable.
    [    2.972358] mmc1: new high speed SDHC card at address 0007
    [    2.977963] mmcblk1: mmc1:0007 S08GE 7.31 GiB 
    [    2.979387]  mmcblk1: p1
    [    3.034866]  remoteproc0: remote processor 55020000.ipu is now up
    [    3.035347] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    3.035392]  remoteproc0: registered virtio0 (type 7)
    [    3.036360] Freeing unused kernel memory: 180K (c054c000 - c0579000)
    [    3.043398] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    3.045498] rpmsg_rpc rpmsg0: probing service dce-callback with src 1024 dst 101
    [    3.047834] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    [    3.048113] rpmsg_rpc rpmsg1: probing service rpmsg-dce with src 1025 dst 102
    [    3.051663] rpmsg_rpc rpmsg0: published functions = 4
    [    3.052090] rpmsg_rpc rpmsg1: published functions = 8
    [    3.141614] udevd[1064]: starting version 182
    [    3.157674] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    3.163192] pid = 1008, process name = rvc_os.
    [    3.357692] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    3.363151] pid = 1008, process name = rvc_os.
    [    3.548433] random: dbus-uuidgen urandom read with 107 bits of entropy available
    [    3.557746] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    3.563574] pid = 1008, process name = rvc_os.
    [    3.564238] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.566734] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    3.569990] EXT4-fs (mmcblk0p6): recovery complete
    [    3.570009] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    [    3.757644] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    3.762999] pid = 1141, process name = pvrsrvinit.
    [    3.763261] rvc_detect_fasync
    [    3.957642] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    4.157640] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    4.162989] pid = 1147, process name = rvc_os.
    [    4.167743] pid = 1145, process name = rvc_os.
    [    4.168025] pid = 1144, process name = rvc_os.
    [    4.168534] pid = 1143, process name = rvc_os.
    [    4.169238] pid = 1141, process name = pvrsrvinit.
    [    4.169427] ak8859 1-0044: Currently only D1 resolution is supported
    [    4.169473] ak8859 1-0044: Currently only D1 resolution is supported
    [    4.367642] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    4.373044] pid = 1141, process name = pvrsrvinit.
    [    4.532549] random: nonblocking pool is initialized
    [    4.577644] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    4.679326] pid = 1160, process name = weston.
    [    4.708874] tfat: module license 'Commercial. For support email exfat-support@tuxera.com' taints kernel.
    [    4.708887] Disabling lock debugging due to kernel taint
    [    4.711668] Tuxera FAT 12/16/32 driver version 3015.1.29 [Flags: R/W MODULE].
    [    4.711680] Built against headers 3.14.57 #1 SMP PREEMPT Sun Jan 3 10:43:25 CST 2016 arm
    [    4.711689] Running on kernel 3.14.57 #4 SMP PREEMPT Fri Mar 17 16:46:02 CST 2017 armv7l
    [    4.747146] Tuxera exFAT driver version 3015.1.29 [Flags: R/W MODULE].
    [    4.747161] Built against headers 3.14.57 #1 SMP PREEMPT Sun Jan 3 10:43:25 CST 2016 arm
    [    4.747170] Running on kernel 3.14.57 #4 SMP PREEMPT Fri Mar 17 16:46:02 CST 2017 armv7l
    [    4.772808] NTFS driver 2.1.30 [Flags: R/O MODULE].
    [    4.814845] fuse init (API version 7.22)
    [    4.863499] tfat: fail_safe is enabled
    [    4.864317] tfat: cluster_heap_lbo 0x400000
    [    4.864327] tfat: 12 blkbits for normal inodes
    [    4.864335] tfat: fat start lbo 0x22c400
    [    4.864344] tfat: 9 blkbits for main FAT32 inode
    [    4.864351] tfat: cluster size 32768
    [    4.925976] tfat info: FAT32 volume name 'CH035', version 0.0.
    [    4.925997] tfat warning (device mmcblk1p1, pid 1194): fat_fill_super(): FAT volume CH035 is dirty.  You should unmount and repair it.
    [    5.087392] pid = 1143, process name = rvc_os.
    [    5.087505] pid = 1143, process name = rvc_os.
    [    5.089783] pid = 1143, process name = rvc_os.
    [    5.089852] pid = 1143, process name = rvc_os.
    [    5.167285] OS:MSG:g5_get_bclk:rate=16000Hz
    [    5.177667] omapdrm omapdrm.0: omap_crtc_flush() timeout
    [    5.187295] OS:MSG:g5_get_bclk:rate=16000Hz
    [    5.622905] EXT4-fs (mmcblk0p5): recovery complete
    [    5.623694] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
    [    6.003594] usbcore: registered new interface driver usbhid
    [    6.003606] usbhid: USB HID core driver
    [    6.092378] NET: Registered protocol family 10
    [    6.133537] usbcore: registered new interface driver snd-usb-audio
    [    6.354399] power_detect_fasync
    [    6.500999] input: SVP UINPUT KEYBOARD as /devices/virtual/input/input1
    [    6.526010] using random self ethernet address
    [    6.526027] using random host ethernet address
    [    6.526043] using self ethernet address: 7e:11:59:c9:b3:7e
    [    6.593739] carplay0: HOST MAC 82:90:17:81:00:79
    [    6.593798] carplay0: MAC 7e:11:59:c9:b3:7e
    [    6.598797] g_carplay gadget: Carplay Gadget, version: DesaySV 2015
    [    6.598809] g_carplay gadget: g_carplay ready
    [    6.598824] dwc3 48890000.usb: otg: gadget gadget registered
    [    6.598861] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    6.598891] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
    [    6.600455] xhci-hcd xhci-hcd.0.auto: irq 417, io mem 0x48890000
    [    6.601609] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [    6.601623] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.601634] usb usb3: Product: xHCI Host Controller
    [    6.601643] usb usb3: Manufacturer: Linux 3.14.57 xhci-hcd
    [    6.601653] usb usb3: SerialNumber: xhci-hcd.0.auto
    [    6.602239] hub 3-0:1.0: USB hub found
    [    6.602277] hub 3-0:1.0: 1 port detected
    [    6.602621] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    6.602640] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
    [    6.602836] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    [    6.602847] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.602856] usb usb4: Product: xHCI Host Controller
    [    6.602866] usb usb4: Manufacturer: Linux 3.14.57 xhci-hcd
    [    6.602875] usb usb4: SerialNumber: xhci-hcd.0.auto
    [    6.603392] hub 4-0:1.0: USB hub found
    [    6.610068] hub 4-0:1.0: 1 port detected
    [    6.642014] IPv6: ADDRCONF(NETDEV_CHANGE): carplay0: link becomes ready
    [    6.814035] mcu_spi spi2.0: mcu_spi_open
    [    6.814049] mcu_spi open device use BLOCK flag
    [    6.928838] 
     mcu_spi_cs = 0
    [    6.990758] mcu_spi try to resync radio mcu again...
    [    6.992951] 
     mcu_spi packet check_sum......error...
    
    [    7.016149] 
     mcu_spi rxdata  #<00, 00, 00, 00, 00, 00, 00, 80>
    [    7.044437] mcu_spi try to resync radio mcu again...
    [    7.046555] mcu_spi Navi & Radio SPI Sync OK
    [    7.046568] 
     mcu_spi_cs = 1
    [    7.080349] mcu_spi Navi & Radio SPI Sync OK
    [    7.431294] OS:MSG:Touch Enable:1 Disable(0) User value(1)
    [   11.593368] pid = 1508, process name = vpanel.
    [   21.997214] pid = 1533, process name = statusbar.
    [   22.771442] pid = 1577, process name = camera.
    [   23.173514] pid = 1590, process name = toptip.
    [   24.007690] pid = 1604, process name = launcher.
    [   24.741919] pid = 1616, process name = carplay.
    [   30.537577] pid = 1143, process name = rvc_os.
    [   30.537737] pid = 1143, process name = rvc_os.
    [   40.013628] pid = 1672, process name = radio.
    root@dra7xx-g5-r1:~# 

  • Hi,

    From the clock dump, the required divider on Video PLL is not set. Let me check and get back to you.

    What is your usecase? Are you driving two identical displays connected to VOUT1 and VOUT2?

    regards,
    Venkat
  • Hi,

    Yes, we are going to drive two identical displays connected to VOUT1 and VOUT2, but it didn't work.
    If we set omapdrm.num_crtc=2, VOUT1 no output too.
  • Hi,

    Yes, we are going to drive two identical displays connected to VOUT1 and VOUT2, but it didn't work.
    If we set omapdrm.num_crtc=2, VOUT1 no output too.
  • Hi,

    Yes, we are going to drive two identical displays connected to VOUT1 and VOUT2, but it didn't work.
    If we set omapdrm.num_crtc=2, VOUT1 no output too.

  • Hi,

    Below are a set of patches to enable VOUT2 and VOUT1 simultaneously on DRA72x. These are only sanity tested on DRA72x EVM by alternatively placing VOUT1 and VOUT2 output on the LCD.

    1, review.omapzoom.org/37626 , omapdss: pll: fix writing M6 & M7 divs
    2, review.omapzoom.org/37627 , tmp:fix for VOUT1 + VOUT2 enablement to have LCD1 and LCD2
    3, review.omapzoom.org/38278 , HACK: Enable M4 and M6 dividers always.
    4, review.omapzoom.org/38279 , dra72: dts: enable vout2

    Please use these as a reference and make the necessary changes on your kernel tree to enable VOUT2 and VOUT1 simultaneously.

    These are only kernel patches. You need to do the required pinmux changes in u-boot.

    regards,
    Venkat

  • #include <stdint.h>
    #include <errno.h>
    
    #include "svapi.h"
    #include <drm.h>
    #include <drm_mode.h>
    #include <omap_drm.h>
    #include <omap_drmif.h>
    #include <xf86drmMode.h>
    #include <sys/types.h>
    #include <sys/mman.h>
    
    #include <sys/ipc.h>
    #include <semaphore.h>
    #include <sys/stat.h>
    #include <sys/shm.h>
    #include <fcntl.h>
    
    #include <mqueue.h>
    #include <stdbool.h>
    #include <unistd.h>
    
    mqd_t radar_disp_mqd;
    
    #define MAX_RADAR_QUEUE_NUM	1
    #define RADAR_QUEUE				"/radar_queue"
    
    extern mqd_t open_radar_queue(const char* queuename, unsigned int msgnum, int flags, unsigned int msgsize);
    extern bool send_queue(mqd_t mq_handler, void* buf, unsigned int msg_size, int priority);
    extern bool recv_queue(mqd_t mq_handler, void *msg_buf);
    
    #define DRM_IOCTL_MODE_GETVIDPLANERESOURCES DRM_IOWR(0xBC, struct drm_mode_get_plane_res)
    #define U642VOID(x) ((void *)(unsigned long)(x))
    #define VOID2U64(x) ((uint64_t)(unsigned long)(x))
    
    
    #define DISPC_CONFIG1 0x58001044 /* LCD1 and TV */
    #define DISPC_CONFIG2 0x58001620 /* LCD2 */
    #define DISPC_CONFIG3 0x5800184C /* LCD3 */
    
    #define DISPC_GLOBAL_ALPHA 0x58001074
    
    #define DISPC_TRANS_COLOR0 0x58001054 /* LCD1 */
    #define DISPC_TRANS_COLOR1 0x58001058 /* TV */
    #define DISPC_TRANS_COLOR2 0x580013B0 /* LCD2 */
    #define DISPC_TRANS_COLOR3 0x58001818 /* LCD3 */
    
    #define DISPC_GFX_ATTRIBUTES  0x580010A0
    #define DISPC_VID1_ATTRIBUTES 0x580010CC
    #define DISPC_VID2_ATTRIBUTES 0x5800115C
    #define DISPC_VID3_ATTRIBUTES 0x58001370
    
    #define MAP_SIZE 4096UL
    #define MAP_MASK (MAP_SIZE - 1)
    
    typedef unsigned int u32;
    typedef unsigned short u16;
    typedef unsigned char u8;
    
    static inline int is_drm_master(int drm_fd)
    {
    	drm_magic_t magic;
    
    	return drmGetMagic(drm_fd, &magic) == 0 &&
    		drmAuthMagic(drm_fd, magic) == 0;
    }
    
    static drmModePlaneResPtr drmModeGetVidPlaneResources(int fd)
    {
    	struct drm_mode_get_plane_res res, counts;
    	drmModePlaneResPtr r = 0;
    
    retry:
    	memset(&res, 0, sizeof(struct drm_mode_get_plane_res));
    	if (drmIoctl(fd, DRM_IOCTL_MODE_GETVIDPLANERESOURCES, &res))
    		return 0;
    
    	counts = res;
    
    	if (res.count_planes) {
    		res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes *
    							sizeof(uint32_t)));
    		if (!res.plane_id_ptr)
    			goto err_allocs;
    	}
    
    	if (drmIoctl(fd, DRM_IOCTL_MODE_GETVIDPLANERESOURCES, &res))
    		goto err_allocs;
    
    	if (counts.count_planes < res.count_planes) {
    		drmFree(U642VOID(res.plane_id_ptr));
    		goto retry;
    	}
    
    	if (!(r = drmMalloc(sizeof(*r))))
    		goto err_allocs;
    
    	r->count_planes = res.count_planes;
    	r->planes = (uint32_t*)drmAllocCpy(U642VOID(res.plane_id_ptr),
    				  res.count_planes, sizeof(uint32_t));
    	if (res.count_planes && !r->planes) {
    		drmFree(r->planes);
    		drmFree(r);
    		r = 0;
    	}
    
    err_allocs:
    	drmFree(U642VOID(res.plane_id_ptr));
    
    	return r;
    }
    
    static int drm_Getplane_Property(CMD_VID_IF *cmd_vid_if)
    {
    	drmModePlaneRes *plane_resources;
    	drmModeObjectPropertiesPtr props;
    	drmModePlane *vidplane;
    	int i,j,fd = -1,ret = 0;
    	if(cmd_vid_if == NULL) {
    		printf("OS:svapi:drm_Getplane_Property params error.\n");
    		return -1;
    	}
    	fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);
    	if (fd < 0) {
    		printf("OS:svapi:/dev/dri/card0 failed.\n");
    		return -1;
    	}
    
    	drmDropMaster(fd);
    
    	plane_resources = drmModeGetVidPlaneResources(fd);
    	if (!plane_resources) {
    		fprintf(stderr, "OS:svapi:drmModeGetVidPlaneResources failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    
    	if(plane_resources->count_planes < cmd_vid_if->index) {
    		fprintf(stderr, "OS:svapi:Plane num not enough: %d.\n",plane_resources->count_planes);
    	}
    
    	vidplane = drmModeGetPlane(fd, plane_resources->planes[cmd_vid_if->index]);
    	if (!vidplane) {
    		fprintf(stderr, "OS:svapi:drmModeGetPlane failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    
    	props = drmModeObjectGetProperties(fd, vidplane->plane_id,
    						   DRM_MODE_OBJECT_PLANE);
    	if (props) {
    		for (j = 0; j < props->count_props; j++) {
    		if(props->props[j] == cmd_vid_if->prop_id) {
    				cmd_vid_if->prop_value = props->prop_values[j];
    				break;
    			} else {
    				continue;
    			}
    		}
    		if(j == props->count_props) {
    			printf("\tOS:svapi:can not match prop id:%d.\n",cmd_vid_if->prop_id);
    		}
    		drmModeFreeObjectProperties(props);
    	} else {
    		printf("\tOS:svapi:could not get plane properties: %s\n",strerror(errno));
    		ret = -1;
    	}
    
    	drmModeFreePlane(vidplane);
    	drmModeFreePlaneResources(plane_resources);
    	close(fd);
    	return ret;
    }
    
    static int drm_Getcrtc_Property(CMD_GFX_IF *cmd_gfx_if)
    {
    	drmModeRes *resources;
    	drmModeCrtc *crtc;
    	drmModeObjectPropertiesPtr props;
    	drmModePropertyPtr prop;
    	int i,j,fd = -1,ret = 0;
    
    	fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);
    	if (fd < 0) {
    		printf("OS:svapi:open /dev/dri/card0 failed.\n");
    	}
    
    	drmDropMaster(fd);
    
    	resources = drmModeGetResources(fd);
    	if (!resources) {
    		fprintf(stderr, "OS:svapi:drmModeGetResources failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    	/* G5 only one crtc */
    	for (i = 0; i < resources->count_crtcs; i++) {
    		crtc = drmModeGetCrtc(fd, resources->crtcs[i]);
    
    		if (!crtc) {
    			fprintf(stderr, "OS:svapi:could not get crtc %i: %s\n",
    				resources->crtcs[i], strerror(errno));
    			continue;
    		}
    		props = drmModeObjectGetProperties(fd, crtc->crtc_id,
    						   DRM_MODE_OBJECT_CRTC);
    		if (props) {
    			for (j = 0; j < props->count_props; j++) {
    				if(props->props[j] == cmd_gfx_if->prop_id) {
    					cmd_gfx_if->prop_value = props->prop_values[j];
    					break;
    				} else {
    					continue;
    				}
    			}
    			if(j == props->count_props) {
    				printf("\tOS:svapi:can not match prop id:%d.\n",cmd_gfx_if->prop_id);
    			}
    			drmModeFreeObjectProperties(props);
    		} else {
    			printf("\tOS:svapi:could not get crtc properties: %s\n",
    			       strerror(errno));
    			ret = -1;
    		}
    		drmModeFreeCrtc(crtc);
    	}
    	drmModeFreeResources(resources);
    	close(fd);
    	return ret;
    }
    
    static int drm_Setplane_Property(CMD_VID_IF *cmd_vid_if)
    {
    	drmModePlaneRes *plane_resources;
    	drmModePlane *vidplane;
    	int fd = -1,ret = 0;
    	if(cmd_vid_if == NULL) {
    		fprintf(stderr, "OS:svapi:drm_Setplane_Property param is null\n");
    		return -1;
    	}
    
    	fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);
    	if (fd < 0) {
    		printf("OS:svapi:open /dev/dri/card0 failed.\n");
    		return -1;
    	}
    
    	drmDropMaster(fd);
    
    	plane_resources = drmModeGetVidPlaneResources(fd);
    	if (!plane_resources) {
    		fprintf(stderr, "OS:svapi:drmModeGetVidPlaneResources failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    
    	if(plane_resources->count_planes < cmd_vid_if->index) {
    		fprintf(stderr, "OS:svapi:Plane num not enough: %d.\n",plane_resources->count_planes);
    	}
    
    	vidplane = drmModeGetPlane(fd, plane_resources->planes[cmd_vid_if->index]);
    	if (!vidplane) {
    		fprintf(stderr, "OS:svapi:drmModeGetPlane failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    
    	ret = drmModeObjectSetProperty(fd,vidplane->plane_id, DRM_MODE_OBJECT_PLANE, cmd_vid_if->prop_id, cmd_vid_if->prop_value);
    	if (ret < 0) {
    		printf("OS:svapi:Could not SetPropertyr for plane\n");
    	}
    
    	drmModeFreePlane(vidplane);
    	drmModeFreePlaneResources(plane_resources);
    	close(fd);
    	return ret;
    }
    
    static int drm_Setcrtc_Property(CMD_GFX_IF *cmd_gfx_if)
    {
    	drmModeRes *resources;
    	drmModeCrtc *crtc;
    	drmModeObjectPropertiesPtr props;
    	drmModePropertyPtr prop;
    	int i,j,fd = -1,ret = 0;
    	if(cmd_gfx_if == NULL) {
    		printf("OS:svapi:drm_Setcrtc_Property params error.\n");
    		return -1;
    	}
    
    	fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);
    	if (fd < 0) {
    		printf("OS:svapi:open /dev/dri/card0 failed.\n");
    		return -1;
    	}
    
    	drmDropMaster(fd);
    
    	resources = drmModeGetResources(fd);
    	if (!resources) {
    		fprintf(stderr, "OS:svapi:drmModeGetResources failed: %s\n",strerror(errno));
    		close(fd);
    		return -1;
    	}
    
    	/* G5 only one crtc */
    	for (i = 0; i < resources->count_crtcs; i++) {
    		crtc = drmModeGetCrtc(fd, resources->crtcs[i]);
    
    		if (!crtc) {
    			fprintf(stderr, "OS:svapi:could not get crtc %i: %s\n",
    				resources->crtcs[i], strerror(errno));
    			continue;
    		}
    
    		props = drmModeObjectGetProperties(fd, crtc->crtc_id,DRM_MODE_OBJECT_CRTC);
    		if (props) {
    			for (j = 0; j < props->count_props; j++) {
    				if(props->props[j] == cmd_gfx_if->prop_id) {
    					ret = drmModeObjectSetProperty(fd,crtc->crtc_id,
    					DRM_MODE_OBJECT_CRTC,cmd_gfx_if->prop_id,cmd_gfx_if->prop_value);
    					if(ret < 0) {
    							fprintf(stderr, "OS:svapi:could not set crtc prop:%d: %s\n",
    							cmd_gfx_if->prop_id,strerror(errno));
    						}
    					break;
    				} else {
    					continue;
    				}
    			}
    			if(j == props->count_props) {
    				printf("\tOS:svapi:can not match prop id:%d.\n",cmd_gfx_if->prop_id);
    			}
    			drmModeFreeObjectProperties(props);
    		} else {
    			printf("\tOS:svapi:could not get crtc properties: %s\n",strerror(errno));
    		}
    		drmModeFreeCrtc(crtc);
    	}
    	drmModeFreeResources(resources);
    	close(fd);
    	return 0;
    }
    
    static u32 regWrite(u32 addr, u32 value)
    {
        int fd;
        void *map_base;
        u32 *pu32;
    
        if ((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) {
    		printf("OS:svapi:Error at line %d, file %s: while open /dev/mem.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
    
        /* Map one page */
        map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, addr & ~MAP_MASK);
        if (map_base == (void *) -1) {
    		printf("OS:svapi:Error at line %d, file %s: while mmap.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
    
        pu32 =  (u32 *)(map_base + (addr & MAP_MASK));
        *pu32 = value;
    
        if (munmap(map_base, MAP_SIZE) == -1) {
    		printf("OS:svapi:Error at line %d, file %s: error while munmap.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
        close(fd);
    
        return 0;
    }
    
    static u32 regRead(u32 addr, u32 *value)
    {
        int fd;
        void *map_base;
        u32 *pu32;
    
        if ((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) {
    		printf("OS:svapi:Error at line %d, file %s: while open /dev/mem.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
    
        /* Map one page */
        map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, addr & ~MAP_MASK);
        if (map_base == (void *) -1) {
    		printf("OS:svapi:Error at line %d, file %s: while mmap.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
    
        pu32 =  (u32 *)(map_base + (addr & MAP_MASK));
        *value = *pu32;
    
        if (munmap(map_base, MAP_SIZE) == -1) {
    		printf("OS:svapi:Error at line %d, file %s: error while munmap.\n",__LINE__, __FILE__);
        	fflush(stdout);
        }
        close(fd);
    
        return 0;
    }

    modetest
        9.89> trying to load module i915...failed.
        9.89> trying to load module radeon...failed.
        9.89> trying to load module nouveau...failed.
        9.89> trying to load module vmwgfx...failed.
        9.89> trying to load module omapdrm...success.
        9.89> Encoders:
        9.89> id	crtc	type	possible crtcs	possible clones	
        9.89> 3	10	TMDS	0x00000001	0x00000000
        9.89> 15	18	TMDS	0x00000002	0x00000000
        9.89> 
        9.89> Connectors:
        9.89> id	encoder	status		type	size (mm)	modes	encoders
        9.90> 4	3	connected	unknown	0x0		1	3
        9.90>   modes:
        9.90> 	name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
        9.90>   800x480 68 800 864 865 929 480 503 504 527 flags: nhsync, nvsync; type: preferred, driver
        9.90>   props:
        9.90> 	1 EDID:
        9.90> 		flags: immutable blob
        9.90> 		blobs:
        9.90> 
        9.90> 		value:	2 DPMS:
        9.90> 		flags: enum
        9.90> 		enums: On=0 Standby=1 Suspend=2 Off=3
        9.90> 		value: 0
        9.90> 16	15	connected	unknown	0x0		1	15
        9.90>   modes:
        9.90> 	name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
        9.90>   800x480 78 800 864 865 929 480 503 504 527 flags: nhsync, nvsync; type: preferred, driver
        9.90>   props:
        9.90> 	1 EDID:
        9.90> 		flags: immutable blob
        9.90> 		blobs:
        9.90> 
        9.90> 		value:	2 DPMS:
        9.90> 		flags: enum
        9.90> 		enums: On=0 Standby=1 Suspend=2 Off=3
        9.90> 		value: 0
        9.90> 
        9.90> CRTCs:
        9.90> id	fb	pos	size
        9.92> 10	25	(0,0)	(800x480)
        9.92>   800x480 68 800 864 865 929 480 503 504 527 flags: nhsync, nvsync; type: preferred, driver
        9.92>   props:
        9.92> 	11 trans-key-mode:
        9.92> 		flags: enum
        9.92> 		enums: disable=0 gfx-dst=1 vid-src=2
        9.92> 		value: 0
        9.92> 	12 trans-key:
        9.92> 		flags: range
        9.92> 		values: 0 16777215
        9.92> 		value: 0
        9.92> 	13 background:
        9.92> 		flags: range
        9.92> 		values: 0 16777215
        9.92> 		value: 0
        9.92> 	14 alpha_blender:
        9.92> 		flags: enum
        9.93> 		enums: disable=0 enable=1
        9.93> 		value: 0
        9.93> 	6 rotation:
        9.93> 		flags: bitmask
        9.93> 		values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
        9.93> 		value: 0
        9.93> 	7 zorder:
        9.93> 		flags: range
        9.93> 		values: 0 3
        9.93> 		value: 0
        9.93> 	8 global_alpha:
        9.93> 		flags: range
        9.93> 		values: 0 255
        9.93> 		value: 0
        9.93> 	9 pre_mult_alpha:
        9.93> 		flags: enum
        9.93> 		enums: disable=0 enable=1
        9.93> 		value: 0
        9.93> 18	25	(0,0)	(800x480)
        9.93>   800x480 78 800 864 865 929 480 503 504 527 flags: nhsync, nvsync; type: preferred, driver
        9.93>   props:
        9.93> 	11 trans-key-mode:
        9.95> 		flags: enum
        9.95> 		enums: disable=0 gfx-dst=1 vid-src=2
        9.95> 		value: 0
        9.95> 	12 trans-key:
        9.95> 		flags: range
        9.95> 		values: 0 16777215
        9.95> 		value: 0
        9.95> 	13 background:
        9.95> 		flags: range
        9.95> 		values: 0 16777215
        9.95> 		value: 0
        9.95> 	14 alpha_blender:
        9.95> 		flags: enum
        9.95> 		enums: disable=0 enable=1
        9.95> 		value: 0
        9.95> 	6 rotation:
        9.95> 		flags: bitmask
        9.95> 		values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
        9.95> 		value: 0
        9.95> 	7 zorder:
        9.95> 		flags: range
        9.95> 		values: 0 3
        9.95> 		value: 0
        9.95> 	8 global_alpha:
        9.96> 		flags: range
        9.96> 		values: 0 255
        9.96> 		value: 0
        9.96> 	9 pre_mult_alpha:
        9.96> 		flags: enum
        9.96> 		enums: disable=0 enable=1
        9.96> 		value: 0
        9.96> 
        9.96> Planes:
        9.96> id	crtc	fb	CRTC x,y	x,y	gamma size
        9.96> 
        9.96> Frame buffers:
        9.96> id	size	pitch

        0.92> 
        0.92> U-Boot SPL 2014.07-00111-g8e108c3 (Apr 06 2017 - 01:34:54)
        0.92> DRA722-GP ES1.0
        0.95> Get: magic=0x81488148 flag=0x00000000
        1.18> 
        1.18>  starting kernel ...
        2.24> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
        2.24> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
        2.24> [    0.023379] /cpus/cpu@0 missing clock-frequency property
        2.29> [    0.551409] omap-dwc3 48880000.omap_dwc3_1: unable to get extcon device : extcon_usb1
        2.35> [    0.574923] ak8859 1-0044: failed to get 8859 video status ERR 0
        2.35> [    0.581321] ak8859 1-0044: Camera not connected
        2.35> [    0.591415] omap_voltdm 4a0025cc.voltdm: Unable to get vdd regulator:-517
        2.35> [    0.598247] coproc iva_coproc: coproc clock notifier not ready, retry
        2.35> [    0.605313] omap_voltdm 4a0025e0.voltdm: Unable to get vdd regulator:-517
        2.35> [    0.612640] coproc dsp_coproc: coproc clock notifier not ready, retry
        2.41> [    0.674342] omap-sham 4b101000.sham: initialization failed.
        2.57> [    0.708828] ZSYchannel=2
        2.57> [    0.740680] ZSYchannel=0
        2.57> [    0.783726] pinctrl-single 4a003400.pinmux: pin 4a003824.0 already requested by 4a003400.pinmux; cannot claim for 0-0058
        2.57> [    0.794701] pinctrl-single 4a003400.pinmux: pin-265 (0-0058) status -22
        2.57> [    0.801399] pinctrl-single 4a003400.pinmux: could not request pin 265 (4a003824.0) from group tps65917_pins_default  on device pinctrl-single
        2.57> [    0.814190] palmas 0-0058: Error applying setting, reverse things back
        2.57> [    0.823245] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
        2.59> [    0.845653] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
        3.93> Hello g5
        4.05> OSRVC:MSG:rvc_os build Apr  6 2017 01:35:24
        4.07> OS:svapi:could not set crtc prop:8: Invalid argument
        4.24> OS:svapi:could not set crtc prop:8: Invalid argument
        4.24> OS:svapi:set gfx 8 success and value = 0,svapi_set_gfx_mode,421,pid = 1014.
        4.24> OS:svapi:drmModeGetPlane failed: No such file or directory
        4.24> OS:svapi:set vid 8 success.
        4.24> OS:svapi:Could not SetPropertyr for plane
        4.24> OS:svapi:set vid 8 success.
        4.24> OS:svapi:Could not SetPropertyr for plane
        4.24> OS:svapi:set vid 8 success.
        4.24> OS:svapi:set gfx 9 success and value = 0,svapi_set_gfx_mode,421,pid = 1014.
        4.24> OSRVC:MSG:OSRVC: rvc_os_queue_config
        4.24> OS:svapi:svapi_gamma_get
        4.24> OS:svapi:svapi_gamma_get gamma_curve_number = 7,done.
        4.24> OS:svapi:svapi_gamma_set
        4.24> MSG:vip-vpe-display,disp_kms_open,941: disp_kms_open starting
        4.24> 
        4.24> MSG:vip-vpe-display,disp_kms_open,975: using 2 connectors, 800x480 display, multiplanar: 1
        4.24> malloc mapimage buff succ
        4.24> malloc mapimage buff succ
        4.24> malloc mapimage_static2 buff succ
        4.24> OSRVC:MSG:receive sigal cmd 0, on_off 1
        4.24> OSRVC:MSG:stop_rvc
        4.24> OSRVC:MSG:OSRVC: stop RVC, rvc_service_startup_status=0
        4.24> OS:svapi:drmModeGetPlane failed: No such file or directory
        4.24> OS:svapi:set vid 8 success.
        4.24> OS:svapi:svapi_video_config_set
        4.24> MSG:vip-vpe-display,disp_kms_open,941: disp_kms_open starting
        4.24> 
        4.24> OSRVC:MSG:stop_signal: change video order to 0,rvc_service_startup_status=0
        4.24> MSG:vip-vpe-display,disp_kms_open,975: using 2 connectors, 800x480 display, multiplanar: 1
        4.24> MSG:vip-vpe-display,os_vip_init,671: os_vip_init success!!!
        4.24> MSG:vip-vpe-display,disp_kms_open,941: disp_kms_open starting
        4.24> 
        4.24> MSG:vip-vpe-display,os_vip_open,533: os_vip_open success!!!
        4.24> MSG:vip-vpe-display,os_vip_config,196: vip: G_FMT(start): width = 720, height = 288, 4cc = YUYV
        4.24> 
        4.24> MSG:vip-vpe-display,os_vip_config,209: vip: allocated buffers = 6
        4.24> 
        4.24> MSG:vip-vpe-display,os_vpe_set_crop,164: crop params:vpe->crop.c.height = 285
        4.24> 
        4.24> MSG:vip-vpe-display,os_vpe_set_crop,172: setting  crop params done!
        4.24> 
        4.24> MSG:vip-vpe-display,os_vpe_input_config,288: vpe i/p: allocated buffers = 6
        4.24> 
        4.29> INIT: version 2.88 booting
        4.66> 0
        4.74> Starting udev
        4.85> Starting syslogd/klogd: done
        4.99> INIT: Entering runlevel: 5
        5.16> Configuring network interfaces... done.
        5.27> Starting system message bus: dbus.
        5.38> OSLOGO:MSG:logo_os build Apr  5 2017 14:40:00 pid = 1154
        5.39> OS:logo: logo_start_queue_open queue_config
        5.39> OS:logo:send logo status =1
        5.39> not need to load firmware
        5.75> Date: 1970-01-01 CST
        5.75> [08:00:03.679] weston 1.9.0
        5.75>                http://wayland.freedesktop.org
        5.75>                Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
        5.75>                Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
        5.75> [08:00:03.680] OS: Linux, 3.14.57, #7 SMP PREEMPT Thu Apr 6 01:34:15 CST 2017, armv7l
        5.75> [08:00:03.681] Using config file '/etc/xdg/weston/weston.ini'
        5.77> [08:00:03.683] Loading module '/usr/lib/weston/drm-backend.so'
        5.77> [08:00:03.702] Output repaint window is 16 ms maximum.
        5.77> [08:00:03.702] initializing drm backend
        5.77> [08:00:03.704] using /dev/dri/card0
        5.77> [08:00:03.706] Loading module '/usr/lib/weston/gl-renderer.so'
        5.77> failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
        5.77> failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
        5.77> loaded module: gbm_pvr.so
        5.77> PVR: Hint: Setting PDSFragBufferSize to 102400
        5.77> 
        5.77> PVR: Hint: Setting ParamBufferSize to 0
        5.77> 
        5.77> [08:00:03.756] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
        5.77> PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
        5.77> [08:00:03.773] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
        5.77> [08:00:03.773] Retrieving EGL client extension string failed.
        5.77> [08:00:03.775] input device 'Atmel maXTouch Touchscreen', /dev/input/event0 is tagged by udev as: Touchscreen
        5.77> [08:00:03.775] input device 'Atmel maXTouch Touchscreen', /dev/input/event0 is a touch device
        5.77> insmod usb module driver
        5.77> [08:00:03.818] EGL version: 1.4 build 1.9@2253347
        5.77> [08:00:03.818] EGL vendor: Imagination Technologies
        5.77> [08:00:03.818] EGL client APIs: OpenGL_ES 
        5.77> [08:00:03.818] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
        5.77>                EGL_KHR_image_base EGL_KHR_image_pixmap
        5.77>                EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
        5.77>                EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image
        5.77>                EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_hibernate_process
        5.77>                EGL_WL_bind_wayland_display EGL_KHR_surfaceless_gles2
        5.77>                EGL_NV_post_sub_buffer
        5.77> [08:00:03.818] GL version: OpenGL ES 2.0 build 1.9@2253347
        5.77> [08:00:03.818] GLSL version: OpenGL ES GLSL ES 1.00 build 1.9@2253347
        5.77> [08:00:03.818] GL vendor: Imagination Technologies
        5.77> [08:00:03.818] GL renderer: PowerVR SGX 544MP
        5.77> [08:00:03.818] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
        5.77>                GL_OES_vertex_half_float GL_OES_texture_float
        5.77>                GL_OES_texture_half_float GL_OES_element_index_uint
        5.77>                GL_OES_mapbuffer GL_OES_fragment_precision_high
        5.77>                GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
        5.77>                GL_OES_EGL_image_external GL_OES_required_internalformat
        5.77>                GL_OES_depth_texture GL_OES_get_program_binary
        5.77>                GL_OES_packed_depth_stencil GL_OES_standard_derivatives
        5.77>                GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot
        5.77>                GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888
        5.77>                GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod
        5.77>                GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
        5.77>                GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot
        5.77>                GL_IMG_texture_format_BGRA8888 GL_IMG_read_format
        5.77>                GL_IMG_program_binary GL_IMG_uniform_buffer_object
        5.77>                GL_IMG_multisampled_render_to_texture
        5.77>                GL_TI_image_external_raw_video
        5.77> [08:00:03.819] GL ES 2 renderer features:
        5.77>                read-back format: RGBA
        5.77>                wl_shm sub-image to texture: no
        5.77>                EGL Wayland extension: yes
        5.77> [08:00:03.819] Chosen EGL config details:
        5.77>                RGBA bits: 8 8 8 8
        5.78>                swap interval range: 1 - 1
        5.88> [08:00:03.819] Failed to initialize backlight
        5.88> [08:00:03.827] Output Unknown-1, (connector 4, crtc 10)
        5.88>                mode 800x480@78.4, preferred, current
        5.88>                mode 800x480@77.6, preferred
        5.88> [08:00:03.855] Chosen EGL config details:
        5.88>                RGBA bits: 8 8 8 8
        5.88>                swap interval range: 1 - 1
        5.88> [08:00:03.855] Failed to initialize backlight
        5.88> [08:00:03.855] Output Unknown-2, (connector 16, crtc 18)
        5.88>                mode 800x480@77.6, preferred, current
        5.88>                mode 800x480@77.6, preferred
        5.88> [08:00:03.855] Compositor capabilities:
        5.88>                arbitrary surface rotation: yes
        5.88>                screen capture uses y-flip: yes
        5.89> [    4.091614] OS:MSG:g5_get_bclk:rate=16000Hz
        5.89>                presentation clock: CLOCK_MONOTONIC, id 1
        5.89> Starting system PulseAudio Daemon
        5.89> [08:00:03.867] Loading module '/usr[    4.104858] OS:MSG:g5_get_bclk:rate=16000Hz
        5.89> /lib/weston/ivi-shell.so'
        5.89> [08:00:03.868] launching '/usr/lib/weston/weston-keyboard'
        5.89> [08:00:03.876] Loading module '/usr/lib/weston/ivi-controller.so'
        5.89> [08:00:03.879] Loading module '/usr/lib/weston/ivi-input-controller.so'
        5.89> [08:00:03.879] ivi-input-controller module loaded successfully!
        5.89> [08:00:03.990] Warning: computed repaint delay is insane: -3993 msec
        5.89> insmod usb module driver
        5.94> Wed Jan  1 12:00:00 CST 2014
        6.02> SYSTEM_VERSION    :GAC_A5H_NAV_03_31.02_170217_R-7-g481ce08
        6.02> KERNEL_VERSION    :A5H-B2-V1-20161219-55-gecaf092-dirty
        6.02> U-BOOT_VERSION    :A5H-B1-V1-20160928-2-g8e108c3
        6.03> SYSTEM_BUILD_DATE :2017-04-06 01:36:01+08:00
        6.13> 
        6.17>  _____                    _____           _         _   
        6.17> |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
        6.17> |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
        6.17> |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
        6.17>               |___|                    |___|            
        6.17> 
        6.17> Arago Project http://arago-project.org dra7xx-g5-r1 /dev/ttyS2
        6.17> 
        6.17> Arago 2013.10 dra7xx-g5-r1 /dev/ttyS2
        6.17> 

    10640.34> root@dra7xx-g5-r1:~# (1335|0xB6F1B210) [AppCommunication|Main] INFO: AppCommunication Heartbeat: 4 
    10642.85> /storage/app/sv.g5.a5h.navi/bin/navi: error while loading shared libraries: libRCF.so.2.0.0.2685: cannot open shared object file: No such file or directory
    10643.13< dmesg
    10643.16> dmesg
    10643.51> [    0.000000] Booting Linux on physical CPU 0x0
    10643.51> [    0.000000] Initializing cgroup subsys cpu
    10643.51> [    0.000000] Linux version 3.14.57 (ubuntu@ubuntu-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #3 SMP PREEMPT Fri Apr 7 14:07:56 CST 2017
    10643.51> [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=50c5387d
    10643.51> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    10643.51> [    0.000000] Machine model: TI DRA722
    10643.51> [    0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
    10643.51> [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    10643.51> [    0.000000] cma: CMA: reserved 64 MiB at ab800000
    10643.51> [    0.000000] Memory policy: Data cache writealloc
    10643.51> [    0.000000] On node 0 totalpages: 519936
    10643.51> [    0.000000] free_area_init_node: node 0, pgdat c05be580, node_mem_map ea7de000
    10643.51> [    0.000000]   Normal zone: 1520 pages used for memmap
    10643.51> [    0.000000]   Normal zone: 0 pages reserved
    10643.51> [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
    10643.51> [    0.000000]   HighMem zone: 2544 pages used for memmap
    10643.51> [    0.000000]   HighMem zone: 325376 pages, LIFO batch:31
    10643.51> [    0.000000] DRA722 ES1.0
    10643.51> [    0.000000] PERCPU: Embedded 7 pages/cpu @ea7a2000 s6720 r8192 d13760 u32768
    10643.51> [    0.000000] pcpu-alloc: s6720 r8192 d13760 u32768 alloc=8*4096
    10643.51> [    0.000000] pcpu-alloc: [0] 0 
    10643.51> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 518416
    10643.51> [    0.000000] Kernel command line: console=ttyS2,115200n8 elevator=noop root=/dev/mmcblk0p1 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 quiet
    10643.51> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    10643.51> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    10643.51> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    10643.51> [    0.000000] Memory: 1933032K/2079744K available (3610K kernel code, 277K rwdata, 1780K rodata, 182K init, 328K bss, 146712K reserved, 1301504K highmem)
    10643.51> [    0.000000] Virtual kernel memory layout:
    10643.51>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    10643.51>     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    10643.51>     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    10643.51>     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    10643.51>     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    10643.51>     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
    10643.51>       .text : 0xc0008000 - 0xc054bd1c   (5392 kB)
    10643.51>       .init : 0xc054c000 - 0xc0579a40   ( 183 kB)
    10643.51>       .data : 0xc057a000 - 0xc05bf5f8   ( 278 kB)
    10643.51>        .bss : 0xc05bf604 - 0xc06119b4   ( 329 kB)
    10643.51> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    10643.51> [    0.000000] Preemptible hierarchical RCU implementation.
    10643.51> [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    10643.51> [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    10643.51> [    0.000000] NR_IRQS:16 nr_irqs:16 16
    10643.51> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    10643.51> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    10643.51> [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    10643.51> [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns
    10643.51> [    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
    10643.51> [    0.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
    10643.51> [    0.000463] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 2794592043008ns
    10643.51> [    0.000470] Switching to timer-based delay loop
    10643.51> [    0.000993] Console: colour dummy device 80x30
    10643.51> [    0.001016] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    10643.51> [    0.001030] pid_max: default: 32768 minimum: 301
    10643.51> [    0.001106] Security Framework initialized
    10643.51> [    0.001142] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    10643.51> [    0.001153] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    10643.87> [    0.023251] CPU: Testing write buffer coherency: ok
    10643.87> [    0.023502] /cpus/cpu@0 missing clock-frequency property
    10643.87> [    0.023514] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    10643.87> [    0.023538] Setting up static identity map for 0x80360688 - 0x803606d4
    10643.87> [    0.060515] Brought up 1 CPUs
    10643.87> [    0.060526] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    10643.87> [    0.060533] CPU: All CPU(s) started in SVC mode.
    10643.87> [    0.060899] devtmpfs: initialized
    10643.87> [    0.061646] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    10643.87> [    0.063386] omap_hwmod: l3_main_2 using broken dt data from ocp
    10643.87> [    0.074918] omap_hwmod: tptc0 using broken dt data from edma-controller
    10643.87> [    0.075447] omap_hwmod: tptc1 using broken dt data from edma-controller
    10643.87> [    0.239487] pinctrl core: initialized pinctrl subsystem
    10643.87> [    0.240241] regulator-dummy: no parameters
    10643.87> [    0.242675] NET: Registered protocol family 16
    10643.87> [    0.243812] DMA: preallocated 256 KiB pool for atomic coherent allocations
    10643.87> [    0.299388] syscon 4a002000.tisysconcore: regmap [mem 0x4a002000-0x4a0026cf] registered
    10643.87> [    0.299700] syscon 4a002e00.tisyscon: regmap [mem 0x4a002e00-0x4a002e7b] registered
    10643.87> [    0.302196] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    10643.87> [    0.302472] OMAP GPIO hardware version 0.1
    10643.87> [    0.303114] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    10643.87> [    0.303972] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    10643.87> [    0.304856] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    10643.87> [    0.305750] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
    10643.88> [    0.306653] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
    10643.88> [    0.307562] gpiochip_add: registered GPIOs 192 to 223 on device: gpio
    10643.88> [    0.308492] gpiochip_add: registered GPIOs 224 to 255 on device: gpio
    10643.88> [    0.315208] platform 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    10643.88> [    0.336348] OMAP DMA hardware revision 0.0
    10643.88> [    0.358408] bio: create slab <bio-0> at 0
    10643.88> [    0.374288] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    10643.88> [    0.380749] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    10643.88> [    0.381389] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-sd[0]'
    10643.88> [    0.381610] evm_3v3_sd: 3300 mV 
    10643.88> [    0.381713] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-evm_3v3_sw[0]'
    10643.88> [    0.381919] evm_3v3_sw: 3300 mV 
    10643.88> [    0.382022] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator-aic_dvdd[0]'
    10643.88> [    0.382226] aic_dvdd: 1800 mV 
    10643.88> [    0.382316] aic_dvdd: supplied by evm_3v3_sw
    10643.88> [    0.385447] i2c-core: driver [palmas] using legacy suspend method
    10643.88> [    0.385455] i2c-core: driver [palmas] using legacy resume method
    10643.88> [    0.386003] SCSI subsystem initialized
    10643.88> [    0.386843] usbcore: registered new interface driver usbfs
    10643.88> [    0.387002] usbcore: registered new interface driver hub
    10643.88> [    0.387188] usbcore: registered new device driver usb
    10643.88> [    0.389269] palmas 0-0058: could not find pctldev for node /ocp/pinmux@4a003400/tps65917_pins_default, deferring probe
    10643.88> [    0.389285] i2c 0-0058: Driver palmas requests probe deferral
    10643.88> [    0.389976] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    10643.88> [    0.391836] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    10643.90> [    0.393009] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    10643.90> [    0.393442] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 50 kHz
    10643.90> [    0.393862] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    10643.90> [    0.394152] media: Linux media interface: v0.10
    10643.90> [    0.394306] Linux video capture interface: v2.00
    10643.90> [    0.394545] pps_core: LinuxPPS API ver. 1 registered
    10643.90> [    0.394553] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    10643.90> [    0.395805] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    10643.90> [    0.396623] omap-iommu 55082000.mmu: 55082000.mmu registered
    10643.90> [    0.397290] Advanced Linux Sound Architecture Driver Initialized.
    10644.21> [    0.398312] Switched to clocksource arch_sys_counter
    10644.21> [    0.416317] NET: Registered protocol family 2
    10644.21> [    0.416969] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    10644.21> [    0.417047] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    10644.21> [    0.417209] TCP: Hash tables configured (established 8192 bind 8192)
    10644.21> [    0.417263] TCP: reno registered
    10644.22> [    0.417276] UDP hash table entries: 512 (order: 2, 16384 bytes)
    10644.22> [    0.417312] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    10644.22> [    0.417516] NET: Registered protocol family 1
    10644.22> [    0.417785] RPC: Registered named UNIX socket transport module.
    10644.22> [    0.417794] RPC: Registered udp transport module.
    10644.22> [    0.417801] RPC: Registered tcp transport module.
    10644.22> [    0.417807] RPC: Registered tcp NFSv4.1 backchannel transport module.
    10644.22> [    0.418899] sv_uio_probe
    10644.22> [    0.419023] gpio-59 (NAV2BT_EN): gpiod_request: status -16
    10644.22> [    0.419038] gpio-164 (USB2_POWER_EN): gpiod_request: status -16
    10644.22> [    0.419530] sv_watchdog_probe
    10644.22> [    0.422132] futex hash table entries: 256 (order: 2, 16384 bytes)
    10644.22> [    0.422487] bounce pool size: 64 pages
    10644.22> [    0.435682] VFS: Disk quotas dquot_6.5.2
    10644.22> [    0.436054] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    10644.22> [    0.440216] NFS: Registering the id_resolver key type
    10644.22> [    0.440243] Key type id_resolver registered
    10644.22> [    0.440253] Key type id_legacy registered
    10644.22> [    0.440299] msgmni has been set to 1473
    10644.22> [    0.442618] NET: Registered protocol family 38
    10644.22> [    0.442646] io scheduler noop registered (default)
    10644.22> [    0.442654] io scheduler deadline registered
    10644.22> [    0.442960] io scheduler cfq registered
    10644.22> [    0.445749] platform 4a084000.phy: Driver omap-usb2 requests probe deferral
    10644.22> [    0.445894] platform 4a085000.phy: Driver omap-usb2 requests probe deferral
    10644.22> [    0.448733] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
    10644.24> [    0.449140] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    10644.24> [    0.452444] OMAP DSS rev 6.1
    10644.24> [    0.454041] max9263 0-0020: GPIO lookup for consumer enable
    10644.24> [    0.454052] max9263 0-0020: using device tree for GPIO lookup
    10644.24> [    0.454064] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/i2c@48070000/max9263@20[0]'
    10644.24> [    0.454073] max9263 0-0020: using lookup tables for GPIO lookup
    10644.24> [    0.454082] max9263 0-0020: lookup for GPIO enable failed
    10644.24> [    0.468662] max9263 0-0020: Successfully initialized max9263
    10644.24> [    0.468846] tlc59108 0-0040: GPIO lookup for consumer enable
    10644.24> [    0.468856] tlc59108 0-0040: using device tree for GPIO lookup
    10644.24> [    0.468865] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/i2c@48070000/tlc59108@40[0]'
    10644.24> [    0.468874] tlc59108 0-0040: using lookup tables for GPIO lookup
    10644.24> [    0.468882] tlc59108 0-0040: lookup for GPIO enable failed
    10644.24> [    0.483982] tlc59108 0-0040: Successfully initialized tlc59108
    10644.24> [    0.485297] pbias_mmc_omap5: 1800 <--> 3300 mV at 3000 mV 
    10644.24> [    0.486088] abb_mpu: 1100 <--> 1210 mV 
    10644.24> [    0.486447] abb_ivahd: 1060 <--> 1250 mV 
    10644.24> [    0.486798] abb_dspeve: 1060 <--> 1250 mV 
    10644.24> [    0.487145] abb_gpu: 1060 <--> 1280 mV 
    10644.24> [    0.487697] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    10644.24> [    0.491020] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48020000[0]'
    10644.24> [    0.491349] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    10644.24> [    0.509109] console [ttyS2] enabled
    10644.24> [    0.509429] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48066000[0]'
    10644.24> [    0.509729] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 300, base_baud = 3000000) is a 8250
    10644.24> [    0.510110] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@4ae2b000[0]'
    10644.24> [    0.510414] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 302, base_baud = 3000000) is a 8250
    10644.24> [    0.511037] OS:MSG:serial_dra7xx_init:dra7xx-serio
    10644.55> [    0.511154] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48422000[0]'
    10644.55> [    0.512360] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    10644.55> [    0.512679] [drm] Initialized drm 1.1.0 20060810
    10644.55> [    0.523306] brd: module loaded
    10644.57> [    0.528956] loop: module loaded
    10644.57> [    0.531054] mcu_spi_init
    10644.57> [    0.533296] mcu_spi_probe
    10644.57> [    0.533498] 
    10644.57>  mcu_spi_cs = 1
    10644.57> [    0.546043] m25p80 spi32766.0: found s25fl064k, expected w25q64
    10644.57> [    0.546061] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
    10644.57> [    0.546100] 4 ofpart partitions found on MTD device spi32766.0
    10644.57> [    0.546108] Creating 4 MTD partitions on "spi32766.0":
    10644.57> [    0.546119] 0x000000000000-0x000000500000 : "BOOT_IMAGE"
    10644.57> [    0.546660] 0x000000500000-0x000000700000 : "DATA"
    10644.57> [    0.547166] 0x000000700000-0x000000710000 : "FLAG"
    10644.57> [    0.547664] 0x000000710000-0x000000800000 : "DATA3"
    10644.57> [    0.551484] omap-dwc3 48880000.omap_dwc3_1: unable to get extcon device : extcon_usb1
    10644.57> [    0.559878] platform 48880000.omap_dwc3_1: Driver omap-dwc3 requests probe deferral
    10644.57> [    0.560601] platform 488d0000.usb: Driver dwc3 requests probe deferral
    10644.57> [    0.561283] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    10644.57> [    0.561293] ehci-omap: OMAP-EHCI Host Controller driver
    10644.57> [    0.561787] usbcore: registered new interface driver usb-storage
    10644.57> [    0.562426] serio_mcu serio0: mcu access enabled on 48422000.serial (serio_mcu0, minor 11)
    10644.57> [    0.562692] i2c /dev entries driver
    10644.57> [    0.564019] node->name =camera_ak8859
    10644.57> [    0.564027] node->name =camera_ak8859
    10644.57> [    0.564059] of_get_named_gpiod_flags exited with status 0
    10644.57> [    0.564066] gpio num =150
    10644.57> [    0.564072] ak8859_get_gpios status=0
    10644.57> [    0.574088] ak8859_set_gpios status=0
    10644.57> [    0.574840] ak8859_set_int_regs status=0
    10644.57> [    0.575007] ak8859 1-0044: failed to get 8859 video status ERR 0
    10644.57> [    0.581402] ak8859 1-0044: Camera not connected
    10644.58> [    0.585952] ak8859 1-0044: Camera sensor driver registered
    10644.58> [    0.586245] rvc_detect_init
    10644.58> [    0.586589] rvc_detect_probe
    10644.58> [    0.587735] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    10644.58> [    0.589173] vip 48970000.vip: loading firmware vpdma-1b8.bin
    10644.58> [    0.589352] Driver for 1-wire Dallas network protocol.
    10644.58> [    0.589752] power_detect_init
    10644.58> [    0.590081] power_detect_probe
    10644.58> [    0.591329] coproc iva_coproc: probe
    10644.58> [    0.591456] Adding alias for supply vdd,iva_coproc -> vdd,4a0025cc.voltdm
    10644.58> [    0.591465] Adding alias for supply vbb,iva_coproc -> vbb,4a0025cc.voltdm
    10644.58> [    0.591493] omap_voltdm 4a0025cc.voltdm: Unable to get vdd regulator:-517
    10644.58> [    0.598626] vpe 489d0000.vpe: Device registered as /dev/video0
    10644.58> [    0.598671] coproc iva_coproc: of_pm_voltdm_notifier_register: Failed to get coproc regulator/voltdm: -517
    10644.58> [    0.598681] coproc iva_coproc: coproc clock notifier not ready, retry
    10644.58> [    0.605206] coproc iva_coproc: coproc_probe result=-517
    10644.58> [    0.605226] platform iva_coproc: Driver coproc requests probe deferral
    10644.58> [    0.605265] coproc dsp_coproc: probe
    10644.58> [    0.605363] Adding alias for supply vdd,dsp_coproc -> vdd,4a0025e0.voltdm
    10644.58> [    0.605371] Adding alias for supply vbb,dsp_coproc -> vbb,4a0025e0.voltdm
    10644.58> [    0.605396] omap_voltdm 4a0025e0.voltdm: Unable to get vdd regulator:-517
    10644.58> [    0.612258] vip 48970000.vip: VPDMA firmware loaded
    10644.58> [    0.612328] vip1-s1: Using subdev ak8859 1-0044 for capture
    10644.58> [    0.612705] coproc dsp_coproc: of_pm_voltdm_notifier_register: Failed to get coproc regulator/voltdm: -517
    10644.58> [    0.612716] coproc dsp_coproc: coproc clock notifier not ready, retry
    10644.58> [    0.619259] vip1-s1: vip Device registered as /dev/video1
    10644.58> [    0.619343] coproc dsp_coproc: coproc_probe result=-517
    10644.58> [    0.619361] platform dsp_coproc: Driver coproc requests probe deferral
    10644.58> [    0.619564] of_get_named_gpiod_flags exited with status 0
    10644.58> [    0.619582] sv SMPS:1a, BC:1 
    10644.58> [    0.634932] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    10644.58> [    0.636359] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480b4000[0]'
    10644.90> [    0.636369] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@480b4000[0]'
    10644.90> [    0.669039] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    10644.91> [    0.670664] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    10644.91> [    0.673250] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    10644.91> [    0.674374] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    10644.91> [    0.674392] omap-sham 4b101000.sham: initialization failed.
    10644.91> [    0.680097] omap-sham: probe of 4b101000.sham failed with error -22
    10644.91> [    0.680573] hidraw: raw HID events driver (C) Jiri Kosina
    10644.91> [    0.686872] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer id
    10644.91> [    0.686883] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    10644.91> [    0.686915] of_get_named_gpiod_flags exited with status 0
    10644.91> [    0.686931] extcon-usb-gpio extcon_usb1: GPIO lookup for consumer vbus
    10644.91> [    0.686940] extcon-usb-gpio extcon_usb1: using device tree for GPIO lookup
    10644.91> [    0.686949] of_get_named_gpiod_flags: can't parse gpios property of node '/extcon_usb1[0]'
    10644.91> [    0.686958] extcon-usb-gpio extcon_usb1: using lookup tables for GPIO lookup
    10644.91> [    0.686968] extcon-usb-gpio extcon_usb1: lookup for GPIO vbus failed
    10644.91> [    0.692077] dra7xx-g5-codec multicodec_sound:  dra7xx-ak7738b-dai-codec <-> 4846c000.mcasp mapping ok
    10644.91> [    0.692563] dra7xx-g5-codec multicodec_sound:  dra7xx-ak7738a-dai-codec <-> 48460000.mcasp mapping ok
    10644.91> [    0.694306] TCP: cubic registered
    10644.91> [    0.694315] Initializing XFRM netlink socket
    10644.91> [    0.694348] NET: Registered protocol family 17
    10644.91> [    0.694381] NET: Registered protocol family 15
    10644.91> [    0.694434] 8021q: 802.1Q VLAN Support v1.8
    10644.91> [    0.694481] Key type dns_resolver registered
    10644.91> [    0.694491] NET: Registered protocol family 41
    10644.91> [    0.695263] Power Management for TI OMAP4+ devices.
    10644.93> [    0.695432] ThumbEE CPU extension supported.
    10644.93> [    0.695451] Registering SWP/SWPB emulation handler
    10644.93> [    0.696186] aic_dvdd: disabling
    10644.93> [    0.696196] evm_3v3_sd: disabling
    10644.93> [    0.696204] regulator-dummy: disabling
    10644.93> [    0.696505] dmm 4e000000.dmm: workaround for errata i878 in use
    10644.93> [    0.699025] dmm 4e000000.dmm: initialized all PAT entries
    10644.93> [    0.699470] 58000000.dss supply vdda_video not found, using dummy regulator
    10644.93> [    0.702557] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    10644.93> [    0.702566] [drm] No driver support for vblank timestamp query.
    10644.93> [    0.706089] [drm] Enabling DMM ywrap scrolling
    10644.93> [    0.708912] ZSYchannel=2
    10644.93> [    0.738523] ZSYdss_dpi_select_source_omap5
    10644.93> [    0.740780] ZSYchannel=0
    10644.93> [    0.761539] mmc0: BKOPS_EN bit is not set
    10644.93> [    0.773299] Console: switching to colour frame buffer device 100x30
    10644.93> [    0.777292] mmc0: new HS200 MMC card at address 0001
    10644.93> [    0.787883] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    10644.93> [    0.787893] omapdrm omapdrm.0: registered panic notifier
    10644.93> [    0.787909] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    10644.93> [    0.788354] mmcblk0: mmc0:0001 eMMC   12.5 GiB 
    10644.93> [    0.788569] mmcblk0boot0: mmc0:0001 eMMC   partition 1 4.00 MiB
    10644.93> [    0.788754] mmcblk0boot1: mmc0:0001 eMMC   partition 2 4.00 MiB
    10644.93> [    0.789476] pinctrl-single 4a003400.pinmux: pin 4a003824.0 already requested by 4a003400.pinmux; cannot claim for 0-0058
    10644.93> [    0.800577] pinctrl-single 4a003400.pinmux: pin-265 (0-0058) status -22
    10644.93> [    0.807323] pinctrl-single 4a003400.pinmux: could not request pin 265 (4a003824.0) from group tps65917_pins_default  on device pinctrl-single
    10644.93> [    0.820149]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
    10644.93> [    0.821226] palmas 0-0058: Error applying setting, reverse things back
    10644.93> [    0.827867] palmas 0-0058: Irq flag is 0x00000000
    10644.94> [    0.830881] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    10644.94> [    0.831016] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
    10644.94> [    0.837842]  mmcblk0boot1: unknown partition table
    10644.94> [    0.840149] smps1: 850 <--> 1250 mV at 990 mV 
    10644.94> [    0.840678]  mmcblk0boot0: unknown partition table
    10644.94> [    0.841652] smps2: 850 <--> 1060 mV at 1050 mV 
    10644.94> [    0.842903] smps3: 850 <--> 1250 mV at 990 mV 
    10645.24> [    0.844152] smps4: 1800 mV 
    10645.25> [    0.845996] smps5: 1350 mV 
    10645.25> [    0.847321] ldo1: 1800 <--> 3300 mV at 900 mV 
    10645.25> [    0.848122] ldo2: 1800 <--> 3300 mV at 1800 mV 
    10645.25> [    0.849703] ldo3: 1800 mV 
    10645.25> [    0.851267] ldo4: 3300 mV 
    10645.25> [    0.852833] ldo5: 1800 mV 
    10645.27> [    0.853481] REGEN1: no parameters
    10645.27> [    0.853731] REGEN2: no parameters
    10645.27> [    0.853970] REGEN3: no parameters
    10645.27> [    0.854170] prom_parse: Bad cell count for /ocp/i2c@48070000/tps65917@58
    10645.27> [    0.861795] omap-usb2 4a084000.phy: Unbalanced pm_runtime_enable!
    10645.27> [    0.862314] omap-usb2 4a085000.phy: Unbalanced pm_runtime_enable!
    10645.27> [    1.264376] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
    10645.27> [    1.264390] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
    10645.27> [    1.264400] dwc3 48890000.usb: otg: can't start till gadget registers
    10645.27> [    1.666157] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    10645.27> [    1.666188] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    10645.27> [    1.666525] xhci-hcd xhci-hcd.1.auto: irq 414, io mem 0x488d0000
    10645.27> [    1.666690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    10645.27> [    1.666702] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    10645.27> [    1.666711] usb usb1: Product: xHCI Host Controller
    10645.27> [    1.666721] usb usb1: Manufacturer: Linux 3.14.57 xhci-hcd
    10645.27> [    1.666730] usb usb1: SerialNumber: xhci-hcd.1.auto
    10645.27> [    1.667470] hub 1-0:1.0: USB hub found
    10645.27> [    1.667512] hub 1-0:1.0: 1 port detected
    10645.29> [    1.667843] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    10645.29> [    1.667863] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    10645.29> [    1.668117] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    10645.29> [    1.668128] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    10645.29> [    1.668137] usb usb2: Product: xHCI Host Controller
    10645.29> [    1.668146] usb usb2: Manufacturer: Linux 3.14.57 xhci-hcd
    10645.29> [    1.668155] usb usb2: SerialNumber: xhci-hcd.1.auto
    10645.29> [    1.668892] hub 2-0:1.0: USB hub found
    10645.29> [    1.668931] hub 2-0:1.0: 1 port detected
    10645.29> [    1.669455] coproc iva_coproc: probe
    10645.29> [    1.669586] Adding alias for supply vdd,iva_coproc -> vdd,4a0025cc.voltdm
    10645.29> [    1.669595] Adding alias for supply vbb,iva_coproc -> vbb,4a0025cc.voltdm
    10645.29> [    1.670710] coproc iva_coproc: coproc_probe result=0
    10645.29> [    1.670876] coproc dsp_coproc: probe
    10645.29> [    1.670980] Adding alias for supply vdd,dsp_coproc -> vdd,4a0025e0.voltdm
    10645.29> [    1.670989] Adding alias for supply vbb,dsp_coproc -> vbb,4a0025e0.voltdm
    10645.29> [    1.671762] coproc dsp_coproc: coproc_probe result=0
    10645.29> [    1.671875] of_get_named_gpiod_flags exited with status 0
    10645.30> [    1.671904] of_get_named_gpiod_flags exited with status 0
    10645.30> [    1.709185] sv read c is 5 
    10645.30> [    1.710169] sv atmel_mxt_ts_init in 
    10645.30> [    1.710247] of_get_named_gpiod_flags exited with status 0
    10645.30> [    1.858368] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    10645.30> [    1.978352] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    10645.30> [    2.099441] atmel_mxt_ts 2-004a: Family: 164 Variant: 25 Firmware V1.0.AA Objects: 40
    10645.30> [    2.105583] sv mxt_initialize_input_device call
    10645.30> [    2.107839] atmel_mxt_ts 2-004a: T100 Touchscreen size X799Y479
    10645.30> [    2.108174] input: Atmel maXTouch Touchscreen as /devices/44000000.ocp/48060000.i2c/i2c-2/2-004a/input/input0
    10645.30> [    2.108489] sv mxt_initialize success 
    10645.30>  
    10645.30> [    2.109004] ALSA device list:
    10645.30> [    2.109014]   #0: DRA7xx-G5
    10645.30> [    2.118955] usb 1-1: New USB device found, idVendor=14cd, idProduct=168a
    10645.30> [    2.118968] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
    10645.30> [    2.118978] usb 1-1: Product: USB Mass Storage Device
    10645.30> [    2.118987] usb 1-1: Manufacturer: USB Device  
    10645.30> [    2.118996] usb 1-1: SerialNumber: 816820130806
    10645.30> [    2.120131] usb-storage 1-1:1.0: USB Mass Storage device detected
    10645.30> [    2.120388] scsi0 : usb-storage 1-1:1.0
    10645.30> [    2.121063] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
    10645.32> [    2.121092] VFS: Mounted root (ext4 filesystem) on device 179:1.
    10645.60> [    2.121634] devtmpfs: mounted
    10645.60> [    2.264774] pid = 1022, process name = rvc_os.
    10645.60> [    2.289471] ZSYomap_plane_set_property
    10645.60> [    2.293529] ZSYomap_plane_set_property
    10645.60> [    2.302176] pid = 1022, process name = rvc_os.
    10645.60> [    2.302393] pid = 1022, process name = rvc_os.
    10645.60> [    2.302484] ZSYomap_plane_set_property
    10645.60> [    2.310460] pid = 1022, process name = rvc_os.
    10645.60> [    2.310550] ZSYomap_plane_set_property
    10645.60> [    2.319827] pid = 1022, process name = rvc_os.
    10645.60> [    2.319961] pid = 1022, process name = rvc_os.
    10645.60> [    2.320022] ZSYomap_plane_set_property
    10645.60> [    2.329143] ZSYomap_plane_set_property
    10645.60> [    2.358391] rvc_detect_fasync
    10645.60> [    2.367532] pid = 1036, process name = rvc_os.
    10645.60> [    2.367898] ZSYomap_plane_set_property
    10645.60> [    2.376122] pid = 1034, process name = rvc_os.
    10645.60> [    2.376563] pid = 1033, process name = rvc_os.
    10645.60> [    2.376645] pid = 1032, process name = rvc_os.
    10645.60> [    2.377128] ZSYomap_plane_set_property
    10645.60> [    2.405017] rvc_detect_fasync
    10645.60> [    2.405029] rvc_detect_release
    10645.61> [    2.405035] rvc_detect_fasync
    10645.61> [    2.524266] Running do_deferred_initcalls()
    10645.61> [    2.525216] of_get_named_gpiod_flags exited with status 0
    10645.61> [    2.525229] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]'
    10645.61> [    2.581880]  remoteproc0: 55020000.ipu is available
    10645.61> [    2.581893]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    10645.61> [    2.581902]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    10645.61> [    2.682718]  remoteproc0: powering up 55020000.ipu
    10645.61> [    2.682735]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 3894572
    10645.61> [    2.682798] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    10645.61> [    2.760760]  remoteproc0: remote processor 55020000.ipu is now up
    10645.61> [    2.761254] virtio_rpmsg_bus virtio0: rpmsg host is online
    10645.61> [    2.761300]  remoteproc0: registered virtio0 (type 7)
    10645.61> [    2.762301] Freeing unused kernel memory: 180K (c054c000 - c0579000)
    10645.61> [    2.769420] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    10645.61> [    2.770958] rpmsg_rpc rpmsg0: probing service dce-callback with src 1024 dst 101
    10645.61> [    2.778221] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
    10645.61> [    2.778567] rpmsg_rpc rpmsg1: probing service rpmsg-dce with src 1025 dst 102
    10645.61> [    2.779607] rpmsg_rpc rpmsg0: published functions = 4
    10645.61> [    2.780038] rpmsg_rpc rpmsg1: published functions = 8
    10645.61> [    2.866219] udevd[1079]: starting version 182
    10645.61> [    3.119085] scsi 0:0:0:0: Direct-Access     USB Mass  Storage Device  1.00 PQ: 0 ANSI: 0
    10645.61> [    3.123100] sd 0:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9 GiB)
    10645.61> [    3.123299] sd 0:0:0:0: [sda] Write Protect is off
    10645.61> [    3.123313] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
    10645.61> [    3.123496] sd 0:0:0:0: [sda] No Caching mode page found
    10645.61> [    3.134068] sd 0:0:0:0: [sda] Assuming drive cache: write through
    10645.61> [    3.144846] sd 0:0:0:0: [sda] No Caching mode page found
    10645.61> [    3.150607] sd 0:0:0:0: [sda] Assuming drive cache: write through
    10645.61> [    3.159203]  sda:
    10645.63> [    3.166513] sd 0:0:0:0: [sda] No Caching mode page found
    10645.63> [    3.172841] sd 0:0:0:0: [sda] Assuming drive cache: write through
    10645.63> [    3.186119] sd 0:0:0:0: [sda] Attached SCSI removable disk
    10645.63> [    3.434127] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    10645.63> [    3.447249] EXT4-fs (mmcblk0p6): recovery complete
    10645.63> [    3.456798] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    10645.63> [    3.457631] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    10645.63> [    3.512715] random: dbus-uuidgen urandom read with 123 bits of entropy available
    10645.63> [    3.614972] random: nonblocking pool is initialized
    10645.63> [    3.615951] pid = 1199, process name = pvrsrvinit.
    10645.63> [    3.616168] pid = 1199, process name = pvrsrvinit.
    10645.63> [    3.616290] pid = 1199, process name = pvrsrvinit.
    10645.63> [    3.719762] pid = 1212, process name = weston.
    10645.94> [    3.728862] tfat: module license 'Commercial. For support email exfat-support@tuxera.com' taints kernel.
    10645.94> [    3.728874] Disabling lock debugging due to kernel taint
    10645.94> [    3.732365] Tuxera FAT 12/16/32 driver version 3015.1.29 [Flags: R/W MODULE].
    10645.94> [    3.732378] Built against headers 3.14.57 #1 SMP PREEMPT Sun Jan 3 10:43:25 CST 2016 arm
    10645.94> [    3.732388] Running on kernel 3.14.57 #3 SMP PREEMPT Fri Apr 7 14:07:56 CST 2017 armv7l
    10645.94> [    3.755249] Tuxera exFAT driver version 3015.1.29 [Flags: R/W MODULE].
    10645.94> [    3.755263] Built against headers 3.14.57 #1 SMP PREEMPT Sun Jan 3 10:43:25 CST 2016 arm
    10645.94> [    3.755273] Running on kernel 3.14.57 #3 SMP PREEMPT Fri Apr 7 14:07:56 CST 2017 armv7l
    10645.94> [    3.782183] NTFS driver 2.1.30 [Flags: R/O MODULE].
    10645.94> [    3.818390] fuse init (API version 7.22)
    10645.94> [    4.078581] OS:MSG:g5_get_bclk:rate=16000Hz
    10645.94> [    4.094667] OS:MSG:g5_get_bclk:rate=16000Hz
    10645.94> [    4.450178] EXT4-fs (mmcblk0p5): recovery complete
    10645.96> [    4.450994] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
    10645.96> [    4.906125] NET: Registered protocol family 10
    10645.96> [    5.070799] usbcore: registered new interface driver usbhid
    10645.96> [    5.070811] usbhid: USB HID core driver
    10645.96> [    5.247275] usbcore: registered new interface driver snd-usb-audio
    10645.96> [    5.364348] using random self ethernet address
    10645.96> [    5.364366] using random host ethernet address
    10645.96> [    5.364381] using self ethernet address: 7e:11:59:c9:b3:7e
    10645.96> [    5.406837] carplay0: HOST MAC 1a:c1:b3:18:5e:37
    10645.96> [    5.406893] carplay0: MAC 7e:11:59:c9:b3:7e
    10645.96> [    5.410996] g_carplay gadget: Carplay Gadget, version: DesaySV 2015
    10645.96> [    5.411009] g_carplay gadget: g_carplay ready
    10645.96> [    5.411023] dwc3 48890000.usb: otg: gadget gadget registered
    10645.96> [    5.411062] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    10645.96> [    5.411092] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
    10645.96> [    5.411507] xhci-hcd xhci-hcd.0.auto: irq 417, io mem 0x48890000
    10645.96> [    5.411709] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    10645.96> [    5.411721] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    10645.96> [    5.411731] usb usb3: Product: xHCI Host Controller
    10645.96> [    5.411741] usb usb3: Manufacturer: Linux 3.14.57 xhci-hcd
    10645.96> [    5.411750] usb usb3: SerialNumber: xhci-hcd.0.auto
    10645.96> [    5.412312] hub 3-0:1.0: USB hub found
    10645.96> [    5.412350] hub 3-0:1.0: 1 port detected
    10645.96> [    5.412694] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    10645.96> [    5.412717] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
    10645.96> [    5.412909] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    10645.96> [    5.412920] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    10645.96> [    5.412929] usb usb4: Product: xHCI Host Controller
    10645.96> [    5.412939] usb usb4: Manufacturer: Linux 3.14.57 xhci-hcd
    10645.96> [    5.412948] usb usb4: SerialNumber: xhci-hcd.0.auto
    10645.96> [    5.413463] hub 4-0:1.0: USB hub found
    10645.97> [    5.413499] hub 4-0:1.0: 1 port detected
    10645.97> [    5.450287] IPv6: ADDRCONF(NETDEV_CHANGE): carplay0: link becomes ready
    10645.97> [    5.690663] input: SVP UINPUT KEYBOARD as /devices/virtual/input/input1
    10645.97> [    5.750372] mcu_spi spi2.0: mcu_spi_open
    10645.97> [    5.750385] mcu_spi open device use BLOCK flag
    10645.97> [    5.789885] power_detect_fasync
    10645.97> [    5.807586] 
    10645.97>  mcu_spi_cs = 0
    10645.97> [    5.883233] mcu_spi try to resync radio mcu again...
    10645.97> [    5.885395] 
    10645.97>  mcu_spi packet check_sum......error...
    10645.97> 
    10645.97> [    5.906925] 
    10645.97>  mcu_spi rxdata  #<00, 00, 00, 00, 00, 00, 00, 80>
    10645.97> [    5.929691] mcu_spi try to resync radio mcu again...
    10645.97> [    5.935664] mcu_spi Navi & Radio SPI Sync OK
    10645.97> [    5.935680] 
    10645.97>  mcu_spi_cs = 1
    10645.97> [    5.962159] mcu_spi Navi & Radio SPI Sync OK
    10645.97> [    7.323986] pid = 1451, process name = vpanel.
    10645.97> [    7.835240] pid = 1507, process name = statusbar.
    10645.97> [    9.023402] pid = 1559, process name = camera.
    10645.97> [    9.440198] pid = 1575, process name = toptip.
    10645.97> [   10.209194] pid = 1590, process name = launcher.
    10645.97> [   11.485792] pid = 1606, process name = radio.
    10645.97> [   12.248330] 
    10645.97>  mcu_spi wait ack timed out tx_status.frame_id = 0x9E
    10645.99> [   12.255981] 
    10645.99>  mcu_spi rxdata  #<FF, FF, FF, FF, FF, FF, FF, FF>
    10645.99> [   12.265113] 
    10645.99>  mcu_spi resending frame......
    10645.99> [   26.069906] pid = 1661, process name = svapi_test.
    10645.99> [   26.070222] ZSYomap_plane_set_property
    10645.99> [   26.075384] ZSYomap_plane_set_property
    10645.99> (1335|0xB6F1B210) [AppCommunication|Main] INFO: AppCommunication Heartbeat: 5 
    10645.99> root@dra7xx-g5-r1:~# 

    Hi Venkat

    After referred to your patch,the two screens are eabled to display normal application GUI.But another problem occurred ,it seems that i cannot set property for gfx/vid3/vid2/vid1 using drm API from xf86drmMode.h.such as i cannot set transparent for gfx/vid3/vid2/vid1.You can see the details as following:

    when i want to use drmModeGetPlane to get some resources,it product some errors like that "drmModeGetPlane failed: No such file or directory",on the other hand,when i want to use drmModeObjectSetProperty to set some properties,it  indicated some errors like that "OS:svapi:Could not SetPropertyr for plane".What 's more,when i want to use drmModeObjectGetProperties to set some properties,it product some errors like that "could not set crtc prop:8: Invalid argument"

    As you can see codes in dss_config.c,and you can find some logs in LCD1&LCD2 trace.txt.

    Thanks for your reading!Thanks!

  • Hi,

    can you please press "Verify Answer" button on Vencat's post if the original issue is resolved to close this thread,
    and then create another thread for the new issue.

    Thanks,
    Yordan