News:

Re-organized the forum to more cleanly delineate the development section, as the end user support side appears to have taken a life of its own!

Author Topic: Looking for 2MB FW files for recovery  (Read 20396 times)

June 22, 2011, 01:49:12 am
Hi!

I have UBO (Unidentified Bricked Object) on my desk. Before it was IP CAM which work quite fain, but wifi doesn't work with secure sites. Anyway I tried to update FW (I thing, that I upload lr_cmos_11_14_1_42.bin) and cam became brick.

I bought cam on eBay with and it's mark as ali2.com, but on board is wanscam.com. So I expect that is Wancam, but according to board layout and used components it's may be Foscam clone.




Box is blue-white with dolphin in corner. On CD is dolphin. At the welcom page of WebUI was dolphin too :-(


Please have some one experiences with this cam? Which FW I should use?


I had try some FW.

http://www.openipcam.com/files/Firmware/foscam_linux_romfs_files.zip

It looks very good, but I getting this message:
Code: [Select]
Backtrace:
Function entered at [<0006829c>] from [<000127e0>]
 r5 = 00000000  r4 = 7F200000
Code: 4282c004 4a00001b (e4913004) e4a03004 e1a0ca00

So I deduced that I have a 2MB memory, but at booting is totally memory count as 8MB

Code: [Select]
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x200000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:A1:10:31:10:71
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1221 ¶ţ 12ÔÂ 1
5 09:31:56 CST 2009
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6248KB available (1470K code, 287K data, 40K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 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: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1703FF [VIRTUAL 7F0E0000-7F1703FF] (RO)
EN29LV160B Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.0 by Maverick Gao in 2006-8-12
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
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 512 bind 1024)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh

Sash command shell (version 1.1.1)
/> no support
hub.c: connect-debounce failed, port 1 disabled
new USB device :807b3004-7e86c0
hub.c: new USB device 1, assigned address 2
dvm cmos successfully initialized
dvm camera registered as video0
new USB device :807b3404-7e86c0
hub.c: new USB device 2, assigned address 3
idVendor = 0x148f, idProduct = 0x2573
aw version is 11.14.2.17
Unhandled fault: alignment exception (13) at 0x00000001
fault-common.c(97): start_code=0x1ed040, start_stack=0x360f98)
Internal error: Oops: 0
CPU: 0
pc : [<00160eb8>]    lr : [<00068304>]    Not tainted
sp : 007b1f80  ip : 00000000  fp : 007b1fac
r10: 0022b0c4  r9 : 000000e1  r8 : 00012980
r7 : 007b0000  r6 : 00000000  r5 : 00187bfc  r4 : 00000004
r3 : 00187c0c  r2 : 00000000  r1 : 7f200000  r0 : 00360f0c
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 0
Process camera (pid: 8, stackpage=007b1000)
Stack:
007b1f60:                                      00068304 00160eb8 60000013 ffffff
ff
007b1f80: 00000004 00000004 00187bfc 00000000  007b0000 00068304 7f200000 002fac
24
007b1fa0: 00000000 007b1fb0 000127e0 000682ac  7f200000 00017e80 7f200000 000000
04
007b1fc0: 00360f0c 00360f0c 7f200000 002fac24  00000000 007cc100 00000000 000000
00
007b1fe0: 0022b0c4 00360ef0 00000004 00360ee0  001f3c7c 001f0000 20000010 7f2000
00
Backtrace:
Function entered at [<0006829c>] from [<000127e0>]
 r5 = 002FAC24  r4 = 7F200000
Code: 4282c004 4a00001b (e4913004) e4a03004 e1a0ca00

I had try to these another
http://www.openipcam.com/files/Firmware/CAMHED02IPW/
http://www.openipcam.com/files/Firmware/541cpu%20Foscam%20clone%20recovery.zip


but I get this error:
Code: [Select]
...TCP: Hash tables configured (established 1024 bind 2048)
Blkmem: bad access: block=0, count=2 (pos=400, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 0
romfs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 1f:00



« Last Edit: June 22, 2011, 01:51:39 am by MeeO »

  • No avatar
  • *****
June 22, 2011, 02:23:05 am
Hi,

your cam is definitely 2MB flash Flash Size is 0x200000 Bytes

this error can't really be device dependent. If the ronfs image was flashed correctly on the correct position, this error should not appear in any device

when you flashed the files from "541 cpu Foscam clone recovery.zip", did you use the instructions from the 541recovery.txt inside?  Especially the webui ones (FX 8 webui 0x7f180000 0x7f180000)? Or maybe you had a typo when flashing the romfs?

try again being specially carefull or copy/paste the commands from 541recovery.txt
if it doesn't help, wipe all memory by del -all and try again

P.S.: is this the ordinary ali2 foscam clone or the ir-cut one?

June 22, 2011, 09:30:36 am
Thank you for replay.

It should have IR cut-off filter.

I go try all process with 541 FW again and I'll be brief you.

June 22, 2011, 06:39:15 pm
So ...
I had tried to upload 541 FW step-by-step according to manual
Code: [Select]
bootloader > del 7
Deleting Image 7 ...
............
bootloader > del 6
Deleting Image 6 ...
..........
bootloader > del 8
ERROR: Image 8 is not existed

bootloader > del -all
Press Ctrl-c to stop
Deleting ... Block 2
Deleting ... Block 3
Deleting ... Block 4
Deleting ... Block 5
Deleting ... Block 6
Deleting ... Block 7
Deleting ... Block 8
Deleting ... Block 9
Deleting ... Block 10
Deleting ... Block 11
Deleting ... Block 12
Deleting ... Block 13
Deleting ... Block 14
Deleting ... Block 15
Deleting ... Block 16
Deleting ... Block 17
Deleting ... Block 18
Deleting ... Block 19
Deleting ... Block 20
Deleting ... Block 21
Deleting ... Block 22
Deleting ... Block 23
Deleting ... Block 24
Deleting ... Block 25
Deleting ... Block 26
Deleting ... Block 27
Deleting ... Block 28
Deleting ... Block 29
Deleting ... Block 30
Deleting ... Block 31

bootloader > boot

Rebooting the system ...



W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x200000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:A1:10:31:10:71
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ...

bootloader > FX 7 linux.zip 0x7f020000 0x00008000 -acxz
Waiting for download
Press Ctrl-x to cancel ...
CCC
Flash programming ...
............
bootloader >
bootloader > FX 6 romfs.img 0x7f0E0000 0x7f0E0000 -a
Waiting for download
Press Ctrl-x to cancel ...
C
Flash programming ...
.........
bootloader >
bootloader > FX 8 541WebUI.bin 0x7f180000 0x7f180000 -a
Waiting for download
Press Ctrl-x to cancel ...

Flash programming ...
.......
bootloader > boot

Rebooting the system ...


But I get this output:
Code: [Select]
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x200000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:A1:10:31:10:71
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1161 Áů 12ÔÂ 1
2 17:07:32 CST 2009
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14344KB available (1470K code, 286K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 700000-6FFFFF [VIRTUAL 700000-6FFFFF] (RO)
No supported flash detected!
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.0 by Maverick Gao in 2006-8-12
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
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 1024 bind 2048)
Blkmem: bad access: block=0, count=2 (pos=400, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 0
romfs: unable to read superblock
[b]Kernel panic: VFS: Unable to mount root fs on 1f:00[/b]

I donn't know why I'm still getting this error massage (Kernel panic: VFS: Unable to mount root fs on 1f:00).

Should I try another rom?

I wrote to Wanscam support for origin rom and linux image, so I'm curios about their answer :-) I don't give it lot of chance, but it cost me nothing so why I couldn't try it? :-)

  • No avatar
  • *****
June 22, 2011, 10:28:41 pm
Quote
Blkmem 1 disk images:
0: 700000-6FFFFF [VIRTUAL 700000-6FFFFF] (RO)
No supported flash detected!

That would quite probably be the reason why it can't load the romfs.

Why don't you try one of the many many many firmwares in the file section.


June 23, 2011, 01:26:21 am
OK but which of them are intended for 2MB ?

  • No avatar
  • *****
June 23, 2011, 04:32:38 am
Ok, that lets me wonder if these Wansview 541 files are really for a 2MB device. I doubt it. And there are two NC541 filesets, one definitely too big to fit into 2MB

The only hint what fw could be for 2MB is its size. If kernel (linux.zip) + romfs + webui are less than 2MB it could be...

like CVLM-I33 or IN-3010 or IP6072 or heden or 613A_M136 (from includen PCB picture def 2MB) or fs613am13.zip (same as before but with instructions) or IP607FINAL.zip

your milage may vary because maybe none of them will have the fitting drivers in the kernel.
just to see if the kernel/romfs are working you don't need to flash a webui.

p.S.: and thanks for info, but I ment this Ali2 ir-cut cam
« Last Edit: June 23, 2011, 04:35:02 am by schufti »

June 23, 2011, 05:32:20 pm
For now I tried about 10 different FW (CAMHED02IPW, fs613am13, ES-IP607, Orite, EasyNP, 541cpu, NC541, IP607FINAL and some no name ), but with no success. FW are to big or flash driver is missing.
Just NC541 give me little spark. Cam start moving on boot, but end with loop of reboots. (I know that FW is bigger than I finding, but only this FW make cam little bit live).

Code: [Select]
W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x200000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:A1:10:31:10:71
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1453 Ň» 12ÔÂ 6
 08:30:46 CST 2010
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14320KB available (1481K code, 299K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1EC3FF [VIRTUAL 7F0E0000-7F1EC3FF] (RO)
EN29LV160B Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.1 by Maverick Gao in 2010-8-3
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
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 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
no support
[8]
Command: sh

Sash command shell (version 1.1.1)
/> hub.c: connect-debounce failed, port 1 disabled
new USB device :80fb4004-fed740
hub.c: new USB device 1, assigned address 2
detect_sensor: mi360
dvm cmos successfully initialized
dvm camera registered as video0
new USB device :80fb4404-fed740
hub.c: new USB device 2, assigned address 3
idVendor = 0x148f, idProduct = 0x2573
sw version is 21.22.2.36
aw not exist !
aw version is 0.0.0.0

Wait for auto-negotiation complete...^[ResetPhyChip Failed
^[video0 opened
1
1
1
1
1
1
set resolution 4
set brightness 100
set contrast 4
set sharpness 3
set mode 0
^[unknown command
_i2c_write: write i2c error
_i2c_write: write i2c error
do_zoom_stop: write error 5
__pthread_initial_thread_bos:440000
manage pid:16
audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
[28]
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
^[myreboot

 

And I really have ir-cut cam (with that bug antenna :-)

In firmware section are some bin (also for CVLM-I33 or IN-3010 or IP6072 or heden) files, can I get linux and romfs files from these? Or where can I find another files (I know that I can google it, but I appreciate your expert opinion )?

Thanks a lot for your help  ;)



« Last Edit: June 23, 2011, 05:35:43 pm by MeeO »

  • No avatar
  • *****
June 24, 2011, 03:46:41 am
Hi,

yes you can get linux and romfs from these fw files. use the fostar tool to split the fw into the linux and romfs parts.

your last log (i2c errors & myreboot) shows that the camera bin in this romfs doesn't support your cam-chip.

If you get the "unhandled fault: alignement exception" it is a romfs for 4MB devices

If you get the "kernelpanic ... unable to mount rootfs" or "no supported flash detected" the linux-kernel either has no driver for your flash-rom or it expects the romfs on an other address (0x7f0d vs. 0x7f0e)

so you may draw your conclusions and try to combine linux / romfs / webui accordingly

I wish you good luck

P.S.: I was going to buy one of these Ali2 ir-cut cameras but now that I know they only have 2MB and are hardly compatible I am a little hesitant ...



June 24, 2011, 06:17:59 am
No, no go ahead and buy one :-) than you can dump files for me  ;D

i'm kiding, of course. Cam was good but secured wifi connection don't work, so I try foscam FW.

No I'm thinking about compiling my own kernel, but I don't have so much time like I wish. If some one find wanscam FW pls let me know.
« Last Edit: June 25, 2011, 12:33:15 pm by MeeO »

June 28, 2011, 01:33:19 pm
Hi guys!

Today I get origin FW what was in my cam, but just system so I still don't have web UI, but it's WORK! I
I don't know why, but I still having problem with I2C communication ... I hope that is not big deal.
(On start cam goes to restart by in a few second start rotate like before - before I start upgrade with wrong FW )

No I want to start seek for web UI.
And there's go my question: Are the webUI closely connected to FW or are quite independent?

Name of FW what seems to work for me is lr_cmos_0_23_2_21.bin have you some ideas what web UI will fit?

Code: [Select]
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: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1707FF [VIRTUAL 7F0E0000-7F1707FF] (RO)
EN29LV160B Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.0 by Maverick Gao in 2006-8-12
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
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 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh

Sash command shell (version 1.1.1)
/> no support
hub.c: connect-debounce failed, port 1 disabled
new USB device :80fb3004-fed6c0
hub.c: new USB device 1, assigned address 2
dvm cmos successfully initialized
dvm camera registered as video0
new USB device :80fb3404-fed6c0
hub.c: new USB device 2, assigned address 3
idVendor = 0x148f, idProduct = 0x2573
factory params zone not inited !
camera params zone not inited !
aw version is 0.23.2.21
factory video params zone not inited !
video params zone not inited !
dyndns status zone not inited !
preset params zone not inited !
aw not exist !
aw version is 0.0.0.0

Wait for auto-negotiation complete...ResetPhyChip Failed
video0 opened
1
1
1
1
1
1
set resolution 4
set brightness 100
set contrast 4
set sharpness 3
set mode 0
unknown command
_i2c_write: write i2c error
_i2c_write: write i2c error
__pthread_initial_thread_bos:360000
manage pid:16
audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
[28]
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
myreboot



W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x200000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:A1:10:31:10:71
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1277 ËÄ 12ÔÂ 1
7 17:55:30 CST 2009
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14344KB available (1471K code, 286K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F1707FF [VIRTUAL 7F0E0000-7F1707FF] (RO)
EN29LV160B Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.20.04
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.0 by Maverick Gao in 2006-8-12
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
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 1024 bind 2048)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: mount -t ramfs none /tmp
Command: mkdir /tmp/run
Command: camera&
[8]
Command: sh

Sash command shell (version 1.1.1)
/> no support
hub.c: connect-debounce failed, port 1 disabled
new USB device :80fb3004-fed6c0
hub.c: new USB device 1, assigned address 2
dvm cmos successfully initialized
dvm camera registered as video0
new USB device :80fb3404-fed6c0
hub.c: new USB device 2, assigned address 3
idVendor = 0x148f, idProduct = 0x2573
aw version is 0.23.2.21
aw not exist !
aw version is 0.0.0.0

Wait for auto-negotiation complete...ResetPhyChip Failed
video0 opened
1
1
1
1
1
1
set resolution 4
set brightness 100
set contrast 4
set sharpness 3
set mode 0
unknown command
_i2c_write: write i2c error
_i2c_write: write i2c error
__pthread_initial_thread_bos:360000
manage pid:16
audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
[28]
_i2c_write: write i2c error
_i2c_write: write i2c error
write i2c error
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip

ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
NETDEV WATCHDOG: eth0: transmit timed out
RXFSM:4011102
TXFSM:8201102
FSM0:10101
FSM1:11000100
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
2
2
2
2
2
2
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip
MAC Line-on...

Wait for auto-negotiation complete...OK
100MB - FULL
ntpc.c: can not resolve ntpserver(time.nist.gov)'s ip

« Last Edit: June 28, 2011, 02:52:23 pm by MeeO »

June 28, 2011, 03:00:29 pm
I have my cam back!  :-)

Haden aw worked for me fine ...

I'm attaching files for losers like me :-)

It seem that web UI can work better and initial restarting is little bit annoying, so if some one have better solution I will be pleasured.

  • No avatar
  • *****
June 28, 2011, 05:24:04 pm
hmmm ... the webui is exactly the same as for heden cameras (same version, same checksum)
the fw has the same numbering scheme, last heden: lr_cmos_0_23_2_5.bin

June 29, 2011, 02:23:52 pm
OK, but my FW ending by "_21" so I have newer, haven't I? And I still don't know why "_5" don't work for me. Maybe I was disappointed by starting restarting and I didn't let it be for longer time. So my advise give a time to newly uploaded FW :)

Web UI work quite well, but I thing that UI what I had before has much more options (for example in this UI I miss option for disabling starting cam centering). So I some one have better solution pls let me know ;)

  • No avatar
  • *****
June 30, 2011, 04:57:10 pm
it was just a hint for others where to get fw for "unknown" or "similar" hw.
(e.g. some heden owners may be happy to get "newer" fw for trying)

if your new webui has option of presets, it needs to "home" the cam on each restart, otherwise the presets won't work, so this option is removed for good.