Hi
I think I finally initialized V4L2 Capture driver on my DM816-EVM.
Next thing I want to do is to capture the video from DVI output of the video card(Geforce 7600 GT) of my second PC, and encode it with h264 codec using Gstreamer. The output from the second PC is connected to VIP(Video input VGA port on daughter card). I wanted to see the preview video on my screen first. But when I tried different Gstreamer pipelines, I got some error messages as shown below. Could you explain what would be the reason for this? I am using SD card boot (built from SDK 5.04). I have to finish this by this week. Any your replies would be much appreciated.
U-Boot 2010.06 (Apr 29 2012 - 20:35:23)DRAM: 2 GiBMMC: OMAP SD/MMC: 0Using default environmentHit any key to stop autoboot: 0 raise: Signal # 8 caughtreading u-boot.bin210312 bytes read## Starting application at 0x80800000 ...U-Boot 2010.06 (Apr 29 2012 - 20:28:20)TI8168-GP rev 1.1ARM clk: 987MHzDDR clk: 796MHzI2C: readyDRAM: 2 GiBNAND: HW ECC BCH8 SelectedNo NAND device found!!!0 MiBMMC: OMAP SD/MMC: 0*** Warning - bad CRC or NAND, using default environment:,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisiir:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisir;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSsr;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;:::::,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..::.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,:.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,: ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,Net: <ethaddr> not set. Reading from E-fuseDetected MACID:90:d7:eb:20:2f:f2Ethernet PHY: GENERIC @ 0x01DaVinci EMACHit any key to stop autoboot: 0 raise: Signal # 8 caughtreading boot.scr336 bytes readRunning bootscript from MMC/SD to set the ENV...## Executing script at 80900000reading ti_logo.bmp151674 bytes readreading uImage2563448 bytes read## Booting kernel from Legacy Image at 80009000 ... Image Name: Arago/2.6.37-psp04.04.00.01/dm81 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2563384 Bytes = 2.4 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OKOKStarting kernel ...Uncompressing Linux... done, booting the kernel.Linux version 2.6.37 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Sun Apr 29 20:16:23 IST 2012CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7fCPU: VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine: ti8168evmreserved size = 52428800 at 0x0FB: Reserving 52428800 bytes SDRAM for VRAMMemory policy: ECC disabled, Data cache writebackOMAP chip is TI8168 1.1Built 1 zonelists in Zone order, mobility grouping on. Total pages: 79656Kernel command line: console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 324M@0x9F900000 notifyk.vpssm3_sva=dPID hash table entries: 2048 (order: 1, 8192 bytes)Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)Memory: 314MB = 314MB totalMemory: 312700k/312700k available, 60036k reserved, 0K highmemVirtual 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 - 0xc003b000 ( 204 kB) .text : 0xc003b000 - 0xc04d8000 (4724 kB) .data : 0xc04d8000 - 0xc0520f00 ( 292 kB)SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1NR_IRQS:407IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interruptsTotal of 128 interrupts on 1 active controllerGPMC revision 6.0Trying to install interrupt handler for IRQ400Trying to install interrupt handler for IRQ401Trying to install interrupt handler for IRQ402Trying to install interrupt handler for IRQ403Trying to install interrupt handler for IRQ404Trying to install interrupt handler for IRQ405Trying to install interrupt handler for IRQ406Trying to install type control for IRQ407Trying to set irq flags for IRQ407OMAP clockevent source: GPTIMER1 at 27000000 HzConsole: colour dummy device 80x30Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)pid_max: default: 32768 minimum: 301Security Framework initializedMount-cache hash table entries: 512CPU: Testing write buffer coherency: okdevtmpfs: initializedomap_voltage_early_init: voltage driver support not addedregulator: core version 0.5regulator: dummy: NET: Registered protocol family 16omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!omap_voltage_add_dev: VDD specified does not exist!OMAP GPIO hardware version 0.1OMAP GPIO hardware version 0.1omap_mux_init: Add partition: #1: core, flags: 0_omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl_omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sdaNOR: Can't request GPMC CSregistered ti816x_gpio_vr deviceregistered ti816x_sr devicepm_dbg_init: only OMAP3 supportedregistered ti81xx_vpss deviceregistered ti81xx_vidout deviceregistered ti81xx on-chip HDMI deviceregistered ti81xx_fb deviceregistered ti81xx_vin deviceti81xx_pcie: Invoking PCI BIOS...ti81xx_pcie: Setting up Host Controller...ti81xx_pcie: Register base mapped @0xd7020000ti81xx_pcie: Starting PCI scan...PCI: bus0: Fast back to back transfers enabledbio: create slab <bio-0> at 0regulator: VFB: 800 <--> 1025 mV at 1010 mV vgaarb: loadedSCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbUSBSS revision 4ea20808registerd cppi-dma Intr @ IRQ 17Cppi41 Init Doneomap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHzomap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHzAdvanced Linux Sound Architecture Driver Version 1.0.23.Switching to clocksource gp timermusb-hdrc: version 6.0, host, debug=0musb-hdrc musb-hdrc.0: dma type: dma-cppi41MUSB controller-0 revision 4ea20800musb-hdrc: kernel must blacklist external hubsmusb-hdrc musb-hdrc.0: MUSB HDRC host drivermusb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: MUSB HDRC host driverusb usb1: Manufacturer: Linux 2.6.37 musb-hcdusb usb1: SerialNumber: musb-hdrc.0hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedmusb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18musb-hdrc musb-hdrc.1: dma type: dma-cppi41MUSB controller-1 revision 4ea20800musb-hdrc: kernel must blacklist external hubsmusb-hdrc musb-hdrc.1: MUSB HDRC host drivermusb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2usb usb2: New USB device found, idVendor=1d6b, idProduct=0002usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: MUSB HDRC host driverusb usb2: Manufacturer: Linux 2.6.37 musb-hcdusb usb2: SerialNumber: musb-hdrc.1hub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedmusb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19NET: Registered protocol family 2IP route cache hash table entries: 4096 (order: 2, 16384 bytes)TCP established hash table entries: 16384 (order: 5, 131072 bytes)TCP bind hash table entries: 16384 (order: 4, 65536 bytes)TCP: Hash tables configured (established 16384 bind 16384)TCP reno registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1RPC: 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 0omap-iommu omap-iommu.0: ducati registeredomap-iommu omap-iommu.1: sys registeredJFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.msgmni has been set to 610io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)Serial: 8250/16550 driver, 4 ports, IRQ sharing enabledomap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2console [ttyO2] enabledbrd: module loadedloop: module loadedahci ahci.0: forcing PORTS_IMPL to 0x3ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform modeahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc scsi0 : ahci_platformscsi1 : ahci_platformata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16m25p80 spi1.0: found m25p05-nonjedec, expected m25p80m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)Creating 4 MTD partitions on "spi_flash":0x000000000000-0x000000040000 : "U-Boot"mtd: partition "U-Boot" extends beyond the end of device "spi_flash" -- size truncated to 0x100000x000000010000-0x000000012000 : "U-Boot Env"mtd: partition "U-Boot Env" is out of reach -- disabled0x000000000000-0x000000280000 : "Kernel"mtd: partition "Kernel" extends beyond the end of device "spi_flash" -- size truncated to 0x100000x000000010000-0x000000010000 : "File System"mtd: partition "File System" is out of reach -- disabledomap2-nand driver initializingNo NAND device found.No NAND device found.davinci_mdio davinci_mdio.0: davinci mdio revision 1.6davinci_mdio davinci_mdio.0: detected phy mask fffffff9davinci_mdio.0: probeddavinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknowndavinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknownusbcore: registered new interface driver cdc_etherusbcore: registered new interface driver dm9601Initializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.mice: PS/2 mouse device common for all miceomap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0i2c /dev entries driverLinux video capture interface: v2.00usbcore: registered new interface driver uvcvideoUSB Video Class driver (v1.0.0)OMAP Watchdog Timer Rev 0x00: initial timeout 60 secusbcore: registered new interface driver usbhidusbhid: USB HID core drivernotify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000usbcore: registered new interface driver snd-usb-audioasoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping okALSA device list: #0: TI81XX EVMTCP cubic registeredNET: Registered protocol family 17VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3omap_voltage_late_init: Voltage driver support not addedPower Management for TI81XX.smartreflex smartreflex: Driver initializedomap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)usb 1-1: new low speed USB device using musb-hdrc and address 2mmc0: new high speed SDHC card at address b368mmcblk0: mmc0:b368 00000 7.51 GiB mmcblk0: p1 p2ata1: SATA link down (SStatus 0 SControl 300)ata2: SATA link down (SStatus 0 SControl 300)EXT3-fs: barriers not enabledusb 1-1: New USB device found, idVendor=093a, idProduct=2510usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0usb 1-1: Product: USB OPTICAL MOUSEusb 1-1: Manufacturer: PIXARTinput: PIXART USB OPTICAL MOUSE as /devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/1-1:1.0/input/input0generic-usb 0003:093A:2510.0001: input: USB HID v1.11 Mouse [PIXART USB OPTICAL MOUSE] on usb-musb-hdrc.0-1/input0kjournald starting. Commit interval 5 secondsEXT3-fs (mmcblk0p2): using internal journalEXT3-fs (mmcblk0p2): recovery completeEXT3-fs (mmcblk0p2): mounted filesystem with writeback data modeVFS: Mounted root (ext3 filesystem) on device 179:2.devtmpfs: mountedFreeing init memory: 204KINIT: version 2.86 bootingPlease wait: booting...Error opening /dev/fb0: No such file or directoryStarting udevudevd (74): /proc/74/oom_adj is deprecated, please use /proc/74/oom_score_adj instead.Remounting root file system...Caching udev devnodesNET: Registered protocol family 10ALSA: Restoring mixer settings...No state is present for card EVMFound hardware: "" "" "" "" ""Hardware is initialized using a generic methodNo state is present for card EVMConfiguring network interfaces... davinci_mdio davinci_mdio.0: resetting idled controllernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)ADDRCONF(NETDEV_UP): eth0: link is not readyudhcpc (v1.13.2) startedSending discover...PHY: 0:01 - Link is Up - 1000/FullADDRCONF(NETDEV_CHANGE): eth0: link becomes readySending discover...Sending select for 192.168.42.23...Lease of 192.168.42.23 obtained, lease time 3600adding dns 192.168.1.52adding dns 192.168.1.50done.Setting up IP spoofing protection: rp_filter.Sun Apr 29 22:50:00 UTC 2012INIT: Entering runlevel: 5Loading HDVICP2 FirmwareDM816X prcm_config_app version: 2.0.0.1Doing PRCM settings... PRCM for IVHD0 is in Progress, Please wait..... BW Phy Addr : 0x48180600 Data : 0x00000002 AW Phy Addr : 0x48180600 Data : 0x00000002 Phy Addr : 0x48180c04 Data : 0x00000037 BW Phy Addr : 0x48180620 Data : 0x00070000 AW Phy Addr : 0x48180620 Data : 0x00070002 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 for IVHD1 is in Progress, Please wait..... BW Phy Addr : 0x48180700 Data : 0x00000002 AW Phy Addr : 0x48180700 Data : 0x00000002 Phy Addr : 0x48180d04 Data : 0x00000037 BW Phy Addr : 0x48180720 Data : 0x00070000 AW Phy Addr : 0x48180720 Data : 0x00050002 BW Phy Addr : 0x48180724 Data : 0x00030000 AW Phy Addr : 0x48180724 Data : 0x00010002 Phy Addr : 0x48180700 Data : 0x00000102 BW Phy Addr : 0x48180d10 Data : 0x00000007 AW Phy Addr : 0x48180d10 Data : 0x00000003 Phy Addr : 0x48180d14 Data : 0x00000004 BW Phy Addr : 0x5a088000 Data : 0xeafffffe AW Phy Addr : 0x5a088000 Data : 0xeafffffe BW Phy Addr : 0x5a098000 Data : 0xeafffffe AW Phy Addr : 0x5a098000 Data : 0xeafffffe BW Phy Addr : 0x48180d10 Data : 0x00000003 AW Phy Addr : 0x48180d10 Data : 0x00000000 Phy Addr : 0x48180d14 Data : 0x00000007 PRCM for IVHD1 is Done Successfully PRCM for IVHD2 is in Progress, Please wait..... BW Phy Addr : 0x48180800 Data : 0x00000002 AW Phy Addr : 0x48180800 Data : 0x00000002 Phy Addr : 0x48180e04 Data : 0x00000037 BW Phy Addr : 0x48180820 Data : 0x00070000 AW Phy Addr : 0x48180820 Data : 0x00050002 BW Phy Addr : 0x48180824 Data : 0x00030000 AW Phy Addr : 0x48180824 Data : 0x00010002 Phy Addr : 0x48180800 Data : 0x00000102 BW Phy Addr : 0x48180e10 Data : 0x00000007 AW Phy Addr : 0x48180e10 Data : 0x00000003 Phy Addr : 0x48180e14 Data : 0x00000004 BW Phy Addr : 0x53088000 Data : 0xeafffffe AW Phy Addr : 0x53088000 Data : 0xeafffffe BW Phy Addr : 0x53098000 Data : 0xeafffffe AW Phy Addr : 0x53098000 Data : 0xeafffffe BW Phy Addr : 0x48180e10 Data : 0x00000003 AW Phy Addr : 0x48180e10 Data : 0x00000000 Phy Addr : 0x48180e14 Data : 0x00000007 PRCM for IVHD2 is Done Successfully PRCM Initialization completed SysLink version : 2.10.03.20SysLink module created on Date:Apr 29 2012 Time:20:45:11FIRMWARE: I2cInit will be done by M3FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <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: 1FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 1 start SuccessfulLoading HDVPSS (V4L2) Firmware FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <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: 0FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 2 start Successfultvp7002 2-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)tvp7002 2-005d: Rev. 02 detected.ti81xxvin ti81xxvin: registered sub device tvp7002ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initializedHDMI W1 rev 2.0Starting system message bus: dbus.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.Starting PVRStarting Matrix GUI application. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _||__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org dm816x-evm ttyO2Arago 2011.09 dm816x-evm ttyO2dm816x-evm login: rootroot@dm816x-evm:~# lsroot@dm816x-evm:~# lsmodModule Size Used bybufferclass_ti 4950 0 omaplfb 10794 0 pvrsrvkm 155594 2 bufferclass_ti,omaplfbti81xxhdmi 16163 0 ti81xxvin 20388 0 tvp7002 6405 1 ti81xxvo 21210 0 ti81xxfb 21979 3 vpss 75009 5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfbsyslink 1119122 0 ipv6 209855 12 root@dm816x-evm:~# gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=11 ! gstperf ! v4l2sink min-queued-bufs=2 Setting pipeline to PAUSED ...** (gst-launch-0.10:1377): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed** (gst-launch-0.10:1377): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed** (gst-launch-0.10:1377): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed Mode set is 0ERROR: Pipeline doesn't want to pause.ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate formatAdditional debug info:gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:Check your filtered caps, if anySetting pipeline to NULL ...!!!!!!!!!unreference all the remaining buffers!!!!!!!!!Freeing pipeline ...root@dm816x-evm:~# gst-launch v4l2src ! ffmpegcolorspace ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,framerate=(fraction)30/1' ! omxbufferalloc numBuffers=11 ! gstperf ! v4l2sink min-queued-bufs=2Setting pipeline to PAUSED ...** (gst-launch-0.10:1383): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed** (gst-launch-0.10:1383): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed** (gst-launch-0.10:1383): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed Mode set is 0ERROR: Pipeline doesn't want to pause.ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate formatAdditional debug info:gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:Check your filtered caps, if anySetting pipeline to NULL ...!!!!!!!!!unreference all the remaining buffers!!!!!!!!!Freeing pipeline ...root@dm816x-evm:~#
The first Gstreamer pipeline is from DM81xx Gstreamer Pipelines ( http://processors.wiki.ti.com/index.php/DM81xx_Gstreamer_Pipelines ), and the second pipelines is that I added ffmpegcolorspace to convert from RGB to YUV. What would be the causes of these error messages?
I am also wondering if this error is due to any incorrect usage of the pipeline codes or if it has to do with something other than pure pipeline itself like Driver issue or something else. Thank you.
Hi,
Are you trying to use DVI input or Component in. From the logs its seems input resolution is not getting detected. What is the input resolution you are feeding?
Regards,
Hardik Shah
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
Hi Hardik,
I am feeding DVI output from my graphic card on my PC into Video Input port(VGA) on daughter card. I set the The DVI output resolution is 800 x 600. Is there certain resolution which can be used?
VGA input is not supported. Only Y, Pb and Pr inputs are supported.
Hi Hardik.
I am quite surprised that you even replied at this time. Thanks a lot. Hardik.
But did you mean by RGB, not VGA? Since VGA is the video input connector on the daughter board. But I think the output from graphic card should be RGB color space. Hmm. If you meant that RGB is not supported as a video input for EVM, I think I should find other video source to be captured.
Oh Wait. Sorry please ignore the above reply. I was confused with YUV.
Oh I thought VGA port on daughter card is video input port that I can use for capturing video.
But now I can understand why it didn't work... Let me try with Y Pb Pr port tomorrow at work, and verify this posting. Thanks a lot Hardik.
Actually TVP7002 decoder can take RGB in as well as YUV in. RGB in is through VGA port, while YUV is through component in. Right now only component in is supported.
Now it seems working~!! I don't get the same error messages. And I can see like below.
I am not sure what all the messages appeared before "perf0: frames: 63 current: 62.73 average: 62.73 arm-load: 27", but at least it seems doing something.
I will post this as another question. Thanks Hardik~!
PRCM Initialization completed SysLink version : 2.10.03.20SysLink module created on Date:Apr 29 2012 Time:20:45:11FIRMWARE: I2cInit will be done by M3FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <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: 1FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 1 start SuccessfulLoading HDVPSS (V4L2) Firmware FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <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: 0FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 2 start Successfultvp7002 2-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)tvp7002 2-005d: Rev. 02 detected.ti81xxvin ti81xxvin: registered sub device tvp7002ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initializedHDMI W1 rev 2.0Starting system message bus: dbus.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.Starting PVRStarting Matrix GUI application. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _||__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org dm816x-evm ttyO2Arago 2011.09 dm816x-evm ttyO2dm816x-evm login: rootroot@dm816x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabledroot@dm816x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics1/enabledroot@dm816x-evm:~# lsmodModule Size Used bybufferclass_ti 4950 0 omaplfb 10794 0 pvrsrvkm 155594 2 bufferclass_ti,omaplfbti81xxhdmi 16163 0 ti81xxvin 20388 0 tvp7002 6405 1 ti81xxvo 21210 0 ti81xxfb 21979 3 vpss 75009 5 omaplfb,ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfbsyslink 1119122 0 ipv6 209855 12 root@dm816x-evm:~# gst-launch -e v4l2src always-copy=false queue-size=12 num-buffers=3000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)20/1' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=v4l2cap.h264 Setting pipeline to PAUSED ... Mode set is 1080allocating 12 buffers of size:1382400!!allocated outbuf:0x43fd5080allocated ------------[ cut here ]------------WARNING: at kernel/softirq.c:159 local_bh_enable+0x54/0xc4()Modules linked in: bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxvin tvp7002 ti81xxvo ti81xxfb vpss syslink ipv6Backtrace: [<c0049bb8>] (dump_backtrace+0x0/0x110) from [<c039b7d4>] (dump_stack+0x18/0x1c) r7:00000000 r6:c0072fb8 r5:c0465b10 r4:0000009f[<c039b7bc>] (dump_stack+0x0/0x1c) from [<c006da3c>] (warn_slowpath_common+0x54/0x6c)[<c006d9e8>] (warn_slowpath_common+0x0/0x6c) from [<c006da78>] (warn_slowpath_null+0x24/0x2c) r9:c0516d04 r8:d708c800 r7:0000000e r6:d3637c00 r5:c04f0590r4:c0542040[<c006da54>] (warn_slowpath_null+0x0/0x2c) from [<c0072fb8>] (local_bh_enable+0x54/0xc4)[<c0072f64>] (local_bh_enable+0x0/0xc4) from [<c0067934>] (omap_mbox_msg_send+0xcc/0xdc) r5:c04f0590 r4:00000000[<c0067868>] (omap_mbox_msg_send+0x0/0xdc) from [<c02dc724>] (notify_shm_drv_send_event+0x1c8/0x208) r5:00000001 r4:00000000[<c02dc55c>] (notify_shm_drv_send_event+0x0/0x208) from [<c02d9eb4>] (notify_send_event+0x114/0x26c)[<c02d9da0>] (notify_send_event+0x0/0x26c) from [<bf18fa08>] (vps_fvid2_queue+0xe4/0x21c [vpss])[<bf18f924>] (vps_fvid2_queue+0x0/0x21c [vpss]) from [<bf198cfc>] (capture_queue+0x50/0x64 [vpss]) r8:bf1d1414 r7:60000013 r6:d1cd6080 r5:00000000 r4:d1c6a400[<bf198cac>] (capture_queue+0x0/0x64 [vpss]) from [<bf1d01d4>] (ti81xxvin_buffer_queue+0x9c/0xe8 [ti81xxvin]) r5:d1c6f400 r4:d1c6a400[<bf1d0138>] (ti81xxvin_buffer_queue+0x0/0xe8 [ti81xxvin]) from [<c02b3614>] (videobuf_streamon+0x80/0xd0) r7:60000013 r6:d1c6f5c4 r5:d1c6f504 r4:d1cd6080[<c02b3594>] (videobuf_streamon+0x0/0xd0) from [<bf1cfc4c>] (vidioc_streamon+0x244/0x400 [ti81xxvin]) r7:d1c7c400 r6:00000001 r5:d1c6f400 r4:d1c6f504[<bf1cfa08>] (vidioc_streamon+0x0/0x400 [ti81xxvin]) from [<c02a8f1c>] (__video_do_ioctl+0x1618/0x3f34) r6:40045612 r5:00000000 r4:00000001[<c02a7904>] (__video_do_ioctl+0x0/0x3f34) from [<c02a76f4>] (__video_usercopy+0x2e4/0x428)[<c02a7410>] (__video_usercopy+0x0/0x428) from [<c02a7868>] (video_ioctl2+0x30/0x38)[<c02a7838>] (video_ioctl2+0x0/0x38) from [<c02a68a8>] (v4l2_ioctl+0xe8/0x11c) r5:d1c7c400 r4:d1cd6f80[<c02a67c0>] (v4l2_ioctl+0x0/0x11c) from [<c00d305c>] (vfs_ioctl+0x28/0x44) r9:cf110000 r8:00021268 r7:0000001c r6:0000001c r5:d1cd6f80r4:00000000[<c00d3034>] (vfs_ioctl+0x0/0x44) from [<c00d376c>] (do_vfs_ioctl+0x500/0x540)[<c00d326c>] (do_vfs_ioctl+0x0/0x540) from [<c00d3804>] (sys_ioctl+0x58/0x7c)[<c00d37ac>] (sys_ioctl+0x0/0x7c) from [<c0045e00>] (ret_fast_syscall+0x0/0x30) r8:c0045fa8 r7:00000036 r6:00021250 r5:00020500 r4:00203f60---[ end trace 3bf35c8b9327a32a ]---outbuf:0x44126880allocated outbuf:0x44278080allocated outbuf:0x443c9880allocated outbuf:0x4451b080allocated outbuf:0x4466c880allocated outbuf:0x447be080allocated outbuf:0x4490f880allocated outbuf:0x44a61080allocated outbuf:0x44bb2880allocated outbuf:0x44d04080allocated outbuf:0x44e55880Pipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClockperf0: frames: 63 current: 62.73 average: 62.73 arm-load: 27perf0: frames: 124 current: 60.23 average: 61.48 arm-load: 7perf0: frames: 184 current: 59.72 average: 60.89 arm-load: 7perf0: frames: 245 current: 60.23 average: 60.73 arm-load: 15perf0: frames: 305 current: 59.72 average: 60.53 arm-load: 5perf0: frames: 366 current: 60.23 average: 60.48 arm-load: 7perf0: frames: 426 current: 59.72 average: 60.37 arm-load: 8perf0: frames: 487 current: 60.23 average: 60.35 arm-load: 1perf0: frames: 547 current: 59.73 average: 60.28 arm-load: 5perf0: frames: 608 current: 60.23 average: 60.28 arm-load: 7perf0: frames: 669 current: 59.75 average: 60.23 arm-load: 8perf0: frames: 730 current: 60.23 average: 60.23 arm-load: 5perf0: frames: 791 current: 59.76 average: 60.19 arm-load: 4perf0: frames: 852 current: 60.23 average: 60.20 arm-load: 8perf0: frames: 913 current: 60.23 average: 60.20 arm-load: 6perf0: frames: 973 current: 59.72 average: 60.17 arm-load: 7perf0: frames: 1034 current: 60.23 average: 60.17 arm-load: 3perf0: frames: 1094 current: 59.73 average: 60.15 arm-load: 8perf0: frames: 1155 current: 60.24 average: 60.15 arm-load: 4perf0: frames: 1215 current: 59.72 average: 60.13 arm-load: 3perf0: frames: 1276 current: 60.23 average: 60.14 arm-load: 6perf0: frames: 1336 current: 59.72 average: 60.12 arm-load: 7perf0: frames: 1397 current: 60.23 average: 60.12 arm-load: 6perf0: frames: 1457 current: 59.72 average: 60.11 arm-load: 7perf0: frames: 1518 current: 60.23 average: 60.11 arm-load: 5perf0: frames: 1579 current: 59.75 average: 60.10 arm-load: 8perf0: frames: 1640 current: 60.24 average: 60.10 arm-load: 4perf0: frames: 1701 current: 59.75 average: 60.09 arm-load: 9perf0: frames: 1762 current: 60.23 average: 60.09 arm-load: 6perf0: frames: 1823 current: 60.23 average: 60.10 arm-load: 8perf0: frames: 1883 current: 59.72 average: 60.09 arm-load: 5perf0: frames: 1944 current: 60.23 average: 60.09 arm-load: 9perf0: frames: 2004 current: 59.72 average: 60.08 arm-load: 6perf0: frames: 2065 current: 60.23 average: 60.09 arm-load: 11perf0: frames: 2125 current: 59.71 average: 60.07 arm-load: 7perf0: frames: 2186 current: 60.25 average: 60.08 arm-load: 5perf0: frames: 2246 current: 59.72 average: 60.07 arm-load: 9perf0: frames: 2307 current: 60.23 average: 60.07 arm-load: 3perf0: frames: 2367 current: 59.72 average: 60.07 arm-load: 6perf0: frames: 2428 current: 60.23 average: 60.07 arm-load: 43perf0: frames: 2489 current: 59.75 average: 60.06 arm-load: 6perf0: frames: 2550 current: 60.23 average: 60.07 arm-load: 7perf0: frames: 2611 current: 59.76 average: 60.06 arm-load: 6perf0: frames: 2672 current: 60.21 average: 60.06 arm-load: 5perf0: frames: 2733 current: 60.23 average: 60.07 arm-load: 6perf0: frames: 2793 current: 59.74 average: 60.06 arm-load: 11perf0: frames: 2854 current: 60.24 average: 60.06 arm-load: 2perf0: frames: 2914 current: 59.72 average: 60.06 arm-load: 6perf0: frames: 2975 current: 60.23 average: 60.06 arm-load: 5Recieved EOS event, press <CTRL+C> to terminate pipeline.Got EOS from element "pipeline0".Execution ended after 50019783144 ns.Setting pipeline to PAUSED ...Setting pipeline to READY ...Setting pipeline to NULL ...Freeing pipeline ...root@dm816x-evm:~#
Hi Hardick.
I forgot to ask this question. Does it mean only 1 VIP capturing(through component) is supported for now? Or is there a port other than component that I can use for capturing?
Yes,
You can capture through Y, Pb and Pr port as of now. Other capture port is not available.
Thanks for your answer, Hardik~!!