This thread has been locked.

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

Linux/AM5728: Not able to detect TVP5150

Part Number: AM5728
Other Parts Discussed in Thread: TVP5150AM1, TVP5150, DRA752, TPD12S015, PMP, TMP102, TLV320AIC3104, THS8200, TVP5158

Tool/software: Linux

Hi,

We are using AM5728 custom board with TVP5150AM1 decoder, I am using Linux SDK 4.1. , I have loaded tvp5150 driver with dts changes but i am unable to see /dev/video device.

After loading in dmesg tvp5150 is detected at vin1a port but unable to see the video device in /dev directory.

Dts changes mentioned below:

vin1a: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
status = "okay";

vin1a_1: endpoint@0 {
slave-mode;
remote-endpoint = <&tvp5150_1_1>;
bus_width = <0x8>;
};
};

tvp5150_1: tvp5150@5c{
compatible = "ti,tvp5150";
reg = <0x5c>;
pdn-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;

port {
tvp5150_1_1: endpoint {
remote-endpoint = <&vin1a_1>;
};
};
};

Please Help.

Thanks & Regards,

Vijay

  • I do not see "channels" being set in tvp5150 dts settings.

    Please check this post for further debugging

  • Thanks For reply.

    I have added,

    tvp5150@5c{
    compatible = "ti,tvp5150";
    reg = <0x5c>;
    pdn-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;

    port {
    tvp5150_1_1: endpoint {
    remote-endpoint = <&vin1a_1>;
    channels = <0>;
    };
    };
    };

    It works fine for me.

    Thanks
    Vijay.
  • Hi manisha,

    Now i am able to detect /dev/video1 node but i am unable to capture stream?
    Do you any test cases or gstreamer pipelines?
    Is there any register settings has to be done after loading the driver? because i have simply loaded the driver.

    Thanks,
    Vijay
  • Hi Vijay,

    You may want to use Yavta for capturing the input video. It will write the captured data in file. You can see the content offline using some publicly available YUV/RGB file viewer.

    Check the "Driver Usage" and "Debugging" section to proceed further -

  • Hi,

    I have tried all the commands which is mentioned in the above User guide, but i found the following errors


    dmabuftest -s 31:1920x1080 -c 1280x800@YUYV -d /dev/video1 --> For this command i am getting blank screen on HDMI monitor.

    yavta -c60 -fYUYV -Fvout_800x600_yuyv.yuv -s800x600 /dev/video1 --> for this command the file is not being created.

    What could be the issue?

    Since i am using vin1a port and the output of tvp5150 is of 8-bit do i need to configure any register or it will take care by driver?



    Thanks,
    Vijay



  • Vijay,

    TVP driver needs to comply with VIP driver requirements like input formats etc. VIP driver may not be happy with some of the settings (especially the input formats) and hence the capture is not going through.  

    Please enable kernel debug logs following below instruction and re-run the Yavta application.

    • echo 3 >/sys/class/video4linux/video1/dev_debug
      This allows V4L2 ioctl calls to be logged.
    • echo 3 > /sys/module/videobuf2_core/parameters/debug
      This allows VB2 buffers operation to be logged.

    In addition ti-vip also has specific debug log which can be enabled as follows:

    • echo 3 > /sys/module/ti_vip/parameters/debug
  • Hi,

    I enabled above mentioned kernel logs. Below mention are the logs which i got after running dmabuff command

    root@am57xx-evm:~# dmabuftest -s 31:720x244 -c 720x244@YUYV -d /dev/video1
    Opening Display..
    [ 195.113609] omapdss error: HDMI I2C Master Error
    using 1 connectors, 640x480 display, multiplanar: 1
    Setting mode 720x244 on connector 31, crtc 34
    Opening V4L2..
    [ 195.178866] vb2-core: __vb2_queue_alloc: allocated 6 buffers, 1 plane(s) each
    Exported buffer fd = 6[ 195.187150] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed


    Exported buffer fd = 8

    Exported buffer fd = 10

    Exporte[ 195.195213] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    d buffer fd = 12

    Exported buffer fd = 14

    Exported buffer f[ 195.206207] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    d = 16

    [ 195.218244] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    [ 195.224571] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 195.231071] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    [ 195.237024] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 195.243510] vb2-core: vb2_core_qbuf: qbuf of buffer 3 succeeded
    [ 195.249474] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 195.255974] vb2-core: vb2_core_qbuf: qbuf of buffer 4 succeeded
    [ 195.261986] vb2-core: __qbuf_dmabuf: buffer for plane 0 changed
    [ 195.268415] vb2-core: vb2_core_qbuf: qbuf of buffer 5 succeeded
    [ 195.278628] vb2-core: vb2_core_streamon: successful
    [ 195.283630] vb2-core: __vb2_wait_for_done_vb: will sleep waiting for buffers
    ^C[ 206.092255] vb2-core: __vb2_wait_for_done_vb: sleep was interrupted

    **stucked here**


    Please let me know what could be the issue.

    Thanks,
    Vijay
  • Hi Vijay,

    Can you also share dmesg logs? Some of the logs are not spit on main screen. It may be better if you run the YAVTA application and share the log.

    Regards,
    Manisha
  • Hi manisha,

    Please find dmesg logs below,

    root@am57xx-evm:~# yavta -c30 -fYUYV -F/home/root/vout_800x600_yuyv.yuv -s720x244 /dev/video1
    Device /dev/video1 opened.
    Device `vip' on `platform:vip' is a video output (without mplanes) device.
    Video format set: YUYV (56595559) 720x240 (stride 1440) field none buffer size 345600
    Video format: YUYV (56595559) 720x240 (stride 1440) field none buffer size 345600
    8 buffers requested.
    length: 345600 offset: 0 timestamp type/source: mono/EoF
    Buffer 0/0 mapped at address 0xb6dfe000.
    length: 345600 offset: 348160 timestamp type/source: mono/EoF
    Buffer 1/0 mapped at address 0xb6da9000.
    length: 345600 offset: 696320 timestamp type/source: mono/EoF
    Buffer 2/0 mapped at address 0xb6d54000.
    length: 345600 offset: 1044480 timestamp type/source: mono/EoF
    Buffer 3/0 mapped at address 0xb6cff000.
    length: 345600 offset: 1392640 timestamp type/source: mono/EoF
    Buffer 4/0 mapped at address 0xb6caa000.
    length: 345600 offset: 1740800 timestamp type/source: mono/EoF
    Buffer 5/0 mapped at address 0xb6c55000.
    length: 345600 offset: 2088960 timestamp type/source: mono/EoF
    Buffer 6/0 mapped at address 0xb6c00000.
    length: 345600 offset: 2437120 timestamp type/source: mono/EoF
    Buffer 7/0 mapped at address 0xb6bab000.

    root@am57xx-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.41-ge3a80a1c5c (root@ics) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Mon Jul 9 14:37:39 IST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] On node 0 totalpages: 474368
    [    0.000000] free_area_init_node: node 0, pgdat c104d680, node_mem_map eeda2000
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 326912 pages, LIFO batch:31
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 14 pages/cpu @eed31000 s26252 r8192 d22900 u57344
    [    0.000000] pcpu-alloc: s26252 r8192 d22900 u57344 alloc=14*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8  root=/dev/sda2 rwrootfstype=ext4
    [    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: 1675648K/1897472K available (8192K kernel code, 320K rwdata, 2520K rodata, 2048K init, 309K bss, 33408K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0a00000   (10208 kB)
                         .init : 0xc0e00000 - 0xc1000000   (2048 kB)
                         .data : 0xc1000000 - 0xc10502e0   ( 321 kB)
                          .bss : 0xc1052000 - 0xc109f770   ( 310 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]     Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000017] Switching to timer-based delay loop, resolution 162ns
    [    0.000330] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000338] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000764] Console: colour dummy device 80x30
    [    0.000781] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000787] This ensures that you still see kernel messages. Please
    [    0.000793] update your kernel commandline.
    [    0.000810] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000823] pid_max: default: 32768 minimum: 301
    [    0.000923] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000933] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001542] CPU: Testing write buffer coherency: ok
    [    0.001750] /cpus/cpu@0 missing clock-frequency property
    [    0.001766] /cpus/cpu@1 missing clock-frequency property
    [    0.001778] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001794] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080060] EFI services will not be available.
    [    0.170246] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170334] Brought up 2 CPUs
    [    0.170348] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170355] CPU: All CPU(s) started in HYP mode.
    [    0.170361] CPU: Virtualization extensions available.
    [    0.170858] devtmpfs: initialized
    [    0.198849] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.199089] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.199106] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.202491] pinctrl core: initialized pinctrl subsystem
    [    0.203301] NET: Registered protocol family 16
    [    0.204131] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.205102] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.318593] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.450374] cpuidle: using governor ladder
    [    0.490415] cpuidle: using governor menu
    [    0.498503] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.498735] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.500189] OMAP GPIO hardware version 0.1
    [    0.500914] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.501124] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.502933] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.503144] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.504963] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.505163] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.506923] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.507130] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.508904] gpio gpiochip5: (gpio): added GPIO chardev (254:5)
    [    0.509112] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio)
    [    0.510958] gpio gpiochip6: (gpio): added GPIO chardev (254:6)
    [    0.511169] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio)
    [    0.512965] gpio gpiochip7: (gpio): added GPIO chardev (254:7)
    [    0.513171] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio)
    [    0.514761] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.542461] No ATAGs?
    [    0.542487] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.542496] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.542848] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.542858] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.543391] OMAP DMA hardware revision 0.0
    [    0.591765] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.593082] edma 43300000.edma: memcpy is disabled
    [    0.597825] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.598209] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.598477] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.598830] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.599204] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.602344] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.602524] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.602679] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.602830] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.603096] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.603283] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.605229] SCSI subsystem initialized
    [    0.605381] libata version 3.00 loaded.
    [    0.606275] palmas 0-0058: Irq flag is 0x00000008
    [    0.632840] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.636649] vtt_fixed: supplied by smps3
    [    0.672303] random: fast init done
    [    0.712606] vdd_3v3: supplied by regen1
    [    0.712836] aic_dvdd_fixed: supplied by vdd_3v3
    [    0.715319] gpiochip_find_base: found new base at 504
    [    0.715336] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.715566] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.716094] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.716815] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.717596] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.717781] media: Linux media interface: v0.10
    [    0.717829] Linux video capture interface: v2.00
    [    0.717865] pps_core: LinuxPPS API ver. 1 registered
    [    0.717873] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.717896] PTP clock support registered
    [    0.717926] EDAC MC: Ver: 3.0.0
    [    0.718640] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.718938] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.719234] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.719524] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.719861] Advanced Linux Sound Architecture Driver Initialized.
    [    0.720667] clocksource: Switched to clocksource arch_sys_counter
    [    0.731147] NET: Registered protocol family 2
    [    0.731644] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.731707] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.731833] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.731879] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.731910] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.732107] NET: Registered protocol family 1
    [    0.732428] RPC: Registered named UNIX socket transport module.
    [    0.732437] RPC: Registered udp transport module.
    [    0.732445] RPC: Registered tcp transport module.
    [    0.732452] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.732462] PCI: CLS 0 bytes, default 64
    [    0.733360] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.736314] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.743805] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.744487] NFS: Registering the id_resolver key type
    [    0.744508] Key type id_resolver registered
    [    0.744516] Key type id_legacy registered
    [    0.744555] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.745715] bounce: pool size: 64 pages
    [    0.745854] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.745865] io scheduler noop registered
    [    0.745873] io scheduler deadline registered
    [    0.746003] io scheduler cfq registered (default)
    [    0.750980] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.754154] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
    [    0.754309] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.754315] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.754345] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
    [    0.754467] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.754479] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.754511] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.754537] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.755959] dra7-pcie 51000000.pcie: phy link never came up
    [    1.756131] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.756144] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.756155] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.756166] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.756198] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.756223] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
    [    1.756235] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
    [    1.756303] pci 0000:00:00.0: supports D1
    [    1.756309] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.756543] PCI: bus0: Fast back to back transfers disabled
    [    1.756660] PCI: bus1: Fast back to back transfers enabled
    [    1.756776] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.756792] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.756805] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.757034] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.757046] pcie_pme 0000:00:00.0:pcie001: service driver pcie_pme loaded
    [    1.757181] aer 0000:00:00.0:pcie002: service driver aer loaded
    [    1.820213] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.823647] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.788811] console [ttyS2] enabled
    [    2.793187] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.802854] 48068000.serial: ttyS5 at MMIO 0x48068000 (irq = 303, base_baud = 3000000) is a 8250
    [    2.812495] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 304, base_baud = 3000000) is a 8250
    [    2.822156] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 305, base_baud = 3000000) is a 8250
    [    2.831780] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 306, base_baud = 3000000) is a 8250
    [    2.841437] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 307, base_baud = 3000000) is a 8250
    [    2.852146] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.858906] [drm] Initialized
    [    2.863778] OMAP DSS rev 6.1
    [    2.867110] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.875555] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.884419] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.884426] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.884452] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
    [    2.884468] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.884474] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.884510] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
    [    2.884538] tpd12s015 encoder: GPIO lookup for consumer (null)
    [    2.884545] tpd12s015 encoder: using device tree for GPIO lookup
    [    2.884593] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
    [    2.885244] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
    [    2.896108] brd: module loaded
    [    2.914414] loop: module loaded
    [    2.918145] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
    [    2.925954] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    2.932743] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    2.941327] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [    2.951512] scsi host0: ahci
    [    2.954680] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 349
    [    2.965671] libphy: Fixed MDIO Bus: probed
    [    3.030703] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    3.036829] libphy: 48485000.mdio: probed
    [    3.044865] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    3.054584] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    3.064778] cpsw 48484000.ethernet: Detected MACID = 94:e3:6d:3f:46:56
    [    3.071436] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.079730] cpsw 48484000.ethernet: cpsw: Detected MACID = 94:e3:6d:3f:46:57
    [    3.088152] mousedev: PS/2 mouse device common for all mice
    [    3.094063] i2c /dev entries driver
    [    3.099212] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.100445] gpio-fan gpio_fan: GPIO fan initialized
    [    3.105933] tmp102 0-0048: error reading config register
    [    3.111386] tmp102: probe of 0-0048 failed with error -121
    [    3.122181] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
    [    3.122185] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.122191] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.122196] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.122200] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.122204] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
    [    3.122210] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
    [    3.122214] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
    [    3.122218] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.122222] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.122226] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.122230] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
    [    3.122354] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.128735] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.191254] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.202341] NET: Registered protocol family 10
    [    3.217531] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.223875] NET: Registered protocol family 17
    [    3.228475] Key type dns_resolver registered
    [    3.232863] omap_voltage_late_init: Voltage driver support not added
    [    3.239325] Power Management for TI OMAP4+ devices.
    [    3.244445] Registering SWP/SWPB emulation handler
    [    3.258445] dmm 4e000000.dmm: initialized all PAT entries
    [    3.265269] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.271970] [drm] No driver support for vblank timestamp query.
    [    3.279115] omapdss error: HDMI I2C Master Error
    [    3.286737] [drm] Enabling DMM ywrap scrolling
    [    3.291255] mmc0: new DDR MMC card at address 0001
    [    3.296375] mmcblk0: mmc0:0001 R1J57L 27.5 GiB
    [    3.311131] mmcblk0boot0: mmc0:0001 R1J57L partition 1 16.0 MiB
    [    3.311275] mmcblk0boot1: mmc0:0001 R1J57L partition 2 16.0 MiB
    [    3.311843]  mmcblk0: p1 p2
    [    3.322184] Console: switching to colour frame buffer device 128x48
    [    3.346982] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.391712] hctosys: unable to open rtc device (rtc0)
    [    3.397225] aic_dvdd_fixed: disabling
    [    3.400937] vmmcwl_fixed: disabling
    [    3.404589] ldousb: disabling
    [    3.407816] pbias_mmc_omap5: disabling
    [    3.411597] ALSA device list:
    [    3.414572]   No soundcards found.
    [    3.460684] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [    3.467003] ata1.00: ATA-9: 32GB SATA Flash Drive, SFDM104B, max UDMA/133
    [    3.473835] ata1.00: 62533296 sectors, multi 16: LBA48 NCQ (depth 31/32)
    [    3.480756] ata1.00: configured for UDMA/133
    [    3.485297] scsi 0:0:0:0: Direct-Access     ATA      32GB SATA Flash  104B PQ: 0 ANSI: 5
    [    3.571062] sd 0:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)
    [    3.578890] sd 0:0:0:0: [sda] Write Protect is off
    [    3.583880] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [    3.584018] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    3.594465]  sda: sda1 sda2
    [    3.598242] sd 0:0:0:0: [sda] Attached SCSI disk
    [    3.603318] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
    [    3.617166] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.624948] VFS: Mounted root (ext3 filesystem) readonly on device 8:2.
    [    3.633221] devtmpfs: mounted
    [    3.637295] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
    [    3.686308] systemd[1]: System time before build time, advancing clock.
    [    3.708868] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    3.727301] systemd[1]: Detected architecture arm.
    [    3.760964] systemd[1]: Set hostname to <am57xx-evm>.
    [    3.909416] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.917257] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.925003] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    3.932294] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [    3.939734] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
    [    3.947667] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.955133] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    4.411754] omapdss error: HDMI I2C Master Error
    [    4.555335] cmemk: loading out-of-tree module taints kernel.
    [    4.562065] CMEMK module: reference Linux version 4.9.41
    [    4.568124] allocated heap buffer 0x40500000 of size 0x100000
    [    4.573947] cmemk initialized
    [    4.589440] cryptodev: driver 1.8 loaded.
    [    5.075919] EXT4-fs (sda2): re-mounted. Opts: (null)
    [    5.642294] systemd-journald[109]: Received request to flush runtime journal from PID 1
    [    5.928071] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    5.955043] remoteproc remoteproc0: 58820000.ipu is available
    [    5.985698] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    6.032139] remoteproc remoteproc0: powering up 58820000.ipu
    [    6.032148] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4872056
    [    6.032228] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    6.039806] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.039822] remoteproc remoteproc0: registered virtio0 (type 7)
    [    6.039826] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [    6.056764] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    6.056880] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    6.056971] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    6.059123] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [    6.202370] tvp5150 2-005d: GPIO lookup for consumer pdn
    [    6.202375] tvp5150 2-005d: using device tree for GPIO lookup
    [    6.202381] of_get_named_gpiod_flags: can't parse 'pdn-gpios' property of node '/ocp/i2c@48060000/tvp5150@5d[0]'
    [    6.202386] of_get_named_gpiod_flags: can't parse 'pdn-gpio' property of node '/ocp/i2c@48060000/tvp5150@5d[0]'
    [    6.202389] tvp5150 2-005d: using lookup tables for GPIO lookup
    [    6.202394] tvp5150 2-005d: lookup for GPIO pdn failed
    [    6.202397] tvp5150 2-005d: GPIO lookup for consumer reset
    [    6.202400] tvp5150 2-005d: using device tree for GPIO lookup
    [    6.202405] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48060000/tvp5150@5d[0]'
    [    6.202408] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48060000/tvp5150@5d[0]'
    [    6.202411] tvp5150 2-005d: using lookup tables for GPIO lookup
    [    6.202414] tvp5150 2-005d: lookup for GPIO reset failed
    [    6.229202] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
    [    6.231459] tvp5150 2-005d: tvp5150 (4.0) chip found @ 0xba (OMAP I2C adapter)
    [    6.231461] tvp5150 2-005d: tvp5150am1 detected.
    [    6.261054] tvp5150 2-005c: GPIO lookup for consumer pdn
    [    6.261057] tvp5150 2-005c: using device tree for GPIO lookup
    [    6.261063] of_get_named_gpiod_flags: can't parse 'pdn-gpios' property of node '/ocp/i2c@48060000/tvp5150@5c[0]'
    [    6.261066] of_get_named_gpiod_flags: can't parse 'pdn-gpio' property of node '/ocp/i2c@48060000/tvp5150@5c[0]'
    [    6.261069] tvp5150 2-005c: using lookup tables for GPIO lookup
    [    6.261073] tvp5150 2-005c: lookup for GPIO pdn failed
    [    6.261077] tvp5150 2-005c: GPIO lookup for consumer reset
    [    6.261079] tvp5150 2-005c: using device tree for GPIO lookup
    [    6.261083] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48060000/tvp5150@5c[0]'
    [    6.261086] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48060000/tvp5150@5c[0]'
    [    6.261088] tvp5150 2-005c: using lookup tables for GPIO lookup
    [    6.261091] tvp5150 2-005c: lookup for GPIO reset failed
    [    6.261884] tvp5150 2-005c: tvp5150 (4.0) chip found @ 0xb8 (OMAP I2C adapter)
    [    6.261886] tvp5150 2-005c: tvp5150am1 detected.
    [    6.277458] rtc rtc1: 48070000.i2c:tps659: dev (253:1)
    [    6.277497] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [    6.288997] ths8200 4-0020: ths8200 found @ 0x40 (OMAP I2C adapter)
    [    6.291239] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [    6.291243] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    6.291249] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    6.291253] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    6.291256] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [    6.291260] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
    [    6.291264] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [    6.291267] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    6.291271] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    6.291325] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [    6.302471] tvp5150 4-005c: GPIO lookup for consumer pdn
    [    6.302475] tvp5150 4-005c: using device tree for GPIO lookup
    [    6.302517] of_get_named_gpiod_flags: can't parse 'pdn-gpios' property of node '/ocp/i2c@4807c000/tvp5150@5c[0]'
    [    6.302522] of_get_named_gpiod_flags: can't parse 'pdn-gpio' property of node '/ocp/i2c@4807c000/tvp5150@5c[0]'
    [    6.302526] tvp5150 4-005c: using lookup tables for GPIO lookup
    [    6.302531] tvp5150 4-005c: lookup for GPIO pdn failed
    [    6.302535] tvp5150 4-005c: GPIO lookup for consumer reset
    [    6.302537] tvp5150 4-005c: using device tree for GPIO lookup
    [    6.302541] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/tvp5150@5c[0]'
    [    6.302545] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4807c000/tvp5150@5c[0]'
    [    6.302547] tvp5150 4-005c: using lookup tables for GPIO lookup
    [    6.302550] tvp5150 4-005c: lookup for GPIO reset failed
    [    6.304121] tvp5150 4-005c: tvp5150 (4.0) chip found @ 0xb8 (OMAP I2C adapter)
    [    6.304124] tvp5150 4-005c: tvp5150am1 detected.
    [    6.323733] random: crng init done
    [    6.500132] irq 158: nobody cared (try booting with the "irqpoll" option)
    [    6.500138] CPU: 0 PID: 249 Comm: modprobe Tainted: G           O    4.9.41-ge3a80a1c5c #1
    [    6.500140] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    6.500144] Backtrace:
    [    6.500158] [<c020b29c>] (dump_backtrace) from [<c020b558>] (show_stack+0x18/0x1c)
    [    6.500163]  r7:0000009e r6:60030193 r5:00000000 r4:c10225d0
    [    6.500170] [<c020b540>] (show_stack) from [<c04cce80>] (dump_stack+0x8c/0xa0)
    [    6.500177] [<c04ccdf4>] (dump_stack) from [<c0282684>] (__report_bad_irq+0x30/0xd4)
    [    6.500181]  r7:0000009e r6:eea6cc10 r5:00000000 r4:eea6cc00
    [    6.500187] [<c0282654>] (__report_bad_irq) from [<c0282a9c>] (note_interrupt+0x294/0x2e4)
    [    6.500192]  r9:20030193 r8:00000001 r7:0000009e r6:eea6cc10 r5:00000000 r4:eea6cc00
    [    6.500199] [<c0282808>] (note_interrupt) from [<c027fd28>] (handle_irq_event_percpu+0x54/0x60)
    [    6.500203]  r10:00000000 r9:20030193 r8:00000001 r7:eea51810 r6:eea6cc10 r5:eea6cc00
    [    6.500205]  r4:00000002 r3:00000000
    [    6.500210] [<c027fcd4>] (handle_irq_event_percpu) from [<c027fd74>] (handle_irq_event+0x40/0x64)
    [    6.500212]  r5:eea6cc60 r4:eea6cc00
    [    6.500218] [<c027fd34>] (handle_irq_event) from [<c02835dc>] (handle_edge_irq+0xec/0x198)
    [    6.500221]  r7:eea51810 r6:eea6cc10 r5:eea6cc60 r4:eea6cc00
    [    6.500226] [<c02834f0>] (handle_edge_irq) from [<c027ee78>] (generic_handle_irq+0x2c/0x3c)
    [    6.500229]  r7:eea51810 r6:eea51868 r5:eea51864 r4:00000015
    [    6.500235] [<c027ee4c>] (generic_handle_irq) from [<c05110c0>] (omap_gpio_irq_handler+0x134/0x174)
    [    6.500239] [<c0510f8c>] (omap_gpio_irq_handler) from [<c027fc50>] (__handle_irq_event_percpu+0xb4/0x138)
    [    6.500243]  r10:c101a4af r9:eea66600 r8:00000088 r7:ed109c7c r6:00000000 r5:eea66600
    [    6.500245]  r4:eea6af40
    [    6.500250] [<c027fb9c>] (__handle_irq_event_percpu) from [<c027fcf8>] (handle_irq_event_percpu+0x24/0x60)
    [    6.500253]  r10:edfd91b8 r9:ed108000 r8:ee808000 r7:00000000 r6:c10227b0 r5:eea66600
    [    6.500255]  r4:eea66600
    [    6.500260] [<c027fcd4>] (handle_irq_event_percpu) from [<c027fd74>] (handle_irq_event+0x40/0x64)
    [    6.500262]  r5:eea66660 r4:eea66600
    [    6.500267] [<c027fd34>] (handle_irq_event) from [<c0283420>] (handle_fasteoi_irq+0xc0/0x190)
    [    6.500269]  r7:00000000 r6:c10227b0 r5:eea66660 r4:eea66600
    [    6.500274] [<c0283360>] (handle_fasteoi_irq) from [<c027ee78>] (generic_handle_irq+0x2c/0x3c)
    [    6.500277]  r7:00000000 r6:00000000 r5:00000088 r4:c0e5ede0
    [    6.500281] [<c027ee4c>] (generic_handle_irq) from [<c027f400>] (__handle_domain_irq+0x64/0xbc)
    [    6.500286] [<c027f39c>] (__handle_domain_irq) from [<c02014a0>] (gic_handle_irq+0x40/0x7c)
    [    6.500290]  r9:ed108000 r8:fa213000 r7:fa212000 r6:ed109d38 r5:fa21200c r4:c1003424
    [    6.500294] [<c0201460>] (gic_handle_irq) from [<c020c0f8>] (__irq_svc+0x58/0x8c)
    [    6.500296] Exception stack(0xed109d38 to 0xed109d80)
    [    6.500299] 9d20:                                                       effae7f0 c0219598
    [    6.500303] 9d40: 90f00000 90f00000 ffefe000 00000ff8 effae000 00000000 0000071f 00c00000
    [    6.500307] 9d60: edfd91b8 ed109dac 00400000 ed109d88 c02189ac c02189d4 00030113 ffffffff
    [    6.500310]  r9:ed108000 r8:0000071f r7:ed109d6c r6:ffffffff r5:00030113 r4:c02189d4
    [    6.500319] [<c0218874>] (kmap_atomic) from [<c0303cd4>] (alloc_set_pte+0x2e8/0x388)
    [    6.500323]  r9:00000000 r8:ed027480 r7:eff51090 r6:ed109e64 r5:00000000 r4:00000000
    [    6.500330] [<c03039ec>] (alloc_set_pte) from [<c02d7698>] (filemap_map_pages+0x328/0x348)
    [    6.500334]  r10:ee5c5c2c r9:ed109e64 r8:eff51090 r7:000000d8 r6:ee5a8550 r5:00000001
    [    6.500335]  r4:00000000
    [    6.500342] [<c02d7370>] (filemap_map_pages) from [<c0305a24>] (handle_mm_fault+0x700/0xd7c)
    [    6.500345]  r10:00000040 r9:000000d6 r8:000000d8 r7:b6f3d000 r6:000000d7 r5:ed027480
    [    6.500347]  r4:ed109e64
    [    6.500352] [<c0305324>] (handle_mm_fault) from [<c021574c>] (do_page_fault+0x284/0x354)
    [    6.500355]  r10:00000054 r9:edfd91bc r8:b6f3df20 r7:00000207 r6:edfd9180 r5:ed861900
    [    6.500357]  r4:ed109fb0
    [    6.500361] [<c02154c8>] (do_page_fault) from [<c02012ac>] (do_DataAbort+0x38/0xb8)
    [    6.500364]  r10:00000002 r9:b6f3f000 r8:ed109fb0 r7:b6f3df20 r6:c02154c8 r5:00000207
    [    6.500366]  r4:c100805c
    [    6.500370] [<c0201274>] (do_DataAbort) from [<c020c400>] (__dabt_usr+0x40/0x60)
    [    6.500372] Exception stack(0xed109fb0 to 0xed109ff8)
    [    6.500375] 9fa0:                                     b6f3f001 00002548 b6f3df20 000e7f20
    [    6.500379] 9fc0: b6f9a8e8 bed5b5c0 00000000 bed5b688 b6e56000 b6f3f000 00000002 bed5b7ec
    [    6.500382] 9fe0: 000000c0 bed5b660 b6f85a5f b6f7860a a0030030 ffffffff
    [    6.500385]  r8:30c5387d r7:30c5387d r6:ffffffff r5:a0030030 r4:b6f7860a
    [    6.500386] handlers:
    [    6.500401] [<c027fdec>] irq_default_primary_handler threaded [<bf0b40c4>] palmas_vbus_irq_handler [extcon_palmas]
    [    6.500403] Disabling IRQ #158
    [    6.529730] rtc-ds1307 2-006f: read: d1 49 21 2b 26 09 17
    [    6.529737] rtc-ds1307 2-006f: read secs=51, mins=49, hours=21, mday=26, mon=8, year=117, wday=2
    [    6.533480] rtc-ds1307 2-006f: read: d1 49 21 2b 26 09 17
    [    6.533487] rtc-ds1307 2-006f: read secs=51, mins=49, hours=21, mday=26, mon=8, year=117, wday=2
    [    6.533850] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [    6.534130] rtc-ds1307 2-006f: read: d1 49 21 2b 26 09 17
    [    6.534136] rtc-ds1307 2-006f: read secs=51, mins=49, hours=21, mday=26, mon=8, year=117, wday=2
    [    6.534141] rtc rtc0: alarm rollover: year
    [    6.534430] rtc-ds1307 2-006f: read: d1 49 21 2b 26 09 17
    [    6.534436] rtc-ds1307 2-006f: read secs=51, mins=49, hours=21, mday=26, mon=8, year=117, wday=2
    [    6.534652] rtc rtc0: mcp7941x: dev (253:0)
    [    6.534662] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [    6.543085] rtc-ds1307 2-006f: got IRQ 478
    [    6.543097] rtc-ds1307 2-006f: 64 bytes nvram
    [    6.618489] tvp5150 4-005d: GPIO lookup for consumer pdn
    [    6.618493] tvp5150 4-005d: using device tree for GPIO lookup
    [    6.618498] of_get_named_gpiod_flags: can't parse 'pdn-gpios' property of node '/ocp/i2c@4807c000/tvp5150@5d[0]'
    [    6.618502] of_get_named_gpiod_flags: can't parse 'pdn-gpio' property of node '/ocp/i2c@4807c000/tvp5150@5d[0]'
    [    6.618505] tvp5150 4-005d: using lookup tables for GPIO lookup
    [    6.618509] tvp5150 4-005d: lookup for GPIO pdn failed
    [    6.618512] tvp5150 4-005d: GPIO lookup for consumer reset
    [    6.618514] tvp5150 4-005d: using device tree for GPIO lookup
    [    6.618518] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/tvp5150@5d[0]'
    [    6.618521] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4807c000/tvp5150@5d[0]'
    [    6.618524] tvp5150 4-005d: using lookup tables for GPIO lookup
    [    6.618527] tvp5150 4-005d: lookup for GPIO reset failed
    [    6.619346] tvp5150 4-005d: tvp5150 (4.0) chip found @ 0xba (OMAP I2C adapter)
    [    6.619348] tvp5150 4-005d: tvp5150am1 detected.
    [    6.698611] ths73x3 4-002c: No platform data
    [    6.698626] ths73x3: probe of 4-002c failed with error -22
    [    7.141451] remoteproc remoteproc1: 55020000.ipu is available
    [    7.161430] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    7.179858] omap-des 480a5000.des: will run requests pump with realtime priority
    [    7.191134] remoteproc remoteproc1: powering up 55020000.ipu
    [    7.191142] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3743164
    [    7.191204] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    7.299219] rtc rtc2: 48838000.rtc: dev (253:2)
    [    7.299230] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [    7.309563] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.309581] remoteproc remoteproc1: registered virtio1 (type 7)
    [    7.309585] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [    7.318867] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    7.318983] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [    7.389152] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    7.396583] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    7.411785] remoteproc remoteproc2: 40800000.dsp is available
    [    7.431000] vpe 489d0000.vpe: Device registered as /dev/video0
    [    7.446627] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [    7.465157] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    7.480755] vip 48970000.vip: VPDMA firmware loaded
    [    7.480873] vip1-s0: Port A: Using subdev tvp5150 4-005c for capture
    [    7.481194] vip1-s0: device registered as video1
    [    7.481274] vip1-s1: Port A: Using subdev tvp5150 4-005d for capture
    [    7.481881] vip1-s1: device registered as video2
    [    7.550186] remoteproc remoteproc3: 41000000.dsp is available
    [    7.570307] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    7.610936] vip 48990000.vip: VPDMA firmware loaded
    [    7.622513] vip2-s0: Port A: Using subdev tvp5150 2-005d for capture
    [    7.645635] vip2-s0: device registered as video3
    [    7.666913] vip2-s1: Port A: Using subdev tvp5150 2-005c for capture
    [    7.682759] remoteproc remoteproc2: powering up 40800000.dsp
    [    7.682771] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 22220992
    [    7.689469] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [    7.689506] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    7.689647] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    7.769773] libahci: exports duplicate symbol ahci_check_ready (owned by kernel)
    [    7.778752] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    7.807587] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.857177] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.862862] libahci: exports duplicate symbol ahci_check_ready (owned by kernel)
    [    7.865066] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    7.878874] remoteproc remoteproc3: powering up 41000000.dsp
    [    7.878883] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 22220992
    [    7.885516] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [    7.885548] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    7.885653] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    7.916126] Bluetooth: Core ver 2.22
    [    7.916160] NET: Registered protocol family 31
    [    7.916163] Bluetooth: HCI device and connection manager initialized
    [    7.916173] Bluetooth: HCI socket layer initialized
    [    7.916180] Bluetooth: L2CAP socket layer initialized
    [    7.916205] Bluetooth: SCO socket layer initialized
    [    7.981275] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    7.987807] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    8.038126] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.042958] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    8.045910] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [    8.260975] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    8.270327] vip2-s1: device registered as video4
    [    8.281521] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    8.281539] remoteproc remoteproc3: registered virtio3 (type 7)
    [    8.281544] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [    8.284044] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    8.284065] remoteproc remoteproc2: registered virtio2 (type 7)
    [    8.284070] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [    8.294256] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [    8.294262] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [    8.351642] net eth1: initializing cpsw version 1.15 (0)
    [    8.351649] net eth0: initialized cpsw ale version 1.4
    [    8.351652] net eth0: ALE Table size 1024
    [    8.498159] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
    [    8.513945] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    8.547939] net eth0: initializing cpsw version 1.15 (0)
    [    8.682300] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [    8.689534] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    8.728882] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    8.730642] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
    [    8.748093] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    8.822712] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48460000.mcasp mapping ok
    [    8.840317] asoc-simple-card sound0: ASoC: no sink widget found for LINE2R
    [    8.866341] asoc-simple-card sound0: ASoC: Failed to add route Line In -> direct -> LINE2R
    [    8.882562] asoc-simple-card sound0: ASoC: no sink widget found for MIC3L
    [    8.889542] asoc-simple-card sound0: ASoC: Failed to add route Mic Jack -> direct -> MIC3L
    [    8.902189] asoc-simple-card sound0: ASoC: no sink widget found for MIC3R
    [    8.910261] asoc-simple-card sound0: ASoC: Failed to add route Mic Jack -> direct -> MIC3R
    [    9.438066] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [    9.482554] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [    9.492245] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 8
    [    9.544406] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [    9.554661] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [    9.638737] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [    9.653157] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [    9.761253] NET: Registered protocol family 43
    [    9.772153] usbcore: registered new interface driver usbfs
    [    9.772194] usbcore: registered new interface driver hub
    [    9.772275] usbcore: registered new device driver usb
    [    9.781560] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.781579] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    9.782336] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [    9.782385] xhci-hcd xhci-hcd.1.auto: irq 480, io mem 0x48890000
    [    9.783196] hub 1-0:1.0: USB hub found
    [    9.783220] hub 1-0:1.0: 1 port detected
    [    9.783492] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.783507] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    9.783576] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.784198] hub 2-0:1.0: USB hub found
    [    9.784220] hub 2-0:1.0: 1 port detected
    [    9.784559] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.784574] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
    [    9.784999] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
    [    9.785032] xhci-hcd xhci-hcd.2.auto: irq 481, io mem 0x488d0000
    [    9.789224] hub 3-0:1.0: USB hub found
    [    9.789250] hub 3-0:1.0: 1 port detected
    [    9.789527] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.789537] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
    [    9.789591] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.797027] hub 4-0:1.0: USB hub found
    [    9.797052] hub 4-0:1.0: 1 port detected
    [    9.824190] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [    9.824684] irq: no irq domain found for /ocp/pruss_soc_bus@4b226000/pruss@4b200000/intc@4b220000 !
    [    9.825057] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [    9.826313] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [    9.826709] irq: no irq domain found for /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/intc@4b2a0000 !
    [    9.924592] remoteproc remoteproc4: 4b234000.pru0 is available
    [    9.924638] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b234000 probed successfully
    [    9.924901] remoteproc remoteproc5: 4b238000.pru1 is available
    [    9.924934] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b226000/pruss@4b200000/pru@4b238000 probed successfully
    [    9.925179] remoteproc remoteproc6: 4b2b4000.pru0 is available
    [    9.925218] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b4000 probed successfully
    [    9.925475] remoteproc remoteproc7: 4b2b8000.pru1 is available
    [    9.925506] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss_soc_bus@4b2a6000/pruss@4b280000/pru@4b2b8000 probed successfully
    [   10.600939] rtc-ds1307 2-006f: write secs=55, mins=42, hours=21, mday=26, mon=8, year=117, wday=2
    [   10.600949] rtc-ds1307 2-006f: write: d5 42 21 0b 26 09 17
    [   10.601605] rtc-ds1307 2-006f: read: d5 42 21 2b 26 09 17
    [   10.601615] rtc-ds1307 2-006f: read secs=55, mins=42, hours=21, mday=26, mon=8, year=117, wday=2
    [   10.645109] NET: Registered protocol family 15
    [   10.737292] Initializing XFRM netlink socket
    [   11.367969] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   18.418082] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [   18.431090] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   18.444253] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [   18.457241] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

    Is there any way or command in software to know whethere data is coming on vin ports?

    Thanks,

    Vijay

  • Hi,

    TVP5150 decoder is connected to LSB of VIN ports, do i need to configure any thing to take LSB as input?

    Thanks
    Vijay
  • Hi manisha,

    This is the logs after running command and V4l2,VB2,ti-vip logs enable

    root@am57xx-evm:~# yavta -c60 -fYUYV -Fvout_800x600_yuyv.yuv -s800x600 /dev/video4
    Device /dev/video4 opened.
    Device `vip' on `platform:vip' is a video output (without mplanes) device.
    Video format set: YUYV (56595559) 720x288 (stride 14[ 1269.191254] vb2-core: __setup_offsets: buffer 0, plane 0 offset 0x00000000
    40) field none buffer size 414720
    Video format: YUYV (56595559)[ 1269.201436] vb2-core: __setup_offsets: buffer 1, plane 0 offset 0x00066000
    720x288 (stride 1440) field none buffer size 414720
    [ 1269.213855] vb2-core: __setup_offsets: buffer 2, plane 0 offset 0x000cc000
    [ 1269.225327] vb2-core: __setup_offsets: buffer 3, plane 0 offset 0x00132000
    [ 1269.233142] vb2-core: __setup_offsets: buffer 4, plane 0 offset 0x00198000
    [ 1269.240292] vb2-core: __setup_offsets: buffer 5, plane 0 offset 0x001fe000
    [ 1269.247846] vb2-core: __setup_offsets: buffer 6, plane 0 offset 0x00264000
    [ 1269.255114] vb2-core: __setup_offsets: buffer 7, plane 0 offset 0x002ca000
    [ 1269.262054] vb2-core: __vb2_queue_alloc: allocated 8 buffers, 1 plane(s) each
    8 buffers requested.
    [ 1269.269471] vb2-core: vb2_mmap: buffer 0, plane 0 successfully mapped
    length: 414720 offset: 0 timestamp type/source: mono/EoF
    [ 1269.277772] vb2-core: vb2_mmap: buffer 1, plane 0 successfully mapped
    Buffer 0/0 mapped at address 0xb6d3e000.
    length: 414720 offset:[ 1269.289331] vb2-core: vb2_mmap: buffer 2, plane 0 successfully mapped
    417792 timestamp type/source: mono/EoF
    Buffer 1/0 mapped at ad[ 1269.301368] vb2-core: vb2_mmap: buffer 3, plane 0 successfully mapped
    dress 0xb6cd8000.
    length: 414720 offset: 835584 timestamp type/[ 1269.313422] vb2-core: vb2_mmap: buffer 4, plane 0 successfully mapped
    source: mono/EoF
    Buffer 2/0 mapped at address 0xb6c72000.
    leng[ 1269.325420] vb2-core: vb2_mmap: buffer 5, plane 0 successfully mapped
    th: 414720 offset: 1253376 timestamp type/source: mono/EoF
    Buff[ 1269.337496] vb2-core: vb2_mmap: buffer 6, plane 0 successfully mapped
    er 3/0 mapped at address 0xb6c0c000.
    length: 414720 offset: 167[ 1269.349537] vb2-core: vb2_mmap: buffer 7, plane 0 successfully mapped
    1168 timestamp type/source: mono/EoF
    Buffer 4/0 mapped at addre[ 1269.361564] vb2-core: vb2_core_qbuf: qbuf of buffer 0 succeeded
    ss 0xb6ba6000.
    length: 414720 offset: 2088960 timestamp type/so[ 1269.373061] vb2-core: vb2_core_qbuf: qbuf of buffer 1 succeeded
    urce: mono/EoF
    Buffer 5/0 mapped at address 0xb6b40000.
    length[ 1269.384580] vb2-core: vb2_core_qbuf: qbuf of buffer 2 succeeded
    : 414720 offset: 2506752 timestamp type/source: mono/EoF
    Buffer[ 1269.396095] vb2-core: vb2_core_qbuf: qbuf of buffer 3 succeeded
    6/0 mapped at address 0xb6ada000.
    length: 414720 offset: 29245[ 1269.407618] vb2-core: vb2_core_qbuf: qbuf of buffer 4 succeeded
    44 timestamp type/source: mono/EoF
    Buffer 7/0 mapped at address[ 1269.419135] vb2-core: vb2_core_qbuf: qbuf of buffer 5 succeeded
    0xb6a74000.
    [ 1269.430671] vb2-core: vb2_core_qbuf: qbuf of buffer 6 succeeded
    [ 1269.437787] vb2-core: vb2_core_qbuf: qbuf of buffer 7 succeeded
    [ 1269.450315] vb2-core: vb2_core_streamon: successful
    [ 1269.457120] vb2-core: __vb2_wait_for_done_vb: will sleep waiting for buffers
  • Hi Vijay,

    By LSB, did you mean that the data pins of TVP5150 is connected vin1a0 t-vin1a7?

    TVP5158 driver is tested to be working with VIP driver on this kernel branch. You may want to refer to it and take a look at the git log for the p-ti-lsk-linux-4.4.y-3.x branch

    http://git.omapzoom.org/?p=kernel/omap.git;a=blob;f=drivers/media/i2c/tvp5158.c;h=ae01a763a5e192637a5f0ae6b662c5893129d915;hb=refs/heads/p-ti-lsk-linux-4.4.y-3.x

  • By LSB, did you mean that the data pins of TVP5150 is connected vin1a0 t-vin1a7?

    Yes

    Is it need to be configure?

    Thanks

    Vijay

  • Hi Vijay,

    I see that you have configured your dts settings for embedded sync, while on the schematic connections you are connecting the HS, VS signals.

    Please confirm if you are wanting to use TVP5150 device in embedded sync mode or discrete sync mode.

    Also, please make sure you are doing pin-mux settings properly in u-boot.

    If you are taking care both of these checks properly, then I will advice to check if the signals are toggling on those pins.