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.

tvp7002 doesn't response with EZSDK 5.04.00.11

Other Parts Discussed in Thread: TVP7002

Hi.

On mistral 8148 evaluation module a tvp7002 successfully worked with PSP-04.01.00.07.

But with EZSDK 5.04.00.11 the tvp7002 doesn't response on i2c.

tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
omap_i2c omap_i2c.3: controller timed out
tvp7002 3-005d: TVP7002 read error -110
tvp7002: probe of 3-005d failed with error -110

I have tried different arguments while modprobing vpss, but with no success.

Can anyone give some suggestions how to connect to tvp7002 with new EZSDK.


Best regards,

Alexander Vasiljev

Lomo Photonics Ltd.

  • This usually happens if you are mixing the firmware when you use V4L interface.

    If you are using V4L api to interface with tvp7002, please follow these instructions (from http://processors.wiki.ti.com/index.php/DM814x_EZ_5.04.00_Software_Developers_Guide) :

    How to change from OMX to V4L2 firmware for capture/display

    The OMX Capture/Display software is orthogonal to the V4L2 drivers. Hence a different set of firmware is provided if you wish to use V4L2 instead of OMX VFDC, VFPC and VFCC components. To support V4L2 and a different initscript is provided. Copy over the V4L2 specific initscript to the /etc/init.d directory.

    target # cd /usr/share/ti/ti-media-controller-utils 
    target # cp load-hd-v4l2-firmware.sh /etc/init.d/load-hd-firmware.sh 
    target # sync 

    Now power cycle the board and it will be setup to load the alternate firmware which supports V4L2.


    RV

  • HI, RV.

    Thanks for reply.

    I use load-hd-v4l2-firmware.sh, but it doesn't help. Without this script the tvp7002 driver isn't even loaded.

    Best regards,

    Alexander.

  • Hi,

    Can you please attache both .sh files. I will have a look at it.

    Regards,

    Hardik Shah

  • Hi,

    These .sh files are from ezsdk 5.04.00.11 filesystem.

    #!/bin/sh
    #
    # manage HDVICP2 and HDVPSS Engine firmware
    
    PATH=$PATH:/usr/share/ti/ti-media-controller-utils
    HDVICP2_ID=1
    HDVPSS_ID=2
    
    configure_lcd()
    {
        echo "Configuring fb0 to LCD"
        echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
        echo 0 > /sys/devices/platform/vpss/display1/enabled
        echo 33500,800/164/89/10,480/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
        echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
        echo 1 > /sys/devices/platform/vpss/display1/enabled
        fbset -xres 800 -yres 480 -vxres 800 -vyres 480
    }
    
    
    case "$1" in
        start)
            echo "Loading HDVICP2 Firmware"
            prcm_config_app s
            modprobe syslink
            until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMgr ]]
            do                                                
                sleep 0.5
            done
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start
            echo "Loading HDVPSS Firmware"
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss.xem3 start
            modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60 i2c_mode=1
            modprobe ti81xxfb vram=0:24M,1:16M,2:6M
            configure_lcd
            modprobe ti81xxhdmi
            modprobe tlc59108
          ;;
        stop)
            echo "Unloading HDVICP2 Firmware"
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 stop
            echo "Unloading HDVPSS Firmware"
            rmmod tlc59108
            rmmod ti81xxhdmi
            rmmod ti81xxfb
            rmmod vpss
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss.xem3 stop
            rm /tmp/firmware.$HDVPSS_ID
            rmmod syslink
          ;;
        *)
            echo "Usage: /etc/init.d/load-hd-firmware.sh {start|stop}"
            exit 1
            ;;
    esac
    
    exit 0
    

    #!/bin/sh
    #
    # manage HDVICP2 and HDVPSS Engine firmware
    
    PATH=$PATH:/usr/share/ti/ti-media-controller-utils
    HDVICP2_ID=1
    HDVPSS_ID=2
    
    configure_lcd()
    {
        echo "Configuring fb0 to LCD"
        echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
        echo 0 > /sys/devices/platform/vpss/display1/enabled
        echo 33500,800/164/89/10,480/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
        echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
        echo 1 > /sys/devices/platform/vpss/display1/enabled
        fbset -xres 800 -yres 480 -vxres 800 -vyres 480
    }
    
    
    case "$1" in
        start)
            echo "Loading HDVICP2 Firmware"
            prcm_config_app s
            modprobe syslink
            until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMgr ]]
            do                                                
                sleep 0.5
            done
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start
            echo "Loading HDVPSS (V4L2) Firmware "
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss_v4l2.xem3 start
            modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60 i2c_mode=0
            modprobe ti81xxfb vram=0:40M,1:1M,2:1M
            configure_lcd
            modprobe ti81xxvo
            modprobe tvp7002
            modprobe ti81xxvin
            fbset -depth 32 -rgba 8/16,8/8,8/0,0/0
            modprobe ti81xxhdmi
            modprobe tlc59108
          ;;
        stop)
            echo "Unloading HDVICP2 Firmware"
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 stop
            echo "Unloading HDVPSS Firmware"
            rmmod tlc59108
            rmmod ti81xxhdmi
            rmmod ti81xxfb
            rmmod ti81xxvin
            rmmod ti81xxvo
            rmmod tvp7002
            rmmod ti81xxhdmi
            rmmod vpss
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss_v4l2.xem3 stop
            rmmod syslink
          ;;
        *)
            echo "Usage: /etc/init.d/load-hd-v4l2-firmware.sh {start|stop}"
            exit 1
            ;;
    esac
    
    exit 0
    

    (they are really .sh, but this forum doesn't allow this file type).

    Best regards,

    Alexander Vasiljev.

  • The TI guys changed the interface on the firmware loader in this release but failed to update the shell script.  What happens is the M3 firmware ends up taking over the I2C bus and your Kernel can't setup the 7002.

    Add "-i2c 0" to the following lines:

    firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvicp.xem3 start -i2c 0
    echo "Loading HDVPSS (V4L2) Firmware "
    firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814x_hdvpss_v4l2.xem3 start -i2c 0

    It would be great if the documentation were up to date, consistent, or if we had an idea that this stuff is tested in any capacity before it's shipped...

  • Hi, Charles.

    Thank you very mauch.

    Now it works. But i also reset i2c_mode in modprobe of vpss.

    modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60 i2c_mode=0

    Best regards,

    Alexander Vasiljev.

  • Hi,

    I have the same problem loading tvp7002:

    FIRMWARE: 2 start Successful                                                    
    VPSS_DCTRL: venc name(hdcomp) not existing.                                     
    omap_i2c omap_i2c.3: controller timed out                                       
    I2C: Transfer failed at vps_ti814x_select_video_decoder 188 with error code: -11
    0                                                                               
    Configuring fb0 to LCD                                                          
    tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)                         
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    tvp7002 3-005d: TVP7002 read error -110                                         
    tvp7002: probe of 3-005d failed with error -110                                 
    ti81xxvin ti81xxvin: Error registering v4l2 subdevice

    but, in my load-hd-firmware.sh there is the bugfix "-i2c 0" and "i2c_mode=0".

    I attach my bootLog with bootargs and the load-hd-firmware.sh.

    U-Boot 2010.06 (Apr 30 2012 - 00:57:34)                                         
                                                                                    
    TI8148-GP rev 2.1                                                               
                                                                                    
    ARM clk: 600MHz                                                                 
    DDR clk: 400MHz                                                                 
                                                                                    
    I2C:   ready                                                                    
    DRAM:  2 GiB                                                                    
    NAND:  HW ECC BCH8 Selected                                                     
    256 MiB                                                                         
    MMC:   OMAP SD/MMC: 0                                                           
                              .:;rrr;;.                                             
                        ,5#@@@@#####@@@@@@#2,                                       
                     ,A@@@hi;;;r5;;;;r;rrSG@@@A,                                    
                   r@@#i;:;s222hG;rrsrrrrrr;ri#@@r                                  
                 :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:                                
                B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B                               
               @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@                              
              @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@                             
             @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@                            
            G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G                           
            @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@                           
           X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X                          
           @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@                          
           @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@                          
           @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@                          
           @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@                          
           M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#                          
           :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,                          
            @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@                           
             @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@                            
             ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;                            
              r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r                             
               ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,                              
                 B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H                                
                  .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.                                 
                    .A@@#5r;;;r;;;rrr;r:r#AsM@@H.                                   
                       ;&@@@@MhXS5i5SX9B@@@@G;                                      
                           :ihM#@@@@@##hs,                                          
                                                                                    
    Net:   Detected MACID:40:5f:c2:40:f6:e1                                         
    cpsw                                                                            
    Hit any key to stop autoboot:  0                                                
    link up on port 0, speed 1000, full duplex                                      
    BOOTP broadcast 1                                                               
    DHCP client bound to address 192.168.100.66                                     
    link up on port 0, speed 1000, full duplex                                      
    Using cpsw device                                                               
    TFTP from server 192.168.100.67; our IP address is 192.168.100.66               
    Filename 'uImage'.                                                              
    Load address: 0x81000000                                                        
    Loading: #################################################################      
             #################################################################      
             #################################################################      
             #################################################################      
             #################################################################      
             #################################################################      
             #################################################################      
             #################################################################      
             ############                                                           
    done                                                                            
    Bytes transferred = 2720228 (2981e4 hex)                                        
    ## Booting kernel from Legacy Image at 81000000 ...                             
       Image Name:   Linux-2.6.37                                                   
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    2720164 Bytes = 2.6 MiB                                        
       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.37 (user@user-Ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite
     2009q1-203) ) #1 Wed Oct 17 17:50:53 CEST 2012                                 
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f                 
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache               
    Machine: ti8148evm                                                              
    reserved size = 52428800 at 0x0                                                 
    FB: Reserving 52428800 bytes SDRAM for VRAM                                     
    Memory policy: ECC disabled, Data cache writeback                               
    OMAP chip is TI8148 2.1                                                         
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000                        
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 79656      
    Kernel command line: console=ttyO0,115200n8 rootwait rw mem=364M@0x80000000 vmal
    loc=500M notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=192.168.100.67:/hom
    e/user/targetfs ip=dhcp                                                        
    PID hash table entries: 2048 (order: 1, 8192 bytes)                             
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)                 
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)                  
    Memory: 314MB = 314MB total                                                     
    Memory: 312360k/312360k available, 60376k reserved, 0K highmem                  
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)                               
        vmalloc : 0xd7000000 - 0xf8000000   ( 528 MB)                               
        lowmem  : 0xc0000000 - 0xd6c00000   ( 364 MB)                               
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                               
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)                               
          .init : 0xc0008000 - 0xc003c000   ( 208 kB)                               
          .text : 0xc003c000 - 0xc0525000   (5028 kB)                               
          .data : 0xc0526000 - 0xc0571780   ( 302 kB)                               
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    NR_IRQS:407                                                                     
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts             
    Total of 128 interrupts on 1 active controller                                  
    GPMC revision 6.0                                                               
    Trying to install interrupt handler for IRQ400                                  
    Trying to install interrupt handler for IRQ401                                  
    Trying to install interrupt handler for IRQ402                                  
    Trying to install interrupt handler for IRQ403                                  
    Trying to install interrupt handler for IRQ404                                  
    Trying to install interrupt handler for IRQ405                                  
    Trying to install interrupt handler for IRQ406                                  
    Trying to install type control for IRQ407                                       
    Trying to set irq flags for IRQ407                                              
    OMAP clockevent source: GPTIMER1 at 20000000 Hz                                 
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)                         
    pid_max: default: 32768 minimum: 301                                            
    Security Framework initialized                                                  
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    devtmpfs: initialized                                                           
    omap_voltage_early_init: voltage driver support not added                       
    regulator: core version 0.5                                                     
    regulator: dummy:                                                               
    NET: Registered protocol family 16                                              
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!      
    omap_voltage_add_dev: VDD specified does not exist!                             
    OMAP GPIO hardware version 0.1                                                  
    OMAP GPIO hardware version 0.1                                                  
    OMAP GPIO hardware version 0.1                                                  
    OMAP GPIO hardware version 0.1                                                  
    omap_mux_init: Add partition: #1: core, flags: 4                                
    NOR: Can't request GPMC CS                                                      
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now   
    registered ti81xx_vpss device                                                   
    registered ti81xx_vidout device                                                 
    registered ti81xx on-chip HDMI device                                           
    registered ti81xx_fb device                                                     
    registered ti81xx_vin device                                                    
    ti81xx_pcie: Invoking PCI BIOS...                                               
    ti81xx_pcie: Setting up Host Controller...                                      
    ti81xx_pcie: Register base mapped @0xd7020000                                   
    ti81xx_pcie: Starting PCI scan...                                               
    PCI: bus0: Fast back to back transfers enabled                                  
    bio: create slab <bio-0> at 0                                                   
    vgaarb: loaded                                                                  
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    USBSS revision 4ea2080b                                                         
    registerd cppi-dma Intr @ IRQ 17                                                
    Cppi41 Init Done                                                                
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz                                    
    pcf857x 1-0021: gpios 128..143 on a pcf8575                                     
    regulator: VRTC: 1800 mV                                                        
    regulator: VIO: 1500 mV                                                         
    regulator: VDD1: 600 <--> 1500 mV at 1200 mV                                    
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV                                    
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV                                 
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV                                   
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV                                   
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV                                   
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV                                   
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV                                   
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV                                   
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV                                   
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV                                   
    tps65910 1-002d: No interrupt support, no core IRQ                              
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz                                    
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    Switching to clocksource gp timer                                               
    musb-hdrc: version 6.0, host, debug=0                                           
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41                                     
    MUSB controller-0 revision 4ea20800                                             
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver                                    
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1            
    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: MUSB HDRC host driver                                        
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd                                   
    usb usb1: SerialNumber: musb-hdrc.0                                             
    hub 1-0:1.0: USB hub found                                                      
    hub 1-0:1.0: 1 port detected                                                    
    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18   
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41                                     
    MUSB controller-1 revision 4ea20800                                             
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver                                    
    musb-hdrc musb-hdrc.1: 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.37 musb-hcd                                   
    usb usb2: SerialNumber: musb-hdrc.1                                             
    hub 2-0:1.0: USB hub found                                                      
    hub 2-0:1.0: 1 port detected                                                    
    musb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19   
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)                 
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)              
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)                      
    TCP: Hash tables configured (established 16384 bind 16384)                      
    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.                       
    NetWinder Floating Point Emulator V0.97 (double precision)                      
    PMU: registered new PMU device of type 0                                        
    omap-iommu omap-iommu.0: ducati registered                                      
    omap-iommu omap-iommu.1: sys registered                                         
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 610                                                      
    io scheduler noop registered                                                    
    io scheduler deadline registered                                                
    io scheduler cfq registered (default)                                           
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled                         
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0                
    console [ttyO0] enabled                                                         
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1                
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2                
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3                
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4                
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5                
    brd: module loaded                                                              
    loop: module loaded                                                             
    ahci ahci.0: forcing PORTS_IMPL to 0x1                                          
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode      
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst         
    scsi0 : ahci_platform                                                           
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16      
    omap2-nand driver initializing                                                  
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )                     
    Creating 6 MTD partitions on "omap2-nand.0":                                    
    0x000000000000-0x000000020000 : "U-Boot-min"                                    
    0x000000020000-0x000000260000 : "U-Boot"                                        
    0x000000260000-0x000000280000 : "U-Boot Env"                                    
    0x000000280000-0x0000006c0000 : "Kernel"                                        
    0x0000006c0000-0x00000cee0000 : "File System"                                   
    0x00000cee0000-0x000010000000 : "Reserved"                                      
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    CAN device driver interface                                                     
    CAN bus driver for Bosch D_CAN controller 1.0                                   
    d_can d_can: d_can device registered (irq=52, irq_obj=53)                       
    usbcore: registered new interface driver cdc_ether                              
    usbcore: registered new interface driver dm9601                                 
    usbcore: registered new interface driver cdc_acm                                
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter
    s                                                                               
    Initializing USB Mass Storage driver...                                         
    usbcore: registered new interface driver usb-storage                            
    USB Mass Storage support registered.                                            
    mice: PS/2 mouse device common for all mice                                     
    ata1: SATA link down (SStatus 0 SControl 300)                                   
    qt602240_ts 1-004a: Family ID: 128 Variant ID: 1 Version: 22 Build: 171         
    qt602240_ts 1-004a: Matrix X Size: 18 Matrix Y Size: 12 Object Num: 17          
    input: AT42QT602240/ATMXT224 Touchscreen as /devices/platform/omap/omap_i2c.1/i2
    c-1/1-004a/input/input0                                                         
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0                        
    i2c /dev entries driver                                                         
    Linux video capture interface: v2.00                                            
    usbcore: registered new interface driver uvcvideo                               
    USB Video Class driver (v1.0.0)                                                 
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec                            
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0x
    bf900000                                                                        
    usbcore: registered new interface driver snd-usb-audio                          
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok                           
    ALSA device list:                                                               
      #0: TI81XX EVM                                                                
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    can: controller area network core (rev 20090105 abi 8)                          
    NET: Registered protocol family 29                                              
    can: raw protocol (rev 20090105)                                                
    can: broadcast manager protocol (rev 20090105 t)                                
    Registering the dns_resolver key type                                           
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3         
    omap_voltage_late_init: Voltage driver support not added                        
    Power Management for TI81XX.                                                    
    Detected MACID=40:5f:c2:40:f6:e1                                                
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)  
                                                                                    
    CPSW phy found : id is : 0x4dd074                                               
                                                                                    
    CPSW phy found : id is : 0x4dd074                                               
    Sending DHCP requests .                                                         
    PHY: 0:01 - Link is Up - 0/Half                                                 
    PHY: 0:01 - Link is Down                                                        
    .                                                                               
    PHY: 0:00 - Link is Up - 1000/Full                                              
    ., OK                                                                           
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.100.66           
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.100.66, mask=255.255.254.0, gw=192.168.100.1,    
         host=fw.user.lan, domain=user.lan, nis-domain=(none),                    
         bootserver=0.0.0.0, rootserver=192.168.100.67, rootpath=                   
    VFS: Mounted root (nfs filesystem) on device 0:15.                              
    devtmpfs: mounted                                                               
    Freeing init memory: 208K                                                       
    INIT: version 2.86 booting                                                      
    Please wait: booting...                                                         
    Starting udev                                                                   
    udevd (69): /proc/69/oom_adj is deprecated, please use /proc/69/oom_score_adj in
    stead.                                                                          
    Root filesystem already rw, not remounting                                      
    Caching udev devnodes                                                           
    NET: Registered protocol family 10                                              
    ALSA: Restoring mixer settings...                                               
    NOT configuring network interfaces: / is an NFS mount                           
    Thu Oct 11 20:00:00 UTC 2012                                                    
    INIT: Entering runlevel: 5                                                      
    Loading HDVICP2 Firmware                                                        
    DM814X prcm_config_app version: 2.0.0.1                                         
    Doing PRCM settings...                                                          
            PRCM for IVHD0 is in Progress, Please wait.....                         
                            BW Phy Addr : 0x48180600 Data : 0x00000001              
                            AW Phy Addr : 0x48180600 Data : 0x00000002              
                            Phy Addr : 0x48180c04 Data : 0x00000037                 
                            BW Phy Addr : 0x48180620 Data : 0x00070000              
                            AW Phy Addr : 0x48180620 Data : 0x00050002              
                            BW Phy Addr : 0x48180624 Data : 0x00030000              
                            AW Phy Addr : 0x48180624 Data : 0x00010002              
                            Phy Addr : 0x48180600 Data : 0x00000102                 
                            BW Phy Addr : 0x48180c10 Data : 0x00000007              
                            AW Phy Addr : 0x48180c10 Data : 0x00000003              
                            Phy Addr : 0x48180c14 Data : 0x00000004                 
                            BW Phy Addr : 0x58088000 Data : 0x92ceb111              
                            AW Phy Addr : 0x58088000 Data : 0xeafffffe              
                            BW Phy Addr : 0x58098000 Data : 0x1e6173ff              
                            AW Phy Addr : 0x58098000 Data : 0xeafffffe              
                            BW Phy Addr : 0x48180c10 Data : 0x00000003              
                            AW Phy Addr : 0x48180c10 Data : 0x00000000              
                            Phy Addr : 0x48180c14 Data : 0x00000007                 
            PRCM for IVHD0 is Done Successfully                                     
    PRCM Initialization completed                                                   
    SysLink version : 2.20.00.14                                                    
    SysLink module created on Date:Nov  6 2012 Time:10:33:42                        
    FIRMWARE: Memory map bin file not passed                                        
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mma
    p <memory_map_file>] [-i2c <0|1>]                                               
    ===Mandatory arguments===                                                       
    <Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3                          
    <Location of Firmware> firmware binary file                                     
    <start|stop>           to start/stop the firmware                               
    ===Optional arguments===                                                        
    -mmap                  input memory map bin file name                           
    -i2c                   0: i2c init not done by M3, 1(default): i2c init done by 
    M3                                                                              
    FIRMWARE: isI2cInitRequiredOnM3: 0                                              
    FIRMWARE: Default memory configuration is used                                  
    Firmware Loader debugging not configured                                        
    Default FL_DEBUG: warning                                                       
    Allowed FL_DEBUG levels: error, warning, info, debug, log                       
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1           
    FIRMWARE: 1 start Successful                                                    
    Loading HDVPSS (V4L2) Firmware                                                  
    FIRMWARE: Memory map bin file not passed                                        
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mma
    p <memory_map_file>] [-i2c <0|1>]                                               
    ===Mandatory arguments===                                                       
    <Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3                          
    <Location of Firmware> firmware binary file                                     
    <start|stop>           to start/stop the firmware                               
    ===Optional arguments===                                                        
    -mmap                  input memory map bin file name                           
    -i2c                   0: i2c init not done by M3, 1(default): i2c init done by 
    M3                                                                              
    FIRMWARE: isI2cInitRequiredOnM3: 0                                              
    FIRMWARE: Default memory configuration is used                                  
    Firmware Loader debugging not configured                                        
    Default FL_DEBUG: warning                                                       
    Allowed FL_DEBUG levels: error, warning, info, debug, log                       
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1           
    FIRMWARE: 2 start Successful                                                    
    VPSS_DCTRL: venc name(hdcomp) not existing.                                     
    omap_i2c omap_i2c.3: controller timed out                                       
    I2C: Transfer failed at vps_ti814x_select_video_decoder 188 with error code: -11
    0                                                                               
    Configuring fb0 to LCD                                                          
    tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)                         
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    omap_i2c omap_i2c.3: controller timed out                                       
    tvp7002 3-005d: TVP7002 read error -110                                         
    tvp7002: probe of 3-005d failed with error -110                                 
    ti81xxvin ti81xxvin: Error registering v4l2 subdevice                           
    HDMI W1 rev 4.0                                                                 
    HDMI CEC Spec version 1.2                                                       
    Starting system message bus: dbus.                                              
    Starting Dropbear SSH server: dropbear.                                         
    Starting telnet daemon.                                                         
    Starting network benchmark server: netserver.                                   
    Starting syslogd/klogd: done                                                    
    Starting thttpd.                                                                
    Starting PVR                                                                    
    /dev/mem opened.                                                                
    Memory mapped at address 0x4031c000.                                            
    Read at address  0x48180F04 (0x4031cf04): 0x00000001                            
    Write at address 0x48180F04 (0x4031cf04): 0x00000000, readback 0x00000000       
    /dev/mem opened.                                                                
    Memory mapped at address 0x4032e000.                                            
    Read at address  0x48180900 (0x4032e900): 0x00000102                            
    Write at address 0x48180900 (0x4032e900): 0x00000002, readback 0x00000002       
    /dev/mem opened.                                                                
    Memory mapped at address 0x40262000.                                            
    Read at address  0x48180920 (0x40262920): 0x00040002                            
    Write at address 0x48180920 (0x40262920): 0x00000002, readback 0x00000002       
    Starting Matrix GUI application.                                                
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org dm814x-evm ttyO0                         
                                                                                    
    Arago 2011.09 dm814x-evm ttyO0                                                  
                                                                                    
    dm814x-evm login: root                                                          
    root@dm814x-evm:~# cat /etc/init.d/load-hd-firmware.sh                          
    #!/bin/sh                                                                       
    #                                                                               
    # manage HDVICP2 and HDVPSS Engine firmware                                     
                                                                                    
    PATH=$PATH:/usr/share/ti/ti-media-controller-utils                              
    HDVICP2_ID=1                                                                    
    HDVPSS_ID=2                                                                     
                                                                                    
    configure_lcd()                                                                 
    {                                                                               
        echo "Configuring fb0 to LCD"                                               
        echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes                    
        echo 0 > /sys/devices/platform/vpss/display1/enabled                        
        echo 33500,800/164/89/10,480/10/23/10,1 > /sys/devices/platform/vpss/display
    1/timings                                                                       
        echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output     
        echo 1 > /sys/devices/platform/vpss/display1/enabled                        
        fbset -xres 800 -yres 480 -vxres 800 -vyres 480                             
    }                                                                               
                                                                                    
                                                                                    
    case "$1" in                                                                    
        start)                                                                      
            echo "Loading HDVICP2 Firmware"                                         
            prcm_config_app s                                                       
            modprobe syslink                                                        
            until [[ -e /dev/syslinkipc_ProcMgr && -e /dev/syslinkipc_ClientNotifyMg
    r ]]                                                                            
            do                                                                      
                sleep 0.5                                                           
            done                                                                    
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm81
    4x_hdvicp.xem3 start -i2c 0                                                     
            echo "Loading HDVPSS (V4L2) Firmware "                                  
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814
    x_hdvpss_v4l2.xem3 start -i2c 0                                                 
            modprobe vpss sbufaddr=0xBFB00000 mode=hdmi:1080p-60,dvo2:1080p-60,hdcom
    p:1080p-60 i2c_mode=0                                                           
            modprobe ti81xxfb vram=0:40M,1:1M,2:1M                                  
            configure_lcd                                                           
            modprobe ti81xxvo                                                       
            modprobe tvp7002                                                        
            modprobe ti81xxvin                                                      
            fbset -depth 32 -rgba 8/16,8/8,8/0,0/0                                  
            modprobe ti81xxhdmi                                                     
            modprobe tlc59108                                                       
          ;;                                                                        
        stop)                                                                       
            echo "Unloading HDVICP2 Firmware"                                       
            firmware_loader $HDVICP2_ID /usr/share/ti/ti-media-controller-utils/dm81
    4x_hdvicp.xem3 stop                                                             
            echo "Unloading HDVPSS Firmware"                                        
            rmmod tlc59108                                                          
            rmmod ti81xxhdmi                                                        
            rmmod ti81xxfb                                                          
            rmmod ti81xxvin                                                         
            rmmod ti81xxvo                                                          
            rmmod tvp7002                                                           
            rmmod ti81xxhdmi                                                        
            rmmod vpss                                                              
            firmware_loader $HDVPSS_ID /usr/share/ti/ti-media-controller-utils/dm814
    x_hdvpss_v4l2.xem3 stop                                                         
            rmmod syslink                                                           
          ;;                                                                        
        *)                                                                          
            echo "Usage: /etc/init.d/load-hd-v4l2-firmware.sh {start|stop}"         
            exit 1                                                                  
            ;;                                                                      
    esac                                                                            
                                                                                    
    exit 0                                                                          
    root@dm814x-evm:~# 
    
    

    Thanks for any help.