Интерфейс как в этом сообщении http://forum.videon.spb.ru/viewtopic.php?p=43637#p43637" onclick="window.open(this.href);return false;
Плата прикреплена, извиняюсь за плохое качество, на плате надпись IPC16_2710_V1.0. Снизу есть UART, остальные порты - питание, сеть, ИК подсветка.
Суть в следующем, продавец дал ссылку на сайт с прошивками (http://www.ipcam-cd.com" onclick="window.open(this.href);return false;), прошивка изначально стояла B18HX_V6.1.5.2.1, пробовал другие шить, но почему то то зависает, то ребутится, непонятно что ей надо. И после последнего такого эксперимента, сервисы на камере перестали стартовать, а именно www, rtsp, onvif.
Есть дамп mtd разделов слитый с нее когда она была в рабочем состоянии, обратная заливка их не приносит результата. Есть telnet доступ и uart. Файловая система смонтирована rw.
Код: Выделить всё
# cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 218.72
Features : swp half fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Hardware : hi3518
Revision : 0000
Serial : 0000000000000000
Код: Выделить всё
# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00010000 "boot"
mtd1: 00280000 00010000 "kernel"
mtd2: 00d00000 00010000 "rootfs"
Код: Выделить всё
# lsmod
Module Size Used by
hi3518_adec 15867 1
hi3518_aenc 43404 1
hi3518_ao 39007 2
hi3518_ai 41090 2
hi3518_sio 12310 3 hi3518_ao,hi3518_ai
hidmac 13241 2 hi3518_ao,hi3518_ai
acodec 7444 0
ssp_ad9020 4993 0
pwm 1489 0
hi_i2c 3792 0
hi3518_ive 32402 1
hi3518_vda 172345 2
hi3518_region 51475 2
hi3518_rc 148495 1
hi3518_jpege 48265 1
hi3518_h264e 132627 1
hi3518_chnl 39893 1
hi3518_group 178678 7
hi3518_venc 78224 10 hi3518_jpege,hi3518_h264e
hi3518_vpss 208726 5
hi3518_isp 6366 4 ssp_ad9020,hi_i2c
hi3518_viu 177568 3
hi3518_dsu 129270 1
hi3518_tde 117632 1 hi3518_dsu
hiuser 686 2 hi3518_jpege,hi3518_h264e
hi3518_sys 40809 3 hi3518_viu
hi3518_base 43364 20 hi3518_adec,hi3518_aenc,hi3518_ao,hi3518_ai,hi3518_sio,hi3518_ive,hi3518_vda,hi3518_region,hi3518_rc,hi3518_jpege,hi3518_h264e,hi3518_chnl,hi3518_group,hi3518_venc,hi3518_vpss,hi3518_isp,hi3518_viu,hi3518_dsu,hi3518_sys
mmz 19713 4 hi3518_aenc,hi3518_h264e,hi3518_tde,hi3518_base
light 1032 1
audioin 992 0
rs485 1032 0
saradc 1212 0
ircut 1164 0
rled 1056 0
hi_rtc 4371 0
reset 1008 1
relay 1060 0
encript 1592 0
wdt 4229 0
extalarm 1036 1
sinit 524 0
Код: Выделить всё
Linux version 3.0.8 (root@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #8 Fri Jun 13 08:32:43 HKT 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 220000000.
On node 0 totalpages: 17408
free_area_init_node: node 0, pgdat c048b78c, node_mem_map c049f000
Normal zone: 136 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 17272 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 17272
Kernel command line: mem=68M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:512K(boot),2560K(kernel),13M(rootfs)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 68MB = 68MB total
Memory: 64220k/64220k available, 5412k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfe000000 ( 920 MB)
lowmem : 0xc0000000 - 0xc4400000 ( 68 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0021000 ( 100 kB)
.text : 0xc0021000 - 0xc046d000 (4400 kB)
.data : 0xc046e000 - 0xc048be00 ( 120 kB)
.bss : 0xc048be24 - 0xc049ef70 ( 77 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 110MHz, resolution 9ns, wraps every 39045ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 125
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
Spi id table Version 1.22
Hisilicon Spi Flash Controller V350 Device Driver, Version 1.10
Spi(cs1) ID: 0xC8 0x40 0x18 0xC8 0x40 0x18
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"GD25Q128"
spi size: 16MB
chip num: 1
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000300000 : "kernel"
0x000000300000-0x000001000000 : "rootfs"
Fixed MDIO Bus: probed
himii: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
lib80211_crypt: registered algorithm 'TKIP'
Registering the dns_resolver key type
registered taskstats version 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145000: 0x8480 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145004: 0xf30e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145008: 0x2430 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014500c: 0xbcf7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145010: 0x8884 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145014: 0x9eef instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145018: 0x377d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014501c: 0x7dfd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145020: 0x35ce instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00145024: 0x7a3a instead
Further such events for this erase block will not be printed
VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 100K
udevd (393): /proc/393/oom_adj is deprecated, please use /proc/393/oom_score_adj instead.
ADDRCONF(NETDEV_UP): eth0: link is not ready
sinit driver init successful!
extalarm driver init successful !
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0)
encript driver init successful!
relay driver init successful!
reset driver init successful!
rled driver init successful!
ircut driver init successful!
saradc driver init successful!
PHY: himii:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
rs485 driver init successful!
audioin driver init successful!
light driver init successful !
Hisilicon Media Memory Zone Manager
hi3518_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
pa:84400000, va:c4a00000
load sys.ko for Hi3518...OK!
load viu.ko for Hi3518...OK!
ISP Mod init!
load vpss.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!
load vda.ko ....OK!
hi_i2c init is ok!
Kernel: ssp initial ok!
Kernel: ssp initial ok!
acodec inited!
ADDRCONF(NETDEV_UP): eth0: link is not ready
PHY: himii:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present