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.

DRA725: How to make 'Ball Number P9(vout3_fld)' this pin work?

Part Number: DRA725

Hi experts,

This pin 'Ball Number P9' is defined as vout3_fld in our DTS.

And now we are wondering how to make this pin work.

Thanks

KC

  • Hi,

    What type of display device is connected to VOUT3 pins?

  • Hi Stanley, thanks for your reply. It's connected to FPGA.

  • Hi,

    this pin is used only for interlaced display, so if your display is progressive, most likely the case, this pin will not toggle. 

    regards,

    Brijesh

  • Hi Brijesh, thanks for your reply.

    I guess that's precisely what we want.

    We were using progressive testing for an old customer and the pin 'VOUT3_FLD' is un-tested.

    Now we have a new customer and the customer asks us to test the pin 'VOUT3_FLD', hence we are wondering how to test if the pin 'VOUT3_FLD' works.

    Any comments would be appreciated.

  • Hi Kevin,

    Is the test just for toggling this line? But why? What exactly do you want to output from DSS finally? Because if you are going to use only progressive mode in the final product, the line will not toggle..

     

    In order to get this line toggling, you need to configure DSS to output in interlaced format and then you also need to feed VP two fields of data.. You can just also configure VP to output background color in interlaced format and can get this line toggling.. 

    Regards,

    Brijesh

  • Hi Brijesh,

    Sorry for the confusion.

    Q1: Is the test just for toggling this line? But why?

    A1: Yes, we are trying to ensure that this pin(P9) works, and the pin(P9) is connected to FPGA as the function RGB888_FLD from the hardware layout.

    The reason we need to toggle the pin is we don't want to change the hardware layout and the FPGA has implemented the function of receiving interlaced video.

    Q2: What exactly do you want to output from DSS finally? Because if you are going to use only progressive mode in the final product, the line will not toggle

    A2: We are going to output interlace mode for toggling this pin.

    Q3: In order to get this line toggling, you need to configure DSS to output in interlaced format and then you also need to feed VP two fields of data.No You can just also configure VP to the output background color in interlaced format, and can get this line toggling

    A3: Now we are trying the below command(j6.yuv is randomly generated) to toggle this pin but it doesn't work, and the error message is as below. Could you have any comments? 

    Command: gst-launch-1.0 -v filesrc location=./j6.yuv ! queue ! videoparse width=1920 height=1080 framerate=24/1 format=4 ! videoconvert ! interlace !  autovideosink

    Error message:

    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstVideoParse:videoparse0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1
    /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1, format=(string)NV12, interlace-mode=(string)progressive
    /GstPipeline:pipeline0/GstInterlace:interlace0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)NV12, interlace-mode=(string)mixed
    /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)NV12, interlace-mode=(string)mixed
    /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)NV12, interlace-mode=(string)mixed
    /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)NV12, interlace-mode=(string)mixed
    /GstPipeline:pipeline0/GstInterlace:interlace0.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1, format=(string)NV12, interlace-mode=(string)progressive
    /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: GStreamer encountered a general resource error.
    Additional debug info:
    gstkmssink.c(311): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms:
    drmModeSetPlane failed: No space left on device (28)
    Execution ended after 0:00:00.022905582
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...

  • Hi Kevin,

    A2: We are going to output interlace mode for toggling this pin.

    But why? Is the final resolution in the product going to be interlaced? 

    A3: Now we are trying the below command(j6.yuv is randomly generated) to toggle this pin but it doesn't work, and the error message is as below. Could you have any comments? 

    I will not be able to help from the gst perspective. But if you program DSS VP for interlaced mode, it will toggle this field. 

    Regards,

    Brijesh

  • Hi Brijesh,

    How do I program the DSS VP for interlaced mode? I am trying to port the tool 'xrandr' to our ARM platform and use xrandr to set interlace mode, am I on the right track?

  • Hi Kevin,

    I can help from the DSS perspective, but will not be able to help much on Linux utilities. 

    Essentially, you need to set the mode as interlaced in DISPC_CONFIG register and then set the timing for the both the fields, you should then see this pin toggling.. 

    Again, what is your final product requirement? What is the end application? What's the output resolution required in the end application? Can you provide some information? 

    Regards,

    Brijesh

  • Hi Brijesh,

     

    1. I can set the mode as interlaced in DISPC_CONFIG register by setting the field 22 'OUTPUTMODE 'ENABLE.

    But how do I set the timing for the both the fields?

    2. We are making the CPU module, now we need to test the RGB888 functionality of the SOC per the customer's request.

     

    Brijesh, thanks again for your quick reply.

    KC

  • Hi Brijesh,

    1. I set the mode as interlaced in DISPC_CONFIG register by setting the field 22 'OUTPUTMODE 'ENABLE by following command, is it right?

    omapconf write 0x58001044 0x0040020C

    2. I think the setting timing is to set the registers DISPC_TIMING_H1 and DISPC_TIMING_V1, what are the values I should write to the 2 registers?

    I'm trying to read the default register value:

    DISPC_TIMING_H1: 

    omapconf read 0x58001064

    00300307

    DISPC_TIMING_V1:

    omapconf read 0x58001068
    00100100

  • Hi Kevin,

    1. I set the mode as interlaced in DISPC_CONFIG register by setting the field 22 'OUTPUTMODE 'ENABLE by following command, is it right?

    Yes, that's correct.

    2. I think the setting timing is to set the registers DISPC_TIMING_H1 and DISPC_TIMING_V1, what are the values I should write to the 2 registers?

    Yes, interlaced timing needs to be enabled in these two registers. In the file pdk_01_10_04_05\packages\ti\drv\vps\src\vpslib\hal\src\vpshal_dssDispcOvly.c, there is a list of standard modes supported on the IPU core. This also include one or two interlaced modes, can you pls refer to this file and set the timing in these two registers?

    Regards,

    Brijesh

  • Yes, interlaced timing needs to be enabled in these two registers. In the file pdk_01_10_04_05\packages\ti\drv\vps\src\vpslib\hal\src\vpshal_dssDispcOvly.c, there is a list of standard modes supported on the IPU core. This also include one or two interlaced modes, can you pls refer to this file and set the timing in these two registers?

    Hi Brijesh,

    1. Where can I get the file pdk_01_10_04_05\packages\ti\drv\vps\src\vpslib\hal\src\vpshal_dssDispcOvly.c?
    I get stuck in './bin/fetch-sources.sh' when I try to install ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03.bin downloading from https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AUTOMOTIVE-DRA7X, and follow the instruction of https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-TquuJjoEg9/6.00.00.03/Processor_SDK_Linux_Automotive_Software_Developers_Guide_-_Texas_Instruments_Wiki.pdf.

    Could you please send me this file?

    2. According to my source code "linux/drivers/gpu/drm/omapdrm/dss/dispc.c"(below), I think I should modify the object i734(Line 4284) some fields like x_res, y_res, hsw, hfp, ..., right? But how do I map the fields of vpshal_dssDispcOvly.c to fields of object i734?

    I found a example from https://stash.phytec.com/projects/TIRTOS/repos/vps-phytec/browse/src/vpslib/hal/src/vpshal_dssDispcOvly.c(below) and I have no idea how to map the format '{FVID2_STD_1080I_60, 1920, 1080, FVID2_SF_INTERLACED, 74250, 30,
    88, 148, 44, 2, 15, 5}' to object i734.

    "linux/drivers/gpu/drm/omapdrm/dss/dispc.c"

    4279 static const struct dispc_errata_i734_data {
    4280 struct omap_video_timings timings;
    4281 struct omap_overlay_info ovli;
    4282 struct omap_overlay_manager_info mgri;
    4283 struct dss_lcd_mgr_config lcd_conf;
    4284 } i734 = {
    4285 .timings = {
    4286 .x_res = 8, .y_res = 1,
    4287 .pixelclock = 16000000,
    4288 .hsw = 8, .hfp = 4, .hbp = 4,
    4289 .vsw = 1, .vfp = 1, .vbp = 1,
    4290 .vsync_level = OMAPDSS_SIG_ACTIVE_LOW,
    4291 .hsync_level = OMAPDSS_SIG_ACTIVE_LOW,
    4292 .interlace = false,
    4293 .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
    4294 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
    4295 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
    4296 .double_pixel = false,
    4297 },

    https://stash.phytec.com/projects/TIRTOS/repos/vps-phytec/browse/src/vpslib/hal/src/vpshal_dssDispcOvly.c

    Fvid2_ModeInfo gDssStdModeInfo[] = {
    ...
    {FVID2_STD_1080I_60, 1920, 1080, FVID2_SF_INTERLACED, 74250, 30,
    88, 148, 44, 2, 15, 5},
    {FVID2_STD_1080I_50, 1920, 1080, FVID2_SF_INTERLACED, 74250, 30,
    528, 148, 44, 2, 15, 5},

  • Hi Kevin,

    1. Where can I get the file pdk_01_10_04_05\packages\ti\drv\vps\src\vpslib\hal\src\vpshal_dssDispcOvly.c?
    I get stuck in './bin/fetch-sources.sh' when I try to install ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03.bin downloading from https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AUTOMOTIVE-DRA7X, and follow the instruction of https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-TquuJjoEg9/6.00.00.03/Processor_SDK_Linux_Automotive_Software_Developers_Guide_-_Texas_Instruments_Wiki.pdf.

    Could you please send me this file?

    This is available in the link that you have shared ie https://stash.phytec.com/projects/TIRTOS/repos/vps-phytec/browse/src/vpslib/hal/src/vpshal_dssDispcOvly.c

    2. According to my source code "linux/drivers/gpu/drm/omapdrm/dss/dispc.c"(below), I think I should modify the object i734(Line 4284) some fields like x_res, y_res, hsw, hfp, ..., right? But how do I map the fields of vpshal_dssDispcOvly.c to fields of object i734?

    Not sure if this is supported in Linux driver or how it can be done, but it is definitely supported on the RTOS driver.

    Regards,

    Brijesh 

  • Hi Brijesh, 

    Not sure if this is supported in Linux driver or how it can be done, but it is definitely supported on the RTOS driver.

    I modify my object i734(below) the same as vpshal_dssDispcOvly.c and it happens kernel panic(below). Could you please help with this?

    4284 } i734 = {
    4285     .timings = {
    4286         .x_res = 8, .y_res = 1,
    4287         // org
    4288         //.pixelclock = 16000000,
    4289         //.hsw = 8, .hfp = 4, .hbp = 4,
    4290         //.vsw = 1, .vfp = 1, .vbp = 1,
    4291
    4292         // fixed
    4293         .pixelclock = 74250,
    4294         .hsw = 44, .hfp = 148, .hbp = 88,
    4295         .vsw = 5, .vfp = 15, .vbp = 2,
    4296
    4297         .vsync_level = OMAPDSS_SIG_ACTIVE_LOW,
    4298         .hsync_level = OMAPDSS_SIG_ACTIVE_LOW,
    4299         //.interlace = false,
    4300         .interlace = true,
    4301         .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
    4302         .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
    4303         .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
    4304         .double_pixel = false,
    4305     },

    U-Boot SPL 2016.05 (May 09 2023 - 08:28:27)
    DRA722-GP ES2.1
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment
    
    Trying to boot from MMC1
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment
    
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05 (May 09 2023 - 08:28:27 +0800)
    
    CPU  : DRA722-GP ES2.1
    Board: DRA72x EVM REV
    I2C:   ready
    DRAM:  256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
    
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    ERROR: cannot find partition: 'userdata'
    
    at arch/arm/cpu/armv7/omap-common/utils.c:196/mmc_get_part_size()
    Warning: fastboot.userdata_size: unable to calc
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    Could not get PHY for cpsw: addr 2
    cpsw
    Hit any key to stop autoboot:  0
    J6E ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4439656 bytes read in 1523 ms (2.8 MiB/s)
    105947 bytes read in 65 ms (1.6 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x43be68 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ef11000, end 8ef2ddda ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.45 (root@u16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #109 SMP PREEMPT Thu Jun 8 17:17:50 CST 2023
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA722 J6E 20220725
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x8fe00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.0
    [    0.000000] PERCPU: Embedded 12 pages/cpu @cfb4b000 s18944 r8192 d22016 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64448
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=cb7930a6-02 rw rootfstype=ext4 rootwait consoleblank=0 omapdrm.num_crtc=2 drm.debug=0xff
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 242748K/260096K available (7935K kernel code, 876K rwdata, 4776K rodata, 372K init, 291K bss, 17348K reserved, 0K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0c7207c   (12713 kB)
    [    0.000000]       .init : 0xc0c73000 - 0xc0cd0000   ( 372 kB)
    [    0.000000]       .data : 0xc0cd0000 - 0xc0dab030   ( 877 kB)
    [    0.000000]        .bss : 0xc0dad000 - 0xc0df5dc0   ( 292 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (virt).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000345] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000781] Console: colour dummy device 80x30
    [    0.000798] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000804] This ensures that you still see kernel messages. Please
    [    0.000809] update your kernel commandline.
    [    0.000820] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000832] pid_max: default: 32768 minimum: 301
    [    0.000930] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000940] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001463] Initializing cgroup subsys io
    [    0.001480] Initializing cgroup subsys memory
    [    0.001504] Initializing cgroup subsys devices
    [    0.001516] Initializing cgroup subsys freezer
    [    0.001527] Initializing cgroup subsys perf_event
    [    0.001537] Initializing cgroup subsys pids
    [    0.001564] CPU: Testing write buffer coherency: ok
    [    0.001769] /cpus/cpu@0 missing clock-frequency property
    [    0.001780] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001821] Setting up static identity map for 0x80008340 - 0x800083a0
    [    0.052081] Brought up 1 CPUs
    [    0.052094] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.052101] CPU: All CPU(s) started in SVC mode.
    [    0.053115] devtmpfs: initialized
    [    0.090064] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.091061] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.224560] omap_hwmod: gpu: _wait_target_ready failed: -16
    [    0.224573] omap_hwmod: gpu: cannot be enabled for reset (3)
    [    0.292119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.300253] pinctrl core: initialized pinctrl subsystem
    [    0.301090] NET: Registered protocol family 16
    [    0.301346] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.330223] cpuidle: using governor ladder
    [    0.360250] cpuidle: using governor menu
    [    0.368636] OMAP GPIO hardware version 0.1
    [    0.372603] GPIO line 161 (radio_rst) hogged as output/low
    [    0.374931] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.402619] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.402630] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.403127] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.403137] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.403651] OMAP DMA hardware revision 0.0
    [    0.491098] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.492377] edma 43300000.edma: memcpy is disabled
    [    0.497158] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.500654] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.500851] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.501015] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.501180] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.503255] SCSI subsystem initialized
    [    0.511791] palmas 0-0058: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/tps65917_pins_default, deferring probe
    [    0.511943] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.512368] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.512763] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.513154] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.513656] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.513854] media: Linux media interface: v0.10
    [    0.513915] Linux video capture interface: v2.00
    [    0.513958] pps_core: LinuxPPS API ver. 1 registered
    [    0.513965] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.513990] PTP clock support registered
    [    0.514020] EDAC MC: Ver: 3.0.0
    [    0.521109] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.521301] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.521639] Advanced Linux Sound Architecture Driver Initialized.
    [    0.522522] clocksource: Switched to clocksource arch_sys_counter
    [    0.532767] NET: Registered protocol family 2
    [    0.533269] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.533294] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.533332] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.533375] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.533395] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.533581] NET: Registered protocol family 1
    [    0.543877] RPC: Registered named UNIX socket transport module.
    [    0.543886] RPC: Registered udp transport module.
    [    0.543894] RPC: Registered tcp transport module.
    [    0.543900] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.544980] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.547383] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.564111] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.574770] NFS: Registering the id_resolver key type
    [    0.574797] Key type id_resolver registered
    [    0.574804] Key type id_legacy registered
    [    0.574861] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.577212] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.577230] io scheduler noop registered
    [    0.577242] io scheduler deadline registered
    [    0.577275] io scheduler cfq registered (default)
    [    0.582225] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.582348] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.641755] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.645418] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
    [    0.646339] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
    [    0.647217] console [ttyS2] disabled
    [    0.647265] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.465190] console [ttyS2] enabled
    [    1.469577] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.479300] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.488970] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 304, base_baud = 3000000) is a 8250
    [    1.498661] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 305, base_baud = 3000000) is a 8250
    [    1.508789] [drm] Initialized drm 1.1.0 20060810
    [    1.514589] omapdss_dss 58000000.dss: master bind failed: -517
    [    1.522200] panel-dpi display@2: failed to find video source
    [    1.700101] brd: module loaded
    [    1.788493] loop: module loaded
    [    1.798361] m25p80 spi32766.0: found w25q128, expected s25fl256s1
    [    1.804536] m25p80 spi32766.0: w25q128 (16384 Kbytes)
    [    1.809625] 1 ofpart partitions found on MTD device spi32766.0
    [    1.815498] Creating 1 MTD partitions on "spi32766.0":
    [    1.820659] 0x000000000000-0x000001620000 : "QSPI"
    [    1.825484] mtd: partition "QSPI" extends beyond the end of device "spi32766.0" -- size truncated to 0x1000000
    [    1.847450] libphy: Fixed MDIO Bus: probed
    [    1.852116] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
    [    1.859237] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    1.865088] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
    [    1.870945] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    1.876967] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
    [    1.883971] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    1.890815] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    1.898102] mousedev: PS/2 mouse device common for all mice
    [    1.914363] i2c /dev entries driver
    [    1.918911] ov1063x 4-0037: ov1063x Product ID 0 Manufacturer ID 0
    [    1.925170] ov1063x 4-0037: ov1063x 4-0037 sensor driver registered !!
    [    1.932498] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    1.938976] cal: Neither port is configured, no point in staying up
    [    1.948582] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.953430] vpe 489d0000.vpe: Device registered as /dev/video0
    [    1.959496] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.965987] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.972369] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.978762] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.985155] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.991535] omap_hsmmc 4809c000.mmc: no pinctrl state for hs mode
    [    2.023079] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.029463] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.072959] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr25 mode
    [    2.080402] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr12 mode
    [    2.088832] omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
    [    2.125887] mmc0: MAN_BKOPS_EN bit is not set
    [    2.133350] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.153449] hwspinlock_user gatemp: requested 10 hwspinlocks
    [    2.178472] aic_dvdd: supplied by evm_3v3
    [    2.198710] pinctrl-single 4a003400.pinmux: pin 4a0036a8.0 already requested by 4806a000.serial; cannot claim for 48460000.mcasp
    [    2.222529] pinctrl-single 4a003400.pinmux: pin-170 (48460000.mcasp) status -22
    [    2.229873] pinctrl-single 4a003400.pinmux: could not request pin 170 (4a0036a8.0) from group mcasp1_pins  on device pinctrl-single
    [    2.250062] davinci-mcasp 48460000.mcasp: Error applying setting, reverse things back
    [    2.258443] davinci-mcasp 48460000.mcasp: Update the bindings to use assigned-clocks!
    [    2.266355] davinci-mcasp 48460000.mcasp: failed to reparent fck
    [    2.272656] pinctrl-single 4a003400.pinmux: pin 4a003700.0 already requested by 4806a000.serial; cannot claim for 48464000.mcasp
    [    2.284291] pinctrl-single 4a003400.pinmux: pin-192 (48464000.mcasp) status -22
    [    2.291633] pinctrl-single 4a003400.pinmux: could not request pin 192 (4a003700.0) from group mcasp2_pins  on device pinctrl-single
    [    2.303522] davinci-mcasp 48464000.mcasp: Error applying setting, reverse things back
    [    2.311781] davinci-mcasp 48464000.mcasp: Update the bindings to use assigned-clocks!
    [    2.319686] davinci-mcasp 48464000.mcasp: failed to reparent fck
    [    2.325955] pinctrl-single 4a003400.pinmux: pin 4a00372c.0 already requested by 4806a000.serial; cannot claim for 48468000.mcasp
    [    2.337589] pinctrl-single 4a003400.pinmux: pin-203 (48468000.mcasp) status -22
    [    2.344945] pinctrl-single 4a003400.pinmux: could not request pin 203 (4a00372c.0) from group mcasp3_pins  on device pinctrl-single
    [    2.356831] davinci-mcasp 48468000.mcasp: Error applying setting, reverse things back
    [    2.364750] mmc0: new HS200 MMC card at address 0001
    [    2.370437] davinci-mcasp 48468000.mcasp: Update the bindings to use assigned-clocks!
    [    2.378377] davinci-mcasp 48468000.mcasp: failed to reparent fck
    [    2.384652] pinctrl-single 4a003400.pinmux: pin 4a003734.0 already requested by 4806a000.serial; cannot claim for 4846c000.mcasp
    [    2.396424] pinctrl-single 4a003400.pinmux: pin-205 (4846c000.mcasp) status -22
    [    2.403806] mmcblk0: mmc0:0001 R1J55A 7.28 GiB
    [    2.408466] pinctrl-single 4a003400.pinmux: could not request pin 205 (4a003734.0) from group mcasp4_pins  on device pinctrl-single
    [    2.420475] davinci-mcasp 4846c000.mcasp: Error applying setting, reverse things back
    [    2.428381] mmcblk0boot0: mmc0:0001 R1J55A partition 1 128 KiB
    [    2.434764] davinci-mcasp 4846c000.mcasp: Update the bindings to use assigned-clocks!
    [    2.443795] davinci-mcasp 4846c000.mcasp: failed to reparent fck
    [    2.450194] pinctrl-single 4a003400.pinmux: pin 4a003720.0 already requested by 4806a000.serial; cannot claim for 4847c000.mcasp
    [    2.461854] mmcblk0boot1: mmc0:0001 R1J55A partition 2 128 KiB
    [    2.468215] pinctrl-single 4a003400.pinmux: pin-200 (4847c000.mcasp) status -22
    [    2.475643]  mmcblk0: p1 p2
    [    2.478744] pinctrl-single 4a003400.pinmux: could not request pin 200 (4a003720.0) from group mcasp8_pins  on device pinctrl-single
    [    2.491814] davinci-mcasp 4847c000.mcasp: Error applying setting, reverse things back
    [    2.501279] davinci-mcasp 4847c000.mcasp: Update the bindings to use assigned-clocks!
    [    2.511244] davinci-mcasp 4847c000.mcasp: failed to reparent fck
    [    2.518639] NET: Registered protocol family 10
    [    2.533895] sit: IPv6 over IPv4 tunneling driver
    [    2.539073] NET: Registered protocol family 17
    [    2.543855] Key type dns_resolver registered
    [    2.548302] omap_voltage_late_init: Voltage driver support not added
    [    2.555323] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.561532] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.567794] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
    [    2.574477] Power Management for TI OMAP4+ devices.
    [    2.579632] Registering SWP/SWPB emulation handler
    [    2.587184] dmm 4e000000.dmm: initialized all PAT entries
    [    2.609717] mmc1: host does not support reading read-only switch, assuming write-enable
    [    2.617899] pinctrl-single 4a003400.pinmux: pin 4a003824.0 already requested by 4806a000.serial; cannot claim for 0-0058
    [    2.628919] mmc1: new SDHC card at address 1234
    [    2.633492] pinctrl-single 4a003400.pinmux: pin-265 (0-0058) status -22
    [    2.640138] pinctrl-single 4a003400.pinmux: could not request pin 265 (4a003824.0) from group tps65917_pins_default  on device pinctrl-single
    [    2.653184] palmas 0-0058: Error applying setting, reverse things back
    [    2.659793] ======palmas_i2c_probe:526========
    [    2.664436] palmas 0-0058: Irq flag is 0x00000000
    [    2.669165] ======palmas_i2c_probe:559, features=0x0========
    [    2.674891] mmcblk1: mmc1:1234 SA04G 3.71 GiB
    [    2.680160] palmas 0-0058: Force skipping irq request
    [    2.702869] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [    2.722877] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
    [    2.731577] OMAP DSS rev 6.1
    [    2.735135] ------------[ cut here ]------------
    [    2.739774] Kernel BUG at c03c9ae8 [verbose debug info unavailable]
    [    2.746068] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
    [    2.751923] Modules linked in:
    [    2.754999] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.4.45 #109
    [    2.761377] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    2.767501] Workqueue: deferwq deferred_probe_work_func
    [    2.772755] task: cf471e00 ti: cf48e000 task.ti: cf48e000
    [    2.778181] PC is at dispc_mgr_set_timings+0x138/0x568
    [    2.783341] LR is at dispc_mgr_set_timings+0x5c/0x568
    [    2.788413] pc : [<c03c9ae8>]    lr : [<c03c9a0c>]    psr: 60000113
    [    2.788413] sp : cf48fab0  ip : ce4ee790  fp : cf48fb54
    [    2.799938] r10: cf48e000  r9 : d1bae000  r8 : c0823b8c
    [    2.805183] r7 : c0823afc  r6 : c0d9ce58  r5 : 00000000  r4 : 00000000
    [    2.811737] r3 : 0001220a  r2 : 0a21fe80  r1 : cf48faf8  r0 : 00000000
    [    2.818290] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
    [    2.825454] Control: 10c5387d  Table: 8000406a  DAC: 00000051
    [    2.831222] Process kworker/u2:0 (pid: 6, stack limit = 0xcf48e210)
    [    2.837513] Stack: (0xcf48fab0 to 0xcf490000)
    [    2.841888] faa0:                                     00000001 00000000 cf48fb00 c0073eb8
    [    2.850101] fac0: cf48fb54 cf48fb74 00000000 00000001 00000001 00000000 d1bae000 cf48e000
    [    2.858314] fae0: cf48fb54 cf48faf0 c03c8840 c03c65c0 00000001 00000000 00010008 0001220a
    [    2.866527] fb00: 0095002d 00050059 0002000f 00000000 00000000 00000001 00000001 00000001
    [    2.874741] fb20: 00000001 00000000 cf48fb54 c0de4d20 00000000 c0de5d20 00000002 c0823b8c
    [    2.882954] fb40: d1bae000 cf48e000 cf48fbcc cf48fb58 c03ca678 c03c99bc 00000002 00000000
    [    2.891166] fb60: 0b71b000 05b8d800 00020001 00000018 00000000 8e4ed000 00000000 00010001
    [    2.899380] fb80: 00000001 00000080 00000000 00000001 00000000 00000000 00ff0000 00000000
    [    2.907592] fba0: 00000001 cf67d410 cf67d474 c00283e8 c00283e8 00000004 c0073eb8 cf48e000
    [    2.915805] fbc0: cf48fbdc cf48fbd0 c04241a4 c03ca488 cf48fbf4 cf48fbe0 c0028410 c042417c
    [    2.924017] fbe0: cf67d410 cf67d474 cf48fc14 cf48fbf8 c0425884 c00283f4 cf67d410 cf67d410
    [    2.932229] fc00: cf670210 c00283e8 cf48fc34 cf48fc18 c04258e0 c042585c cf67d410 c0cd2100
    [    2.940442] fc20: cf670210 c00283e8 cf48fc84 cf48fc38 c04267c4 c04258c4 cf48fc64 cf67d498
    [    2.948654] fc40: c05c4a9c c02c7450 c0dea2b0 cfba26c0 80000113 c0ba74e0 cf48fc8c cf67d410
    [    2.956866] fc60: cf67d474 00000004 60000113 024000c0 c08237f4 cf67d410 cf48fca4 cf48fc88
    [    2.965079] fc80: c0426a10 c042645c c0de4d20 cf67d410 00000003 00000004 cf48fcbc cf48fca8
    [    2.973292] fca0: c03c3600 c04269c8 c0de4d20 cf67d410 cf48fcfc cf48fcc0 c03c966c c03c35d4
    [    2.981504] fcc0: cf48fcc8 024000c0 00000004 c0d9d920 cf48fcfc ce4ee0c0 ce94e9c0 cf670210
    [    2.989717] fce0: 024000c0 00000000 c0d9d920 c0bb3058 cf48fd3c cf48fd00 c04175bc c03c93a0
    [    2.997930] fd00: cf48fd2c cf48fd10 c00d2ae8 c0bb3040 c0de4ac4 c0de4ac4 00000000 cf670210
    [    3.006143] fd20: cf670200 cfba2344 c0bf0280 c0d9db30 cf48fd6c cf48fd40 c03bf84c c04174e0
    [    3.014356] fd40: cf48fd6c 00000002 ce94e998 00000001 ce94e9c0 ce94e990 ce4ee0c0 00000008
    [    3.022569] fd60: cf48fd94 cf48fd70 c04177e4 c03bf324 ce94e9c0 00000000 c0d0d618 ce4ee0c0
    [    3.030783] fd80: c0d0b764 00000008 cf48fdb4 cf48fd98 c0417a10 c041771c c0de79b0 cf67d410
    [    3.038996] fda0: c0d0b764 fffffdfb cf48fdc4 cf48fdb8 c03c35c0 c0417970 cf48fde4 cf48fdc8
    [    3.047208] fdc0: c041e894 c03c35b4 c0de79b0 cf67d410 c0d9db30 00000000 cf48fe14 cf48fde8
    [    3.055421] fde0: c041cb98 c041e84c cf48fe14 cf48fdf8 c0d0b764 cf48fe60 cf67d410 00000001
    [    3.063634] fe00: c0d9db30 c0bb3648 cf48fe34 cf48fe18 c041cf00 c041c974 00000000 cf48fe60
    [    3.071846] fe20: c041ce74 00000001 cf48fe5c cf48fe38 c041ab78 c041ce80 cf452970 ce951038
    [    3.080059] fe40: cf67d410 cf67d410 cf67d410 cf67d444 cf48fe84 cf48fe60 c041c860 c041ab1c
    [    3.088271] fe60: cf67d410 00000001 cf67d410 cf67d410 c0d0d920 c0d0d748 cf48fe94 cf48fe88
    [    3.096484] fe80: c041cf74 c041c7b4 cf48feb4 cf48fe98 c041bbbc c041cf6c cf67d410 c0d0d730
    [    3.104696] fea0: c0d0d730 c0d0d748 cf48fee4 cf48feb8 c041c0b0 c041bb3c c041c060 c0d0d764
    [    3.112908] fec0: cf454000 cf48c000 00000000 ceb67d00 00000000 cf48c000 cf48ff24 cf48fee8
    [    3.121121] fee0: c004d14c c041c06c c0093a44 c07c59b0 323a3275 40000113 cf48c048 cf48c000
    [    3.129334] ff00: cf454018 cf48c014 cf48e000 00000088 cf454000 cf48c000 cf48ff5c cf48ff28
    [    3.137546] ff20: c004d468 c004d034 cf48c164 c0cd2100 00000000 00000000 cf43be80 cf454000
    [    3.145759] ff40: c004d41c 00000000 00000000 00000000 cf48ffac cf48ff60 c0053084 c004d428
    [    3.153971] ff60: 00000000 00000000 00000000 cf454000 00000000 00000000 cf48ff78 cf48ff78
    [    3.162185] ff80: 00000000 00000000 cf48ff88 cf48ff88 cf43be80 c0052fa0 00000000 00000000
    [    3.170398] ffa0: 00000000 cf48ffb0 c0010a58 c0052fac 00000000 00000000 00000000 00000000
    [    3.178609] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    3.186822] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    [    3.195029] Backtrace:
    [    3.197497] [<c03c99b0>] (dispc_mgr_set_timings) from [<c03ca678>] (dispc_runtime_resume+0x1fc/0x19f8)
    [    3.206840]  r10:cf48e000 r9:d1bae000 r8:c0823b8c r7:00000002 r6:c0de5d20 r5:00000000
    [    3.214741]  r4:c0de4d20
    [    3.217297] [<c03ca47c>] (dispc_runtime_resume) from [<c04241a4>] (pm_generic_runtime_resume+0x34/0x40)
    [    3.226727]  r10:cf48e000 r9:c0073eb8 r8:00000004 r7:c00283e8 r6:c00283e8 r5:cf67d474
    [    3.234629]  r4:cf67d410
    [    3.237186] [<c0424170>] (pm_generic_runtime_resume) from [<c0028410>] (_od_runtime_resume+0x28/0x2c)
    [    3.246449] [<c00283e8>] (_od_runtime_resume) from [<c0425884>] (__rpm_callback+0x34/0x68)
    [    3.254745]  r5:cf67d474 r4:cf67d410
    [    3.258355] [<c0425850>] (__rpm_callback) from [<c04258e0>] (rpm_callback+0x28/0x88)
    [    3.266127]  r7:c00283e8 r6:cf670210 r5:cf67d410 r4:cf67d410
    [    3.271845] [<c04258b8>] (rpm_callback) from [<c04267c4>] (rpm_resume+0x374/0x56c)
    [    3.279445]  r7:c00283e8 r6:cf670210 r5:c0cd2100 r4:cf67d410
    [    3.285163] [<c0426450>] (rpm_resume) from [<c0426a10>] (__pm_runtime_resume+0x54/0x6c)
    [    3.293197]  r10:cf67d410 r9:c08237f4 r8:024000c0 r7:60000113 r6:00000004 r5:cf67d474
    [    3.301097]  r4:cf67d410
    [    3.303652] [<c04269bc>] (__pm_runtime_resume) from [<c03c3600>] (dispc_runtime_get+0x38/0x74)
    [    3.312297]  r7:00000004 r6:00000003 r5:cf67d410 r4:c0de4d20
    [    3.318013] [<c03c35c8>] (dispc_runtime_get) from [<c03c966c>] (dispc_bind+0x2d8/0x480)
    [    3.326047]  r5:cf67d410 r4:c0de4d20
    [    3.329657] [<c03c9394>] (dispc_bind) from [<c04175bc>] (component_bind_all+0xe8/0x23c)
    [    3.337693]  r10:c0bb3058 r9:c0d9d920 r8:00000000 r7:024000c0 r6:cf670210 r5:ce94e9c0
    [    3.345594]  r4:ce4ee0c0
    [    3.348147] [<c04174d4>] (component_bind_all) from [<c03bf84c>] (dss_bind+0x534/0x590)
    [    3.356095]  r10:c0d9db30 r9:c0bf0280 r8:cfba2344 r7:cf670200 r6:cf670210 r5:00000000
    [    3.363995]  r4:c0de4ac4
    [    3.366548] [<c03bf318>] (dss_bind) from [<c04177e4>] (try_to_bring_up_master.part.0+0xd4/0x114)
    [    3.375367]  r9:00000008 r8:ce4ee0c0 r7:ce94e990 r6:ce94e9c0 r5:00000001 r4:ce94e998
    [    3.383190] [<c0417710>] (try_to_bring_up_master.part.0) from [<c0417a10>] (component_add+0xac/0x124)
    [    3.392445]  r9:00000008 r8:c0d0b764 r7:ce4ee0c0 r6:c0d0d618 r5:00000000 r4:ce94e9c0
    [    3.400266] [<c0417964>] (component_add) from [<c03c35c0>] (dispc_probe+0x18/0x20)
    [    3.407863]  r7:fffffdfb r6:c0d0b764 r5:cf67d410 r4:c0de79b0
    [    3.413584] [<c03c35a8>] (dispc_probe) from [<c041e894>] (platform_drv_probe+0x54/0xb8)
    [    3.421624] [<c041e840>] (platform_drv_probe) from [<c041cb98>] (driver_probe_device+0x230/0x474)
    [    3.430530]  r7:00000000 r6:c0d9db30 r5:cf67d410 r4:c0de79b0
    [    3.436247] [<c041c968>] (driver_probe_device) from [<c041cf00>] (__device_attach_driver+0x8c/0xb4)
    [    3.445329]  r9:c0bb3648 r8:c0d9db30 r7:00000001 r6:cf67d410 r5:cf48fe60 r4:c0d0b764
    [    3.453148] [<c041ce74>] (__device_attach_driver) from [<c041ab78>] (bus_for_each_drv+0x68/0x9c)
    [    3.461968]  r7:00000001 r6:c041ce74 r5:cf48fe60 r4:00000000
    [    3.467685] [<c041ab10>] (bus_for_each_drv) from [<c041c860>] (__device_attach+0xb8/0x148)
    [    3.475981]  r6:cf67d444 r5:cf67d410 r4:cf67d410
    [    3.480642] [<c041c7a8>] (__device_attach) from [<c041cf74>] (device_initial_probe+0x14/0x18)
    [    3.489200]  r7:c0d0d748 r6:c0d0d920 r5:cf67d410 r4:cf67d410
    [    3.494917] [<c041cf60>] (device_initial_probe) from [<c041bbbc>] (bus_probe_device+0x8c/0x94)
    [    3.503566] [<c041bb30>] (bus_probe_device) from [<c041c0b0>] (deferred_probe_work_func+0x50/0xd0)
    [    3.512560]  r7:c0d0d748 r6:c0d0d730 r5:c0d0d730 r4:cf67d410
    [    3.518278] [<c041c060>] (deferred_probe_work_func) from [<c004d14c>] (process_one_work+0x124/0x3f4)
    [    3.527447]  r10:cf48c000 r9:00000000 r8:ceb67d00 r7:00000000 r6:cf48c000 r5:cf454000
    [    3.535349]  r4:c0d0d764 r3:c041c060
    [    3.538957] [<c004d028>] (process_one_work) from [<c004d468>] (worker_thread+0x4c/0x524)
    [    3.547079]  r10:cf48c000 r9:cf454000 r8:00000088 r7:cf48e000 r6:cf48c014 r5:cf454018
    [    3.554980]  r4:cf48c000
    [    3.557532] [<c004d41c>] (worker_thread) from [<c0053084>] (kthread+0xe4/0xfc)
    [    3.564783]  r10:00000000 r9:00000000 r8:00000000 r7:c004d41c r6:cf454000 r5:cf43be80
    [    3.572684]  r4:00000000
    [    3.575237] [<c0052fa0>] (kthread) from [<c0010a58>] (ret_from_fork+0x14/0x3c)
    [    3.582487]  r7:00000000 r6:00000000 r5:c0052fa0 r4:cf43be80
    [    3.588202] Code: c03c9b1c c03c9ae8 c03c9bd0 c03c9bd8 (e7f001f2)
    [    3.594323] ---[ end trace e4794d967121e91e ]---
    [    3.600202] Unable to handle kernel paging request at virtual address ffffffec
    [    3.607455] pgd = c0004000
    [    3.610171] [ffffffec] *pgd=8fdfd861, *pte=00000000, *ppte=00000000
    [    3.616489] Internal error: Oops: 37 [#2] PREEMPT SMP ARM
    [    3.621907] Modules linked in:
    [    3.624981] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G      D         4.4.45 #109
    [    3.632581] Hardware name: Generic DRA72X (Flattened Device Tree)
    [    3.638708] task: cf471e00 ti: cf48e000 task.ti: cf48e000
    [    3.644131] PC is at kthread_data+0x10/0x18
    [    3.648333] LR is at wq_worker_sleeping+0x14/0xd8
    [    3.653056] pc : [<c00534d4>]    lr : [<c004e218>]    psr: 20000193
    [    3.653056] sp : cf48f858  ip : cf48f868  fp : cf48f864
    [    3.664581] r10: 00000000  r9 : cfb4ee00  r8 : cf4721a8
    [    3.669825] r7 : c0cd26c8  r6 : c0ccde00  r5 : cf471e00  r4 : 00000000
    [    3.676378] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : cf471e00
    [    3.682932] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
    [    3.690183] Control: 10c5387d  Table: 8000406a  DAC: 00000051
    [    3.695951] Process kworker/u2:0 (pid: 6, stack limit = 0xcf48e210)
    [    3.702242] Stack: (0xcf48f858 to 0xcf490000)
    [    3.706616] f840:                                                       cf48f87c cf48f868
    [    3.714829] f860: c004e218 c00534d0 cfb4ee00 cf471e00 cf48f8d4 cf48f880 c07c1ad0 c004e210
    [    3.723044] f880: c0dade14 cf476b40 cf48f8a4 cf48f898 c008fbb8 c008f93c cf48f8ec c07c1d08
    [    3.731256] f8a0: 00000000 c008fbac c0038234 cf48e000 cf48f5bc cf470000 cf48f8f8 cf472120
    [    3.739469] f8c0: c03c9aea c0b4f970 cf48f8ec cf48f8d8 c07c1d08 c07c1658 cf471e00 cf48f5bc
    [    3.747682] f8e0: cf48f914 cf48f8f0 c003a18c c07c1cc0 00000001 00000000 cf48f8f8 cf48f8f8
    [    3.755894] f900: c00372dc c03c9aec cf48f99c cf48f918 c0014ca8 c0039b58 cf48e210 0000000b
    [    3.764107] f920: c0b4f978 00000008 00000000 cf48e000 00000000 60000193 632eb35d 39633330
    [    3.772320] f940: 20633162 63333063 38656139 33306320 64623963 30632030 62396333 28203864
    [    3.780534] f960: 30663765 32663130 01002029 00000000 cf48fa24 00000004 e7f001f2 c03c9ae8
    [    3.788747] f980: cf48fa60 00000000 c0015660 cf48e000 cf48f9ac cf48f9a0 c0014ed8 c0014a68
    [    3.796960] f9a0: cf48fa5c cf48f9b0 c000918c c0014ec4 00000006 c03bfc28 00000004 00000000
    [    3.805173] f9c0: 00030001 c03c9ae8 c03c37e4 c03bf09c 00000001 00000000 00000000 00000000
    [    3.813384] f9e0: cf48faec cf48f9f0 c03c792c c03bfc28 00000000 cfb4bf70 00000000 cfb4ee00
    [    3.821596] fa00: cfb4ee00 c0cd26c8 cf48fa08 cf48fa08 00000001 c00a5960 cf48fa4c cf48fa28
    [    3.829809] fa20: c005d318 cf48e000 cf48fa44 cf48fa38 c05b9ee4 c05b9c28 cf48fa54 c03c9aec
    [    3.838023] fa40: 00000000 c0015a98 00000000 e7100000 cf48fb54 cf48fa60 c0015660 c0009030
    [    3.846237] fa60: 00000000 cf48faf8 0a21fe80 0001220a 00000000 00000000 c0d9ce58 c0823afc
    [    3.854449] fa80: c0823b8c d1bae000 cf48e000 cf48fb54 ce4ee790 cf48fab0 c03c9a0c c03c9ae8
    [    3.862662] faa0: 60000113 ffffffff 00000051 c03c98b0 00000001 00000000 cf48fb00 c0073eb8
    [    3.870876] fac0: cf48fb54 cf48fb74 00000000 00000001 00000001 00000000 d1bae000 cf48e000
    [    3.879089] fae0: cf48fb54 cf48faf0 c03c8840 c03c65c0 00000001 00000000 00010008 0001220a
    [    3.887302] fb00: 0095002d 00050059 0002000f 00000000 00000000 00000001 00000001 00000001
    [    3.895514] fb20: 00000001 00000000 cf48fb54 c0de4d20 00000000 c0de5d20 00000002 c0823b8c
    [    3.903727] fb40: d1bae000 cf48e000 cf48fbcc cf48fb58 c03ca678 c03c99bc 00000002 00000000
    [    3.911941] fb60: 0b71b000 05b8d800 00020001 00000018 00000000 8e4ed000 00000000 00010001
    [    3.920155] fb80: 00000001 00000080 00000000 00000001 00000000 00000000 00ff0000 00000000
    [    3.928368] fba0: 00000001 cf67d410 cf67d474 c00283e8 c00283e8 00000004 c0073eb8 cf48e000
    [    3.936581] fbc0: cf48fbdc cf48fbd0 c04241a4 c03ca488 cf48fbf4 cf48fbe0 c0028410 c042417c
    [    3.944794] fbe0: cf67d410 cf67d474 cf48fc14 cf48fbf8 c0425884 c00283f4 cf67d410 cf67d410
    [    3.953006] fc00: cf670210 c00283e8 cf48fc34 cf48fc18 c04258e0 c042585c cf67d410 c0cd2100
    [    3.961219] fc20: cf670210 c00283e8 cf48fc84 cf48fc38 c04267c4 c04258c4 cf48fc64 cf67d498
    [    3.969432] fc40: c05c4a9c c02c7450 c0dea2b0 cfba26c0 80000113 c0ba74e0 cf48fc8c cf67d410
    [    3.977644] fc60: cf67d474 00000004 60000113 024000c0 c08237f4 cf67d410 cf48fca4 cf48fc88
    [    3.985858] fc80: c0426a10 c042645c c0de4d20 cf67d410 00000003 00000004 cf48fcbc cf48fca8
    [    3.994070] fca0: c03c3600 c04269c8 c0de4d20 cf67d410 cf48fcfc cf48fcc0 c03c966c c03c35d4
    [    4.002282] fcc0: cf48fcc8 024000c0 00000004 c0d9d920 cf48fcfc ce4ee0c0 ce94e9c0 cf670210
    [    4.010495] fce0: 024000c0 00000000 c0d9d920 c0bb3058 cf48fd3c cf48fd00 c04175bc c03c93a0
    [    4.018707] fd00: cf48fd2c cf48fd10 c00d2ae8 c0bb3040 c0de4ac4 c0de4ac4 00000000 cf670210
    [    4.026921] fd20: cf670200 cfba2344 c0bf0280 c0d9db30 cf48fd6c cf48fd40 c03bf84c c04174e0
    [    4.035134] fd40: cf48fd6c 00000002 ce94e998 00000001 ce94e9c0 ce94e990 ce4ee0c0 00000008
    [    4.043345] fd60: cf48fd94 cf48fd70 c04177e4 c03bf324 ce94e9c0 00000000 c0d0d618 ce4ee0c0
    [    4.051559] fd80: c0d0b764 00000008 cf48fdb4 cf48fd98 c0417a10 c041771c c0de79b0 cf67d410
    [    4.059771] fda0: c0d0b764 fffffdfb cf48fdc4 cf48fdb8 c03c35c0 c0417970 cf48fde4 cf48fdc8
    [    4.067984] fdc0: c041e894 c03c35b4 c0de79b0 cf67d410 c0d9db30 00000000 cf48fe14 cf48fde8
    [    4.076196] fde0: c041cb98 c041e84c cf48fe14 cf48fdf8 c0d0b764 cf48fe60 cf67d410 00000001
    [    4.084408] fe00: c0d9db30 c0bb3648 cf48fe34 cf48fe18 c041cf00 c041c974 00000000 cf48fe60
    [    4.092622] fe20: c041ce74 00000001 cf48fe5c cf48fe38 c041ab78 c041ce80 cf452970 ce951038
    [    4.100834] fe40: cf67d410 cf67d410 cf67d410 cf67d444 cf48fe84 cf48fe60 c041c860 c041ab1c
    [    4.109046] fe60: cf67d410 00000001 cf67d410 cf67d410 c0d0d920 c0d0d748 cf48fe94 cf48fe88
    [    4.117260] fe80: c041cf74 c041c7b4 cf48feb4 cf48fe98 c041bbbc c041cf6c cf67d410 c0d0d730
    [    4.125472] fea0: c0d0d730 c0d0d748 cf48fee4 cf48feb8 c041c0b0 c041bb3c c041c060 c0d0d764
    [    4.133685] fec0: cf454000 cf48c000 00000000 ceb67d00 00000000 cf48c000 cf48ff24 cf48fee8
    [    4.141899] fee0: c004d14c c041c06c c0093a44 c07c59b0 323a3275 40000113 cf48c048 cf48c000
    [    4.150111] ff00: cf454018 cf48c014 cf48e000 00000088 cf454000 cf48c000 cf48ff5c cf48ff28
    [    4.158324] ff20: c004d468 c004d034 cf48c164 c0cd2100 00000000 00000000 cf43be80 cf454000
    捔2?B炕噣??歟廿+$HH.174750] ff60: 00000000 00000000 00000000 cf454000 00000000 00000000 cf48ff78 cf48ff78
    [    4.182963] ff80: 00000001 00010001 cf48ff88 cf48ff88 cf43be80 c0052fa0 00000000 00000000
    [    4.191175] ffa0: 00000000 cf48ffb0 c0010a58 c0052fac 00000000 00000000 00000000 00000000
    [    4.199387] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    4.207600] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    [    4.215809] Backtrace:
    [    4.218276] [<c00534c4>] (kthread_data) from [<c004e218>] (wq_worker_sleeping+0x14/0xd8)
    [    4.226405] [<c004e204>] (wq_worker_sleeping) from [<c07c1ad0>] (__schedule+0x484/0x668)
    [    4.234527]  r5:cf471e00 r4:cfb4ee00
    [    4.238135] [<c07c164c>] (__schedule) from [<c07c1d08>] (schedule+0x54/0xc4)
    [    4.245211]  r10:c0b4f970 r9:c03c9aea r8:cf472120 r7:cf48f8f8 r6:cf470000 r5:cf48f5bc
    [    4.253112]  r4:cf48e000
    [    4.255664] [<c07c1cb4>] (schedule) from [<c003a18c>] (do_exit+0x640/0x9b8)
    [    4.262652]  r5:cf48f5bc r4:cf471e00
    [    4.266258] [<c0039b4c>] (do_exit) from [<c0014ca8>] (die+0x24c/0x45c)
    [    4.272811]  r7:c03c9aec
    [    4.275362] [<c0014a5c>] (die) from [<c0014ed8>] (arm_notify_die+0x20/0x58)
    [    4.282350]  r10:cf48e000 r9:c0015660 r8:00000000 r7:cf48fa60 r6:c03c9ae8 r5:e7f001f2
    [    4.290253]  r4:00000004
    [    4.292803] [<c0014eb8>] (arm_notify_die) from [<c000918c>] (do_undefinstr+0x168/0x204)
    [    4.300842] [<c0009024>] (do_undefinstr) from [<c0015660>] (__und_svc_finish+0x0/0x20)
    [    4.308791] Exception stack(0xcf48fa60 to 0xcf48faa8)
    [    4.313866] fa60: 00000000 cf48faf8 0a21fe80 0001220a 00000000 00000000 c0d9ce58 c0823afc
    [    4.322079] fa80: c0823b8c d1bae000 cf48e000 cf48fb54 ce4ee790 cf48fab0 c03c9a0c c03c9ae8
    [    4.330290] faa0: 60000113 ffffffff
    [    4.333790]  r8:e7100000 r7:00000000 r6:c0015a98 r5:00000000 r4:c03c9aec
    [    4.340569] [<c03c99b0>] (dispc_mgr_set_timings) from [<c03ca678>] (dispc_runtime_resume+0x1fc/0x19f8)
    [    4.349912]  r10:cf48e000 r9:d1bae000 r8:c0823b8c r7:00000002 r6:c0de5d20 r5:00000000
    [    4.357815]  r4:c0de4d20
    [    4.360368] [<c03ca47c>] (dispc_runtime_resume) from [<c04241a4>] (pm_generic_runtime_resume+0x34/0x40)
    [    4.369798]  r10:cf48e000 r9:c0073eb8 r8:00000004 r7:c00283e8 r6:c00283e8 r5:cf67d474
    [    4.377701]  r4:cf67d410
    [    4.380256] [<c0424170>] (pm_generic_runtime_resume) from [<c0028410>] (_od_runtime_resume+0x28/0x2c)
    [    4.389517] [<c00283e8>] (_od_runtime_resume) from [<c0425884>] (__rpm_callback+0x34/0x68)
    [    4.397814]  r5:cf67d474 r4:cf67d410
    [    4.401421] [<c0425850>] (__rpm_callback) from [<c04258e0>] (rpm_callback+0x28/0x88)
    [    4.409195]  r7:c00283e8 r6:cf670210 r5:cf67d410 r4:cf67d410
    [    4.414912] [<c04258b8>] (rpm_callback) from [<c04267c4>] (rpm_resume+0x374/0x56c)
    [    4.422511]  r7:c00283e8 r6:cf670210 r5:c0cd2100 r4:cf67d410
    [    4.428231] [<c0426450>] (rpm_resume) from [<c0426a10>] (__pm_runtime_resume+0x54/0x6c)
    [    4.436265]  r10:cf67d410 r9:c08237f4 r8:024000c0 r7:60000113 r6:00000004 r5:cf67d474
    [    4.444168]  r4:cf67d410
    [    4.446722] [<c04269bc>] (__pm_runtime_resume) from [<c03c3600>] (dispc_runtime_get+0x38/0x74)
    [    4.455367]  r7:00000004 r6:00000003 r5:cf67d410 r4:c0de4d20
    [    4.461088] [<c03c35c8>] (dispc_runtime_get) from [<c03c966c>] (dispc_bind+0x2d8/0x480)
    [    4.469122]  r5:cf67d410 r4:c0de4d20
    [    4.472729] [<c03c9394>] (dispc_bind) from [<c04175bc>] (component_bind_all+0xe8/0x23c)
    [    4.480765]  r10:c0bb3058 r9:c0d9d920 r8:00000000 r7:024000c0 r6:cf670210 r5:ce94e9c0
    [    4.488666]  r4:ce4ee0c0
    [    4.491219] [<c04174d4>] (component_bind_all) from [<c03bf84c>] (dss_bind+0x534/0x590)
    [    4.499167]  r10:c0d9db30 r9:c0bf0280 r8:cfba2344 r7:cf670200 r6:cf670210 r5:00000000
    [    4.507067]  r4:c0de4ac4
    [    4.509619] [<c03bf318>] (dss_bind) from [<c04177e4>] (try_to_bring_up_master.part.0+0xd4/0x114)
    [    4.518439]  r9:00000008 r8:ce4ee0c0 r7:ce94e990 r6:ce94e9c0 r5:00000001 r4:ce94e998
    [    4.526259] [<c0417710>] (try_to_bring_up_master.part.0) from [<c0417a10>] (component_add+0xac/0x124)
    [    4.535515]  r9:00000008 r8:c0d0b764 r7:ce4ee0c0 r6:c0d0d618 r5:00000000 r4:ce94e9c0
    [    4.543335] [<c0417964>] (component_add) from [<c03c35c0>] (dispc_probe+0x18/0x20)
    [    4.550934]  r7:fffffdfb r6:c0d0b764 r5:cf67d410 r4:c0de79b0
    [    4.556652] [<c03c35a8>] (dispc_probe) from [<c041e894>] (platform_drv_probe+0x54/0xb8)
    [    4.564693] [<c041e840>] (platform_drv_probe) from [<c041cb98>] (driver_probe_device+0x230/0x474)
    [    4.573600]  r7:00000000 r6:c0d9db30 r5:cf67d410 r4:c0de79b0
    [    4.579317] [<c041c968>] (driver_probe_device) from [<c041cf00>] (__device_attach_driver+0x8c/0xb4)
    [    4.588397]  r9:c0bb3648 r8:c0d9db30 r7:00000001 r6:cf67d410 r5:cf48fe60 r4:c0d0b764
    [    4.596217] [<c041ce74>] (__device_attach_driver) from [<c041ab78>] (bus_for_each_drv+0x68/0x9c)
    [    4.605037]  r7:00000001 r6:c041ce74 r5:cf48fe60 r4:00000000
    [    4.610755] [<c041ab10>] (bus_for_each_drv) from [<c041c860>] (__device_attach+0xb8/0x148)
    [    4.619052]  r6:cf67d444 r5:cf67d410 r4:cf67d410
    [    4.623713] [<c041c7a8>] (__device_attach) from [<c041cf74>] (device_initial_probe+0x14/0x18)
    [    4.632271]  r7:c0d0d748 r6:c0d0d920 r5:cf67d410 r4:cf67d410
    [    4.637989] [<c041cf60>] (device_initial_probe) from [<c041bbbc>] (bus_probe_device+0x8c/0x94)
    [    4.646639] [<c041bb30>] (bus_probe_device) from [<c041c0b0>] (deferred_probe_work_func+0x50/0xd0)
    [    4.655633]  r7:c0d0d748 r6:c0d0d730 r5:c0d0d730 r4:cf67d410
    [    4.661351] [<c041c060>] (deferred_probe_work_func) from [<c004d14c>] (process_one_work+0x124/0x3f4)
    [    4.670519]  r10:cf48c000 r9:00000000 r8:ceb67d00 r7:00000000 r6:cf48c000 r5:cf454000
    [    4.678419]  r4:c0d0d764 r3:c041c060
    [    4.682027] [<c004d028>] (process_one_work) from [<c004d468>] (worker_thread+0x4c/0x524)
    [    4.690148]  r10:cf48c000 r9:cf454000 r8:00000088 r7:cf48e000 r6:cf48c014 r5:cf454018
    [    4.698049]  r4:cf48c000
    [    4.700603] [<c004d41c>] (worker_thread) from [<c0053084>] (kthread+0xe4/0xfc)
    [    4.707854]  r10:00000000 r9:00000000 r8:00000000 r7:c004d41c r6:cf454000 r5:cf43be80
    [    4.715758]  r4:00000000
    [    4.718309] [<c0052fa0>] (kthread) from [<c0010a58>] (ret_from_fork+0x14/0x3c)
    [    4.725559]  r7:00000000 r6:00000000 r5:c0052fa0 r4:cf43be80
    [    4.731276] Code: e1a0c00d e92dd800 e24cb004 e5903378 (e5130014)
    [    4.737394] ---[ end trace e4794d967121e91f ]---
    [    4.742029] Fixing recursive fault but reboot is needed!
    
    

  • Hi,

    It seems to be crashing somewhere in dispc_mgr_set_timings API. Can you please add some debug prints to see why it is crashing? I am not really sure about it.

    Regards,

    Brijesh

  • Hi Brijesh, 

    1. I found the following code, hence I mark off checking interlace:

    3139 bool dispc_mgr_timings_ok(enum omap_channel channel,
    3140         const struct omap_video_timings *timings)
    3141 {
    3142     if (!_dispc_mgr_size_ok(timings->x_res, timings->y_res))
    3143         return false;
    3144
    3145     if (!_dispc_mgr_pclk_ok(channel, timings->pixelclock))
    3146         return false;
    3147
    3148     if (dss_mgr_is_lcd(channel)) {
    3149         /* TODO: OMAP4+ supports interlace for LCD outputs */
    3150 #if 0
    3151         if (timings->interlace)
    3152             return false;
    3153 #endif
    3154
    3155         if (!_dispc_lcd_timings_ok(timings->hsw, timings->hfp,
    3156                 timings->hbp, timings->vsw, timings->vfp,
    3157                 timings->vbp))
    3158             return false;
    3159     }
    3160
    3161     return true;
    3162 }
    

    2. We are using SDK version "03_02_00_03" and follow the user guide p11 of https://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Software_Developers_Guide

    I executed the command "gst-launch-1.0 playbin uri=file://<path-to-file-name> video-sink=waylandsink", but I got the following error, do you have any idea?

    root@wnc-j6:~# gst-launch-1.0 playbin uri=file://a3.yuv video-sink=waylandsink
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstWaylandSink:waylandsink0: Could not initialise Wayland output
    Additional debug info:
    gstwaylandsink.c(958): gst_wayland_sink_start (): /GstWaylandSink:waylandsink0:
    Could not create Wayland display
    Setting pipeline to NULL ...
    Freeing pipeline ...

    3. All the above questions are about how we could play 1080i video. Do you have any idea?

  • Hi Brijesh and 

    Now we are trying EVK board and tool modetest to play interlaced video successfully to output HDMI.

    But we can't play interlaced video to RGB888 in our testing board, how could we play interlaced video to RGB888?

    The modetest command is as follows:

    root@wnc-j6:~# modetest
    trying to load module i915...failed.
    trying to load module radeon...failed.
    trying to load module nouveau...failed.
    trying to load module vmwgfx...failed.
    trying to load module omapdrm...success.
    Encoders:
    id      crtc    type    possible crtcs  possible clones
    31      34      TMDS    0x00000001      0x00000000
    
    Connectors:
    id      encoder status          type    size (mm)       modes   encoders
    32      31      connected       unknown 0x0             1       31
      modes:
            name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
      1920x1080 29 1920 2130 2160 2176 1080 1102 1115 1125 flags: nhsync, nvsync; type: preferred, driver
      props:
            1 EDID:
                    flags: immutable blob
                    blobs:
    
                    value:  2 DPMS:
                    flags: enum
                    enums: On=0 Standby=1 Suspend=2 Off=3
                    value: 0
    
    CRTCs:
    id      fb      pos     size
    34      41      (0,0)   (1920x1080)
      1920x1080 29 1920 2130 2160 2176 1080 1102 1115 1125 flags: nhsync, nvsync; type: preferred, driver
      props:
            27 trans-key-mode:
                    flags: enum
                    enums: disable=0 gfx-dst=1 vid-src=2
                    value: 0
            28 trans-key:
                    flags: range
                    values: 0 16777215
                    value: 0
            29 background:
                    flags: range
                    values: 0 16777215
                    value: 0
            30 alpha_blender:
                    flags: range
                    values: 0 1
                    value: 0
            21 GAMMA_LUT:
                    flags: blob
                    blobs:
    
                    value:  22 GAMMA_LUT_SIZE:
                    flags: range immutable
                    values: 0 4294967295
                    value: 256
            23 rotation:
                    flags: bitmask
                    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                    value: 1
            24 zorder:
                    flags: range
                    values: 0 3
                    value: 0
    36      0       (0,0)   (0x0)
       0 0 0 0 0 0 0 0 0 flags: ; type:
      props:
            27 trans-key-mode:
                    flags: enum
                    enums: disable=0 gfx-dst=1 vid-src=2
                    value: 0
            28 trans-key:
                    flags: range
                    values: 0 16777215
                    value: 0
            29 background:
                    flags: range
                    values: 0 16777215
                    value: 0
            30 alpha_blender:
                    flags: range
                    values: 0 1
                    value: 0
            21 GAMMA_LUT:
                    flags: blob
                    blobs:
    
                    value:  22 GAMMA_LUT_SIZE:
                    flags: range immutable
                    values: 0 4294967295
                    value: 256
            23 rotation:
                    flags: bitmask
                    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                    value: 1
            24 zorder:
                    flags: range
                    values: 0 3
                    value: 0
    
    Planes:
    id      crtc    fb      CRTC x,y        x,y     gamma size
    37      0       0       0,0             0,0     0
      formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY
      props:
            5 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 0
            23 rotation:
                    flags: bitmask
                    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                    value: 1
            24 zorder:
                    flags: range
                    values: 0 3
                    value: 2
            25 global_alpha:
                    flags: range
                    values: 0 255
                    value: 255
            26 pre_mult_alpha:
                    flags: range
                    values: 0 1
                    value: 0
    38      0       0       0,0             0,0     0
      formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY
      props:
            5 type:
                    flags: immutable enum
                    enums: Overlay=0 Primary=1 Cursor=2
                    value: 0
            23 rotation:
                    flags: bitmask
                    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
                    value: 1
            24 zorder:
                    flags: range
                    values: 0 3
                    value: 3
            25 global_alpha:
                    flags: range
                    values: 0 255
                    value: 255
            26 pre_mult_alpha:
                    flags: range
                    values: 0 1
                    value: 0
    
    Frame buffers:
    id      size    pitch
    
    root@wnc-j6:~# modetest -s 32:1920x1080i
    trying to load module i915...failed.
    trying to load module radeon...failed.
    trying to load module nouveau...failed.
    trying to load module vmwgfx...failed.
    trying to load module omapdrm...success.
    setting mode 1920x1080i@XR24 on connector 32, crtc 34

  • Kevin,

    Edited response.

    I'm unable to accurately guess what could be the problem, however I have two questions:

    • Have you made sure that the weston is running prior to using waylandsink?
    • Are you able to run the interlaced video with kmssink?

    Regards
    Karthik

  • Also, if you just want to toggle this pin, you can probably set this pin as GPIO and can then toggle GPIO.