DCS-950




Interested in talking about this information: kirkATnosrednaDOTnet



Introduction





I built a barred owl nest/house for the woods of my backyard. When I built it I put an attic in it in order to house a webcam so I could take sneak peeks of any owlets that might showup, assuming any mating pair might want to accept my house as their home. In fact that has happened in the spring of 2008. Unfortunately, I never got the camera into it (yet) because of the stupid Windows Internet Exploder issue with accessing this camera. So once the owl chick showed up I was reinvigorated to make this camera work.



At this point I still need to build an IR illuminator and get it installed in the attic before next winters nesting season.



Even though I have moved back to the D-Link firmware for now, I thought my experiences might help others frustrated with this camera.



Getting a serial console

I dismantled my A2 version of my DCS-950 camera and was able to add a standard RS-232 DB-9 connector and achieve the standard firmware prompt and thereafter the entire Linux boot sequence. Using this firmware prompt I was then able to build the OpenWrt Kamikaze build and get it to boot as well. I was never able to achive a shell prompt at the conclusion of the stock D-Link Linux boot sequence (even though it actually prints a message saying one can simple hit "enter"). I was able to completely bring up the OpenWrt system all the way to a shell prompt.



The only trick to this installation was that I needed to slap together a level-converter circuit using a Maxim MAX-233A DIP chip. This was trivial though and just worked.



My initial goal was to hack into this camera, get the serial console working, replace the stock firmware image with the OpenWrt Kamikaze build. At that point I was going to try to replace the GoAhead web server which appears to be the sole culprit causing the camera to only support M$ ASP formatted webpages. But during this process I ran across a website that discussed the latest stock firmware image and claimed one could access single snapshot images from the camera using any old browser under any OS. And it was true.



So, for now, the camera sits here with the newer stock firmware image installed and the OpenWrt replaced. I now have a handy little shell script run by cron that takes occasional snapshots (640x480).



  1. !/bin/sh
cd /var/www

  1. tell the camera to grab a new image
wget --quiet http://192.168.0.178/iMode.asp (external link)

if -e iMode.asp ; then

    #grab the name of the JPG file that was just created

    file=`grep -o image.*\.jpg iMode.asp`

    #now go grab the actual JPG image file

    wget --quiet http://192.168.0.178/$file (external link)

    #turn it into a generic named file

    if -e $file ; then

       mv $file owlcam.jpeg

    fi

    #cleanup

    rm -f iMode.asp

fi







Getting and Booting the D-Link firmare image

As I stated above, for the time being, I have moved back to the latest stock D-Link firmware image (1.08m). This image allows me to take single snapshot images from my other FireFox/Linux platforms around the house. The specific version I am using with success is: 8C9D89ED8068F68_DLinkEn_DCS950.1.08. I am able to load both this stock firmware image, as well as the OpenWrt image below, using the serial cable I installed on the main circuit board (i.e. not using the web based firmware upgrade feature).



--) I still need to fill this section in and its time to head to bed, so hopefully I'll be back here soon ..... sorry !



--) Grab the official D-Link firmware image and then run the following command to strip the TRX header so you can then load it via the boot menu over the serial connection: "dd if=DLink.fw of=DLink.vm bs=1 skip=32". The reboot the camera, quickly hit some spaces to get to the bootloader menu, and hit "a".



--) I connected to the newly installed serial port using my laptop, a USB-to-serial cable, and minicom. As soon as you apply power to the camera you must quickly hit a couple of spaces on the keyboard to break the boot sequence and bring up the boot menu.



--) Getting minicom to actually download the firmware image was a little flaky. Sometimes it took a number of retries of the XMODEM protocol to get the file to actually begin downloading. The other times it would quickly just error and die. Using minicom: (/dev/ttyUSB0 @ 115k-8N1)



ADM5120 Boot (V1.04)



ADM Bootloader (v0.04.01 20040216)

==========

(a) Download vmlinuz to flash ...

(b) Download vmlinuz to sdram (for debug) ...

(c) Update bootloader ...

(e) Exit



Please enter your key :













Building and Booting an OpenWrt firmware



svn co https://svn.openwrt.org/openwrt/trunk/ (external link) (external link)

cd trunk

make menuconfig

choose: adm5120 --> exit & save

make V=99

During the build process, buildroot will download all sources to the "dl" directory and will start patching and compiling them in the "build_<arch>" directory. When finished, the resulting firmware will be in the "bin" directory and packages will be in the "bin/packages" directory.



Note: Kamikaze only contains the essential set of packages, extra packages can be enabled with "make package/symlinks" or can be checked out from the following URL : svn co https://svn.openwrt.org/openwrt/packages/ (external link) (external link)



> cd ~/OpenWrt/trunk/bin

> cp openwrt-adm5120-cas-630-squashfs-xmodem.bin ~/openwrt.fw.bin



Enter "minicom" (115k baud, 8N1, /dev/ttyUSB0): need pkg "rzsz" ?

Ctrl-A S --> File Send Menu

Select XMODEM and then the filename to send.

(keep repeating until it accepts it !!)



GO7007SB Driver: http://nikosapi.org/wiki/index.php/WIS_Go7007_Linux_driver (external link) (external link)





Below you will find the entire boot sequence I found while booting the OpenWrt firmware. I then ran a number of commands at the shell prompt just to see what the little camera had to offer. The next challenge would be to build the WIS7007 chip driver and then find a replacement for the GoAhead web server.



OpenWrt Boot Sequence



ADM5120 Boot (V1.04)



LZMA loader for CAS-630, Copyright (C) 2007 OpenWrt.org



Looking for TRX header... found at 00040000, kernel:0000001C len:000BBFE4

decompressing kernel... done!

launching kernel...



Linux version 2.6.24.7 (kirk@moto) (gcc version 4.1.2) #1 Fri May 30 21:21:27 EDT 2008

console early0 enabled

CPU revision is: 0001800b (MIPS 4Kc)

SoC      : ADM5120 revision 8, running at 175MHz

Bootdev  : NOR flash

Prom     : Generic

Determined physical RAM map:

 memory: 02000000 @ 00000000 (usable)

Initrd not found or empty - disabling initrd

Zone PFN ranges:

  Normal          0 ->     8192

Movable zone start PFN for each node

early_node_map1 active PFN ranges

    0:        0 ->     8192

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128

Kernel command line: console=ttyS0,115200 rootfstype=squashfs,yaffs2,jffs2 init=/etc/preinit

Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.

Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes

Synthesized clear page handler (26 instructions).

Synthesized copy page handler (46 instructions).

Synthesized TLB refill handler (20 instructions).

Synthesized TLB load handler fastpath (32 instructions).

Synthesized TLB store handler fastpath (32 instructions).

Synthesized TLB modify handler fastpath (31 instructions).

PID hash table entries: 128 (order: 7, 512 bytes)

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory: 30028k/32768k available (1867k kernel code, 2740k reserved, 344k data, 132k init, 0k highmem)

Mount-cache hash table entries: 512

adm5120: registered board 'Generic ADM5120 board'

adm5120: registered board 'Cellvision NFS-101U/101WU'

adm5120: registered board 'Cellvision CAS-861/861W'

adm5120: registered board 'Cellvision CAS-790'

adm5120: registered board 'Cellvision CAS-771/771W'

adm5120: registered board 'Cellvision CAS-700/700W'

adm5120: registered board 'Cellvision CAS-670/670W'

adm5120: registered board 'Cellvision CAS-630/630W'

adm5120: registered board 'Compex WPP54G'

adm5120: registered board 'Compex WPP54AG'

adm5120: registered board 'Compex WP54G-WRT'

adm5120: registered board 'Compex WP54G'

adm5120: registered board 'Compex WP54AG'

adm5120: registered board 'Compex NetPassage 28G'

adm5120: registered board 'Compex NetPassage 27G'

adm5120: registered board 'Edimax BR-6104WG/6114WG'

adm5120: registered board 'Edimax BR-6104K/6104KP'

adm5120: registered board 'Infineon EASY 83000 Reference Board'

adm5120: registered board 'Infineon EASY 5120-WVoIP Reference Board'

adm5120: registered board 'Infineon EASY 5120-RT Reference Board'

adm5120: registered board 'Infineon EASY 5120P-ATA Reference Board'

adm5120: registered board 'Mikrotik RouterBOARD 192'

adm5120: registered board 'Mikrotik RouterBOARD 153'

adm5120: registered board 'Mikrotik RouterBOARD 150'

adm5120: registered board 'Mikrotik RouterBOARD 133C'

adm5120: registered board 'Mikrotik RouterBOARD 133'

adm5120: registered board 'Mikrotik RouterBOARD 112'

adm5120: registered board 'Mikrotik RouterBOARD 111'

adm5120: registered board 'ZyXEL Prestige 335/335WT'

adm5120: registered board 'ZyXEL Prestige 334WT'

net_namespace: 64 bytes

NET: Registered protocol family 16

adm5120: setting up board 'Cellvision CAS-630/630W'

adm5120: system has PCI BIOS

registering PCI controller with io_map_base unset

Time: MIPS clocksource has been installed.

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

squashfs: version 3.0 (2006/03/15) Phillip Lougher

Registering mini_fo version $Id$

JFFS2 version 2.2. (NAND) (SUMMARY)  �� 2001-2006 Red Hat, Inc.

yaffs May 30 2008 21:20:10 Installing.

io scheduler noop registered

io scheduler deadline registered (default)

Serial: AMBA driver $Revision: 1.41 $

APB:UART0: ttyS0 at MMIO 0x12600000 (irq = 9) is a AMBA

console handover: boot early0 -> real ttyS0

APB:UART1: ttyS1 at MMIO 0x12800000 (irq = 10) is a AMBA

ADM5120 built-in ethernet switch driver version 0.1.1

adm5120-flash.0: probing at 0x1FC00000, size:4096KiB, width:16 bits

adm5120-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

 Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

adm5120-flash.0: found at 0x1FC00000, size:4096KiB, width:16 bits

adm5120-flash.0: adding static partitions

Creating 5 MTD partitions on "adm5120-flash.0":

0x00000000-0x00008000 : "admboot"

0x00008000-0x00010000 : "config"

0x00010000-0x00020000 : "nvfs1"

0x00020000-0x00030000 : "nvfs2"

0x00030000-0x00400000 : "firmware"

adm5120_wdt: Watchdog Timer version 0.1

nf_conntrack version 0.5.0 (1024 buckets, 4096 max)

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP vegas registered

NET: Registered protocol family 1

NET: Registered protocol family 17

802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

All bugs added by David S. Miller <davem@redhat.com>

trxsplit: searching TRX header in 'admboot'

trxsplit: searching TRX header in 'config'

trxsplit: searching TRX header in 'nvfs1'

trxsplit: searching TRX header in 'nvfs2'

trxsplit: searching TRX header in 'firmware'

trxsplit: TRX header found at 0x10000

trxsplit: creating TRX partitions in 'firmware' (31,4)

Creating 2 MTD partitions on "firmware":

0x0001001c-0x000cc000 : "kernel"

mtd: partition "kernel" doesn't start on an erase block boundary — force read-only

0x000cc000-0x003d0000 : "rootfs"

mtd: partition "rootfs" doesn't start on an erase block boundary — force read-only

mtd: partition "rootfs" set to be root filesystem

mtd: partition "rootfs_data" created automatically, ofs=1B0000, len=220000

0x001b0000-0x003d0000 : "rootfs_data"

VFS: Mounted root (squashfs filesystem) readonly.

Freeing unused kernel memory: 132k freed

Please be patient, while OpenWrt loads ...

Algorithmics/MIPS FPU Emulator v1.5

- preinit -

switching to jffs2

mini_fo: using base directory: /

mini_fo: using storage directory: /jffs

- init -



Please press Enter to activate this console. RPC: Registered udp transport module.

RPC: Registered tcp transport module.

i2c /dev entries driver

leds-adm5120: unsupported board

adm5120_wdt: enabling watchdog timer



BusyBox v1.8.2 (2008-05-30 21:12:23 EDT) built-in shell (ash)

Enter 'help' for a list of built-in commands.



  _                            

 |       |.---.-.-.|  |  |  |.--.|  |_

 |   -  
  _    -__    
  |  | 
   _
   _|

 |_
   _
|||  |__|

          |__| W I R E L E S S   F R E E D O M

 KAMIKAZE (bleeding edge, r11305) -------

  * 10 oz Vodka       Shake well with ice and strain

  * 10 oz Triple sec  mixture into 10 shot glasses.

  * 10 oz lime juice  Salute!

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







root@OpenWrt:/# df

Filesystem           1k-blocks      Used Available Use% Mounted on

tmpfs                    15080        20     15060   0% /tmp

tmpfs                      512         0       512   0% /dev

/dev/mtdblock7            2176       200      1976   9% /jffs

mini_fo:/jffs              896       896         0 100% /







root@OpenWrt:/# top



Mem: 9772K used, 20388K free, 0K shrd, 860K buff, 2992K cached

CPU:   0% usr   0% sys   0% nice  99% idle   0% io   0% irq   0% softirq

Load average: 0.01 0.05 0.01

  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND

 2001  1786 root     R     2412   8%   1% top

 1794     1 root     S     2424   8%   0% syslogd -C16

 1786     1 root     S     2416   8%   0% /bin/ash --login

    1     0 root     S     2412   8%   0% init      

 1785     1 root     S     2412   8%   0% logger -s -p 6 -t 

 1971     1 root     S     2408   8%   0% telnetd -l /bin/login

 1967     1 root     S     2408   8%   0% /usr/sbin/httpd -p 80 -h /www -r Open

 1796     1 root     S     2404   8%   0% klogd

 1995     1 root     S     2404   8%   0% watchdog -t 5 /dev/watchdog

 1962     1 root     S     1928   6%   0% /usr/sbin/dropbear -p 22

 1989     1 nobody   S     1268   4%   0% /usr/sbin/dnsmasq -K -D -y -Z -b -E -

 1806     1 root     S     1128   4%   0% /sbin/hotplug2 override persisten

    5     2 root     SW<      0   0%   0% khelper

  581     2 root     SW<      0   0%   0% mtdblockd

    2     0 root     SW<      0   0%   0% kthreadd

    3     2 root     SW<      0   0%   0% ksoftirqd/0

 1771     2 root     SWN      0   0%   0% jffs2_gcd_mtd7

   26     2 root     SW<      0   0%   0% kblockd/0

 1912     2 root     SW<      0   0%   0% rpciod/0

   29     2 root     SW<      0   0%   0% kseriod





root@OpenWrt:/# ps auxww



  PID  Uid        VSZ Stat Command

    1 root       2412 S   init      

    2 root            SW< kthreadd

    3 root            SW< ksoftirqd/0

    4 root            SW< events/0

    5 root            SW< khelper

   26 root            SW< kblockd/0

   29 root            SW< kseriod

   50 root            SW  pdflush

   51 root            SW  pdflush

   52 root            SW< kswapd0

   53 root            SW< aio/0

  581 root            SW< mtdblockd

 1771 root            SWN jffs2_gcd_mtd7

 1785 root       2412 S   logger -s -p 6 -t 

 1786 root       2416 S   /bin/ash --login

 1794 root       2424 S   syslogd -C16

 1796 root       2404 S   klogd

 1806 root       1128 S   /sbin/hotplug2 override persistent --max-children

 1912 root            SW< rpciod/0

 1962 root       1928 S   /usr/sbin/dropbear -p 22

 1967 root       2408 S   /usr/sbin/httpd -p 80 -h /www -r OpenWrt

 1971 root       2408 S   telnetd -l /bin/login

 1989 nobody     1268 S   /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -

 1995 root       2404 S   watchdog -t 5 /dev/watchdog

 2003 root       2412 R   ps auxww





root@OpenWrt:/#  lsmod



Module                  Size  Used by    Not tainted

leds_gpio               1344  0

i2c_dev                 4304  0

i2c_core               13104  1 i2c_dev

nf_nat_tftp              448  0

nf_conntrack_tftp       2448  1 nf_nat_tftp

nf_nat_irc               928  0

nf_conntrack_irc        2768  1 nf_nat_irc

nf_nat_ftp              1440  0

nf_conntrack_ftp        5120  1 nf_nat_ftp

nfs                   242032  0

lockd                  60816  1 nfs

sunrpc                144480  4 nfs,lockd





root@OpenWrt:/# more /proc/cpuinfo



system type             : Cellvision CAS-630/630W

processor               : 0

cpu model               : MIPS 4Kc V0.11

BogoMIPS                : 173.56

wait instruction        : yes

microsecond timers      : yes

tlb_entries             : 16

extra interrupt vector  : yes

hardware watchpoint     : yes

ASEs implemented        :

shadow register sets    : 1

VCED exceptions         : not available

VCEI exceptions         : not available







root@OpenWrt:/# more/proc/meminfo



MemTotal:        30160 kB

MemFree:         20364 kB

Buffers:           860 kB

Cached:           3004 kB

SwapCached:          0 kB

Active:           2296 kB

Inactive:         2380 kB

SwapTotal:           0 kB

SwapFree:            0 kB

Dirty:               0 kB

Writeback:           0 kB

AnonPages:         836 kB

Mapped:            748 kB

Slab:             3920 kB

SReclaimable:     1164 kB

SUnreclaim:       2756 kB

PageTables:        184 kB

NFS_Unstable:        0 kB

Bounce:              0 kB

CommitLimit:     15080 kB

Committed_AS:     2672 kB

VmallocTotal:  1048404 kB

VmallocUsed:       932 kB







root@OpenWrt:/# more /proc/iomem



00000000-01ffffff : System RAM

  00001000-001d3f1f : Kernel code

  001d3f20-0022a0ff : Kernel data

11400000-114fffff : ADM5120 PCI MEM

12000000-121fffff : adm5120-switch

12600000-127fffff : APB:UART0

  12600000-1260003f : uart-pl010

12800000-129fffff : APB:UART1

  12800000-1280003f : uart-pl010

1fc00000-1fffffff : adm5120-flash.0







root@OpenWrt:/# more /proc/devices



Character devices:

  1 mem

  2 pty

  3 ttyp

  5 /dev/tty

  5 /dev/console

  5 /dev/ptmx

 10 misc

 89 i2c

 90 mtd

128 ptm

136 pts

204 ttyS



Block devices:

 31 mtdblock







root@OpenWrt:/# more /proc/filesystems



nodev   sysfs

nodev   rootfs

nodev   bdev

nodev   proc

nodev   sockfs

nodev   pipefs

nodev   anon_inodefs

nodev   futexfs

nodev   tmpfs

nodev   inotifyfs

nodev   configfs

nodev   devpts

        squashfs

nodev   ramfs

nodev   mini_fo

nodev   jffs2

        yaffs

        yaffs2

nodev   rpc_pipefs

nodev   nfs

nodev   nfs4







root@OpenWrt:/# more /proc/diskstats



  31    0 mtdblock0 0 0 0 0 0 0 0 0 0 0 0

  31    1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0

  31    2 mtdblock2 0 0 0 0 0 0 0 0 0 0 0

  31    3 mtdblock3 0 0 0 0 0 0 0 0 0 0 0

  31    4 mtdblock4 0 0 0 0 0 0 0 0 0 0 0

  31    5 mtdblock5 0 0 0 0 0 0 0 0 0 0 0

  31    6 mtdblock6 50 807 1714 156 0 0 0 0 0 156 156

  31    7 mtdblock7 1 3 32 4 0 0 0 0 0 4 4









))Original D-Link(( Boot Sequence



ADM5120 Boot (V1.04)

LINUX/5120 started...

CPU revision is: 0001800b

Primary instruction cache 8kb, linesize 16 bytes (2 ways)

Primary data cache 8kb, linesize 16 bytes (2 ways)

Linux version 2.4.18-5120-05 (amy@SWTEST2) v1.00 #386 ¥| 9¤ë 6 12:40:21 CST 2007

am5120_setup() starts.

System has PCI BIOS

Determined physical RAM map:

 memory: 01aed000 @ 00513000 (usable)

Initial ramdisk at: 0x801cd000 (3241420 bytes)

On node 0 totalpages: 8192

zone(0): 4096 pages.

zone(1): 4096 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/ram0 console=ttyS0

CPU clock: 175MHz

Calibrating delay loop... 174.48 BogoMIPS

Memory: 27048k/27572k available (1671k kernel code, 524k reserved, 3264k data, 56k init, 0k highmem)

Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)

Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 8192 (order: 3, 32768 bytes)

Checking for 'wait' instruction...  available.

POSIX conformance testing by UNIFIX

Autoconfig PCI channel 0x801cc9c8

Scanning bus 00, I/O 0x11500000:0x115ffff0, Mem 0x11400000:0x11500000

00:00.0 Class 0600: 1317:5120

        Mem unavailable — skipping

        I/O unavailable — skipping

fixup resource

fixup host controller

am5120 fix up

pcibios_fixup

fixup IRQ

PCI Interrupt Line = 0x0

PCI Interrupt Pin = 0x0

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

pty: 256 Unix98 ptys configured

block: 64 slots per queue, batch=16

RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize

loop: loaded (max 8 devices)

ADM5120 Switch Module Init

PPP generic driver version 2.4.1

PPP Deflate Compression module registered

PPP BSD Compression module registered

AM5120 NOR flash device: 400000 at 1fc00000

AM5120 NOR flash device: Found 1 x16 devices at 0x0 in 16-bit mode

 Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling fast programming due to code brokenness.

Creating 4 MTD partitions on "AM5120 NOR flash device":

0x00008000-0x00010000 : "BoardCfg"

0x00010000-0x00020000 : "Linux NVFS"

0x00020000-0x00030000 : "Linux NVFS2"

0x00030000-0x00400000 : "Kernel Image"

AM5120 NOR flash device initialized

usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

 Start Init AHCI_INIT

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

hub.c: 2 ports detected

Device is hub/wis camera, so skip call policy(devnum=1)!!!

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 2048)

NET4: Ethernet Bridge 008 for NET4.0

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 3165k freed

EXT2-fs warning: maximal mount count reached, running e2fsck is recommended

VFS: Mounted root (ext2 filesystem).

Freeing prom memory: 0kb freed

Freeing unused kernel memory: 56k freed

hub.c: USB new device connect on bus1/3, assigned device number 2

init started:  BusyBox v1.00-pre1 (2006.04.21-07:46+0000) multi-call binary

Check MTD block device ...

usb.c: USB device 2 (vend/prod 0xeb1/0x7007) is not claimed by any active driver.

Device is hub/wis camera, so skip call policy(devnum=2)!!!

    MTDC: Mount MTD1 done.

    MTDC: Mount MTD2 done.

    MTDC: No need to copy file.

    countryCode = 0

    beginChannel = 1

    endChannel = 11

    cp /sys/mtd1/CountryRegion.conf /sys/mtd2/CountryRegion.conf

    • check copy default file
    • copy config files
cp: /sys/mtd1/triggerURL: No such file or directory

    • umount mtd1
    • mount mtd2
    • umount mtd2
Using /sys/crfs/wireless/rt2500.o

insmod: init_module: rt2500: No such device

    • set loopback interface
ifconfig: ra0: error fetching interface information: Device not found



br0: port 1(adm0) entering learning state

    • exec modules


br0 HWaddr 00:19:5B:3E:B8:5F 

get last 2 items from MAC = B8 5F

IP Now = 169.254.184.95



target = 169.254.184.95

ARPING to 169.254.184.95 from 0.0.0.0 via br0

Sent 2 probes (2 broadcast(s))

Received 0 reply

ARPING return value = 0



ifconfig: set interface br0:0 to 169.254.184.95



check button version v1.08 2005.12.26

    • copy fix_setting.txt for sensor
fopen etc/wlan null

Sensor Type: CMOS, MI0360

    • insert wis driver module
Using /etc/wis/wis_sensor.o

Using /etc/wis/wisgo7007sb.o

usb.c: registered new driver wisgo

<WIS DRV> InitBoard

<WIS DRV> sensor type 1, audio 1

download pipe size: 30784

 
%

download return: 0

download pipe size: 72192

 
%

download return: 0

download pipe size: 64

download return: 0

<WIS DRV> (1) rt 0, regData 0x823a

<WIS DRV> MI0360ReadDeviceAddr 0x91

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 64

download return: 0

download pipe size: 30784

 
%

download return: 0

    • go-server
    • execute rc.init.sh


Aragorn IPV Srever version : v1.03.20060710



ipv server port = 5100


  • Cellvision go-server v1.37.0402.2007 *

pServer->FlickerType 0

----- go-server setting ----

gop_size       = 30

width          = 640

height         = 480

h_scale_enb    = 0

v_scale_enb    = 0

target_bitrate = 1000000

peak_bitrate   = 1200000

frame_rate     = 15000

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



Setting hostname .... DCS-950

DHCP : 0

PPPoE: 0

   Total free freme set : 20

   Total free fremes : 600

Board Revision number : 0x0200

Board Name            : Aragorn

Board Capability      : 0x00000003

Source Width          : 640

Source Height         : 480

br0: port 1(adm0) entering forwarding state

br0: topology change detected, propagating

kill: Usage: kill -signum job... or

kill -l exitstatus

Set Timezone=-5

TimeZone = (GMT-05:00) Eastern Time(US & Canada)

zoneoffset = GMT+05:00

1.Set Date & time ...(command: /bin/queryTimeServer ntp1.dlink.com &)



Cellvision UPnPAV Media Server v1.03.0629.2006.



IP=192.168.0.178:0

IP=169.254.184.95:1



Cellvision UPnPAV Media Server v1.03.0629.2006.



IP=192.168.0.178:0

IP=169.254.184.95:1

<WIS DRV> GetSensorConfig: sensor type 1, audio 1

<WIS DRV> onstartCapture

download pipe size: 74496

 
%

UPnPAV: 640x480-15000

AVI_FILE_HEADER struct size 0x800

UPnPAV: 640x480-15000

AVI_FILE_HEADER struct size 0x800

download return: 0



<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

SetMicronImage 1: r = 0download pipe size: 64



download return: 0

<go-server> ReadMicronRegister status 0x1, value 0x4

<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90



<go-server> ReadMicronRegister return 0x0

SetMicronImage 2: r = 0, value = 0xd000download pipe size: 64

download return: 0



<go-server> ReadMicronRegister status 0x20, value 0xd000

<go-server> ReadMicronRegister return 0x0



<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

SetMicronImage 3: r = 0download pipe size: 64



download return: 0

<go-server> ReadMicronRegister status 0x1, value 0x1

<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90



<go-server> ReadMicronRegister return 0x0

MicronNightShot Disable : r = 1

<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90



MicronNightShot Disable : r = 0download pipe size: 64



download return: 0

<go-server> ReadMicronRegister status 0x37, value 0x80

<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90



<go-server> ReadMicronRegister return 0x0

SetMicronFlicker 1: r = 0download pipe size: 64



download return: 0

<go-server> ReadMicronRegister status 0x37, value 0x80

<go-server> ReadMicronRegister return 0x0



<4>MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

MI IO_I2CWRITEREGISTER MI0360WriteDeviceAddr=90

SetMicronFlicker 2: r = 0download pipe size: 64



download return: 0

<go-server> ReadMicronRegister status 0x5b, value 0x0

<go-server> ReadMicronRegister return 0x0

StartDevice

StartTime: 1969/12/31 19:00:31

Running

audio_work_thread Enter

avi_file_save_thread Enter

mail_thread Enter

iMode_thread Enter

audio_send_thread Enter

Check go Server ok.

Result = 1

1.Set Date & time ...(command: /bin/queryTimeServer ntp.dlink.com.tw &)

Result = 1

1.Set Date & time ...(command: /bin/queryTimeServer ntp1.dlink.com &)

Result = 1

1.Set Date & time ...(command: /bin/queryTimeServer ntp.dlink.com.tw &)

Result = 1

Dec 31 19:00:45 crond219: /sbin/crond 2.3.2 dillon, started, log level 8



cat: /var/run/pppoe.conf-adsl.pid: No such file or directory

kill: Usage: kill -signum job... or

kill -l exitstatus

cat: /var/run/pppoe.conf-adsl.pid.pppoe: No such file or directory

kill: Usage: kill -signum job... or

kill -l exitstatus

SIOCADDRT: File exists



  • Running chkwebs vMO Send Mail Version 1.0.0_20040804 *

    ----------------+
/web/sib2.conf:53: no such option 'CF-UPNPAV-ENABLE'

run check~~~

| Wecome to Linux/MIPS Cellvision Systems|

+----------------+
1.08

1.72.0906.2007(1.08d)



Please press Enter to activate this console. Jan  1 00:00:00 crond276: /sbin/crond 2.3.2 dillon, started, log level 8











IDCS-950 Partial/Observable Parts List



))Topside:



U1 – TS6121AX-LF - 10/100 Ethernet BaseT LAN Magnetic

U6 – M12L128168A? – (ESMT) - 2M x 16-bit x 4 banks

U11 – W681360RG – IC Voiceband CODEC







Backside:



U12 – Ass50 -

U5 – M12L128128A? - (ESMT) - 2M x 16-bit x 4 banks

U9 – GO7007SB – WisChip? MPEG4 Encoder

U2 – ADM5120 – Infineon processor

U4 – S29GL032M90TFIR4 – Spansion Flash Memory: 32Mb

U10 – IS42S32200C1 – (ISSI) – 512k bits x 32 bits x 4 banks SD RAM (64 Mbit)

U8 – AT24C04SC – Atmel 630 – 2-wire serial EEPROM

U13 – AP1605 – PWM/PFM Dual-Mode? Step-down Switching Regulator

((



 



TikiWiki assistant

Thank you for installing Tikiwiki!

LoginTo begin configuring Tiki, please login as admin.

The Tikiwiki CommunityTo learn more, visit: http://tikiwiki.org.

Tikiwiki DocumentationFor help, visit http://doc.tikiwiki.org.