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.

Dm365 cant able to find video0

Hi

     I am using dm365 and kernel version of 2.6.18 davinci and montavista5 tool chain.I can able to load the kernel and the ramdisk in the board and i can able to see the videos via internet application.But i cant able to find the video0 inside of the /dev.

How to solve this issue.

  • Hi venkata,

     

    You can create /dev/video0 for yourself with "mknod" command. (mknode major_number minor_number)

    You can also check device major number as follows:

    #cat /proc/devices

    BR,

    Choi

  • Hi Choi,

                    Thanks for your replay.I have a capture code which will capture a picture size of 720p.For that first i want to open the video0 inside of the /dev it is vpfe driver accessing point.When i tried with that i cant able to open the video0 inside the /dev.Then i create the video0 as you said.I have some confusion on the major number.When i cat /proc/device i can able to find video4linux major no i put the same major no and created the node and tried to run my code after that also it is failed to open the video0.

    I created the video0 by the below command

    mknod /dev/video0 c 81 0

    Then i compiled my v4l2 application and i found  the below error.

    initializing capture device
    entering init_capture_device
    fdCapture = open
    InitDevice:open:: fdCapture = ffffffff                                          (Here the ioctl is failing).
    setting data format
    set_data_format:ioctl:VIDIOC_S_FMT
    set_data_format:ioctl:VIDIOC_G_FMT:
    set_data_format:finally negotiated width:1280 height:720
    set_data_format:driver reports bytes_per_line:1073862664
    set_data_format:driver reports size:-1095037900
    set_data_format:Finally negotiated width:1280 height:720
    initializing capture buffers
    init_capture_buffers:ioctl:VIDIOC_REQBUFS
    Failed to initialize capture buffers
    Failed to intialize capture

  • Sorry,

    I don't have experienced to motavista kernel and environment. So, I cannot answer question. :)

    BR,

    Choi

  • Hello!

    Usually /dev/video0 created after loading drivers, you are load all drivers?

  • Hi,

    Yes all drivers are loaded.I can able to see the videos via Internet explorer with the ip address.But i cant able to find the video0.Without video0 how the devices is capturing the video.

  • Please see video0 in /dev, e.g. ls -l /dev/video*.

  • Hi,

                 I checked the comment and only i found there is video2 and video3.Any way to found video0

  • Hi,

    1: What are the bootargs you provided ?

    2: Is the capture driver enabled/ are the decoders enabled ?

    3: Can you post the boot log when kernel is being loaded?

    Refer this link http://processors.wiki.ti.com/index.php/GSG:_DM365_DVEVM_Software_Setup_for_MontaVista_Kernel

    Regards,

    --Prabhakar Lad

  • Hi,

         My boot args is setenv bootargs console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,11M mem=60M eth=02:00:10:00:00:06 ip=192.168.1.168:eth:on

        I using mt9p031 camera sensor(It is enabled).It is pumping video but i cant able to find the video0 inside the dev .

    My boot log is

     

    Jumping to entry point at 0x81080000.

     LSP 2.10 POST BETA RELEASE
     VERSION: 2.10.010.03

    U-Boot 1.3.4-svn56 (Mar 24 2011 - 13:53:45)

    I2C:   ready
    DRAM:  128 MB
    NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
    Bad block table found at page 131008, version 0x01
    Bad block table found at page 130944, version 0x01
    256 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Ethernet PHY: GENERIC @ 0x00

    NAND read: device 0 offset 0xc900000, size 0x800
     2048 bytes read: OK
    Current WDT flag is 0xffffffff

    NAND read: device 0 offset 0xc800000, size 0x800
     2048 bytes read: OK
    Current firmware update flag is 0xffffffff
    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x1000000, size 0xb00000
     11534336 bytes read: OK

    Loading from NAND 256MiB 3,3V 8-bit, offset 0x400000
       Image Name:   Linux-2.6.18_pro500-davinci
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1858436 Bytes =  1.8 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.18_pro500-davinci
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1858436 Bytes =  1.8 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux............................................................................................................................ done, .
    Linux version 2.6.18_pro500-davinci (renxiang@renxiang-desktop) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Sun May 20
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    Machine: DaVinci DM365 IPNC
    Memory policy: ECC disabled, Data cache writeback
    DaVinci DM0365 variant 0x8
    PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000
    PLL0: vencrate_sd: 27000000, ddrrate: 243000000 mmcsdrate: 121500000
    PLL1: armrate: 297000000, voicerate: 99000000, vencrate_hd: 74250000
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
    Built 1 zonelists.  Total pages: 15360
    Kernel command line: console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,11M mem=60M eth=02:00:10:00:00:06 ip=192.168.1.168:eth:on
    TI DaVinci EMAC: kernel boot params Ethernet address: 02:00:10:00:00:06
    PID hash table entries: 256 (order: 8, 1024 bytes)
    Clock event device timer0_0 configured with caps set: 07
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Memory: 60MB = 60MB total
    Memory: 45488KB available (3181K code, 653K data, 184K init)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
    Freeing initrd memory: 11264K
    NET: Registered protocol family 16
    DaVinci: 104 gpio irqs
    MUX: initialized GPIO20
    MUX: initialized I2C_SCL
    MUX: initialized GPIO87
    Generic PHY: Registered new driver
    ch0 default output "COMPOSITE", mode "NTSC"
    VPBE Encoder Initialized
    SCSI subsystem initialized
    NET: Registered protocol family 2
    IP route cache hash table entries: 512 (order: -1, 2048 bytes)
    TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 2048 bind 1024)
    TCP reno registered
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.1 (2006/08/19) Phillip Lougher
    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
    yaffs May 23 2010 21:02:19 Installing.
    SGI XFS with no debug enabled
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    LTT : ltt-facilities init
    LTT : ltt-facility-core init in kernel
    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
    serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    Davinci EMAC MII Bus: probed
    MAC address is 02:00:10:00:00:06
    TI DaVinci EMAC Linux version updated 4.0
    netconsole: not configured, aborting
    Linux video capture interface: v2.00
    Trying to register davinci display video device.
    layer=c2a31e00,layer->video_dev=c2a31f60
    Trying to register davinci display video device.
    layer=c2a31c00,layer->video_dev=c2a31d60
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    i2c /dev entries driver
    nand_davinci nand_davinci.0: Using 4-bit hardware ECC
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
    Creating 5 MTD partitions on "nand_davinci.0":
    0x00000000-0x00080000 : "bootloader"
    0x00080000-0x00200000 : "params"
    0x00200000-0x00400000 : "kernel"
    0x00400000-0x01c00000 : "filesystem1"
    0x01c00000-0x10000000 : "filesystem2"
    nand_davinci nand_davinci.0: hardware revision: 2.3
    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Peripheral mode controller at c4066000 using DMA, IRQ 12
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
    ASoC version 0.13.1
    CQ0093 Voice Codec 0.1
    asoc: cq93vc <-> davinci-vcif mapping ok
    ALSA device list:
      #0: On-chip voice codec (cq93vc)
    IPv4 over IPv4 tunneling driver
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    rtc wait time out !!!!!
    Time: timer0_1 clocksource has been installed.
    Clock event device timer0_0 configured with caps set: 08
    Switched to high resolution mode on CPU 0
    rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-09-14 01:01:01 (968893261)
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Gateway not on directly connected network.
    RAMDISK: Compressed image found at block 0
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 184K
    INIT: version 2.86 booting
    0
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    0
    CSL: Module install successful, device major num = 253
    CSL: Module version 0.10.00, built on May 23 2010 21:14:07
    I2C: Module install successful, device major num = 252
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on May 23 2010 21:14:18
    DRV: EDMACC.QUEPRI  = 00000777
    DRV: SYSTEM.MSTPRI0 = 00550011
    DRV: SYSTEM.MSTPRI1 = 00000444
    DRV: ISP.BCR        = 00000002
    CMEMK module: built on May 23 2010 at 21:12:21
      Reference Linux version 2.6.18
      File /work/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc5000000 of size 0x4400000
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83c00000)
    cmemk initialized
    EDMAK module: built on May 23 2010 at 21:12:29
      Reference Linux version 2.6.18
      File /work/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on May 23 2010 at 21:12:33
      Reference Linux version 2.6.18
      File /work/ipnc/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x1321 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x5011 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x0060 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x220d instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xe401 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0400 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x08c0 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x5026 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x2a97 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x3a31 instead
    Further such events for this erase block will not be printed

    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ee0020: 0xfde3 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ee0024: 0x6bf8 instead
    Further such events for this erase block will not be printed
    Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    empty_blocks 1699, bad_blocks 4, c->nr_blocks 1824
    mount: /dev/mtdblock4: can't read superblock
    Creat queue id:0
    queue id:0
    Creat queue id:32769
    queue id:32769
    Creat queue id:65538
    queue id:65538
    queue id:32769
    queue id:65538

     DEMOCFG Value: 0

    nVideocodecmode = 0
    nVideocodecres = 0
    ./av_server.out FD OSD FLIPV AEWB APPRO2A 720P H264 4000000 CVBR MENUOFF &
    Check_device_version : DEVICE VER = 1 !!
    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
    none on /var/run type tmpfs (rw)
    none on /tmp type tmpfs (rw,sync)
    Setting up networking ...
     AVSERVER UI: Initializing.

    DRV_SyncRst: module = 47, domain = 0, state = 0

    DRV_SyncRst: module = 47, domain = 0, state = 3
     
     CLK Hz,
     ARM   Hz =  297000000
     DDR   Hz =  243000000
     VPSS  Hz =  243000000
     IMCOP Hz =  243000000
     
     DRV LDC: GetConfig 0004 0x0
     AVSERVER UI: Starting in mode 1
     SENSOR FPS VALUE = 30
    .
    APPRO Setting Applied
    DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
    layer.pix_fmt.bytesperline = 640,
     layer.pix_fmt.width = 640,
     layer.pix_fmt.height = 480,
     layer.pix_fmt.sizeimage =460800

     Default IconDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,
     layer->layer_info.config.line_length= 640
     TI Logo

     Default Icon TI Logo

     DM365MM Init SuccessfulRate Control Type: IVIDEO_STORAGE STREAM: Ext 0: 0x0
     STREAM: Ext 1: 0x0
    Creat queue id:98307
    queue id:98307
    FF: FF open

     FR : 0 users registered from exsiting face album
    FF: FF open done.
     EVM AUTO_IRIS = 0 ######################
    APPRO 2A Created
    EE SETUP SHIFT VALUE: 3
    GBCE in EVAL MODE
    AUDIO_GetSampleRate = 12000
    AUDIO : period size = 1000 frames dir = 1
    AUDIO : period time = 83375 us dir = 0
    queue id:65538
    Starting hotplug subsystem:
       pci     
    ApproDrvInit: 7
    queue id:98307

    AEW TYPE DEBUG VALUE: 3
    GBCE DEBUG VALUE: 0
    ROI DEBUG CONFIG: 0

    FeatureMask: NONE.
       pci      [success]
       usb     
     ERROR  (drv_audio.c|DRV_audioRead|161): error from read : Resource temporarily unavailable
     ERROR  (audioThr.c|AUDIO_audioTskMain|378): AUDIO_audioTskRun()
    APPRO AEW TRIAL VERSION !!!
    APPRO AEW DATE LINE 2010/6
    numid=2,iface=MIXER,name='Mono DAC Playback Volume'
      ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0
      : values=32
       usb      [success]
       isapnp  
       isapnp   [success]
       ide     
       ide      [success]
       input   
       input    [success]
       scsi    
       scsi     [success]
    done.
    Starting portmap daemon: portmap.
    Starting internet superserver: inetd.
    io scheduler deadline registered
    io scheduler cfq registered
    insmod:  sbulla:/opt/ipnc/module unknown partition table
    s/i2c-emac.ko: No such file or directory
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    loop: loaded (max 8 devices)
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    CSLIP: code copyright 1989 Regents of the University of California
    insmod: /opt/ipnc/modules/netconsole.ko: No such file or directory
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    insmod: /opt/ipnc/modules/davinci_emac.ko: No such file or directory
    insmod: /opt/ipnc/modules/mmc_core.ko: No such file or directory
    insmod: /opt/ipnc/modules/mmc_block.ko: No such file or directory
    insmod: /opt/ipnc/modules/davinci-mmc.ko: No such file or directory
    insmod: /opt/ipnc/modules/usbcore.ko: No such file or directory
    insmod: /opt/ipnc/modules/musb_hdrc.ko: No such file or directory
    insmod: /opt/ipnc/modules/usbmon.ko: No such file or directory
    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
     sbulla: unknown partition table
    mkdosfs 2.11 (12 Mar 2005)
    unable to get drive geometry, using default 255/63/dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    Root directory contains 512 slots.
    Volume ID is 39c0237c, no volume label.
    umount: /mnt/mmc: not mounted
    mount: special device /dev/mmcblk0 does not exist
    mount: special device /dev/mmcblk0p1 does not exist
    killall: dhcpcd: no process killed
    net_search_gateway:eth0, 1A8C0, 0, 1
    net_search_gateway:eth0, 0, 101A8C0, 3
    dns=192.168.1.1
    INIT: Entering runlevel: 3
    ApproDrvInit: 3
    queue id:98307
    queue id:0
    queue id:32769
    ERROR: Module g_file_storage does not exist in /proc/modules
    g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005
    g_file_storage gadget: Number of LUNs=1
    g_file_storage gadget-lun0: ro=0, file: /dev/sbulla
    usb connect
    g_file_storage gadget: high speed config #1
    queue id:0
    [14/Sep/2000:01:01:50 +0000] boa: server version Boa/0.94.13
    [14/Sep/2000:01:01:50 +0000] boa: server built May 23 2010 at 21:17:31.
    [14/Sep/2000:01:01:50 +0000] boa: starting server pid=781, port 80
    UDPString=uuid:Upnp-TVEmulator-1_0-00_0037884602</UDN>


    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)

    192.168.1.168 login: Upnp port is 0
    UPnP Initialized OK ip=192.168.1.28, port=49152
    desc_doc_url = http://192.168.1.28/tvdevicedesc.xml
    error code = 0
    ApproDrvInit: 2
    queue id:98307
    Initializing...
    ApproDrvInit: 6
    queue id:98307
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.28:8554/mpeg4
    ApproDrvInit: 8
    queue id:98307
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.28:8555/mjpeg
    ApproDrvInit: 9
    queue id:98307
    ApproDrvInit: 10
    queue id:98307
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.28/mpeg4
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.28:8557/h264
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.28:8556/h264
    device advertisement succeed.
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!

     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |
     CAPTURE  |          33.41 |      29.93 |      30101 |          901 |
     ENCODE0  |          31.43 |      31.81 |      28289 |          900 |
     STREAM   |           0.32 |    3135.89 |        287 |          900 |
     AEWB     |           1.96 |     511.38 |       1758 |          899 |


     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |
     CAPTURE  |          33.43 |      29.92 |      60233 |         1802 |
     ENCODE0  |          31.39 |      31.86 |      56528 |         1801 |
     STREAM   |           0.32 |    3121.32 |        577 |         1801 |
     AEWB     |           1.87 |     533.65 |       3373 |         1800 |

    [14/Sep/2000:01:02:44 +0000] request from 192.168.1.22 "GET /favicon.ico HTTP/1.1" ("/var/www/favicon.ico"): document open: No such file or directory
    [14/Sep/2000:01:03:04 +0000] request from 192.168.1.22 "GET /favicon.ico HTTP/1.1" ("/var/www/favicon.ico"): document open: No such file or directory
     


     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |
     CAPTURE  |          33.43 |      29.91 |     150624 |         4505 |
     ENCODE0  |          31.41 |      31.83 |     141481 |         4504 |
     STREAM   |           0.37 |    2705.11 |       1665 |         4504 |
     AEWB     |           1.88 |     533.03 |       8448 |         4503 |

    [14/Sep/2000:01:06:20 +0000] request from 192.168.1.22 "GET /ipcam/avc.cgi?language=1 HTTP/1.1" ("(null)"): write: Connection reset by peer
    [14/Sep/2000:01:09:23 +0000] request from 192.168.1.22 "GET /ipcam/avc.cgi?language=1 HTTP/1.1" ("(null)"): write: Connection reset by peer
    [14/Sep/2000:01:10:55 +0000] request from 192.168.1.22 "GET /ipcam/avc.cgi?language=1 HTTP/1.1" ("(null)"): write: Connection reset by peer
    [14/Sep/2000:01:11:32 +0000] request from 192.168.1.22 "GET /ipcam/avc.cgi?language=1 HTTP/1.1" ("(null)"): write: Connection reset by peer

    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)

    192.168.1.168 login: root


    Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774).

    login[785]: root login  on `console'

    # ls
    # cd ..
    # ls
    bin         init        lost+found  proc        sys         var
    dev         lib         mnt         root        tmp
    etc         linuxrc     opt         sbin        usr
    # cd opt/
    # ls
    ipnc
    # cd ipnc/
    # ls
    Appro_avi_save        csl_unload.sh         loadmodules_ipnc.sh
    alarm.wav             dhcpcd                modules
    appro-mail            dm365mmap.ko          ntpclient
    arm_loading           drv.ko                quftp
    autorun.sh            drv_load.sh           reboot_ipnc
    av_capture_load.sh    drv_unload.sh         regrw.out
    av_capture_load.sh~   edmak.ko              sbull.ko
    av_capture_unload.sh  esmtp                 system_server
    av_server.out         g_file_storage.ko     test-streamer
    boa                   i2crw.out             upload
    cmemk.ko              irqk.ko               upnp-scanip
    csl.ko                killall.sh            wis-streamer
    csl_load.sh           loadkmodules.sh
    #

  • Hi,

    From the log it looks like the VPFE capture driver is not enabled, using

    menuconfig can you enable it ? also to use mt9p031 sensor there is a parameter

    you need to include in the bootargs which I dont see 'oper_mode=1'.

    Regards,

    --Prabhakar Lad

  • Hi,

    From log, I found you use appro SDK not TI EVM.

    There are many difference between TI EVM SDK and appro SDK.

    Above all,  TI EVM SDK use origianl linux video frame work.(video for linux). but appro don't use it.  appro implement video capture interface in private. so, you can find "cslx" which is camera sensor device node.

    Because appro implement video capture frame work independently on linux standard, you could not implement capture application using linux standard interface.

    If you should do,  you should disable appro driver loading and applications. then, you should enable video capture driver in linux kernel as prabhakar said.

    you remember It would be not easy way.

    BR,

    Choi