I get vpfe-capture: No decoder registered; Could not open device '/dev/video0'
when attempting gst-launch v4l2src ! fakesink
on a DM355 leopard board V1.6 . I have attached the entire console log.
Thanks,
Mark
Software: DM355SDK840402, dvsdk_2_00_00_22, xdctools_3_10_05_61
Loading from nand0, offset 0xc0000
Skipping bad block 0x000c0000
Image Name: "RR Compressed Linux Kernel"
Created: 2010-09-26 21:28:10 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1490613 Bytes = 1.4 MB
Load Address: 81e00000
Entry Point: 81e00000
Automatic boot of image at addr 0x80700000 ...
## Booting kernel from Legacy Image at 80700000 ...
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.................................................................................................... done, booting the kernel.
[ 0.000000] Linux version 2.6.29-ridgerun-davinci1 (user@user-laptop) (gcc version 4.2.4) #13 PREEMPT Sun Sep 26 17:27:59 EDT 2010
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM355 leopard
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci DM0355 variant 0x0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 29464
[ 0.000000] Kernel command line: console=ttyS0,115200n8 video=davincifb:osd1=0x0x8 root=/dev/mtdblock3 ro mem=116M mtdparts=davinci_nand.0:640k(UBOOT),128k(UBOOT_ENV),3840k(KERNEL),20480k(FS)
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[42949372.960000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[42949372.960000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[42949372.980000] Memory: 116MB = 116MB total
[42949372.980000] Memory: 114288KB available (2820K code, 217K data, 136K init)
[42949372.980000] Calibrating delay loop... 107.72 BogoMIPS (lpj=538624)
[42949373.210000] Mount-cache hash table entries: 512
[42949373.210000] CPU: Testing write buffer coherency: ok
[42949373.210000] net_namespace: 520 bytes
[42949373.220000] NET: Registered protocol family 16
[42949373.220000] MUX: initialized INT_EDMA_CC
[42949373.220000] MUX: initialized VIN_CINL_EN
[42949373.250000] DaVinci: 104 gpio irqs
[42949373.320000] bio: create slab <bio-0> at 0
[42949373.330000] vpss vpss: dm355_vpss vpss probed
[42949373.330000] vpss vpss: dm355_vpss vpss probe success
[42949373.330000] ch0 default output "COMPOSITE", mode "NTSC"
[42949373.340000] VPBE Encoder Initialized
[42949373.340000] SCSI subsystem initialized
[42949373.340000] usbcore: registered new interface driver usbfs
[42949373.350000] usbcore: registered new interface driver hub
[42949373.350000] usbcore: registered new device driver usb
[42949373.360000] LogicPD encoder initialized
[42949373.360000] Avnetlcd encoder initialized
[42949373.370000] musb_hdrc: version 6.0, pio, host, debug=0
[42949373.390000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[42949373.390000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[42949373.390000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[42949373.390000] usb usb1: configuration #1 chosen from 1 choice
[42949373.390000] hub 1-0:1.0: USB hub found
[42949373.390000] hub 1-0:1.0: 1 port detected
[42949373.400000] NET: Registered protocol family 2
[42949373.400000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[42949373.400000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[42949373.400000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[42949373.400000] TCP: Hash tables configured (established 4096 bind 4096)
[42949373.400000] TCP reno registered
[42949373.400000] NET: Registered protocol family 1
[42949373.410000] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[42949373.410000] msgmni has been set to 223
[42949373.420000] io scheduler noop registered (default)
[42949373.430000] davincifb davincifb.0: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 1350KB
[42949373.440000] davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 675KB
[42949373.450000] davincifb davincifb.0: dm_osd1_fb: 0x0x8@0,0 with framebuffer size 1350KB
[42949373.460000] davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 675KB
[42949373.460000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[42949373.470000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[42949373.470000] console [ttyS0] enabled
[42949373.800000] brd: module loaded
[42949373.830000] loop: module loaded
[42949373.830000] dm9000 Ethernet Driver, V1.31
[42949373.960000] Unable to read MAC address: Generating random value ...
[42949373.960000] The random generated MAC address: 82:5e:c1:96:a9:1f will be assigned to your device
[42949373.970000] eth0 (dm9000): not using net_device_ops yet
[42949373.980000] eth0: dm9000e at c786a000,c786e016 IRQ 73 MAC: 82:5e:c1:96:a9:1f (chip)
[42949373.990000] Linux video capture interface: v2.00
[42949374.000000] vpfe-capture vpfe-capture: video device registered
[42949374.000000] vpfe-capture vpfe-capture: v4l2 int master registered
[42949374.010000] vpfe_capture: init successful
[42949374.020000] Trying to register davinci display video device.
[42949374.020000] layer=c65f7600,layer->video_dev=c65f7764
[42949374.030000] Trying to register davinci display video device.
[42949374.030000] layer=c65f7400,layer->video_dev=c65f7564
[42949374.040000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[42949374.050000] Driver 'sd' needs updating - please use bus_type methods
[42949374.060000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[42949374.070000] 2 NAND chips detected
[42949374.070000] Scanning device for bad blocks
[42949374.080000] Bad eraseblock 3 at 0x000000060000
[42949374.080000] Bad eraseblock 4 at 0x000000080000
[42949374.090000] Bad eraseblock 5 at 0x0000000a0000
[42949374.090000] Bad eraseblock 6 at 0x0000000c0000
[42949374.110000] Bad eraseblock 225 at 0x000001c20000
[42949374.150000] Bad eraseblock 1066 at 0x000008540000
[42949374.190000] Bad eraseblock 1968 at 0x00000f600000
[42949374.200000] Bad eraseblock 2051 at 0x000010060000
[42949374.200000] Bad eraseblock 2052 at 0x000010080000
[42949374.210000] Bad eraseblock 2053 at 0x0000100a0000
[42949374.210000] Bad eraseblock 2054 at 0x0000100c0000
[42949374.230000] Bad eraseblock 2273 at 0x000011c20000
[42949374.270000] Bad eraseblock 3114 at 0x000018540000
[42949374.310000] Bad eraseblock 4016 at 0x00001f600000
[42949374.320000] 4 cmdlinepart partitions found on MTD device davinci_nand.0
[42949374.320000] Creating 4 MTD partitions on "davinci_nand.0":
[42949374.330000] 0x000000000000-0x0000000a0000 : "UBOOT"
[42949374.340000] 0x0000000a0000-0x0000000c0000 : "UBOOT_ENV"
[42949374.350000] 0x0000000c0000-0x000000480000 : "KERNEL"
[42949374.360000] 0x000000480000-0x000001880000 : "FS"
[42949374.370000] davinci_nand davinci_nand.0: controller rev. 2.3
[42949374.380000] Initializing USB Mass Storage driver...
[42949374.380000] usbcore: registered new interface driver usb-storage
[42949374.390000] USB Mass Storage support registered.
[42949374.390000] i2c /dev entries driver
[42949374.400000] watchdog watchdog: heartbeat 60 sec
[42949374.410000] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
[42949374.430000] davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
[42949374.440000] Advanced Linux Sound Architecture Driver Version 1.0.18a.
[42949374.450000] No device for DAI tlv320aic3x
[42949374.460000] No device for DAI davinci-i2s
[42949374.460000] AIC3X Audio Codec 0.2
[42949374.470000] asoc: tlv320aic3x <-> davinci-i2s mapping ok
[42949374.500000] ALSA device list:
[42949374.500000] #0: Leopard Board (tlv320aic3x)
[42949374.510000] TCP cubic registered
[42949374.510000] NET: Registered protocol family 17
[42949374.520000] VFP support v0.3: not present
[42949374.530000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[42949374.540000] VFS: Mounted root (cramfs filesystem) readonly on device 31:3.
[42949374.550000] Freeing init memory: 136K
init started: BusyBox v1.14.2 (2010-09-26 16:06:52 EDT)
starting pid 255, tty '': '/etc/rcS'
Starting System
done.
Welcome to
__________ .__ .___ __________
\______ \|__| __| _/ ____ ____ \______ \ __ __ ____
| _/| | / __ | / ___\ _/ __ \ | _/| | \ / \
| | \| |/ /_/ | / /_/ >\ ___/ | | \| | /| | \
|____|_ /|__|\____ | \___ / \___ >|____|_ /|____/ |___| /
\/ \//_____/ \/ \/ \/
Embedded Linux Solutions
For further information see:
http://www.ridgerun.com
Build host: user-laptop
Built by: user
Build date: Sun, 26 Sep 2010 16:35:51 -0400
Build tag: leopard
Configuring network interfaces
[42949377.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0021
Please press Enter to activate this console.
starting pid 338, tty '/dev/ttyS0': '-/bin/sh'
BusyBox v1.14.2 (2010-09-26 16:06:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # loadmodules.sh
[42949382.860000] CMEMK module: built on Sep 26 2010 at 16:28:04
[42949382.860000] Reference Linux version 2.6.29
[42949382.880000] File /home/user/DM355SDK840402/proprietary/dvsdk_2_00_00/dvsdk_2_00_00_22/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[42949382.920000] ioremap_nocache(0x87400000, 12582912)=0xcb000000
[42949382.920000] allocated heap buffer 0xcb000000 of size 0xce000
[42949382.940000] cmem initialized 8 pools between 0x87400000 and 0x88000000
/ # fbset -disable
/ # v4
-/bin/sh: v4: not found
/ # gst-launch v4l2src ! fakesink
[42949429.000000] vpfe-capture: No decoder registered
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing.
Additional debug info:
../../../src/sys/v4l2/v4l2_calls.c(477): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such device
Setting pipeline to NULL ...
Freeing pipeline ...
/ #