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.

DMVA2IPNC-MT5 static IP address

Hi,

I recently received DMVA2IPNC-MT5 camera. I connected it with PC (running windows 7) in DHCP configuration using a router. It worked well. But when I turn to the static IP configuration and connect it directly to the PC, it doesn't connect. What is the problem? What should be the static IP's for the PC and the camera?

Thanks.

  • Umair,

    Please look at the document "DMVAx_IPNC_Getting_Started_Guide.pdf" in the docs folder of the installation files.  This document explains how to configure the IPNC for static IP and how to find the IPNC's address with the usbconf.exe application.  You need to make sure that your PC's IP address is in the same sub-net range as the IPNC.

    Regards,

    phil-

  • From where can I get the getting started pdf? I didn't get any CD with the camera. Neither do I find any such document on the internet. I don't know what is the default static IP address of the camera. I got a getting started guide of DM365. There, they state the default IP address of the camera is 192.168.1.168. Is this the default IP address of this camera too? With this IP address, if I set the IP address of the PC in the same domain, it doesn't connect to the camera. Moreover, the USB is shown only in the dynamic configuration and of course I can't change the IP address there. At present, the camera is connecting only by using a router with dynamic configuration. However, I wanna connect it directly to the PC with static configuration. Please help me.

    Regards.

  • The default static IP address should be 192.168.1.168.

    Are you saying that when you put the IP addressing switch in the Static IP position and reboot the IPNC that the USB configuration utility still shows a dynamic IP address?

    Regards,

    -phil

  • I connect the PC and the camera with a Fast Ethernet Switch. I turn the camera switch at 4 (static configuration). There are 2 switches, the first switch remains at 2. I just turn the second switch at 4. I define and IP address in the PC in the same sub-net domain (e.g. 192.168.1.92). But the PC doesn't show any connectivity with the camera. Moreover, the USB configuration utility doesn't show up at all in this configuration. It shows up only in dynamic configuration.

  • Hi,

    Which version of IPNC Ref Design software are you using? I believe you would have downloaded the software and documentation package either from Appro or TI website. I think you might not have changed the bootargs to select the correct ip configuration. Can you please provide the bootargs as they come during bootup. Also provide us the status of "ifconfig" command when typed on the linux prompt on the serial console of IP camera.

    Regards,

    anshuman

  • Dear Anshuman,

    I have not used the embedded linux on the camera. Right now I am connecting the camera with my PC and wanna use it as a capturing device to stream the video on PC (by accessing the web interface of the camera). With dynamic configuration, I can access the web interface and stream the video to the PC. Whereas with static configuration, the PC doesn't connect to the camera. 

    Moreover, I don't find any suitable documentation and software packages for properly getting started. Can you please provide me some documentation and links to the necessary softwares/SDKs for this camera. 

    Regards,

  • I have configured the camera and the PC in dynamic configuration using router. It works well in this configuration. I am referring the configuration as specified in DMVAx_GETTING_STARTED_GUIDE.pdf. But with static configuration, I am not able to access the camera (its web application). Also the manual says that we can connect it a with a serial console session by connecting a RS-232 cable with the camera and the serial port of the PC. But I don't see any serial connection in the camera. There is a USB connection and it doesn't connect to the PC with USB connection using minicom (linux) or patty (windows). Please help me.

    Regards,

     

    Umair Ali Khan

  • Umair,

    When you purchased the camera from Appro you should have received and email from Appro with a link and password to their ftp server where you can download the source code, hardware design files and documentation.

    Did you get that email?

    Regards,

    -phil

  • When I boot the DMVA2IPNC camera by serial session with minicom, the ifconfig shows the static IP address of the camera to be 169.254.7.231 with netmask 255.255.0.0. By setting the PC with a static IP address (e.g. 169.254.7.231), I can access the web application of the camera, but no streaming. The streaming works only with dynamic configuration. What is the problem?

    Regards,

    Umair Ali Khan

  • Umair,

    Do you have the documentation from Appro?

    -phil

  • Yes. I have the documentation from appro. The document clearly specifies that the camera can be connected with the PC by simple static IP configuration (with or without serial session with RS232). But this is not the case with me. First I tried to connect the camera with the PC with static configuration (using the default camera IP 192.168.1.168), but it didn't work. Then I booted the camera with the serial session. After the booting and logging in with 'root' , the 'ifconfig'  shows that the IP address in static configuration is 169.254.7.231 with netmask 255.255.0.0. By setting the static IP address in PC (e.g. 169.254.7.200 with netmask 255.255.0.0) and browsing the camera in Internet Explorer, I can just access the web application of the camera, but no streaming. But this doesn't happen with dynamic configuration. The camera works fine with dynamic configuration.

    Do I need to configure everything with Code Composer Studio (as specified in the document)? I don't have JTEG. Is it possible just by using the debug board with the camera? Please help me out. I am trying to figure out the problem since many days. 

     

  • Umair,

    You shouldn't need to use CCS to get streaming working.  The camera should work with static IP once the appropriate DIP switch is selected.  Can you please post the uboot environement variables?  To do this, connect the debug board and serial cable.  Open a terminal program on the PC and plug in power to the IPNC.  When you get the count down prompt after ubl and uboot press a key to stop autobooting.  Then type "print" at the prompt.  Copy the environment variables and post them here.

    -phil

  • The uboot environment variables are:

    bootdelay=4

    baudrate=115200

    bootfile="uImage"

    setboot=setenv bootrage $(bootargs)

    ethaddr=00:0C:0C:A0:FF:FA

    filesize=E8F000

    fileaddr=82000000

    ipaddr=10.2.1.5

    bootcmd=nand read 0x82000000 0x700000 0x1000000; nboot 0x80700000 0 0x500000; bootm

    bootargs=mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000, 15M 

    ip=192.168.1.168:192.168.1.167:192.168.1.1:255.255.255.0:::off eth=00:0C:a0:05:f6

    stdin=serial

    stdout=serial

    stderr=serial

    ver=U-boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0

    Environment size: 526/131068 bytes

  • Hi,

    umair khan said:
    eth=00:0C:a0:05:f6

    Looking at your bootargs, surely you are not getting the static IP address that you are trying to set. One thing i can see is the mac address does not have the correct value. Can you share your bootup log as well?

    Regards,

    Anshuman

  • By boot log, you mean the log before the Uboot? here it is...

    DM36x initialization passed!

    T1 UBL Version: 1.50

    Booting Catalog Boot Loader

    BootMode=NAND

    Starting NAND Copy...

    Valud nagucbynm 0xA1ACED66, found in block 0x00000008

    DONE

    Jumping to entry point at 0x81080000

    DM368_IPNC_UBL_1.0.0

    U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC=1.0.0

    I2C: ready

    DRAM: 128 MB

    NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3, 3V 8-bit)

    Bad block table found at page 65472, version 0x01

    Bad block table found at page 65408, version 0x01 

    128MiB

    In: serial

    out: serial

    err: serial

    ARM clock: 432MHz

    DDR Clock: 340 MHz

    Ethernet PHY: GENERIC @ 0x01

  • By boot log, i mean the kernel booting after uBoot.

    Regards,

    Anshuman

  •  

    NAND read: device 0 offset 0x700000, size 0x1000000                             

     16777216 bytes read: OK                                                        

     

    Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000                            

       Image Name:   Linux-2.6.18_pro500-davinci_IPNC                               

       Image Type:   ARM Linux Kernel Image (uncompressed)                          

       Data Size:    1809684 Bytes =  1.7 MB                                        

       Load Address: 80008000                                                       

       Entry Point:  80008000                                                       

    ## Booting kernel from Legacy Image at 80700000 ...                             

       Image Name:   Linux-2.6.18_pro500-davinci_IPNC                               

       Image Type:   ARM Linux Kernel Image (uncompressed)                          

       Data Size:    1809684 Bytes =  1.7 MB                                        

       Load Address: 80008000                                                       

       Entry Point:  80008000                                                       

       Verifying Checksum ... OK                                                    

       Loading Kernel Image ... OK                                                  

    OK                                                                              

     

    Starting kernel ...                                                             

     

    Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.0.0 (harmeet@mapplinux03.india0

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   

    Machine: DaVinci DM368 IPNC                                                     

    Memory policy: ECC disabled, Data cache writeback                               

    DaVinci DM0365 variant 0x8                                                      

    PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000           

    PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428             

    PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000            

    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: 12288                                          

    Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x6

    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: 48MB = 48MB total                                                       

    Memory: 29324KB available (3105K code, 643K data, 180K 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 (bad gzip magic numbers); looks like d

    Freeing initrd memory: 15360K                                                   

    NET: Registered protocol family 16                                              

    DaVinci: 104 gpio irqs                                                          

    MUX: initialized GPIO20                                                         

    MUX: initialized I2C_SCL                                                        

    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 Sep 24 2010 12:51:00 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           

    Linux video capture interface: v2.00                                            

    Trying to register davinci display video device.                                

    layer=c2ecfa00,layer->video_dev=c2ecfb60                                        

    Trying to register davinci display video device.                                

    layer=c2ecf800,layer->video_dev=c2ecf960                                        

    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: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-b)

    Creating 6 MTD partitions on "nand_davinci.0":                                  

    0x00000000-0x00300000 : "bootloader"                                            

    0x00300000-0x00500000 : "params"                                                

    0x00500000-0x00700000 : "kernel"                                                

    0x00700000-0x01f00000 : "filesystem"                                            

    0x01f00000-0x02100000 : "data1"                                                 

    0x02100000-0x08000000 : "data2"                                                 

    nand_davinci nand_davinci.0: hardware revision: 2.3                             

    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 a0

    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.

    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_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 0)

    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                                       

    IP-Config: No network devices available.                                        

    RAMDISK: cramfs filesystem found at block 0                                     

    RAMDISK: Loading 14908KiB [1 disk] into ram disk... done.                       

    VFS: Mounted root (cramfs filesystem) readonly.                                 

    Freeing init memory: 180K                                                       

    INIT: version 2.86 booting                                                      

    0                                                                               

    mkdir: Cannot create directory `/dev/.test': Read-only file system              

    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 Sep 24 2010 14:36:54                      

    I2C: Module install successful, device major num = 252                          

    DMA: Module install successful, device major num = 251                          

    DRV: Module install successful                                                  

    DRV: Module built on Sep 24 2010 14:36:57                                       

    DRV: EDMACC.QUEPRI  = 00000777                                                  

    DRV: SYSTEM.MSTPRI0 = 00550011                                                  

    DRV: SYSTEM.MSTPRI1 = 00000444                                                  

    DRV: ISP.BCR        = 00000002                                                  

    DRV: SYSTEM.MISC = 00000391                                                     

    CMEMK module: built on Sep 24 2010 at 14:27:35                                  

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    allocated heap buffer 0xc4000000 of size 0x5000000                              

    CMEM Range Overlaps Kernel Physical - allowing overlap                          

    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             

    cmemk initialized                                                               

    EDMAK module: built on Sep 24 2010 at 14:27:38                                  

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    IRQK module: built on Sep 24 2010 at 14:27:39                                   

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    irqk initialized                                                                

    Creat queue id:0                                                                

    queue id:0                                                                      

    Creat queue id:32769                                                            

    queue id:32769                                                                  

    IPNC_DM368_2.0.0 (harmeet@mapplinux03.india.ti.com) (gcc versio                 

    Creat queue id:65538                                                            

    queue id:65538                                                                  

    queue id:32769                                                                  

     

    CPU is DM368                                                                    

    DEMOCFG Value   : 0                                                             

    Videocodecmode  : 0                                                             

    Videocodecres   : 0                                                             

    ./av_server.out FD OSD DM368 TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &     

    queue id:65538                                                                  

    Check_device_version : DEVICE VER = 1 !!                                        

    CPU CurrentStatus is = 1                                                        

    Starting mounting local filesystems: ApproDrvInit: 7                            

    Creat queue id:98307                                                            

    queue id:98307                                                                  

     

    AVSERVER UI: Initializing.                                                      

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

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

    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 ...rm: unable to remove `/etc/network/run': Read-only film

     

     CLK Hz,                                                                        

     ARM   Hz =  432000000                                                          

     DDR   Hz =  340000000                                                          

     VPSS  Hz =  340000000                                                          

     IMCOP Hz =  340000000                                                          

     

     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                

    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       

    Starting hotplug subsystem:                                                     

       pci                                                                          

     

    CONFIGURING AVSERVER FOR DMVA2 .....                                            

    queue id:65538                                                                  

    SENSOR FPS VALUE = 30                                                           

       pci      [success]                                                           

       usb                                                                          

    queue id:98307                                                                  

     

     FR : 0 users registered from exsiting face album                               

     

    > DMVA App: TASK CREATE                                                         

     

    > DMVA APP: Default application parameters set.                                 

    gAVSERVER_cDavinciDisplay 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                                                

    onfig.dmvaAppParDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,           

     layer->layer_info.config.line_length= 640                                      

    ams.dmvaAppSMETASensitivity = 3                                                 

    gAVSERVER_config.dmvaAppParams.dmvaAppSMETAPresentAdjust = 15                   

     DMVA > Trip:zone 1 - minX = 11,maxX = 50,minY = 17,maxY = 83                   

     DMVA > Trip:zone 2 - minX = 49,maxX = 89,minY = 17,maxY = 83                   

     

    > DMVA APP: Parameters read from UI                                             

                Mode         = 8                                                    

                Sensitivty   = 3                                                    

                Min Per.Size = 25x40                                                

                Max Per.Size = 38x55                                                

                Polygons     = 2                                                    

                Frame rate   = 10                                                   

                Tamper Reset = 3                                                    

     

     ALG: Created Image Sym Algo Kernel !                                           

     ALG: Created NMS Kernel !                                                      

     ALG: Created RLE Kernel !                                                      

     ALG: Created MORP Kernel !                                                     

     

     

    > DMVAL: Calculating memory requirement for DMVAL instance...                   

             Expecting 320x192 input images of type 'DMVAL_IMG_YUV420_PLANARINTERLE.

    > DMVAL: 8383285 bytes required for DMVAL instance.                             

    > DMVAL: 5128 bytes required for DMVAL output.                                  

     

    > DMVA APP: Allocated 5128 bytes for DMVAL output memory @ 0x4c2eb000           

    > DMVA APP: Allocated 8383285 bytes for DMVAL internal memory @ 0x4c2f3000      

    > DMVA APP: Calling DMVAL_configure                                             

    > DMVAL: Assigning memory to support 320x192 image.                             

    > DMVAL: Assigned memory to library framework.                                  

    > DMVAL: Library framework initialized for the 1st time.                        

    > DMVAL: Assigned memory to Camera Tamper Detection application.                

    > DMVAL: Assigned memory to Intelligent Motion Detection application.           

    > DMVAL: Assigned memory to Trip Zone application..                             

    > DMVAL: Assigned memory to Object Counting application.                        

    > DMVAL: Assigned memory to Streaming Metadata application.                     

    > DMVAL: Completed memory assignments to library applications.  ALG: Created Im!

     ALG: Created NMS Kernel !                                                      

     ALG: Created RLE Kernel !                                                      

     ALG: Created MORP Kernel !                                                     

     

    > DMVAL: Library framework reset.                                               

    > DMVAL: TripZone installed.                                                    

    > DMVAL: Initialized library applications.                                      

     

    > DMVA APP: DMVAL modules initialized.                                          

    > DMVA APP: Application Memory Allocation Summary                               

                ------------------------------------------                          

      8383285 bytes for DMVAL instance.                                             

         5128 bytes for DMVAL output.                                               

     ============================================                                   

     Total Allocated = 8388413 bytes                                                

     

    > DMVA APP: Setting up TZ parameters...                                         

                Vertex  0: < 35, 32>                                                

                Vertex  1: <160, 32>                                                

                Vertex  2: <160,159>                                                

                Vertex  3: < 35,159>                                                

                Width:  125                                                         

                Height: 127                                                         

                Vertex  0: <156, 32>                                                

                Vertex  1: <284, 32>                                                

                Vertex  2: <284,159>                                                

                Vertex  3: <156,159>                                                

                Width:  128                                                         

                Height: 127                                                         

    > DMVAL: MinPersonSize = 25 40                                                  

     

    > DMVAL: MaxPersonSize = 38 55                                                  

     

    > DMVAL: MinVehicleSize = 25 40                                                 

     

    > DMVAL: MaxVehicleSize = 38 55                                                 

     

    > DMVA APP: DONE setting up DMVA-TZ parameters                                  

    IN DMVATSKMAIN                                                                  

     

    > DMVA EVT: Created JPEG encoder instance for event recording...                

     

    > DMVA EVT: Created Event-handling task.                                        

    IPNC_DM368_2.0.0 (harmeet@mapplinux03.india.ti.com) (gcc versio                 

    IPNC AUTO_IRIS = 1 #####################                                        

    GBCE in EVAL MODE                                                               

     

    DMVA:cur sensor fps             = 30                                            

    DMVA:cur DMVA fps               = 10                                            

    DMVA:cur skip frame mask        = 1                                             

    DMVA:cur skip frame mask length = 3                                             

     

    DMVAL> Image pyramid sizes:                                                     

    (224 128)                                                                       

    (160 104)                                                                       

    (128 81)                                                                        

     

    TI 2A TRIAL VERSION!!!                                                          

    TI 2A Expiration date: 2010, Dec 31                                             

       usb      [success]                                                           

       isapnp                                                                       

       isapnp   [success]                                                           

       ide                                                                          

       ide      [success]                                                           

       input                                                                        

    Encode Error: unknow feature setup num = 55                                     

    func:stream_feature_setup line:1906                                             

    Encode Error: unknow feature setup num = 56                                     

    func:stream_feature_setup line:1906                                             

    Simple mixer control 'PGA',0                                                    

      Capabilities: cvolume                                                         

      Capture channels: Mono                                                        

      Limits: Capture 0 - 3                                                         

      Mono: Capture 2 [67%]                                                         

       input    [success]                                                           

    Simple mixer control 'Mono DAC',0                                               

      Capabilities: pvolume pvolume-joined                                          

      Playback channels: Mono                                                       

      Limits: Playback 0 - 63                                                       

      Mono: Playback 47 [75%]                                                       

     DMVA SCH > created Dmva semaphore with handle = 568760                         

     DMVA SCH > schedule thread create successful                                   

       scsi                                                                         

       scsi     [success]                                                           

    done.                                                                           

    Starting portmap daemon: portmap.                                               

    Starting internet superserver: inetd.                                           

    io scheduler deadline registered                                                

    io scheduler cfq registered                                                     

    TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:a0:05:f6         

     sbulla: unknown partition table                                                

    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              

    netconsole: not configured, aborting                                            

    PPP generic driver version 2.4.2                                                

    PPP Deflate Compression module registered                                       

    Davinci EMAC MII Bus: probed                                                    

    MAC address is 00:0C:0C:a0:05:f6                                                

    TI DaVinci EMAC Linux version updated 4.0                                       

    davinci-mmc davinci-mmc.0: Supporting 4-bit mode                                

    davinci-mmc davinci-mmc.0: Using DMA mode                                       

    usbcore: registered new driver usbfs                                            

    usbcore: registered new driver hub                                              

    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 c38f8000 using DMA, IRQ 12         

    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)     

     sbulla: unknown partition table                                                

    mkdosfs 3.0.6 (04 Oct 2009)                                                     

    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 0a1b79b3, no volume label.                                         

    queue id:0                                                                      

    umount: /mnt/mmc: not mounted                                                   

    killall: dhcpcd: no process killed                                              

    rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory         

    net_set_ifaddr: ioctl SIOCSIFADDR: Invalid argument                             

    Error: Error on Set ip                                                          

    net_set_ifaddr: ioctl SIOCSIFADDR: Invalid argument                             

    Error: Error on Set ip                                                          

    Error: Network Init Fail                                                        

     

    SystemServer:Fail at SYS_MSG_DO_BOOT_PROC                                       

    Error SysDoBootProc control fail.                                               

    ApproDrvInit: 3                                                                 

    queue id:98307                                                                  

    queue id:0                                                                      

    queue id:32769                                                                  

    [01/Jan/2000:00:56:03 +0000] boa: server version Boa/0.94.13                    

    [01/Jan/2000:00:56:03 +0000] boa: server built Sep 24 2010 at 14:39:54.         

    [01/Jan/2000:00:56:03 +0000] boa: starting server pid=771, port 80              

    INIT: Entering runlevel: 3                                                      

     

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

     

    DM368_IPNC login: root                                                          

     

     

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

     

    login[787]: root login  on `console'                                            

     

    #                                                                               

     Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           

     CAPTURE  |          33.41 |      29.93 |      30100 |          901 |           

     ENCODE0  |          17.24 |      58.01 |       8033 |          466 |           

     STREAM   |           0.41 |    2414.51 |        193 |          466 |           

     OSD0     |           0.32 |    3096.22 |        291 |          901 |           

     FACE.D   |          11.47 |      87.19 |        367 |           32 |           

     DMVA     |          11.29 |      88.57 |       3387 |          300 |           

     AEWB     |           1.20 |     833.95 |       1078 |          899 |           

     AUDIO    |           2.76 |     362.65 |        648 |          235 |           

  • Hi,

    Looking at your log as below,

    umair khan said:
    IP-Config: No network devices available.  

    it seems like network interface is not even initialized. Are you sure you are able to ping to the camera? If yes, please do an "ifconfig" command on the camera prompt as well.

    I suspect the problem is coming due to the wrong ethernet MAC address that you have put on bootargs. Please check it and try to put the correct address, written on the camera.

    Regards,

    Anshuman

  • OK. I changed the MAC address and entered the one written on the camera. Now the environment variables are shown as:

    bootdelay=4                                                                     

    baudrate=115200                                                                 

    bootfile="uImage"                                                               

    setboot=setenv bootargs $(bootargs)                                             

    filesize=E8F000                                                                 

    fileaddr=82000000                                                               

    ipaddr=10.2.1.5                                                                 

    serverip=10.2.1.62                                                              

    bootcmd=nand read 0x82000000 0x700000 0x1000000; nboot 0x80700000 0 0x500000; bm

    bootargs=mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,15M6

    ethaddr=00:0C:0C:A0:05:F6                                                       

    stdin=serial                                                                    

    stdout=serial                                                                   

    stderr=serial                                                                   

    ver=U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0                            

    Environment size: 526/131068 bytes  

     

    Now it shows the correct MAC address of the camera. When I boot the kernel by auto booting, the ifconfig shows ipnet: 169.254.7.231, netmask: 255.255.0.0, Bcast: 169.254.255.255. With static configuration, I enter an IP address in the PC (169.254.7.231, netmask: 255.255.0.0). I, then, browse the camera's IP address (169.254.7.231) in the internet explorer and can access the web application of the camera, but no streaming again. The camera's LAN LED stays at yellow and doesn't turn green. In the camera's command prompt, the following message keeps showing:

    queue id:32769                                                                  

    net_get_ifaddr: ioctl SIOCGIFADDR: Cannot assign requested address       

  • Sorry... the IP address entered in the camera (in the same range) is 169.254.7.200, netmask: 255.255.0.0. Both the PC and the camera ping each other with this configuration. But no streaming. 

  • Good, so now i need the boot log with updated emac address. Also, can you try the following on the command prompt and show us the log

    # ifconfig eth0 down

    # ifconfig eth0 up

    # ifconfig

    I am not able to understand why the IP address you are setting in bootargs is not taking effect.

    Regards,

    anshuman

  • I haven't set anything in the bootargs. I just modified the MAC address... What should I do in bootargs?

  • After updating the MAC address, the boot log is this:

     

    NAND read: device 0 offset 0x700000, size 0x1000000                             

     16777216 bytes read: OK                                                                                                                              

    Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000                            

       Image Name:   Linux-2.6.18_pro500-davinci_IPNC                               

       Image Type:   ARM Linux Kernel Image (uncompressed)                          

       Data Size:    1809684 Bytes =  1.7 MB                                        

       Load Address: 80008000                                                       

       Entry Point:  80008000                                                       

    ## Booting kernel from Legacy Image at 80700000 ...                             

       Image Name:   Linux-2.6.18_pro500-davinci_IPNC                               

       Image Type:   ARM Linux Kernel Image (uncompressed)                          

       Data Size:    1809684 Bytes =  1.7 MB                                        

       Load Address: 80008000                                                       

       Entry Point:  80008000                                                       

       Verifying Checksum ... OK                                                    

       Loading Kernel Image ... OK                                                  

    OK                                                                              

     

    Starting kernel ...                                                             

     

    Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.0.0 (harmeet@mapplinux03.india0

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   

    Machine: DaVinci DM368 IPNC                                                     

    Memory policy: ECC disabled, Data cache writeback                               

    DaVinci DM0365 variant 0x8                                                      

    PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000           

    PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428             

    PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000            

    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: 12288                                          

    Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x6

    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: 48MB = 48MB total                                                       

    Memory: 29324KB available (3105K code, 643K data, 180K 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 (bad gzip magic numbers); looks like d

    Freeing initrd memory: 15360K                                                   

    NET: Registered protocol family 16                                              

    DaVinci: 104 gpio irqs                                                          

    MUX: initialized GPIO20                                                         

    MUX: initialized I2C_SCL                                                        

    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 Sep 24 2010 12:51:00 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           

    Linux video capture interface: v2.00                                            

    Trying to register davinci display video device.                                

    layer=c2ecfa00,layer->video_dev=c2ecfb60                                        

    Trying to register davinci display video device.                                

    layer=c2ecf800,layer->video_dev=c2ecf960                                        

    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: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-b)

    Creating 6 MTD partitions on "nand_davinci.0":                                  

    0x00000000-0x00300000 : "bootloader"                                            

    0x00300000-0x00500000 : "params"                                                

    0x00500000-0x00700000 : "kernel"                                                

    0x00700000-0x01f00000 : "filesystem"                                            

    0x01f00000-0x02100000 : "data1"                                                 

    0x02100000-0x08000000 : "data2"                                                 

    nand_davinci nand_davinci.0: hardware revision: 2.3                             

    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 a0

    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.

    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_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 0)

    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                                       

    IP-Config: No network devices available.                                        

    RAMDISK: cramfs filesystem found at block 0                                     

    RAMDISK: Loading 14908KiB [1 disk] into ram disk... done.                       

    VFS: Mounted root (cramfs filesystem) readonly.                                 

    Freeing init memory: 180K                                                       

    INIT: version 2.86 booting                                                      

    0                                                                               

    mkdir: Cannot create directory `/dev/.test': Read-only file system              

    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 Sep 24 2010 14:36:54                      

    I2C: Module install successful, device major num = 252                          

    DMA: Module install successful, device major num = 251                          

    DRV: Module install successful                                                  

    DRV: Module built on Sep 24 2010 14:36:57                                       

    DRV: EDMACC.QUEPRI  = 00000777                                                  

    DRV: SYSTEM.MSTPRI0 = 00550011                                                  

    DRV: SYSTEM.MSTPRI1 = 00000444                                                  

    DRV: ISP.BCR        = 00000002                                                  

    DRV: SYSTEM.MISC = 00000391                                                     

    CMEMK module: built on Sep 24 2010 at 14:27:35                                  

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    allocated heap buffer 0xc4000000 of size 0x5000000                              

    CMEM Range Overlaps Kernel Physical - allowing overlap                          

    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             

    cmemk initialized                                                               

    EDMAK module: built on Sep 24 2010 at 14:27:38                                  

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    IRQK module: built on Sep 24 2010 at 14:27:39                                   

      Reference Linux version 2.6.18                                                

      File /home/harmeet/DM365/IPNetCam/ipnc2.0/dvsdk_2_10_01_18/linuxutils_2_24_03c

    irqk initialized                                                                

    Creat queue id:0                                                                

    queue id:0                                                                      

    Creat queue id:32769                                                            

    queue id:32769                                                                  

    IPNC_DM368_2.0.0 (harmeet@mapplinux03.india.ti.com) (gcc versio                 

    Creat queue id:65538                                                            

    queue id:65538                                                                  

    queue id:32769                                                                  

    queue id:65538                                                                  

     

    CPU is DM368                                                                    

    DEMOCFG Value   : 0                                                             

    Videocodecmode  : 0                                                             

    Videocodecres   : 0                                                             

    ./av_server.out FD OSD DM368 TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &     

    CPU CurrentStatus is = 1                                                        

    Check_device_version : DEVICE VER = 1 !!                                        

    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size)

    none on /var/run type tmpfs (rw)                                                

    none on /tmp type tmpfs (rw,sync)                                               

     

    AVSERVER UI: Initializing.                                                      

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

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

     

     CLK Hz,                                                                        

     ARM   Hz =  432000000                                                          

     DDR   Hz =  340000000                                                          

     VPSS  Hz =  340000000                                                          

     IMCOP Hz =  340000000                                                          

     

     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                

    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       

    ApproDrvInit: 7                                                                 

    Creat queue id:98307                                                            

    queue id:98307                                                                  

    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only film

    Starting hotplug subsystem:                                                     

     

    CONFIGURING AVSERVER FOR DMVA2 .....                                            

    queue id:65538                                                                  

    SENSOR FPS VALUE = 30                                                           

       pci                                                                          

    queue id:98307                                                                  

     

     FR : 0 users registered from exsiting face album                               

     

    > DMVA App: TASK CREATE                                                         

     

    > DMVA APP: Default application parameters set.                                 

    gAVSERVER_config.dmvaAppParams.dmvaAppSMETASensitivity = 3                      

    gAVSERVER_config.dmvaAppParams.dmvaAppSMETAPresentAdjust = 15                   

     DMVA > Trip:zone 1 - minX = 11,maxX = 50,minY = 17,maxY = 83                   

     DMVA > Trip:zone 2 - minX = 49,maxX = 89,minY = 17,maxY = 83                   

     

    > DMVA APP: Parameters read from UI                                             

                Mode         = 8                                                    

                Sensitivty   = 3                                                    

                Min Per.Size = 25x40                                                

                Max Per.Size = 38x55                                                

                Polygons     = 2                                                    

                Frame rate   = 10                                                   

                Tamper Reset = 3                                                    

     

     ALG: Created Image Sym Algo Kernel !                                           

     ALG: Created NMS Kernel !                                                      

     ALG: Created RLE Kernel !                                                      

     ALG: Created MORP Kernel !                                                     

     

    > DMVAL: Calculating memory requirement for DMVAL instance...                   

             Expecting 320x192 input images of type 'DMVAL_IMG_YUV420_PLANARINTERLE.

    > DMVAL: 8383285 bytes required for DMVAL instance.                             

    > DMVAL: 5128 bytes required for DMVAL output.                                  

    > DMVA APP: Allocated 5128 bytes for DMVAL output memory @ 0x4c2eb000           

    > DMVA APP: Allocated 8383285 bytes for DMVAL internal memory @ 0x4c2f3000      

    > DMVA APP: Calling DMVAL_configure                                             

    > DMVAL: Assigning memory to support 320x192 image.                             

    > DMVAL: Assigned memory to library framework.                                  

    > DMVAL: Library framework initialized for the 1st time.                        

    > DMVAL: Assigned memory to Camera Tamper Detection application.                

    > DMVAL: Assigned memory to Intelligent Motion Detection application.           

    > DMVAL: Assigned memory to Trip Zone application..                             

    > DMVAL: Assigned memory to Object Counting application.                        

    > DMVAL: Assigned memory to Streaming Metadata application.                     

    > DMVAL: Completed memory assignments to library applications.  ALG: Created Im!

     ALG: Created 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                                                

    NMS Kernel !                                                                    

     ADavinciDisplay DavinciDisplay.1: pixfmt->width = 640,                         

     layer->layer_info.config.line_length= 640                                      

    LG: Created RLE Kernel !                                                        

     ALG: Created MORP Kernel !                                                     

     

    > DMVAL: Library framework reset.                                               

    > DMVAL: TripZone installed.                                                    

    > DMVAL: Initialized library applications.                                      

     

    > DMVA APP: DMVAL modules initialized.                                          

    > DMVA APP: Application Memory Allocation Summary                               

                ------------------------------------------                          

      8383285 bytes for DMVAL instance.                                             

         5128 bytes for DMVAL output.                                               

     ============================================                                   

     Total Allocated = 8388413 bytes                                                

     

    > DMVA APP: Setting up TZ parameters...                                         

                Vertex  0: < 35, 32>                                                

                Vertex  1: <160, 32>                                                

                Vertex  2: <160,159>                                                

                Vertex  3: < 35,159>                                                

                Width:  125                                                         

                Height: 127                                                         

                Vertex  0: <156, 32>                                                

                Vertex  1: <284, 32>                                                

                Vertex  2: <284,159>                                                

                Vertex  3: <156,159>                                                

                Width:  128                                                         

                Height: 127                                                         

    > DMVAL: MinPersonSize = 25 40                                                  

     

    > DMVAL: MaxPersonSize = 38 55                                                  

     

    > DMVAL: MinVehicleSize = 25 40                                                 

     

    > DMVAL: MaxVehicleSize = 38 55                                                 

     

    > DMVA APP: DONE setting up DMVA-TZ parameters                                  

    IN DMVATSKMAIN                                                                  

     

    > DMVA EVT: Created JPEG encoder instance for event recording...                

     

    > DMVA EVT: Created Event-handling task.                                        

    IPNC_DM368_2.0.0 (harmeet@mapplinux03.india.ti.com) (gcc versio                 

    IPNC AUTO_IRIS = 1 #####################                                        

    GBCE in EVAL MODE                                                               

       pci      [success]                                                           

       usb                                                                          

     

    DMVA:cur sensor fps             = 30                                            

    DMVA:cur DMVA fps               = 10                                            

    DMVA:cur skip frame mask        = 1                                             

    DMVA:cur skip frame mask length = 3                                             

     

    DMVAL> Image pyramid sizes:                                                     

    (224 128)                                                                       

    (160 104)                                                                       

    (128 81)                                                                        

     

    TI 2A TRIAL VERSION!!!                                                          

    TI 2A Expiration date: 2010, Dec 31                                             

       usb      [success]                                                           

       isapnp                                                                       

       isapnp   [success]                                                           

       ide                                                                          

    Encode Error: unknow feature setup num = 55                                     

    func:stream_feature_setup line:1906                                             

    Encode Error: unknow feature setup num = 56                                     

    func:stream_feature_setup line:1906                                             

    Simple mixer control 'PGA',0                                                    

      Capabilities: cvolume                                                         

      Capture channels: Mono                                                        

      Limits: Capture 0 - 3                                                         

      Mono: Capture 2 [67%]                                                         

       ide      [success]                                                           

    Simple mixer control 'Mono DAC',0                                               

      Capabilities: pvolume pvolume-joined                                          

      Playback channels: Mono                                                       

      Limits: Playback 0 - 63                                                       

      Mono: Playback 47 [75%]                                                       

     DMVA SCH > created Dmva semaphore with handle = 569544                         

     DMVA SCH > schedule thread create successful                                   

       input                                                                        

       input    [success]                                                           

       scsi                                                                         

       scsi     [success]                                                           

    done.                                                                           

    Starting portmap daemon: portmap.                                               

    Starting internet superserver: inetd.                                           

    io scheduler deadline registered                                                

    io scheduler cfq registered                                                     

    TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:a0:05:f6         

     sbulla: unknown partition table                                                

    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              

    netconsole: not configured, aborting                                            

    PPP generic driver version 2.4.2                                                

    PPP Deflate Compression module registered                                       

    Davinci EMAC MII Bus: probed                                                    

    MAC address is 00:0C:0C:a0:05:f6                                                

    TI DaVinci EMAC Linux version updated 4.0                                       

    davinci-mmc davinci-mmc.0: Supporting 4-bit mode                                

    davinci-mmc davinci-mmc.0: Using DMA mode                                       

    usbcore: registered new driver usbfs                                            

    usbcore: registered new driver hub                                              

    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 c38f8000 using DMA, IRQ 12         

    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)     

     sbulla: unknown partition table                                                

    mkdosfs 3.0.6 (04 Oct 2009)                                                     

    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 57fc57ab, no volume label.                                         

    queue id:0                                                                      

    umount: /mnt/mmc: not mounted                                                   

    killall: dhcpcd: no process killed                                              

    rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory         

    net_set_ifaddr: ioctl SIOCSIFADDR: Invalid argument                             

    Error: Error on Set ip                                                          

    net_set_ifaddr: ioctl SIOCSIFADDR: Invalid argument                             

    Error: Error on Set ip                                                          

    Error: Network Init Fail                                                        

     

    SystemServer:Fail at SYS_MSG_DO_BOOT_PROC                                       

    Error SysDoBootProc control fail.                                               

    ApproDrvInit: 3                                                                 

    queue id:98307                                                                  

    queue id:0                                                                      

    queue id:32769                                                                  

    [01/Jan/2000:00:08:33 +0000] boa: server version Boa/0.94.13                    

    [01/Jan/2000:00:08:33 +0000] boa: server built Sep 24 2010 at 14:39:54.         

    [01/Jan/2000:00:08:33 +0000] boa: starting server pid=771, port 80              

    INIT: Entering runlevel: 3                                                                               

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

    DM368_IPNC login: root                                                                                                      

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

     

     

    The ifconfig shows the following:

    eth0      Link encap:Ethernet  HWaddr 00:0C:0C:A0:05:F6                         

              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    

              RX packets:483 errors:0 dropped:0 overruns:0 frame:0                  

              TX packets:24 errors:0 dropped:0 overruns:0 carrier:0                 

              collisions:0 txqueuelen:1000                                          

              RX bytes:74529 (72.7 KiB)  TX bytes:4165 (4.0 KiB)                    

              Interrupt:52 Base address:0x7000                                      

     

    eth0:avah Link encap:Ethernet  HWaddr 00:0C:0C:A0:05:F6                         

              inet addr:169.254.7.231  Bcast:169.254.255.255  Mask:255.255.0.0      

              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    

              Interrupt:52 Base address:0x7000                                      

     

    lo        Link encap:Local Loopback                                             

              inet addr:127.0.0.1  Mask:255.0.0.0                                   

              UP LOOPBACK RUNNING  MTU:16436  Metric:1                              

              RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    

              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  

              collisions:0 txqueuelen:0                                             

              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)           

     

    ifconfig eth0 down

    EMAC: TX Complete: Starting queue 

    ifconfig eth0 up doesn't show up anything

     

    I have also set up the following environment variables at U-boot, but of no use:

    serverip = 172.24.136.158

    ipaddr=172.24.190.198

    gatewayip=172.24.188.1

    netmask=255.255.252.0

  • Hi,

    I don't have exactly DMVA2IPNC-MT5, but some other reference designs, but it should work the same.
    IP address arguments that you set in uBoot are valid only until system_server (application in /opt/ipnc) is started after linux boot up.
    Then system_server looks at the configuration file (/mnt/nand/system.cfg) and takes IP addresses from there.
    IP addresses and other configuration parameters are stored in that file by web server, when you change parameters by web interface.
    So you can  delete that file (/mnt/nand/system.cfg) in serial console, and than restart the camera with jumper set to static ip. After restart the default arguments will be set
    by system_server, and system.cfg file will be recreated with default arguments, that is IP = 192.168.1.168.
    Then you can try if everything works with default arguments. It probably should.

    Regards,
    Marko.

  • Hi Marko,

    This really worked. I can now get streaming with static IP configuration. Thanks a lot dear.

    Regards,

  • thanks to marko。 I have confused by this question for one day, with your excellent help,I solved it!