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: I deleted Image: 0 name:BOOT INFO. Could anyone send it to me.  (Read 53416 times)

June 28, 2011, 09:00:34 am
I typed the command below and it does not!
 bootloader> g 0x8000

 the only command that accepts to send the file and mx

  • No avatar
  • *****
June 28, 2011, 09:15:47 am
hi,

my cam was picky about the fx command too. Obviously your fx command never was accepted because of some error (maybe the . or too long name ?)

I had to type

   fx 0 "BOOT INFO" 0x7F010000 0x7F010000 -f

if the command is accepted it will give the "Press Ctrl-x to cancel ..." message and start to print C characters until you start the transmission from your PC.
« Last Edit: June 28, 2011, 09:17:53 am by schufti »

June 28, 2011, 09:40:23 am
the only command that appears the message "Press Ctrl-x to cancel ..." and the mx, already tried everything without success.


  • No avatar
  • *****
June 28, 2011, 11:29:04 am
Are you uploading a file using xmodem at that point?


June 28, 2011, 01:04:08 pm
using xmodem but I'm trying!

  • *****
June 28, 2011, 01:30:20 pm
casbeto,

Here is a way for you to test your camera without using the flash. In this way, you can help isolate the problem to your flash. Plus, it is simply a good exercise. What I am proposing is that you use the MX command to load a linux kernel and romfs directly to RAM via xmodem. If it then works, your problem is isolated to the flash. If you are handy, you could even replace the surface mounted flash - I have replaced surface mounted chips. It is tedious, but possible, even with just a soldering iron and tweezers.

Anyway, download and extract the following file that Lawrence posted in the files section of the forum:
http://www.openipcam.com/files/Firmware/Testing/homebrew_firmware_fi8908_v2.7z

I installed it, tested it and then rebooted normally

Instructions are there, but also at the top of my console output, below:

Code: [Select]
Console output from loading Lawrence's RAM version of ipcamera test software.
The test software can be obtained from:
http://www.openipcam.com/files/Firmware/Testing/homebrew_firmware_fi8908_v2.7z

Install per these instructions:

This firmware can (only) be used without flashing your device !
So no risk to loose your actual firmware.

Step 1. access boot loader.
Step 2. type :
mx 0x8000[enter]
  choose file : "745kernel"
Step 3. type :
mx 0x700000[enter]
  choose file : "romfs-ram.img"
Step 4. and finally type :
g 0x8000[enter]


--------CONSOLE OUTPUT BELOW----------
bootloader > ls
Image: 0 name:BOOT INFO base:0x7F010000 size:0x00000048 exec:0x7F010000 -f
Image: 7 name:linux.zip base:0x7F020000 size:0x000BFF00 exec:0x00008000 -acxz
Image: 6 name:romfs.img base:0x7F0E0000 size:0x0010C400 exec:0x7F0E0000 -a
Image: 8 name:webui.bin base:0x7F200000 size:0x000A6F80 exec:0x7F200000 -a

bootloader > mx 0x8000
Waiting for download
Press Ctrl-x to cancel ...
CCCCC
Download successed!

bootloader > mx 0x700000
Waiting for download
Press Ctrl-x to cancel ...
CCC
Download successed!

bootloader >

bootloader > g 0x8000e_ddns: can         
Linux version 2.4.20-uc0 (operateur@debianvm) (gcc version 3.0) #135 dimanche 220 00000000  ...........not get server  ip                                       
 août 2010, 17:53:58 (UTC+0200)                               
Processor: Nuvoton NUC745 revision 1               
update_smarteye_ddns
Architecture: NUC700 ipmarteye_ddns: can
On node 0 totalpages: 1792                         
zone(0): 0 pages.                 
zone(1): 1792 pages.] 000000           
zone(2): 0 pages.eye_ddns: can ca
Kernel command line: root=/dev/rom0 rwmarteye_ddns: can not get server  ipFF
Calibrating delay loop... 39.83 BogoMIPS                                       
Memory: 7MB = 7MB totalcan not get server  ip
Memory: 5576KB available (1214K code, 203K data, 44K init)_ddns: can not get server  ipF0100A0] FFFFFFFF FF         
Inode cache hash table entries: 512 (order: 0, 4096 bytes)                               
update_smarteye_ddns: can
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)ddns: can not get server  ipF  ................           
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)smarteye_ddns: can not get server  ipFFF  ................e_
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                         
POSIX conformance testing by UNIFIXteye_ddns: can not get server  ipbo
Linux NET4.0 for Linux 2.4                         
Based upon Swansea University Computer Society NET3.039þ: Bad                 

update_smarteye_ddns: can not
Initializing RT netlink socket                           
u
Starting kswapddns: can not ge
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
/>P   
/> T   
/> lupdate_smarteye_       
abled     
ttyS00 at 0xfff80100 (irq = 10) is a NUC7001server  iprver  ip                         
Nuvoton NUC7002 Serial driver version 1.0 (2005-08-15) with no serial options enmarteye_ddns: can not gerver  ip                                               
abled     
ttyS00 at 0xfff80200 (irq = 11) is a NUC7002                   
        Serial Number 
I2C Bus Driver has been installed successfully.ry at 0x7                                     
Blkmem copyright 1998,1999 D. Jeff Dionne
n^Hbin     
/bi   


                 
Blkmem copyright 1998 Kenneth Alban                                 
NUC700 Audio Driver v1.0 Initialization successfully.     

lo        Link encap:Local0                 
mtd flash device: Found 1 x16 devices at 0x0 in 16-bit bank   
/etc- 0       
Boot Loader Configuration:ACK RUNNING  M
 Amd/Fujitsu Extended Query Table at 0x0040                                           
number of CFI chips: 1           

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

update_smarteye_ddns: can not get server   
Creating 2 MTD partitions on "mtd flash device":X packets:0 errors:0 dropped                   
hc_resetupdate_s
usb.c: new USB bus registered, assigned bus number 10x00300000                                       
B
hub.c: USB hub found                   
hub.c: 2 ports detected               
       
FAT: bogus logical sector size 53248
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 44K
new USB device :806d9a04-6da320
hub.c: new USB device 1, assigned address 2
usb.c: USB device 2 (vend/prod 0x1d0f/0x1801) is not claimed by any active drive
r.
Bienvenue sur
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

Pour plus d'informations, consultez :
http://www.uclinux.org/


Wait for auto-negotiation complete...OK
100MB - FULL
# ls
bin             dev             etc             lib             plume
proc            tmp             usr             var
#

June 28, 2011, 02:02:16 pm
Celem Thanks, but I'll try, but right now I'm at work, at night when you get home do the test and if you stretch inform you here.

  • No avatar
  • *****
June 28, 2011, 05:16:06 pm
no, as far as your posts, you allways tried

fx 0 bootinfo.bin 0x7f010000 0x7f010000 -f

but instead of bootinfo.bin the fx command awaits a name for the partition and I think the fx command gets confused by bootinfo.bin

give the command I poted a try, it won't take you much time ....

June 28, 2011, 07:27:48 pm
bootloader > mx 0x8000
Waiting for download
Press Ctrl-x to cancel ...
CCCCCCCCC
Download successed!

bootloader > mx 0x700000
Waiting for download
Press Ctrl-x to cancel ...
CCCCCC
Download successed!

bootloader > ls
Image: 0 name:BOOT INFO`base:0x7F010000 size:0x00000048 exec:0x7F010000 -af

bootloader >


bootloader > g 0x8000
Linux version 2.4.20-uc0 (operateur@debianvm) (gcc version 3.0) #135 dimanche 22
 août 2010, 17:53:58 (UTC+0200)
Processor: Nuvoton NUC745 revision 1
Architecture: NUC700
On node 0 totalpages: 1792
zone(0): 0 pages.
zone(1): 1792 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 7MB = 7MB total
Memory: 5576KB available (1214K code, 203K data, 44K 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
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Nuvoton NUC700 Serial driver version 1.0 (2005-08-15) with no serial options ena
bled
ttyS00 at 0xfff80000 (irq = 9) is a NUC700
Nuvoton NUC7001 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80100 (irq = 10) is a NUC7001
Nuvoton NUC7002 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80200 (irq = 11) is a NUC7002
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-7C77FF [VIRTUAL 700000-7C77FF] (RO)
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
loop: loaded (max 8 devices)
Linux video capture interface: v1.00
NUC700 Audio Driver v1.0 Initialization successfully.
mtd flash device: 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.
Creating 2 MTD partitions on "mtd flash device":
0x00000000-0x00300000 : "images 3M"
0x00300000-0x00400000 : "user 1M"
usb.c: registered new driver usbdevfs
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 device driver by ns24 zswan designed successfully!
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)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 53248
FAT: bogus logical sector size 53248
Kernel panic: VFS: Unable to mount root fs on 1f:00


bootloader > ls
Image: 0 name:BOOT INFO`base:0x7F010000 size:0x00000048 exec:0x7F010000 -af

bootloader >

but did not work at ipcam!!
« Last Edit: June 28, 2011, 07:29:46 pm by casbeto »

June 28, 2011, 07:34:36 pm
no, as far as your posts, you allways tried

fx 0 bootinfo.bin 0x7f010000 0x7f010000 -f

but instead of bootinfo.bin the fx command awaits a name for the partition and I think the fx command gets confused by bootinfo.bin

give the command I poted a try, it won't take you much time ....


bootloader > fx 0 boot 0x7f010000 0x7f010000 -f
Waiting for download ...

June 28, 2011, 07:50:54 pm
Bienvenue sur
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

Pour plus d'informations, consultez :
http://www.uclinux.org/


Wait for auto-negotiation complete...ResetPhyChip Failed
#

  • *****
June 28, 2011, 07:53:03 pm
Re:
Code: [Select]
Kernel panic: VFS: Unable to mount root fs on 1f:00
what should have happened was:
Code: [Select]
VFS: Mounted root (romfs filesystem) readonly.
I think that you have hardware problems
« Last Edit: June 28, 2011, 08:00:08 pm by celem »

June 28, 2011, 08:00:25 pm
celem, is now giving 100 FUL ok, what do I do?

  • *****
June 28, 2011, 08:02:12 pm
if you mean:
Code: [Select]
100MB - FULL

Then enter ls and see if you get the following:
Code: [Select]
# ls
bin             dev             etc             lib             plume
proc            tmp             usr             var
#

June 28, 2011, 08:05:07 pm
Wait for auto-negotiation complete...OK
100MB - FULL
Jan  1 00:11:06 1970 dhcpcd[42]: timed out waiting for a valid DHCP server respo
nse

NUC700 : nuc700_close

Wait for auto-negotiation complete...OK
100MB - FULL
Jan  1 00:12:06 1970 dhcpcd[43]: timed out waiting for a valid DHCP server respo
nse

NUC700 : nuc700_close

Wait for auto-negotiation complete...OK
100MB - FULL
ls
bin             dev             etc             lib             plume
proc            tmp             usr             var
#