Witam wszystkich.
Mam trochę nieżywą kamerę IP LUMENERA. Nie podnosi się jej obsługa sieci.
Udało mi się z nią porozumieć przez port RS ale niestety nie mam umiejętności, żeby ją "podnieść" na IP, co umożliwi mi wgranie nowego firmwaru.
Jak kamera startuje to ma coś takiego:
U-Boot 1.1.3 (May 22 2007 - 15:02:58) explorer2 build 4846
U-Boot code: 50F80000 -> 50F9EA54 BSS: -> 50FA3160
RAM Configuration:
Bank #0: 50000000 64 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Net: identify the ethernet chip on board... Initialize: LAN91111 (0x3392) detected.
SMC91111: PHY auto-negotiate timed out
Using MAC Address 00:0B:E2:0D:0C:03
Enter password in 3 seconds to enter bootloader:
## Booting image at 3c030000 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 606284 Bytes = 592.1 kB
Load Address: 50008000
Entry Point: 50008000
Verifying Checksum ... Bad Data CRC
## Booting image at 20030000 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 606284 Bytes = 592.1 kB
Load Address: 50008000
Entry Point: 50008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
cramfs: wrong magic
umKernel panic: No init found. Try passing init= option to kernel.
Kamera ma dwa zestawy bootujące:
bootcmd2=setenv bootargs mem=$(kernel_mem)M $(console) smc91x=$(ethaddr) ip=off
root=/dev/mtdblock8; bootm 20030000; run bootcmd3
bootcmd=setenv bootargs $(console) mem=$(kernel_mem)M smc91x=$(ethaddr) ip=off r
oot=/dev/mtdblock3; bootm 3c030000; run bootcmd2
Uzyskałem jeszcze coś takiego po małej modyfikacji boota:
explorer2> setenv kernel_mem 12
explorer2> setenv ram_size 64
explorer2> setenv max_jpeg_size=20000
explorer2> saveenv
Saving Environment (<NULL>)...
Un-Protected 1 sectors
Erasing Flash...
done
Erased 1 sectors
Writing to Flash... Protected 1 sectors
Protected 1 sectors
explorer2> setenv bootfix setenv bootargs mem=$(kernel_mem)M ip=off root=/dev/mt
dblock8\;bootm 20030000;
explorer2> run bootfix
## Booting image at 20030000 ...
Image Name:
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 606284 Bytes = 592.1 kB
Load Address: 50008000
Entry Point: 50008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.4.24-uc0 (rgb@sunny) (gcc version 3.3.4) #1 Tue May 22 15:03:32
EDT 2007
CPU: Arm922Tid(wb) revision 0
Machine: Explorer2
alloc_bootmem_low
memtable_init
Security risk: creating user accessible mapping for 0xc0000000 at 0xe0000000
On node 0 totalpages: 3072
zone(0): 3072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=12M ip=off root=/dev/mtdblock8
explorer2_init_irq
Calibrating delay loop... 99.73 BogoMIPS
Memory: 12MB = 12MB total
Memory: 10668KB available (1127K code, 255K data, 52K 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
calling rest_init()
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
i2c-algo-bit.o: i2c bit algorithm module
ttyS0 at MMIO 0xcb000000 (irq = 12) is a AMBA PrimeCell PL011
ttyS1 at MMIO 0xcc000000 (irq = 18) is a AMBA PrimeCell PL011
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: SMC91C11xFD(rev:2) 32-bit at 0xf7000300 IRQ:84 ADDR: 00:0b:e2:00:00:00
SMC91x driver for Linux $Revision: 1.8 $
Explorer2 mapping:size 400000 at 3c000000
Explorer2 mapping:size 400000 at 20000000
ZEUS:explorer2_map.map_priv_1=c107e000
ZEUS:explorer2_map.map_priv_2=c147f000
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 9 MTD partitions on "Explorer2 Flash map 1":
0x00000000-0x00020000 : "U-Boot 1"
0x00020000-0x00030000 : "Params 1"
0x00030000-0x00100000 : "Kernel 1"
0x00100000-0x00400000 : "RomFS 1"
0x00400000-0x00430000 : "placeholder"
0x00400000-0x00420000 : "U-Boot 2"
0x00420000-0x00430000 : "Params 2"
0x00430000-0x00500000 : "Kernel 2"
0x00500000-0x00800000 : "RomFS 2"
ZEUS:right end of init_explorer2(I mean flash)
Lumenera RTC I2C initialized
i2c-dev.o: Registered 'Lumenera Explorer2 RTC' as minor 0
i2c-core.o: adapter Lumenera Explorer2 RTC registered as adapter 0.
Lumenera I2C initialized
i2c-dev.o: Registered 'Lumenera Explorer2 Imager' as minor 1
i2c-core.o: adapter Lumenera Explorer2 Imager registered as adapter 1.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
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.
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
cramfs: wrong magic
jffs2_scan_inode_node(): Data CRC failed on node at 0x00200000: Read 0xce9c7766,
calculated 0x309c7e4e
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200590: 0x2738 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200594: 0xa629 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00200598: 0x565e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020059c: 0x4d41 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005a0: 0xf750 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005a4: 0x28dd in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005a8: 0x5785 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005ac: 0x4e7e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005b0: 0xd3ca in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002005b4: 0xeee5 in
stead
Further such events for this erase block will not be printed
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 52K
Unknown INCOMPAT nodetype FFFF at 001CA9B8
Unknown INCOMPAT nodetype FFFF at 00000604
jffs2_read_inode(): No data nodes found for ino #15
jffs2_read_inode(): But it has children so we fake some modes for it
Unknown INCOMPAT nodetype FFFF at 001C8A90
jffs2_read_inode(): No data nodes found for ino #172
Warning -5: unable to open an initial console.
Unknown RWCOMPAT_COPY nodetype 5303 at 00261BD4
Unknown INCOMPAT nodetype FFFF at 001ADCE8
Unknown INCOMPAT nodetype FFFF at 000FB484
Unknown INCOMPAT nodetype FFFF at 001C8848
jffs2_read_inode(): No data nodes found for ino #167
Node CRC f80d9ad5 != calculated CRC a204c0f7 for node at 0006b5c0
Unknown INCOMPAT nodetype FFFF at 001C7AE4
jffs2_read_inode(): No data nodes found for ino #138
Node CRC 46d5868b != calculated CRC 1a81347f for node at 00082de4
Unknown RWCOMPAT_DELETE nodetype 0000 at 001D0174
Unknown INCOMPAT nodetype FFFF at 00000814
Unknown INCOMPAT nodetype FFFF at 001CD9E0
jffs2_read_inode(): No data nodes found for ino #261
Node CRC 46d5868b != calculated CRC 1a81347f for node at 00082de4
Czy ktoś może mi wytłumaczyć co jest z tym nie tak?
Pozdrawiam.