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.

Analog outputs on omap35x EVM

Other Parts Discussed in Thread: ADS7846, TVP5146M2

I have the OMAP35x EVM rev G board.  I am running the saMmapLoopback application and displaying the video through the composite and s-video output ports.  I am seeing the video, however, on the composite output, the video only has the luminance component and on the S-video output there is color but the video looks Ripply.  By ripply I mean it doesn't appear to be steady even when there is no motion in the video, and it appears to have a rippling affect.  I have used the DVI and LCD output, and the video looks fine, so I'm not sure what would be causing these affects on the composite and s-video outputs.  Has anyone ever ran across this or have any clues as to what might be causing the problems I'm seeing?

Thanks.

  • Are you able to try this on a different TV to see if you get the same result?

    The video levels output from the EVM are not technically compliant with the NTSC video standard (that are about 0.4x what they should be) so it may be that your TV does not have anough range on its AGC circuits to compensate.

     

    BR,

    Steve

  • Different TV's exhibit the same behavior I described below.  Right now it is outputting video simultaneously over both the composite and s-video outputs.  Is there anyway to put the video on just one of these?  I have looked at the output signal with an oscilliscope, and the signal doesn't look anything like what I expect it to.  I even compared the signal to a signal of a signal generator.  So I don't think the problem is just that it is .4x what it should be.  Any more thoughts on what could be the cause here?  and how can I put the signal on either s-video or composite, but not both.

    Thanks

    ~Rachel

  • One thing to remember is that the CVBS output is connected to the S-video luma output, so you cannot connect to both CVBS and S-video at the same time. Doing this will put too much load on the CVBS/luma output. The only way around this is to add an additional video buffer.

    The CVBS/luma output can be configured for either signal, but not both at the same time. If you configure the output for CBVS but connect S-video then you will see lots of dots and no color on the s-video TV. If you configure for s-video, but connect CVBS then you will see no color.

    Can you post an oscilloscope capture of a period of about 150us, which is just over 2 line periods so that I can see what you are seeing please?

    BR,

    Steve

  • Steve,

    I will work on getting an oscilloscope capture to post.  But can you tell me how to configure the board properly for S-video and CBVS output?  I'd like to verify that I'm configuring everything correctly.  I am currently seeing the same results whether the board is configured for S-video or for CBVS output.

     

    Thanks

    Rachel

  • Rachel,

    How are you switching between CVBS and s-video?

    Can you also please have a look at the following...

    http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_03.00.00.05#Miscellaneous_Configurations

    This should tell you all you need to do in order to enable the s-video output.

    Currently I am not sure if there is a simple way to swap between s-video and CVBS though the OS, but this can be achieved by setting one or two hardware registers.

     

    BR,

    Steve

  • Steve,

    So I was able to do a little more research on this issue, and it turns out that the version of the software I was running doesn't support composite out.  I would have known this had I been reading the documentation that went with the version of software I was running.  So now I'm running the most current version of the software that is on TI's website.  so dvsdk_3_01_00_10 and AM35x-OMAP35x-PSP-SDK-03.00.00.06.  However, now I can't get open the display driver.   I'm trying to mount an nfs fileysystem, and am booting of a remote linux host.  Here are the errors I get when I boot the system. 

     

    OMAP3_EVM # boot
    smc911x: initializing
    smc911x: detected LAN9220 controller
    smc911x: phy initialized
    smc911x: MAC 00:50:c2:7e:90:b6
    TFTP from server 172.28.208.145; our IP address is 172.28.208.109
    Filename 'uImage'.
    Load address: 0x80000000
    Loading: T #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ###############
    done
    Bytes transferred = 2403808 (24ade0 hex)
    ## Booting kernel from Legacy Image at 80000000 ...
       Image Name:   Linux-2.6.32
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2403744 Bytes =  2.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ................................................................................
    ........... done, booting the kernel.
    Linux version 2.6.32 (rsearle@jupiter) (gcc version 4.2.3 (Sourcery G++ Lite 200
    8q1-126)) #1 Tue Jul 6 11:16:17 MDT 2010
    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 4194304 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 25146
    Kernel command line: mem=99M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nf
    sroot=/tftpboot/filesys,nolock mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1
    omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:1M ip=172.28.208.109:172.28.208
    .145::255.255.252.0::eth0:on
    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: 99MB = 99MB total
    Memory: 91320KB available (4184K code, 370K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
    Reprogramming SDRC clock to 332000000 Hz
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    Target VDD1 OPP = 5, VDD2 OPP = 3
    omap3evmdc: Driver registration complete
    OMAP DMA hardware revision 4.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 2800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    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
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    omap-iommu omap-iommu.0: isp registered
    OMAP35x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 178
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bi
    t)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000010000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:90:b6
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC ae:ec:b1:13:6f:72
    usb0: HOST MAC 56:11:43:c9:03:38
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypa
    d/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input
    1
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    IVA2 clocking rate: 430 MHz
    SmartReflex driver initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    twl_rtc twl_rtc: setting system clock to 2000-01-01 02:16:43 UTC (946693003)
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
    omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
    omapdss DISPC error: SYNC_LOST, disabling LCD
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 2
    net eth0: SMSC911x/921x identified at 0xc6860000, IRQ: 336
    IP-Config: Complete:
         device=eth0, addr=172.28.208.109, mask=255.255.252.0, gw=255.255.255.255,
         host=172.28.208.109, domain=, nis-domain=(none),
         bootserver=172.28.208.145, rootserver=172.28.208.145, rootpath=
    Looking up port of RPC 100003/2 on 172.28.208.145
    Looking up port of RPC 100005/1 on 172.28.208.145
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 172K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Populating dev cache
    Remounting root file system...
    WARNING: Couldn't open directory /lib/modules/2.6.32: No such file or directory
    FATAL: Could not open /lib/modules/2.6.32/modules.dep.temp for writing: No such
    file or directory
    modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or
     directory

    modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or
     directory

    root: mount: mounting rootfs on / failed: No such file or directory
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Wed Dec  2 19:18:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or
     directory

    Starting syslogd/klogd: done
    Starting thttpd.
    CMEMK module: built on May 28 2010 at 19:47:28
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc7000000 of size 0x17000
    cmemk initialized
    DSPLINK Module (1.65.00.02) created on Date: May 28 2010 Time: 19:43:04
    SDMAK module: built on May 28 2010 at 19:47:30
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/sdma/src/module/sdmak.c
    Demo interface started at level 0.
                                      Error: Failed to create displomapdss DISPC err
    or: GFX_FIFO_UNDERFLOW, disabling GFX
    ay device instance

    I looked under /lib/modules, and have verified that 2.6.32 which it's trying to load isn't there.  The only thing under /lib/modules is 2.6.29-rc3-omap1.  I'm not sure what's causing the errors.  I didn't have this problem when using the older version of software, so did I miss something when I updated the software, or is there a kernel configuration that I'm missing?  If you have any insight on this error, I'd greatly appreciate your help.  I'm hoping that after I get the software updated and running porperly, that the problems I'm having on the analog outputs will be fixed.

    Thanks,

    Rachel

  • Rachel,

    Unfortunately I am not a Linux expert so will need to defer on this one for the moment.

    I will ask the expert to look at this for you though.

    BR,

    Steve

  • Hi Rachel,

    Did you build the new kernel from scratch or use the pre-built image?  If you built it, then all you have to do is go into the kernel directory and

    make modules ; make INSTALL_MOD_PATH=<path to target root file system> modules_install

    If you used the pre-built image, you might want to look in the newer nfs.tar.gz for that directory and copy to your current target root file system.

    Steve K.

  • Thanks for your help.  I was able to install the modules, and get past that error.  but now I am getting a different error.  Is there something else I'm missing?

    Thanks,

    Rachel

     

    TFTP from server 172.28.208.145; our IP address is 172.28.208.109
    Filename 'uImage'.
    Load address: 0x80000000
    Loading: T #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ###############
    done
    Bytes transferred = 2403808 (24ade0 hex)
    ## Booting kernel from Legacy Image at 80000000 ...
       Image Name:   Linux-2.6.32
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2403744 Bytes =  2.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ................................................................................
    ........... done, booting the kernel.
    Linux version 2.6.32 (rsearle@jupiter) (gcc version 4.2.3 (Sourcery G++ Lite 200
    8q1-126)) #1 Tue Jul 6 11:16:17 MDT 2010
    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 4194304 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 25146
    Kernel command line: mem=99M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nf
    sroot=/tftpboot/filesys,nolock mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1
    omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:1M ip=172.28.208.109:172.28.208
    .145::255.255.252.0::eth0:on
    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: 99MB = 99MB total
    Memory: 91320KB available (4184K code, 370K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
    Reprogramming SDRC clock to 332000000 Hz
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    Target VDD1 OPP = 5, VDD2 OPP = 3
    omap3evmdc: Driver registration complete
    OMAP DMA hardware revision 4.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 2800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    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
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    omap-iommu omap-iommu.0: isp registered
    OMAP35x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 178
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bi
    t)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000010000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:90:b6
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC fa:30:2b:9e:0e:4b
    usb0: HOST MAC 62:d4:0f:89:6f:03
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypa
    d/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input
    1
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    IVA2 clocking rate: 430 MHz
    SmartReflex driver initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    twl_rtc twl_rtc: setting system clock to 2000-01-01 03:53:50 UTC (946698830)
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
    omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
    omapdss DISPC error: SYNC_LOST, disabling LCD
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 2
    net eth0: SMSC911x/921x identified at 0xc6860000, IRQ: 336
    IP-Config: Complete:
         device=eth0, addr=172.28.208.109, mask=255.255.252.0, gw=255.255.255.255,
         host=172.28.208.109, domain=, nis-domain=(none),
         bootserver=172.28.208.145, rootserver=172.28.208.145, rootpath=
    Looking up port of RPC 100003/2 on 172.28.208.145
    Looking up port of RPC 100005/1 on 172.28.208.145
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 172K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udev: starting version 141
    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    udevd[527]: inotify_add_watch(3, (null), 10) failed: Bad address

    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Wed Dec  2 19:18:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    CMEMK module: built on May 28 2010 at 19:47:28
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc7000000 of size 0x17000
    cmemk initialized
    DSPLINK Module (1.65.00.02) created on Date: May 28 2010 Time: 19:43:04
    SDMAK module: built on May 28 2010 at 19:47:30
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/sdma/src/module/sdmak.c
    Demo interface started at level 0.
                                      Error: Failed to create display device instanc
    e
     omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
    omapdss DISPC error: GO bit not down for channel 0

  • The udevd messages are just a minor annoyance.  I think you might need to increase your vram. I saw this in your boot args

    omapfb.vram=0:1M

    Try increasing it to 4M and see what happens.

    Steve K.

  • So I inreased the omapfb.vram to 4M, and now I am able to get the initial options for the interface app on the LCD screen.  However, I'm still getting a GFX_FIFO_UNDERFLOW error, that causes the app to die, when I try to decode or anything.  Here's the errors.

     

    omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Wed Dec  2 19:18:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    CMEMK module: built on May 28 2010 at 19:47:28
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc8000000 of size 0x17000
    cmemk initialized
    DSPLINK Module (1.65.00.02) created on Date: May 28 2010 Time: 19:43:04
    SDMAK module: built on May 28 2010 at 19:47:30
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/sdma/src/module/sdmak.c
    Demo interface started at level 0.

     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|

    Arago Project http://arago-project.org omap3evm ttyS0

    Arago 2009.11 omap3evm ttyS0

    omap3evm login: root
    root@omap3evm:~# omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
    omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX

     

    the last two errors appear, and then the interface app dies.  Do  you know why the GFX_FIFO_UNDERFLOW error is occuring?

    ~Rachel

  • Rachel,

    This error usually occurs when the clocks are mis-configured and the display sub-system is not able to feed data from memory fast enough.

    Can you please use fbset to display what the current timing information is set to please?

    BR,

    Steve

  • Rachel,

    Could you also please let us know your uboot settings?

    BR,

    Steve

  • Steves,

    This is the output after doing fbset.

    root@omap3evm:/# fbset

    mode "720x480-30"
        # D: 13.500 MHz, H: 15.734 kHz, V: 30.085 Hz
        geometry 720 480 720 960 32
        timings 74074 16 58 6 31 64 6
        rgba 8/16,8/8,8/0,0/0
    endmode

     

    However, now I'm getting a little different error message.  I didn't change much, I just rebuilt the demo apps, and the modules, but I didn't think that would affect anything.  The errors I'm getting now are

    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Wed Dec  2 19:18:00 UTC 2009
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    CMEMK module: built on May 28 2010 at 19:47:28
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc8000000 of size 0x17000
    cmemk initialized
    DSPLINK Module (1.65.00.02) created on Date: May 28 2010 Time: 19:43:04
    SDMAK module: built on May 28 2010 at 19:47:30
      Reference Linux version 2.6.32
      File /Arago/arago-install/dvsdk_3_01_00_10/linuxutils_2_25_02_08/packages/ti/s
    do/linuxutils/sdma/src/module/sdmak.c
    Demo interface started at level 0.
                                      detected fb_set_par error, error code: -22
    ioctl FBIOPUT_VSCREENINFO: Invalid argument

     

     

    I'm not sure why this error is occurring, and I'm going to try to revert back to what I had before to see if I can get back to what was originally happening, but if you have any insight on why this might occur, I'd appreciate your help.

    These are my booting parameters.  I'm always running the boot_nfs.


    OMAP3_EVM # printenv
    baudrate=115200
    get_initrd=run nand_initrd
    nand_initrd=nand read.i 0x81600000 780000 1000000
    nand_kernel=nand read.i 0x80000000 280000 220000
    tftp_kernel=tftpboot 0x80000000 uImage
    tftp_initrd=tftpboot 0x81600000 ramdisk.gz

    boot_rd=run get_kernel
    bootrd=run getkernel
    bootdelay=6
    ethaddr=00:50:C2:7E:90:B6
    ipaddr=172.28.208.109
    netmask=255.255.252.0
    gatwayip=172.28.208.1
    bootfile=uImage
    bootcmd=run boot_nfs
    get_kernel=run tftp_kernel
    boot_nfs=run get_kernel;setenv bootargs $(bootargs_nfs); run addip;bootm 0x80000
    000
    bootargs=setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mtdblock4 rw
    rootfstype=jffs2 ip=:::255.255.254.0::eth0:on
    serverip=172.28.208.145
    addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmas
    k):$(hostname):eth0:on
    bootargs_nfs=mem=99M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=/t
    ftpboot/filesys,nolock mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vou
    t.vid1_static_vrfb_alloc=y omapdss.def_disp="tv" omapfb.mode=tv:ntsc omapfb.vram
    =0:4M

    Thanks,

    Rachel

     

  • So, the new error that I'm getting, happens when I change to output the video on the composite output.  So when I add omapdss.def_disp="tv" omapfb.mode=tv:ntsc to the boot args.  However, when I'm outputting on the LCD screen I get the Gfx_Fifo_Underflow error.  However, on both outputs, I'm able to run the saMMapLoopback application, I'm just struggling to run the interface demo app, and I don't know what's wrong.  The other problem is the video still looks bad on the composite output.  I'm going to try to hook it up to an anlyzer today or tomorrow, and give you screen shots of what the video looks like on the composite out.  But if you could get me any information on why I'm not able to run the interface app now, after having updated to the most current version of software, I'd appreciate it.

    Thanks,

    Rachel

  • Rachel,

    I am not able to help with things from a software perspective, but in the meantime could you possibly try a couple of things for me please?

    We have seen instances in the past where bad cables have caused issues. Could you try a different video cable please?

    Can you also try a different TV to see if the video quality is still bad?

    The oscilloscope trace (100us) and picture of the image will also help.

    BR,

    Steve

  • 4111.VideoWaveforms.pdf

     

    Here is a document that shows the video output on an oscilloscope.  Please let me know if you need any more explanation. 

    I have tried different TV's and cables, and the results seem to be the same.  I have one TV that seems to be ok with the video.  However the output from the oscilloscope seems to show that something is wrong with the video coming out of the analog ports on the EVM board.  I'm not concerned with the video being bad on the input side because only the analog ports exhibit the problem, and the digital outputs (i.e. LCD and DVI) seem to be fine.

    If you have any insight on what is happening when the video is being output on the analog ports, I'd appreciate your help in trying to track what's causing this issue.

    Thanks,

    Rachel

     

  • Rachel,

    This looks like an old issue that was present on some original processor modules.

    What is the processor module revision that you have?

    Basically, if the cable/TV loading capacitance is high then the outputs can oscillate, which is what we are seeing here.

    There should be a capacitor and an inductor added to later processor modules which increase the phase margin of the output buffer so it can handle higher capacitance cables and TV input stages.

    BR,

    Steve

  • So, I am able to get better video out now.  To get the good video, I had to connect the an S-video cord to the S-video output.  I'm still using the composite out put, but with the S-video out connected, I get the waveform matching the waveform I expect, all except for the amplitutde, but based on previous conversation the amplitutde is .4x what it should be which is what I should expect to see.  I have not yet been able to track down why connecting the S-video cable corrected the issue I was having, so if anyone has any suggestions, I'll be open to checking them out.  The only other problem now, is that the color is off when I display the video.  The color looks right when the S-video cable is not connected, but is quite a bit different with the cable connected.  For example, when I run the saMmapLoopback application, the video looks darker than I expect but colors such as blue and pink are especially bright.  But when I run the Interface demo application, everything is just really dark, and if I'm selecting encode/decode/thirdparty demos, I can barely tell which option I'm selecting.  I'm looking into these issues, but if anyone has anysuggestions on what is causing them, I'd greatly appreciate it. 

    The Eval board I have is built by Mistral, and it is the OMAP EVM Rev G board.

    ~Rachel

  • Rachel,

    If you connect both a CVBS cable to a TV and an s-video cable to a TV then you will be over loading the analog output since OMAP is designed to only drive one at a time.

    The resultant color distortion is likely caused by the TV trying to compensate for the now very low signal level.

    Can you check what revision the processor module is please?

    If you have a good steady hand and are able to solder fine pitch devices then can you please try removing C91 and C92 from the processor module (not the main board).

    BR,

    Steve

  • Steve,

    My processor module is Rev C. 

    I do agree that the color distortion is because I have the S-video cable hooked up, but what I don't understand is why I need it hooked up to get a good signal off the composite out.  I'm only trying to get video out of composite, so even the the S-video cable is connect, I'm not getting video out of it.  I can even disconnected the S-video cable from the TV, and just left one end on the board, and the color on the composite out is better, but I still need it connected to the board to get a clean signal.  With out the cable connected, I get the ripply affect I tried describing in previous posts, and the signal on an analyzer resembles the screenshots that were posted earlier.  I'm strating to suspect there is some kind of grounding issue on the composite output, but I am not yet sure.

    Thanks,

    Rachel

  • Rachel,

    The S-video luma and the CVBS signal are exactly the same connection to OMAP. When you connect the s-video cable you are also changing the loading of the CVBS signal too.

    This is not a grounding issue, but a loading characteristic issue for the analog output.

    When you connect the s-video cable, even when not connected to the TV, there will be additional capacitance/inductance on the CVBS signal since, as I mentioned above, they are literally the same wires.

    The analog output from OMAP is a little sensitive to loading characteristics. There are some components on the processor module which are designed to reduce this sensitivity, but it looks like in our case they are not doing there job well enough. This can be cable quality, cable length, TV input characteristics and a multitude of other factors which can change the loading characteristics of the signal.

    By adding the s-video cable the most likely contribution is that of capacitance. If possible try adding a 500pf to 1nF capacitor across the CVBS output connections to see what this does. This will be a simpler test than removing C91 & C92, but actually increases the capacitance rather than reduces it. It may work.

    BR,

    Steve