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.

Dm368 Custom source not working with VPFE.

Other Parts Discussed in Thread: TVP7002, THS7353, TVP5146, THS7303

We currently are working on a custom board we built which uses the dm368 for encoding.  We have also built a custom input board.  We used the Leopardboard with the TVP7002 as a development board and had no issues whatsoever.  We have been using the RidgeRun Pro sdk as our actual distro.

Our plan was to use this Leopardboard + TVP7002 as a a basis for our custom part.

The actual input source on our custom board is an FPGA which sends out 4:2:2 CbCr to the VPFE.  Right now we are just using a video test pattern generated in the FPGA and sending it out.  It is a 720P60 pattern using the following numbers:

Visible area 1280 720
Front porch 110 5
Sync pulse 40 5
Back porch 220 20
Whole line/frame 1650 750

Unfortunately we have had no luck with the feed being caught on the other end.  The VPFE seems to be getting no data.

What i used as the driver was a modified version of the tvp7002.c source.  Since our FPGA is already set up to stream, I have no use for any of the I2C register writes that are done to configure the tvp7002.  Hence I modified the i2c write function to always return a 0 to prevent any error returns and breaks.  I also had to comment out the reading of the revision of the tvp7002 since our custom input obviously isnt a valid TVP revision.

I set the id= V4L2_STD_720P_60 and run the tvp7002_setstd() function.  This eventually results in everything running correctly, registering the v4l2 subdevice with v4l2_i2c_subdev_init() and tvp7002_initialize()

The device gets registered and is found in /dev/video0. 

But then when running my gstreamer pipeline of:

gst-launch -e v4l2src always-copy=false chain-ipipe=true input-src=compontent ! video/x-raw-yuv, width=1280, height=720, format=(fourcc)NV12, framerate=(fraction)60/1 ! dmaiaccel ! queue ! dmaienc_h264 encodingpreset=2 ratecontrol=4 ! mpegtsmux name=mux ! rtpmp2tpay name=pay0

it does not work.  I enabled the vpfe debug messages in the kernel command line and I get the following when running the pipeline:

_input
vpfe_dev->std_info.active_pixels: 720
vpfe_dev->std_info.active_lines: 480
tvp7002_g_fmt_cap
Returning 0: tvp7002_g_fmt_cap
PixFormat: 1498831189
setting to progressive
vpfe-capture vpfe-capture: vpfe_g_input
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_queryctrl
vpfe-capture vpfe-capture: vpfe_querystd
tvp7002 1-005c: Write: retry ... 0   //Not I still attempt to write and this is why these are displayed.  I always return 0 though so it continues to run without issues
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: I2C read fails...Lines per frame low
tvp7002 1-005c: I2C read fails...Lines per frame high
tvp7002 1-005c: querystd, erorxxx, val = 0, val1 = ffffff87
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
vpfe-capture vpfe-capture: vpfe_s_std
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
tvp7002 1-005c: Write: retry ... 0
vpfe_dev->std_info.active_pixels: 1280
vpfe_dev->std_info.active_lines: 720
PixFormat: 1498831189
vpfe-capture vpfe-capture: vpfe_g_input
vpfe-capture vpfe-capture: vpfe_enum_fmt_vid_cap
vpfe-capture vpfe-capture: vpfe_enum_fmt_vid_cap
vpfe-capture vpfe-capture: vpfe_enum_fmt_vid_cap
vpfe-capture vpfe-capture: vpfe_enum_framesizes
vpfe-capture vpfe-capture: vpfe_try_fmt_vid_cap
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 2
width = 1, height = 1, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 16, height = 1, bpp = 2, bytesperline = 32, sizeimage = 32
adjusted width = 16, height = 1, bpp = 2, bytesperline = 32, sizeimage = 32
vpfe-capture vpfe-capture: vpfe_try_fmt_vid_cap
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 2
width = 32768, height = 32768, bpp = 2
vpfe-capture vpfe-capture: adjusted width = 2176, height = 2197, bpp = 2, bytesperline = 4352, sizeimage = 9561344
adjusted width = 2176, height = 2197, bpp = 2, bytesperline = 4352, sizeimage = 9561344
vpfe-capture vpfe-capture: vpfe_enum_framesizes
vpfe-capture vpfe-capture: vpfe_try_fmt_vid_cap
vpfe-capture vpfe-capture: width = 1, height = 1, bpp = 1
width = 1, height = 1, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 32, height = 1, bpp = 1, bytesperline = 32, sizeimage = 48
adjusted width = 32, height = 1, bpp = 1, bytesperline = 32, sizeimage = 48
vpfe-capture vpfe-capture: vpfe_try_fmt_vid_cap
vpfe-capture vpfe-capture: width = 32768, height = 32768, bpp = 1
width = 32768, height = 32768, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 2176, height = 2197, bpp = 1, bytesperline = 2176, sizeimage = 7171008
adjusted width = 2176, height = 2197, bpp = 1, bytesperline = 2176, sizeimage = 7171008
vpfe-capture vpfe-capture: vpfe_g_fmt_vid_cap
vpfe-capture vpfe-capture: vpfe_s_fmt_vid_cap
vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
width = 1280, height = 720, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400
adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400
vpfe-capture vpfe-capture: vpfe_reqbufs
vpfe-capture vpfe-capture: vpfe_buffer_setup
vpfe-capture vpfe-capture: count=3, size=1382400
vpfe-capture vpfe-capture: vpfe_querybuf
vpfe-capture vpfe-capture: vpfe_mmap
vpfe-capture vpfe-capture: vpfe_querybuf
vpfe-capture vpfe-capture: vpfe_mmap
vpfe-capture vpfe-capture: vpfe_querybuf
vpfe-capture vpfe-capture: vpfe_mmap
vpfe-capture vpfe-capture: vpfe_qbuf
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vpfe-capture vpfe-capture: vpfe_qbuf
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vpfe-capture vpfe-capture: vpfe_qbuf
vpfe-capture vpfe-capture: vpfe_videobuf_prepare
vpfe-capture vpfe-capture: vpfe_streamon
tvp7002 1-005c: Write: retry ... 0
vpfe-capture vpfe-capture: vpfe_calculate_offsets
ipipe_set_resizer, resizer - A enabled
rsz_set_output_address 0
vpfe-capture vpfe-capture: vpfe_poll

And then it just sits and nothing happens. I tried doing v4l2src piped directly to a filesink and no data is outputted.

I read a lot of the vpfe registers and saw that a lot of the interrupts were not happening.  here is the printout of the ISP registers for the interrupt status.

00000  0800 4C18 007F 0000 0002 0000 0200 0030
00010  0100 0B1F 0F0D 1F0A 0015 0000 0000 0000
00020  0000 0000 0000 0000 0000 0000

Which would lead me to believe that the video signal we are generating is not matching what the driver is expecting or we are getting no signal at all.  But we have made our video signal match the tvp7002 signal seen on a scope in hopes of basically mimicking exactly what the TVP would output.  Yet it still does not work.

Is there anything we are missing that I should look into?  We have ensured that the polarity of our syncs match the polarity the vpfe is expecting and everything. I assumed that if the VPFE and the source both had the same polarities, that at least something would trigger informing us that a sync was present.  Again unless it just isn't getting a signal, in which case I may need help debugging.

Is there anything anyone can think off that we may be missing? Or are there other items I can look at to help in debugging?

Is there a way to see if the vpfe is getting any data whatsoever from our source, even if it is incorrect data? 

We have hooked up the FPGA to a scope and can confirm it is sending the data we expect so it isnt dead on that side.  We may try to hook up a scope to the processor to see if the stream is actually travelling.  The VPFE seems to just not be receiving anything but we don't know for sure if it isn't getting anything, or is getting incorrect data or is setup incorrectly.

Any help/insight whatsoever would be greatly appreciated.  We have been trying to figure it out for a few days now and havent gotten far.  If more data is needed I will be more than willing to provide it.

  • Also i just did a cat of /proc/interrupts and I see that unlike others whom have posted in the past, I am not seeing AINTC  vpfe_capture0. 

    EDIT: I think this may be usual for leopardboard setups.  I do not know yet for sure.

    here is my interrupts file


      3:          0       AINTC  dm365_h3a_af
      6:          0       AINTC  dm365_h3a_aew
      8:    5006359       AINTC  davinci_osd
     12:          1       AINTC  musb_hdrc
     16:          0       AINTC  edma
     17:          0       AINTC  edma_error
     23:          0       AINTC  sdio0
     26:      86753       AINTC  mmc0
     32:     543557       AINTC  clockevent
     33:        466       AINTC  free-run counter
     39:       2875       AINTC  i2c_davinci
     40:        100       AINTC  serial
     52:          0       AINTC  eth0
     53:   38544437       AINTC  eth0
     54:       2896       AINTC  eth0
     55:          0       AINTC  eth0

  • Also here is a log of my boot up for reference in case there are any issues. There are 2 devices that fail to register simply because they aren't there anymore (tvp5146 ths7353).  This shouldn't be an issue though because all I care about is having my tvp7002 be registered which it does.  I just left their drivers in in my build.

    U-Boot 2010.12-rc2 (Aug 22 2013 - 15:10:12)

    Cores: ARM 446 MHz
    DDR:   351 MHz
    I2C:   ready
    DRAM:  128 MiB
    NAND:  512 MiB
    MMC:   davinci: 0, davinci: 1
    *** Warning - booting from SD, using default environment

    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  0
    reading uEnv.txt

    487 bytes read
    Importing environment from mmc ...
    Running uenvcmd ...
    reading uImage

    4440128 bytes read
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   "RR Linux Kernel"
       Created:      2013-08-27  18:33:44 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4440064 Bytes = 4.2 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Linux version 2.6.32-17-ridgerun (root@chris-desktop) (gcc version 4.3.3 (Source
    ry G++ Lite 2009q1-203) ) #16 PREEMPT Tue Aug 27 14:33:09 EDT 2013
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DM368 Leopard
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 16896
    free_area_init_node: node 0, pgdat c04435a0, node_mem_map c045f000
      DMA zone: 132 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 16764 pages, LIFO batch:3
    DaVinci dm36x_rev1.2 variant 0x8
    Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16764
    Kernel command line: davinci_enc_mngr.ch0_output=COMPONENT davinci_enc_mngr.ch0_
    mode=720P-60  davinci_display.cont2_bufsize=13631488 vpfe_capture.cont_bufoffset
    =13631488 vpfe_capture.cont_bufsize=12582912 video=davincifb:osd1=0x0x8:osd0=192
    0x1080x16,4050K@0,0:vid0=off:vid1=off  console=ttyS0,115200n8  dm365_imp.oper_mo
    de=0  mem=66M root=/dev/mmcblk0p2 rootdelay=2 rootfstype=ext3  debug=5 vpfe_capt
    ure.debug=1 dm365_isif.debug=1
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 66MB = 66MB total
    Memory: 62304KB available (4012K code, 294K data, 132K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 222.00 BogoMIPS (lpj=1110016)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 8 gpio irqs
    NET: Registered protocol family 16
    davinci_serial_init:97: failed to get UART2 clock
    bio: create slab <bio-0> at 0
    DM365 IPIPE initialized in Single Shot mode
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    vpss vpss: dm365_vpss vpss probed
    vpss vpss: dm365_vpss vpss probe success
    dm365_afew_hw_init
    ch0 default output "COMPONENT", mode "720P-60"
    <vpbe_encoder_setoutput>
    Setting output to Composite
    Start of vpbe_encoder_setmode..
    </vpbe_encoder_setmode>
    </vpbe_encoder_setoutput>
    VPBE Encoder initialized
    <vpbe_encoder_enumoutput>
    </vpbe_encoder_enumoutput>
    <vpbe_encoder_enumoutput>
    </vpbe_encoder_enumoutput>
    <vpbe_encoder_setoutput>
    Setting output to Component Video
    Start of vpbe_encoder_setmode..
    </vpbe_encoder_setmode>
    </vpbe_encoder_setoutput>
    Start of vpbe_encoder_setmode..
    </vpbe_encoder_setmode>
    <vpbe_encoder_getoutput>
    </vpbe_encoder_getoutput>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    VPBE Encoder Initialized
    gen_prgb_driver_init
    gen_prgb_probe
    required pixel clk rate= 78360 KHz
    LogicPD encoder initialized
    Switching to clocksource timer0_1
    musb_hdrc: version 6.0, cppi-dma, host, debug=0
    musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
    musb_hdrc: MHDRC RTL version 1.500
    musb_hdrc: setup fifo_mode 2
    musb_hdrc: 9/9 max ep, 4032/4096 memory
    musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    msgmni has been set to 121
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
    davincifb davincifb.0: dm_osd0_fb: 1920x1080x16@0,0 with framebuffer size 4050KB

    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    davincifb davincifb.0: dm_osd1_fb: 0x0x8@0,0 with framebuffer size 1800KB
    DM365 IPIPEIF probed
    imp serializer initialized
    davinci_previewer initialized
    davinci_resizer initialized
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit
    )
    davinci_nand davinci_nand.0: controller rev. 2.3
    dm9000 Ethernet Driver, V1.31
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    i2c /dev entries driver
    Linux video capture interface: v2.00
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
    ths7303 1-002c: ths7303 write failed
    ths7303: probe of 1-002c failed with error -121
    vpfe_init
    vpfe_probe????   //these were added by me.
    vpfe_initialize????
    Retvpfe_initialize????
    vpfe_enable_clock????
    vpfe-capture: vpss clock vpss_master enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: trying to register vpfe device.
    vpfe-capture vpfe-capture: video_dev=c314c400
    vpfe-capture vpfe-capture: video device registered
    tvp5146: chip id mismatch msb:0x87 lsb:0x87
    tvp5146: tvp514x decoder not detected
    vpfe-capture vpfe-capture: v4l2 sub device tvp5146 register fails
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: Write: retry ... 0
    tvp7002 1-005c: tvp7002 1-005c decoder driver registered !!!!!
    vpfe-capture vpfe-capture: v4l2 sub device tvp7002 registered
    ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
    ths7353 1-002e: No platform data!!
    ths7353 1-002e: ths7353 write failed
    ths7353: probe of 1-002e failed with error -121
    vpfe-capture vpfe-capture: v4l2 sub device ths7353 register fails
    RETvpfe_probe????
    vpfe_register_ccdc_device: DM365 ISIF
    vpfe_register_ccdc_device????
    Retvpfe_register_ccdc_device????
    DM365 ISIF is registered with vpfe.
    af major#: 252, minor# 0
    AF Driver initialized
    aew major#: 251, minor# 0
    AEW Driver initialized
    <davinci_display_init>
    Trying to register davinci display video device.
    layer=c314c800,layer->video_dev=c314c964
    Trying to register davinci display video device.
    layer=c314cc00,layer->video_dev=c314cd64
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    </davinci_init>
    watchdog watchdog: heartbeat 60 sec
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    No device for DAI tlv320aic3x
    No device for DAI davinci-i2s
    asoc: tlv320aic3x <-> davinci-i2s mapping ok
    ALSA device list:
      #0: DaVinci DM365 EVM (tlv320aic3x)
    TCP cubic registered
    NET: Registered protocol family 17
    Clocks: disable unused mmcsd1
    Clocks: disable unused spi0
    Clocks: disable unused spi1
    Clocks: disable unused spi2
    Clocks: disable unused spi3
    Clocks: disable unused spi4
    Clocks: disable unused pwm0
    Clocks: disable unused pwm1
    Clocks: disable unused pwm2
    Clocks: disable unused pwm3
    Clocks: disable unused timer1
    Clocks: disable unused timer3
    Clocks: disable unused emac
    Clocks: disable unused voice_codec
    Clocks: disable unused rto
    Clocks: disable unused mjcp
    davinci_emac_probe: using random MAC addr: 52:99:56:8c:35:14
    emac-mii: probed
    Waiting 2sec before mounting root device...
    mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new high speed SDHC card at address 1234
    mmcblk0: mmc0:1234 SA16G 14.6 GiB
     mmcblk0: p1 p2
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS on mmcblk0p2, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with writeback data mode.
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 132K
    init started: BusyBox v1.18.2 (2013-08-22 14:51:58 EDT)
    starting pid 1023, tty '': '/etc/rcS'
    Starting System
    done.
    Welcome to
    __________ .__     .___               __________
    \______   \|__|  __| _/  ____    ____ \______   \ __ __   ____
     |       _/|  | / __ |  / ___\ _/ __ \ |       _/|  |  \ /    \
     |    |   \|  |/ /_/ | / /_/  >\  ___/ |    |   \|  |  /|   |  \
     |____|_  /|__|\____ | \___  /  \___  >|____|_  /|____/ |___|  /
            \/          \//_____/       \/        \/             \/

        Embedded Linux Solutions

    For further information see:
    http://www.ridgerun.com
    Build host: chris-desktop
    Built by: root
    Build date: Tue, 27 Aug 2013 14:33:43 -0400
    Build tag: leopard
    Configuring network interfaces
    udhcpc (v1.18.2) started
    Sending discover...
    Sending select for 10.1.2.1...
    Lease of 10.1.2.1 obtained, lease time 1209600
    deleting routers
    adding dns 10.1.1.8
    adding dns 10.1.1.17
    Loading coprocessors modules...
      Loading cmem from 0x85b00000 to 0x87a00000
    CMEMK module: built on Aug 22 2013 at 15:06:56
      Reference Linux version 2.6.32
      File /opt/RidgeRunPro2/sdk/proprietary/dvsdk-4_02_00_06/dvsdk/linuxutils_2_26_
    01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xca000000 of size 0x1f00000
    heap fallback enabled - will try heap if pool buffer is not available
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84200000)
    cmemk initialized
    EDMAK module: built on Aug 22 2013 at 15:07:00
      Reference Linux version 2.6.32
      File /opt/RidgeRunPro2/sdk/proprietary/dvsdk-4_02_00_06/dvsdk/linuxutils_2_26_
    01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on Aug 22 2013 at 15:06:59
      Reference Linux version 2.6.32
      File /opt/RidgeRunPro2/sdk/proprietary/dvsdk-4_02_00_06/dvsdk/linuxutils_2_26_
    01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    Starting Dropbear SSH server: dropbear.
    Starting RTSP server

    Please press Enter to activate this console.

  • Hello Chris.
    I am sorry for my English. I am not native English speaker.
    We have a board with the similar design and the same problem - no data from VPFE.

    Have you solve the issue with your custom board? What was the cause of the problem?