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.

Can't run Capture and Encode Demo

Other Parts Discussed in Thread: TLC59108, TVP7002

Hi,

I have some problem running Capture Encode Demo on TI8148_EVM.

root@dm814x-evm:~# lsmod                                                        
Module                  Size  Used by                                           
bufferclass_ti          4950  0                                                 
omaplfb                10746  0                                                 
pvrsrvkm              155434  2 bufferclass_ti,omaplfb                          
tlc59108                1545  0                                                 
ti81xxhdmi             17685  0                                                 
ti81xxvin              20591  0                                                 
tvp7002                 6429  1                                                 
ti81xxvo               21210  0                                                 
ti81xxfb               21979  2                                                 
vpss                   74936  5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb  
syslink              1125041  0                                                 
ipv6                  209855  14   

I can boot without problem the board and all modules and drivers seem to be loaded, but when I try to run "1080p30 Capture and Encode" on Matrix Applications the LCD goes black and I have to kill the process.

root@dm814x-evm:~# VPSS_GRPX : please open fb1 node first.                      
                                                                                
root@dm814x-evm:~#                                                              
root@dm814x-evm:~# ps                                                           
  PID USER       VSZ STAT COMMAND                                               
    1 root      1708 S    init [5]                                              
    2 root         0 SW   [kthreadd]                                            
    3 root         0 SW   [ksoftirqd/0]                                         
    4 root         0 SW   [kworker/0:0]                                         
    5 root         0 SW   [kworker/u:0]                                         
    6 root         0 SW<  [khelper]                                             
    7 root         0 SW   [irq/72-serial i]                                     
    8 root         0 SW   [irq/73-serial i]                                     
    9 root         0 SW   [irq/74-serial i]                                     
   10 root         0 SW   [irq/44-serial i]                                     
   11 root         0 SW   [irq/45-serial i]                                     
   12 root         0 SW   [irq/46-serial i]                                     
   13 root         0 SW<  [mboxd]                                               
   14 root         0 SW   [sync_supers]                                         
   15 root         0 SW   [bdi-default]                                         
   16 root         0 SW<  [kblockd]                                             
   17 root         0 SW<  [omap2_mcspi]                                         
   18 root         0 SW   [khubd]                                               
   19 root         0 SW   [kseriod]                                             
   20 root         0 SW<  [kmmcd]                                               
   21 root         0 SW<  [musb-hdrc.0]                                         
   22 root         0 SW<  [musb-hdrc.1]                                         
   23 root         0 SW<  [rpciod]                                              
   24 root         0 SW   [kswapd0]                                             
   25 root         0 SW   [kworker/0:1]                                         
   26 root         0 SW<  [aio]                                                 
   27 root         0 SW<  [nfsiod]                                              
   28 root         0 SW<  [crypto]                                              
   35 root         0 SW   [scsi_eh_0]                                           
   36 root         0 SW   [kworker/u:1]                                         
   37 root         0 SW   [kworker/u:2]                                         
   38 root         0 SW   [mtdblock0]                                           
   39 root         0 SW   [mtdblock1]                                           
   40 root         0 SW   [mtdblock2]                                           
   41 root         0 SW   [mtdblock3]                                           
   42 root         0 SW   [mtdblock4]                                           
   43 root         0 SW   [mtdblock5]                                           
   48 root         0 SW   [irq/191-qt60224]                                     
   49 root         0 SW<  [usbhid_resumer]                                      
   69 root      2276 S <  /sbin/udevd -d                                        
 1224 root         0 SW<  [HDMI WQ]                                             
 1240 messageb  3324 S    /usr/bin/dbus-daemon --system                         
 1251 root      2240 S    /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host 
 1256 root      2936 S    /usr/sbin/telnetd                                     
 1261 root      2524 S    /usr/sbin/netserver                                   
 1266 root      3000 S    /sbin/syslogd -n -C64 -m 20                           
 1268 root      2936 S    /sbin/klogd -n                                        
 1273 root      2172 S    /usr/sbin/thttpd -d /srv/www -p 8080 -u root -c /cgi- 
 1298 root         0 SW<  [pvr_timer]                                           
 1330 root         0 SW<  [pvr_workqueue]                                       
 1344 root      114m S    /usr/bin/matrix_guiE -qws /usr/share/matrix/html/menu 
 1351 root      2516 S    login -- root                                         
 1352 root      1968 S    /sbin/getty 38400 tty1                                
 1357 root      3128 S    -sh                                                   
 1360 root      2940 S    /bin/sh /usr/bin/runCaptureEncode                     
 1367 root      242m S    ./capture_encode_a8host_debug.xv5T -o sample.h264 -m  
 1378 root      3128 R    ps                                                    
root@dm814x-evm:~# kill 1367                                                    
root@dm814x-evm:~# notify_shm_drv_sendevent failed! status = 0xfffffff2         
notify_send_event failed! status = 0xfffffff2                                   
VPSS_GRPX : please open fb1 node first.    

Then I try to stop the matrix-gui and pvr-init and run the demo from the console, but in this case the system hangs and I have to reset the board.

Here the log of the boot with the environment and the capture_encode_a8host_debug.xv5T error:

U-Boot 2010.06 (Apr 30 2012 - 01:02:37)                                         
                                                                                
TI8148-GP rev 2.1                                                               
                                                                                
ARM clk: 600MHz                                                                 
DDR clk: 400MHz                                                                 
                                                                                
DRAM:  2 GiB                                                                    
NAND:  HW ECC BCH8 Selected                                                     
256 MiB                                                                         
Using default environment                                                       
                                                                                
The 2nd stage U-Boot will now be auto-loaded                                    
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is alr
eady flashed                                                                    
Hit any key to stop autoboot:  0                                                
                                                                                
NAND read: device 0 offset 0x20000, size 0x40000                                
 262144 bytes read: OK                                                          
## Starting application at 0x81000000 ...                                       
                                                                                
                                                                                
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                                                
TI8148_EVM#printenv                                                             
verify=yes                                                                      
ramdisk_file=ramdisk.gz                                                         
loadaddr=0x81000000                                                             
script_addr=0x80900000                                                          
loadbootscript=fatload mmc 0 ${script_addr} boot.scr                            
bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${scri
pt_addr}                                                                        
ethaddr=40:5f:c2:40:f6:e1                                                       
ethact=cpsw                                                                     
logotime=15                                                                     
filesize=2507A                                                                  
fileaddr=81000000                                                               
gatewayip=192.168.100.1                                                         
netmask=255.255.254.0                                                           
ipaddr=192.168.100.111                                                          
dnsip=192.168.100.1                                                             
bootdelay=4                                                                     
baudrate=115200                                                                 
oldbootargs=console=ttyO0,115200n8 rootwait rw mem=364M@0x80000000 mem=320M@0x9F
C00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=192.168.
100.229:/home/user/targetfs ip=dhcp                                            
autoload=no                                                                     
oldserverip=192.168.100.229                                                     
serverip=192.168.100.67                                                         
oldbootfile=uImage                                                              
bootfile=uImage                                                                 
oldbootcmd=dhcp;setenv serverip 192.168.100.229;tftpboot;bootm                  
bootcmd=dhcp;setenv serverip 192.168.100.67;tftpboot;bootm                      
bottargs=                                                                       
bootargs=console=ttyO0,115200n8 rootwait rw mem=364M@0x80000000 mem=320M@0x9FC00
000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16
M,2:6M root=/dev/nfs nfsroot=192.168.100.67:/home/user/targetfs ip=dhcp        
                                                                                
Environment size: 1102/8188 bytes                                               
TI8148_EVM#boot                                                                 
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 = 2720256 (298200 hex)                                        
## Booting kernel from Legacy Image at 81000000 ...                             
   Image Name:   Linux-2.6.37                                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    2720192 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@Ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite
 2009q1-203) ) #1 Fri Oct 19 13:24:13 CEST 2012                                 
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f                 
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache               
Machine: ti8148evm                                                              
vram size = 52428800 at 0x0                                                     
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: 160648     
Kernel command line: console=ttyO0,115200n8 rootwait rw mem=364M@0x80000000 mem=
320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vra
m=0:16M,1:16M,2:6M root=/dev/nfs nfsroot=192.168.100.67:/home/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: 364MB 270MB = 634MB total                                               
Memory: 637476k/637476k available, 62940k reserved, 276480K 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: 16384 (order: 4, 65536 bytes)                
TCP established hash table entries: 65536 (order: 7, 524288 bytes)              
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)                     
TCP: Hash tables configured (established 65536 bind 65536)                      
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                                         
highmem bounce pool size: 64 pages                                              
JFFS2 version 2.2. (NAND) �ũ 2001-2006 Red Hat, Inc.                            
msgmni has been set to 705                                                      
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"                                      
usb 2-1: new low speed USB device using musb-hdrc and address 2                 
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                                     
usb 2-1: New USB device found, idVendor=04f3, idProduct=0234                    
usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0               
usb 2-1: Product: OM                                                            
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                            
input: OM as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb2/2-1/2-1:1.0/in
put/input1                                                                      
generic-usb 0003:04F3:0234.0001: input: USB HID v1.11 Mouse [OM] on usb-musb-hdr
c.1-1/input0                                                                    
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:00 - Link is Up - 1000/Full                                              
PHY: 0:01 - Link is Up - 0/Half                                                 
PHY: 0:01 - Link is Down                                                        
., 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.domain.lan, domain=domain.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 11:18: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 : 0xeafffffe              
                        AW Phy Addr : 0x58088000 Data : 0xeafffffe              
                        BW Phy Addr : 0x58098000 Data : 0xeafffffe              
                        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:Oct 19 2012 Time:17:43:14                        
FIRMWARE: I2cInit will be done by M3                                            
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: 1                                              
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                                                    
Configuring fb0 to LCD                                                          
tvp7002 3-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)                         
tvp7002 3-005d: Rev. 02 detected.                                               
ti81xxvin ti81xxvin: registered sub device tvp7002                              
ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initialized                   
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 0x40276000.                                            
Read at address  0x48180F04 (0x40276f04): 0x00000001                            
Write at address 0x48180F04 (0x40276f04): 0x00000000, readback 0x00000000       
/dev/mem opened.                                                                
Memory mapped at address 0x40045000.                                            
Read at address  0x48180900 (0x40045900): 0x00000102                            
Write at address 0x48180900 (0x40045900): 0x00000002, readback 0x00000002       
/dev/mem opened.                                                                
Memory mapped at address 0x4011a000.                                            
Read at address  0x48180920 (0x4011a920): 0x00040002                            
Write at address 0x48180920 (0x4011a920): 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:~# /etc/init.d/matrix-gui-e stop                                
Stopping Matrix GUI application.                                                
root@dm814x-evm:~# /etc/init.d/pvr-init stop                                    
Stopping PVR                                                                    
root@dm814x-evm:~# /usr/share/ti/ti-omx/capture_encode_a8host_debug.xv5T -o samp
le.h264 -m 1080p -f 60 -b 1000000 -n 1000 -d 0                                  
output file: sample.h264                                                        
bit_rate: 1000000                                                               
frame_rate: 60                                                                  
num_frames: 1000                                                                
mode: 1080p                                                                     
display_id: 0                                                                   
 Capture-Encode example                                                         
===============================                                                 
 OMX_Init completed                                                             
 UIAClient is ready to send a UIA configuration command                         
UIAClient received UIA_CONFIGURE_ACK                                            
UIAClient is done sending requests                                              
UIAClient is ready to send a UIA configuration command                          
UIAClient received UIA_CONFIGURE_ACK                                            
UIAClient is done sending requests                                              
 openeing file                                                                  
 capture compoenent is created                                                  
 control TVP compoenent is created                                              
Buffer Size computed: 3110400                                                   
set input port params (width = 1920, height = 1080)enable capture output port   
got eventEnable/Disable Event                                                   
 dei compoenent is created                                                      
set input port params (width = 1920, height = 1080)                             
set output port params (width = 1920, height = 1080)set output port params (widt
h = 1920, height = 1080)set number of channelsset input resolutionset output res
olutionenable dei input port                                                    
got eventEnable/Disable Event                                                   
enable dei output port 0                                                        
got eventEnable/Disable Event                                                   
enable dei output port 1                                                        
got eventEnable/Disable Event                                                   
 encoder compoenent is created                                                  
found handle 0x12f4f8 for component OMX.TI.VPSSM3.VFDC                          
 got display handle                                                             
found handle 0x133500 for component OMX.TI.VPSSM3.CTRL.DC                       
Buffer Size computed: 4147200                                                   
set input port params (width = 1920, height = 1080)setting input and output memo
ry type to defaultenable input port                                             
got eventEnable/Disable Event                                                   
 connect call for capture-Dei                                                   
  connect call for dei- encoder                                                 
  connect call for dei-display                                                  
 got event*** unrecoverable error: OMX_ErrorUndefined (0x80001001)              
Press a key to proceed   

How can I capture video from EVMDM8148?

What are the specifications of the sensor connected to the following inputs?

- "Parallel camera connector"

- VGA input

- DVI input

- composite input

To capture the video through a GStreamer pipeline where do I connect the sensor?

Thanks for any suggestion

  • Hello,

    What kind of camera do you want to connect?

    There are multiple ways to get video in and the best method depends on where your source is coming from in the first place.

    Best Regards,

    Margarita

  • Hi,

    I think your bootargs are wrong.

    bootargs=console=ttyO0,115200n8 rootwait rw mem=364M@0x80000000 mem=320M@0x9FC00
    000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16
    M,2:6M root=/dev/nfs nfsroot=192.168.100.67:/home/user/targetfs ip=dhcp 

    You are allocating 320+364=684M of memory for Linux which is not possible. Please read the EZSDK guide and make sure that you give correct bootargs.

  • Thanks for your reply.

    I modify the bootargs variable in the environment with 169M of memory like in the examples explain in the Software guide, but I have no luck.

    Here the new boot log:

                                                                                    
    U-Boot 2010.06 (Apr 30 2012 - 01:02:37)                                         
                                                                                    
    TI8148-GP rev 2.1                                                               
                                                                                    
    ARM clk: 600MHz                                                                 
    DDR clk: 400MHz                                                                 
                                                                                    
    DRAM:  2 GiB                                                                    
    NAND:  HW ECC BCH8 Selected                                                     
    256 MiB                                                                         
    Using default environment                                                       
                                                                                    
    The 2nd stage U-Boot will now be auto-loaded                                    
    Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is alr
    eady flashed                                                                    
    Hit any key to stop autoboot:  0                                                
                                                                                    
    NAND read: device 0 offset 0x20000, size 0x40000                                
     262144 bytes read: OK                                                          
    ## Starting application at 0x81000000 ...                                       
                                                                                    
                                                                                    
    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 = 2720288 (298220 hex)                                        
    ## Booting kernel from Legacy Image at 81000000 ...                             
       Image Name:   Linux-2.6.37                                                   
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    2720224 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@Ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite
     2009q1-203) ) #3 Wed Oct 24 09:54:15 CEST 2012                                 
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f                 
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache               
    Machine: ti8148evm                                                              
    vram size = 52428800 at 0x0                                                     
    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: 30126      
    Kernel command line: console=ttyO0,115200n8 rootwait rw mem=169M vmalloc=500M no
    tifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16M,2:6M root=/dev/nf
    s nfsroot=192.168.100.67:/home/user/targetfs ip=dhcp                           
    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: 119MB = 119MB total                                                     
    Memory: 114516k/114516k available, 58540k reserved, 0K highmem                  
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)                               
        vmalloc : 0xcb000000 - 0xf8000000   ( 720 MB)                               
        lowmem  : 0xc0000000 - 0xca900000   ( 169 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 @0xcb020000                                   
    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 cb01e000 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 cb026800 using DMA, IRQ 19   
    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.                       
    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 223                                                      
    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"                                      
    usb 2-1: new low speed USB device using musb-hdrc and address 2                 
    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                                     
    usb 2-1: New USB device found, idVendor=04f3, idProduct=0234                    
    usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0               
    usb 2-1: Product: OM                                                            
    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                            
    input: OM as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb2/2-1/2-1:1.0/in
    put/input1                                                                      
    generic-usb 0003:04F3:0234.0001: input: USB HID v1.11 Mouse [OM] on usb-musb-hdr
    c.1-1/input0                                                                    
    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.domain.lan, domain=domain.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 15:43: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 : 0xeafffffe              
                            AW Phy Addr : 0x58088000 Data : 0xeafffffe              
                            BW Phy Addr : 0x58098000 Data : 0xeafffffe              
                            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:Oct 19 2012 Time:17:43:14                        
    FIRMWARE: I2cInit will be done by M3                                            
    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: 1                                              
    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                                                    
    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                                                       
    I2C No Ack                                                                      
                                                                                    
    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 0x4033b000.                                            
    Read at address  0x48180F04 (0x4033bf04): 0x00000001                            
    Write at address 0x48180F04 (0x4033bf04): 0x00000000, readback 0x00000000       
    /dev/mem opened.                                                                
    Memory mapped at address 0x40244000.                                            
    Read at address  0x48180900 (0x40244900): 0x00000102                            
    Write at address 0x48180900 (0x40244900): 0x00000002, readback 0x00000002       
    /dev/mem opened.                                                                
    Memory mapped at address 0x4032e000.                                            
    Read at address  0x48180920 (0x4032e920): 0x00040002                            
    Write at address 0x48180920 (0x4032e920): 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:~# lsmod                                                        
    Module                  Size  Used by                                           
    bufferclass_ti          4950  0                                                 
    omaplfb                10746  0                                                 
    pvrsrvkm              155434  2 bufferclass_ti,omaplfb                          
    tlc59108                1545  0                                                 
    ti81xxhdmi             17685  0                                                 
    ti81xxvin              20591  0                                                 
    tvp7002                 6429  0                                                 
    ti81xxvo               21210  0                                                 
    ti81xxfb               21979  2                                                 
    vpss                   74936  5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb  
    syslink              1125041  0                                                 
    ipv6                  209855  14                                                
    root@dm814x-evm:~#
    

    and the error log when I try to capture from DVI input:

    root@dm814x-evm:/usr/share/ti/ti-omx# ./capture_encode_a8host_debug.xv5T -o samp
    le1.h264 -m 1080p -f 60 -b 1000000 -d 0 -n 1000                                 
    output file: sample1.h264                                                       
    bit_rate: 1000000                                                               
    frame_rate: 60                                                                  
    num_frames: 1000                                                                
    mode: 1080p                                                                     
    display_id: 0                                                                   
     Capture-Encode example                                                         
    ===============================                                                 
     OMX_Init completed                                                             
     UIAClient is ready to send a UIA configuration command                         
    UIAClient received UIA_CONFIGURE_ACK                                            
    UIAClient is done sending requests                                              
    UIAClient is ready to send a UIA configuration command                          
    UIAClient received UIA_CONFIGURE_ACK                                            
    UIAClient is done sending requests                                              
     openeing file                                                                  
     capture compoenent is created                                                  
     control TVP compoenent is created                                              
    Buffer Size computed: 3110400                                                   
    set input port params (width = 1920, height = 1080)enable capture output port   
    got eventEnable/Disable Event                                                   
     dei compoenent is created                                                      
    set input port params (width = 1920, height = 1080)                             
    set output port params (width = 1920, height = 1080)set output port params (widt
    h = 1920, height = 1080)set number of channelsset input resolutionset output res
    olutionenable dei input port                                                    
    got eventEnable/Disable Event                                                   
    enable dei output port 0                                                        
    got eventEnable/Disable Event                                                   
    enable dei output port 1                                                        
    got eventEnable/Disable Event                                                   
     encoder compoenent is created                                                  
    found handle 0x12f4f8 for component OMX.TI.VPSSM3.VFDC                          
     got display handle                                                             
    found handle 0x133500 for component OMX.TI.VPSSM3.CTRL.DC                       
    Buffer Size computed: 4147200                                                   
    set input port params (width = 1920, height = 1080)setting input and output memo
    ry type to defaultenable input port                                             
    got eventEnable/Disable Event                                                   
     connect call for capture-Dei                                                   
      connect call for dei- encoder                                                 
      connect call for dei-display                                                  
     got event*** unrecoverable error: OMX_ErrorUndefined (0x80001001)              
    Press a key to proceed
    

    The error could be also that I try to capture 1280x1024 image from a sensor, but I think there are other error in the configuration of the board environment.

    Now I can capture from a 1280x1024 sensor and I can connect it to DVI input or parallel camera connector, but the goal is to capture from a FULL HD sensor at 60fps and I'd like to know what is the best way to connect the sensor to the DM8148.

    Thanks in advance