Нужна помощь в восстановлении работоспособности NVR

Вопросы по восстановлению, настройке, апгрейду, прошивкам и т.п.
GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 23 авг 2015, 11:28

Добрый день! При прошивки регистратора на HI3535 он перестал работать. Подключился через UART вижу следующее:

Код: Выделить всё

U-Boot 2010.06 (May 06 2014 - 20:57:31)

NAND:  Check nand flash controller v504. found
Special NAND id table Version 1.36
Nand ID: 0xC2 0xF1 0x80 0x1D 0xC2 0xF1 0x80 0x1D
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:4bits/512Byte
128 MiB
Check spi flash controller v350... Found
Can't find a valid spi flash chip.
Can't find a valid spi flash chip.
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

NAND read: device 0 offset 0x7c00000, size 0x40000
 262144 bytes read: OK
mmu_enable
<<imgwidth=1024, imgheight=768, linebytes=2048>>
decode success!!!!
dev 0 set background color!
dev 2 set background color!
dev 0 opened!
dev 2 opened!
graphic layer 0 opened!
graphic layer 2 opened!
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.4.35_hi3535
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2845328 Bytes = 2.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.4.35_hi3535 (root@sqy-desktop) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #96 SMP Mon Oct 13 11:05:21 CST 2014
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3535
Truncating memory at 0x80000000 to fit in 32-bit physical address space
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c087c000 s6528 r8192 d13952 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 48768
Kernel command line: mem=192M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2  mtdparts=hinand:1M(uboot),3M(kernel),90M(rfs),20M(app),10M(config),4M(logo)
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 192MB = 192MB total
Memory: 187648k/187648k available, 8960k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xcc800000 - 0xff000000   ( 808 MB)
    lowmem  : 0xc0000000 - 0xcc000000   ( 192 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0677000   (6588 kB)
      .init : 0xc0677000 - 0xc06a4980   ( 183 kB)
      .data : 0xc06a6000 - 0xc06d6d20   ( 196 kB)
       .bss : 0xc06d6d44 - 0xc06f8ac4   ( 136 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:128
sched_clock: 32 bits at 62MHz, resolution 16ns, wraps every 68719ms
Console: colour dummy device 80x30
Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x8052cba0 - 0x8052cbd4
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x72430001, Cache size: 262144 B
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (3981.31 BogoMIPS).
NET: Registered protocol family 16
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2
uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 42) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer0
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (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.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.30 [Flags: R/W DEBUG].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.18)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 366
encryption fail
no need alpu
no ack
sha204_sn is 1
sha204_sn is 23
sha204_sn is 80
sha204_sn is 88
sha204_sn is 8e
sha204_sn is 7b
sha204_sn is 48
sha204_sn is bc
sha204_sn is ee
sha204_devinfo  is 44 i is 0
sha204_devinfo  is 56 i is 1
sha204_devinfo  is 52 i is 2
sha204_devinfo  is 32 i is 3
sha204_devinfo  is 33 i is 4
sha204_devinfo  is 35 i is 5
sha204_devinfo  is 31 i is 6
sha204_devinfo  is 35 i is 7
sha204_devinfo  is 30 i is 8
sha204_devinfo  is 34 i is 9
sha204_devinfo  is 1 i is 10
sha204_devinfo  is 5d i is 11
sha204_devinfo  is 0 i is 12
sha204_devinfo  is 0 i is 13
sha204_devinfo  is 0 i is 14
sha204_devinfo  is 0 i is 15
TempKey  is 6b
TempKey  is d2
TempKey  is 62
TempKey  is 77
TempKey  is cd
TempKey  is 8c
TempKey  is 68
TempKey  is a5
TempKey  is f3
TempKey  is b4
TempKey  is 77
TempKey  is b9
TempKey  is 35
TempKey  is bb
TempKey  is 43
TempKey  is 3e
TempKey  is 5e
TempKey  is 72
TempKey  is f5
TempKey  is d
TempKey  is 3a
TempKey  is 6f
TempKey  is 53
TempKey  is b3
TempKey  is 96
TempKey  is cf
TempKey  is e
TempKey  is 6e
TempKey  is 3b
TempKey  is 3f
TempKey  is b7
TempKey  is 0
encryption ok
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0300 32 slots 3 ports 6 Gbps 0x7 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc sxs boh
scsi0 : ahci_platform
scsi1 : ahci_platform
scsi2 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x12010000-0x1201ffff] port 0x100 irq 63
ata2: SATA max UDMA/133 mmio [mem 0x12010000-0x1201ffff] port 0x180 irq 63
ata3: SATA max UDMA/133 mmio [mem 0x12010000-0x1201ffff] port 0x200 irq 63
Spi id table Version 1.22
Found Nand Flash Controller V504.
Nand ID: 0xC2 0xF1 0x80 0x1D 0xC2 0xF1 0x80 0x1D
Nand: Macronix NAND 128MiB 3,3V 8-bit
Nand(Hardware): Block:128KB Page:2KB OOB:64B ECC:4bits/512Byte Chip:128MB*1
6 cmdlinepart partitions found on MTD device hinand
6 cmdlinepart partitions found on MTD device hinand
Creating 6 MTD partitions on "hinand":
0x000000000000-0x000000100000 : "uboot"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000005e00000 : "rfs"
0x000005e00000-0x000007200000 : "app"
ata1: SATA link down (SStatus 0 SControl 300)
0x000007200000-0x000007c00000 : "config"
0x000007c00000-0x000008000000 : "logo"
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver rt2800usb
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 54, io mem 0x10040000
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: 2 ports 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 53, io mem 0x10030000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
xhci-hcd hiusb3.0: xHCI Host Controller
xhci-hcd hiusb3.0: new USB bus registered, assigned bus number 3
xhci-hcd hiusb3.0: irq 64, io mem 0x12000000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd hiusb3.0: xHCI Host Controller
xhci-hcd hiusb3.0: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
Freeing init memory: 180K

            _ _ _ _ _ _ _ _ _ _ _ _
            \  _  _   _  _ _ ___
            / /__/ \ |_/
           / __   /  -  _ ___
          / /  / /  / /
  _ _ _ _/ /  /  \_/  \_ ______
___________\___\__________________

[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
udevd (595): /proc/595/oom_adj is deprecated, please use /proc/595/oom_score_adj instead.
[RCS]: /etc/init.d/S02toe
STMMAC driver:
        platform registration...
        done!
Set system config register 0x200300ec with value 0x003f003f
        done!
        DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
        Enhanced descriptor structure
MACADDR in get is 0:0:0:0:0:0
        no valid MAC address for MAC 0;please, use ifconfig or nwhwconfig!
        eth0 - (dev. name: stmmaceth - id: 0, IRQ #59
        IO base addr: 0xfe0a0000)
STMMAC MII Bus: probed
eth0: No PHY found
stmmac_reset: RESET COMPLETE!

**************************************************
*  TNK driver built on Aug  8 2014 at 11:39:11
*  TNK driver mode is TOE
**************************************************
stmmac: Rx Checksum Offload Engine supported
[RCS]: /etc/init.d/S03ants
Hisilicon Media Memory Zone Manager
hi3535_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
load sys.ko for Hi3535...OK!
Load tde.ko ...OK!
load vgs.ko for Hi3535...OK!
load venc.ko for Hi3535...OK!
load chnl.ko for Hi3535...OK!
load h264e.ko for Hi3535...OK!
load rc.ko for Hi3535...OK!
load jpege.ko for Hi3535...OK!
load vou.ko ....OK!
load vpss.ko ....OK!
load vda.ko ....OK!
load region.ko ....OK!
load vdec.ko ....OK
load vhd firmware.ko OK
load hdmi.ko ....OK!
Load hi3535_jpegd.ko success.           (SDK_VERSION:[jpeg6bv1.0] Build Time:[Feb 27 2014, 20:11:08])
insmod: can't insert 'extdrv/rt5370sta.ko': No such file or directory
usbcore: registered new interface driver option
USB Serial support registered for GSM modem (1-port)
acodec inited!
rm: can't remove '/usr/etc/config.tar.gz': No such file or directory
mkdir: can't createth0: generated random MAC address 1a:23:67:0f:f0:18
e directory '/usPHY 1:01 not found
r/etc/ppp': Fileeth0: Could not attach to PHY
 exists
mkdir: stmmac_open: Cannot attach to PHY (error: -19)
can't create directory '/usr/etc/ppp/peers': File exists
ifconfig: SIOCSIFFLAGS: No such device
mv: can't rename '/root/sysinit': No such file or directory
/etc/init.d/S03ants: line 33: /etc/startusb: not found
[RCS]: /etc/init.d/S80network
Auto login as root ...
Jan  1 02:52:23 login[947]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
# begin dvr//////////////////////////////////////////////////////////////
argc 2, argv ./ants_dvr
 open /usr/etc/mycfg.xml

 open /root/res_xml/Keyboard.xml

 open /tmp/qtembedded-0//fonts//fontdb.tmp

 open /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts/gulim_17_50.qpf2

 open /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts/microsoft_sans_serif_12_75.qpf2

 open /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts/yh_17_50.qpf2

DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒350]       QLinuxFbScreen::connect :0
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒379]
 open /dev/fb0

DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒397]       open device /dev/fb0 success
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒425]
 open /usr/etc/mycfg.xml

 open /root/DeviceDisplay.xml

DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒469]       vinfo.xres 1024 768
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒481]       d_ptr->fd 8 vinfo xres 1024, xres_virtual1024
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒513]       screen vinfo
 bits_per_pixel 32
 r g b 8 8 8
 d = 32
 finfo.line_length 2560
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒554]       dw is 1024,dh is 768 lstep 4096
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒600]

  mmap fb0 : d_ptr->fd 8,  data -1245122560, mapsize 8294400

 open /dev/tty0

newMouseHandler mouseProto auto, mouseDev/dev/mouse0

erro[embedded/qmousedriverfactory_qws.cpp create▒▒111]

erro[embedded/qmousedriverfactory_qws.cpp create▒▒114]

erro[embedded/qmousedriverfactory_qws.cpp create▒▒117]

 open /dev/psaux

 open /dev/input/mice

QWSTtyKeyboardHandler /dev/ttyS2
kbdType RS485
 open /dev/hi_gpio

 open /dev/ttyS1

termdata.c_iflag 5
termdata.c_oflag 0
termdata.c_cflag b0
termdata.c_lflag 0
termdata.c_ispeed bee52340
termdata.c_ospeed b6f91000
termdata.c_line 0
termdata.c_cc 0 0
kbdType gpioMini
 open /dev/hi_gpio

 open /usr/etc/mycfg.xml

 open /usr/etc/mycfg.xml

 open /root/res/language_English.qm

 open /root/res/LanguageInfo.xml

 open /root/res/default.qss

font=efont
font-size=16
from config -> font=efont
from config -> font-size=16
QLayout: Attempting to add QLayout "" to informationFrame "IMShowMain", which already has a layout
 open ./pinyin/english.xml

 open /root/res/cursor.png

 open /root/res/cursor.png

 open /usr/etc/mycfg.xml

 open /root/res/pre_enlarge.png

 open /root/res/label_Mouse.png

 open /root/res/enlarge.png

 open /root/res/shrink.png

 open /root/res/up_Mouse.png

 open /root/res/down_Mouse.png

 open /root/res/left_Mouse.png

 open /root/res/right_Mouse.png

 open /root/res/up_left_Mouse.png

 open /root/res/up_right_Mouse.png

 open /root/res/down_left_Mouse.png

 open /root/res/down_right_Mouse.png

QImage::pixel: coordinate (10,6) out of range
QImage::pixel: coordinate (10,7) out of range
QImage::pixel: coordinate (10,8) out of range
QImage::pixel: coordinate (10,9) out of range
QImage::pixel: coordinate (10,10) out of range
QImage::pixel: coordinate (10,11) out of range
QImage::pixel: coordinate (10,12) out of range
QImage::pixel: coordinate (10,13) out of range
QImage::pixel: coordinate (10,14) out of range
QLayout: Attempting to add QLayout "" to CDeviceTime "CDeviceTime", which already has a layout
QLayout: Attempting to add QLayout "" to CQRCode "", which already has a layout
QLayout: Attempting to add QLayout "" to DlgDragChannel "", which already has a layout
 open /root/res/pre_recordState.png

QLayout: Attempting to add QLayout "" to SysRecover "", which already has a layout
QLayout: Attempting to add QLayout "" to SysRecover "", which already has a layout
QImage::pixel: coordinate (10,6) out of range
QImage::pixel: coordinate (10,7) out of range
QImage::pixel: coordinate (10,8) out of range
QImage::pixel: coordinate (10,9) out of range
QImage::pixel: coordinate (10,10) out of range
QImage::pixel: coordinate (10,11) out of range
QImage::pixel: coordinate (10,12) out of range
QImage::pixel: coordinate (10,13) out of range
QImage::pixel: coordinate (10,14) out of range
 open /root/res/play_left.png

 open /root/res/play_play.png

 open /root/res/play_noVideo.png

 open /root/res/play_stop.png

 open /root/res/play_sound.png

 open /root/res/play_fast.png

 open /root/res/play_slow.png

 open /root/res/play_capture.png

 open /root/res/play_backup.png

 open /root/res/play_frame.png

 open /root/res/play_fullscreen.png

QWidget::setLayout: Attempting to set QLayout "horizontalLayout_2" on DlgScreenInfo "DlgScreenInfo_UI", when the QLayout already has a parent
 open /root/res/ptz_back.png

 open /root/res/ptz_up.png

 open /root/res/ptz_up_Hover.png

 open /root/res/ptz_up_press.png

 open /root/res/ptz_down.png

 open /root/res/ptz_down_Hover.png

 open /root/res/ptz_down_press.png

 open /root/res/ptz_left.png

 open /root/res/ptz_left_Hover.png

 open /root/res/ptz_left_press.png

 open /root/res/ptz_right.png

 open /root/res/ptz_right_Hover.png

 open /root/res/ptz_right_press.png

 open /root/res/ptz_left_top.png

 open /root/res/ptz_left_top_Hover.png

 open /root/res/ptz_left_top_press.png

 open /root/res/ptz_right_top.png

 open /root/res/ptz_right_top_Hover.png

 open /root/res/ptz_right_top_press.png

 open /root/res/ptz_left_down.png

 open /root/res/ptz_left_down_Hover.png

 open /root/res/ptz_left_down_press.png

 open /root/res/ptz_right_down.png

 open /root/res/ptz_right_down_Hover.png

 open /root/res/ptz_right_down_press.png

 open /root/res/ptz_auto.png

 open /root/res/ptz_auto_hover.png

 open /root/res/ptz_auto_press.png

 open /root/res/ptz_minus.png

 open /root/res/ptz_plus.png

QLayout: Attempting to add QLayout "" to DlgAutoIP "", which already has a layout
 open /root/res/pre_AudioOpen.png

 open /root/res/pre_AudioClose.png

 open /root/res/pre_DiskNormal.png

 open /root/res/pre_DiskNormal.png.bmp

 open /root/res/pre_DiskNormal.png.jpeg

 open /root/res/pre_DiskNormal.png.jpg

 open /root/res/pre_DiskNormal.png.pbm

 open /root/res/pre_DiskNormal.png.pgm

 open /root/res/pre_DiskNormal.png.png

 open /root/res/pre_DiskNormal.png.ppm

 open /root/res/pre_DiskNormal.png.xbm

 open /root/res/pre_DiskNormal.png.xpm

 open /root/res/pre_DiskFull.png

 open /root/res/pre_DiskFull.png.bmp

 open /root/res/pre_DiskFull.png.jpeg

 open /root/res/pre_DiskFull.png.jpg

 open /root/res/pre_DiskFull.png.pbm

 open /root/res/pre_DiskFull.png.pgm

 open /root/res/pre_DiskFull.png.png

 open /root/res/pre_DiskFull.png.ppm

 open /root/res/pre_DiskFull.png.xbm

 open /root/res/pre_DiskFull.png.xpm

 open /root/res/pre_DiskNull.png

 open /root/res/pre_DiskNull.png.bmp

 open /root/res/pre_DiskNull.png.jpeg

 open /root/res/pre_DiskNull.png.jpg

 open /root/res/pre_DiskNull.png.pbm

 open /root/res/pre_DiskNull.png.pgm

 open /root/res/pre_DiskNull.png.png

 open /root/res/pre_DiskNull.png.ppm

 open /root/res/pre_DiskNull.png.xbm

 open /root/res/pre_DiskNull.png.xpm

QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
 open /root/res/pre_alarm1.png

 open /root/res/pre_alarm2.png

 open /root/res/pre_Disk.png

 open /root/res/pre_Disk.png.bmp

 open /root/res/pre_Disk.png.jpeg

 open /root/res/pre_Disk.png.jpg

 open /root/res/pre_Disk.png.pbm

 open /root/res/pre_Disk.png.pgm

 open /root/res/pre_Disk.png.png

 open /root/res/pre_Disk.png.ppm

 open /root/res/pre_Disk.png.xbm

 open /root/res/pre_Disk.png.xpm

[Mid] start init
system:/root/nvr_daemon &
sh: /root/nvr_daemon: not found
system:killall -9 ntpd;ntpd -l
killall: ntpd: no process killed
[Mid] load custom cfg
1
[DANA-I][ants_HostMgr_Lib_GetFxns:3614]Get Fxns Name[Dana] ID[17]
load host proto /root/host_libs/libdana.so
load host proto /root/host_libs/libcloud.so
[WEBSDK][../../src/AntsWebSDK.c:ants_HostMgr_Lib_GetFxns:776:time:14:56:26]Start================================[WebServer] SUCCESS
load host proto /root/host_libs/libwebserver.so
pAntsDVRInfo->byChanNum = 0 byDecodeChans = 25
!!pAntsDVRInfo->byChanNum = 0 byDecodeChans = 25 LocalChannelnum= 25
[enable] all
[disable] all
load ipc proto /root/ipc_libs/libi8.so
load ipc proto /root/ipc_libs/libonvif.so
load ipc proto /root/ipc_libs/libi8s.so
load ipc proto /root/ipc_libs/libi9.so
dwRecordChnum = 25
get mac ioctl error!
get mac ioctl error!
byDecodeChans = 8 dwRealDecodeChnNum = 25 bDeviceInfo_AuxRecord = 0 dwDecodChnNum = 8
******MidLibInfo.dwTotalChnNum  = 25,[1,15d,2]  25
[ANTS_DVR_LogicLayer_Init.4637.zero]Support = 1
[ANTS_DVR_LogicLayer_Init.4666.zero]ANTS_Sys_EncSetZeroCodecPara nRet = 0
system:rm -fr /tmp/sata
No such file or directoryNo PTZ protocol existerror:new serial protocol base err.
splib not init
splib not init
splib not init[M[GPIO] GPIOGET_WATCHDOG Enable chardata = 1!!!
ID] net server load...
killall wpa_supplicant
killall: wpa_supplicant: no process killed
chmod: /usr/etc/var: No such file or directory
chmod: /etc/ppp/resolv.conf: No such file or directory
[I8-Server] [src/AntsServerSDK.cpp:7747:GSVRLoadDDNSLib] Load ddns proto /root/ddns_libs/libddns_peanuthull.so
[I8-Server] [src/AntsServerSDK.cpp:7747:GSVRLoadDDNSLib] Load ddns proto /root/ddns_libs/libddns_dyndns.so
[I8-Server] [src/AntsServerSDK.cpp:7747:GSVRLoadDDNSLib] Load ddns proto /root/ddns_libs/libddns_3322.so
[I8-Server] [src/AntsServerSDK.cpp:7747:GSVRLoadDDNSLib] Load ddns proto /root/ddns_libs/libddns_dnsdynamic.so
[I8-Server] [src/AntsServerSDK.cpp:7747:GSVRLoadDDNSLib] Load ddns proto /root/ddns_libs/libddns_noip.so
[src/AntsServerSDK.cpp:00007915:GSVRInitDVR] GetDeviceType Result[33643801] DeviceType[NVR-15D-25CH]
get mac ioctl error!
[src/AntsServerSDK.cpp:3995:set_mac_addr] offset->8 sn->015d0123bc487b8e8880
[src/AntsServerSDK.cpp:4003:set_mac_addr] MacAddrUnit ->48 MacAddr->0x48
[src/AntsServerSDK.cpp:4003:set_mac_addr] MacAddrUnit ->7b MacAddr->0x7b
[src/AntsServerSDK.cpp:4003:set_mac_addr] MacAddrUnit ->8e MacAddr->0x8e
[src/AntsServerSDK.cpp:4003:set_mac_addr] MacAddrUnit ->88 MacAddr->0x88
[src/AntsServerSDK.cpp:4003:set_mac_addr] MacAddrUnit ->80 MacAddr->0x80
[src/AntsServerSDK.cpp:4012:set_mac_addr] mac addr->0x00:0x48:0x7b:0x8e:0x88:0x80
[I8-Server] [src/AntsServerSDK.cpp:4025:set_mac_addr] ifconfig eth1 down
ifconfig: SIOCGIFFLAGS: No such device
[I8-Server] [src/AntsServerSDK.cpp:4091:set_mac_addr] ifconfig eth1 hw ether 0:48:7b:8e:88:80
ifconfig: SIOCSIFHWADDR: No such device
[I8-Server] [src/AntsServerSDK.cpp:4154:set_mac_addr] ifconfig eth1 192.168.1.150 netmask 255.255.255.0
ifconfig: SIOCSIFADDR: No such device
[I8-Server] [src/AntsServerSDK.cpp:4246:set_mac_addr] route add default gw 192.168.1.1 eth1
route: SIOCADDRT: No such device
get mac ioctl error!
get mac ioctl error!
[I8-Server] [src/AntsParameter.cpp:183:InitializeDDNSAbility] ddns[1] [DynDns]->[members.dyndns.org:80]
[I8-Server] [src/AntsParameter.cpp:183:InitializeDDNSAbility] ddns[2] [PeanutHull]->[ddns.oray.org:80]
[I8-Server] [src/AntsParameter.cpp:183:InitializeDDNSAbility] ddns[3] [No-IP]->[dynupdate.no-ip.com:80]
[I8-Server] [src/AntsParameter.cpp:183:InitializeDDNSAbility] ddns[4] [3322]->[members.3322.org:80]
[I8-Server] [src/AntsParameter.cpp:183:InitializeDDNSAbility] ddns[7] [DnsDynamic]->[www.dnsdynamic.org:80]
get mac ioctl error!
get mac ioctl error!
ERROR: PPP link is not active on ppp0
route: SIOCDELRT: No such device
[MID] ARP server load...
[MID] ARP server load...ok
get mac ioctl error!
[MID] nvr ipcs load...
[MID] nvr ipcs load...ok
[MID] nvr host load...
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 0
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 1
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 2
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 3
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 4
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 5
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 6
[DBG .HOSTMGR_ICloud_SetParams.408][ICloud]call 1 7
[DBG .HOSTMGR_ICloud_Start.435][ICloud]call 1
[DBG .HOSTMGR_ICloud_Start.441][ICloud]call 1
get mac ioctl error!
killall -9 icloud
send to errno = 100[Network is down]  nRet = -1 - 906
killall: icloud: no process killed
[ERR .HOSTMGR_ICloud_Start.543][ICloud]ret = 0
chmod 777 /root/icloud;/root/icloud -uadmin -w -p5050 &
[ERR .HOSTMGR_ICloud_Start.564][ICloud]ret = 0
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:81:time:14:56:25]g_struWebSiteSDKInfo.g_ChanNum===============================[25]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:82:time:14:56:25]g_struWebSiteSDKInfo.g_DVRType===============================[2]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:83:time:14:56:25]g_struWebSiteSDKInfo.g_AlarmOutPortNum=======================[0]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:84:time:14:56:25]g_struWebSiteSDKInfo.g_AlarmInPortNum========================[0]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:85:time:14:56:25]g_struWebSiteSDKInfo.g_byStartChan===========================[0]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:86:time:14:56:25]g_struWebSiteSDKInfo.sSerialNumberm==========================[015d0123bc487b8e8880]
get mac ioctl error!
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:94:time:14:56:25]g_struWebSiteSDKInfo.wDVRPort================================[5050]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:95:time:14:56:25]g_struWebSiteSDKInfo.wHttpPort===============================[80]
[WEBSDK][../../src/AntsWebCommon.c:Initia_DeviceInfo:96:time:14:56:25]g_struWebSiteSDKInfo.wHttpsPort==============================[4433]
[WEBSDK][../../src/AntsWebSDK.c:ANTS_WEB_Start:503:time:14:56:26]Server Start
[WEBSDK][../../src/AntsWebSDK.c:initWebs:111:time:14:56:26]Call Begin
[WEBSDK][../../src/AntsWebSDK.c:initWebs:181:time:14:56:26]AntsWebSDK[/root/web/www]
[WEBSDK][../../src/AntsWebSDK.c:initWebs:410:time:14:56:26]Call End
[WEBSDK][../../src/AntsWebSDK.c:ANTS_WEB_Start:527:time:14:56:26]wHttpPort[80]
[WEBSDK][../../src/AntsWebSDK.c:ANTS_WEB_Start:528:time:14:56:26]websSSLOpen[4433]
[WEBSDK][../../src/AntsWebSDK.c:ANTS_WEB_Start:547:time:14:56:26]Server Finish
[WEBSDK][../../src/AntsWebSDK.c:AntsHostMgrLibStart:743:time:14:56:26]AntsHostMgrLibStart================================[1] SUCCESS
[MID] nvr host load.ok..
[MID] nvr rtsp/onvif/rtmp server load...
[MID] nvr rtsp/onvif/rtmp server load...ok
killall wpa_supplicant
[WEBSDK][../../src/AntsWebSDK.c:gfxFlashCheckPolicyThread:58:time:14:56:26]======waiting for client's request======
start!!!!!!!!
argc = 4
/root/icloud
-uadmin
-w
-p5050
username = admin, password = , port = 5050
get mac ioctl error!
Ants_RTMPServer_Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1935
killall: wpa_supplicant: no process killed
[INFO.Ants_RTMPServer_Start.65]Ants_RTMPServer_Start  start!
[INFO.Ants_RTMPServer_Start.83]create i 1 start!
[RTMP] [server/server.cpp:00002177:Start] Start ok!
[RTMP] [server/server.cpp:00002221:StartListenThread] Create Listen Thread OK
[INFO.Ants_RTMPServer_Start.87]create i 1 end!
[INFO.Ants_RTMPServer_Start.97]hRtmpHandle = 1!
[INFO.Ants_RTMPServer_Start.101]Ants_RTMPServer_Start  end!
[INFO.Ants_RTMPServer_SetStreamCallBack.138]Ants_RTMPServer_SetStreamCallBack  start!
[INFO.Ants_RTMPServer_SetStreamCallBack.156]Ants_RTMPServer_SetStreamCallBack  end!
Ants_RTMPServer_Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1935  ok
Ants_RTSPServer_Start !!!!!!!!!!!!!!!!!!!!!!!!!!!!! 554
[INFO.ListenProc.2443]ListenProc  start!
get mac ioctl error!
[10:52:37.266609] [b6f6a320]glnk_init:152: 152

[src/AntsSVRControlSession.cpp:193:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkMediaSessions
[src/AntsSVRControlSession.cpp:195:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkPlayBackSessions
[src/AntsSVRControlSession.cpp:197:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkAlarmSession
[src/AntsSVRControlSession.cpp:199:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkFindFileSessions
[src/AntsSVRControlSession.cpp:201:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkFindLogSession
[src/AntsSVRControlSession.cpp:203:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkCaptureJpegSession
[src/AntsSVRControlSession.cpp:205:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkUpgradeSession
[src/AntsSVRControlSession.cpp:207:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkVoiceSession
[src/AntsSVRControlSession.cpp:209:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkVoiceMRSession
[src/AntsSVRControlSession.cpp:211:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkLogoSession
[src/AntsSVRControlSession.cpp:213:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkConfiguration
[src/AntsSVRControlSession.cpp:215:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkRearchSession
[src/AntsSVRControlSession.cpp:217:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkPassiveSessions
[src/AntsSVRControlSession.cpp:219:~CSVRControlSession] controlsession[0x30c6e90] call UnLinkPassiveStreamSessions
[src/AntsSVRControlSession.cpp:226:~CSVRControlSession] controlsession[0x30c6e90] stop StreamThread
[src/AntsSVRControlSession.cpp:237:~CSVRControlSession] controlsession[0x30c6e90] stop PlayBackThread
[IPCMgrThreadAll.7706] new i = 0
[IPCMgrThreadAll.7706] new i = 1
[IPCMgrThreadAll.7706] new i = 2
[IPCMgrThreadAll.7706] new i = 3
[IPCMgrThreadAll.7706] new i = 4
[IPCMgrThreadAll.7706] new i = 5
[IPCMgrThreadAll.7706] new i = 6
send to errno = 100[Network is down]  nRet = -1 - 106
send to errno = 100[Network is down]  nRet = -1 - 906
 open /usr/etc/myExceptionState.xml

erro[antsMainDlg.cpp timerEvent▒▒3164]  STOP_ABNORMAL
 open /usr/etc/myExceptionState.xml

 open /usr/etc/myExceptionState.xml

erro[preview/preview.cpp SysAudio▒▒4421]        no right stopAudio
GUI -->   [0/0] dwAbilityType= 2305 bsupp = 1
GUI -->   [1/1] dwAbilityType= 2306 bsupp = 1
GUI -->   [2/2] dwAbilityType= 2307 bsupp = 1
GUI -->   [3/3] dwAbilityType= 2308 bsupp = 1
GUI -->   [4/4] dwAbilityType= 2309 bsupp = 1
GUI -->   [5/5] dwAbilityType= 2310 bsupp = 1
GUI -->   [6/6] dwAbilityType= 2311 bsupp = 1
GUI -->   [7/7] dwAbilityType= 2312 bsupp = 1
 QLinuxFbScreen::disconnect




 munmap 8294400
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒350]       QLinuxFbScreen::connect /dev/fb0
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒379]
 open /dev/fb0

DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒397]       open device /dev/fb0 success
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒425]
 open /usr/etc/mycfg.xml

 open /root/DeviceDisplay.xml

DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒469]       vinfo.xres 1024 768
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒481]       d_ptr->fd 8 vinfo xres 1024, xres_virtual1024
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒513]       screen vinfo
 bits_per_pixel 32
 r g b 8 8 8
 d = 32
 finfo.line_length 2560
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒554]       dw is 1024,dh is 768 lstep 4096
DBG[embedded/qscreenlinuxfb_qws.cpp connect▒▒600]

  mmap fb0 : d_ptr->fd 8,  data -1245122560, mapsize 8294400

erro[antsMainDlg.cpp signalHandler▒▒966]        signo 11

Как можно ему помочь ? По лану не соединяется вообще ни как, даже светодиоды не моргают. Зато через UART общается на ура.

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 13:14

По логу всё запущено.
Да, ругнулся на интерфейс eth0, что не нашёл....
Надо смотреть по прошивке, по порядку загрузки и этим логам это место.
Может что-то налажал производитель, а может быть ты просто сходную прошивку для подобной но другой модели накатил, ну или случилось страшное.....

Индикации на порте может и не быть, потому как она может выведена в другое место (на панель или светодиоды где-то), например как у хиковских некоторых моделей NVR7108N-SN/P и ты просто этого не замечал и в нормальном состоянии

Работает ли в терминале клавиатура т.е. можно ли что-то поклацать?
Тормози загрузку на старте и пошарь там командами.
Посмотри окружение.Если в U-boot сетка доступна, то возможно такая прошивка, а может и нет.


Чем обновлял? Образ?
Возможно придётся накатить предыдущий образ.

GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 23 авг 2015, 14:10

Может и перепутал прошивку. Вообще у меня таких регера 2 штуки. 1 рабочий с новой версией, а второй (тот что поломался) со старой версией прошивки, написал продавцу, мол хочу обновить. Он спросил серийник и выслал прошивку. Я ее накатил с веб морды. И после этого аут.
Имеем следующее

Код: Выделить всё

U-Boot 2010.06 (May 06 2014 - 20:57:31)

NAND:  Check nand flash controller v504. found
Special NAND id table Version 1.36
Nand ID: 0xC2 0xF1 0x80 0x1D 0xC2 0xF1 0x80 0x1D
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:4bits/512Byte
128 MiB
Check spi flash controller v350... Found
Can't find a valid spi flash chip.
Can't find a valid spi flash chip.
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

NAND read: device 0 offset 0x7c00000, size 0x40000
 262144 bytes read: OK
mmu_enable
<<imgwidth=1024, imgheight=768, linebytes=2048>>
decode success!!!!
dev 0 set background color!
dev 2 set background color!
dev 0 opened!
dev 2 opened!
graphic layer 0 opened!
graphic layer 2 opened!
Hit any key to stop autoboot:  0
hisilicon # ?
?       - alias for 'help'
base    - print or set address offset
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
ddr     - ddr training function
decjpg  - jpgd   - decode jpeg picture.

erase_env- erase_env  erase the environment

ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
getinfo - print hardware information
go      - start application at address 'addr'
help    - print command description/usage
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mtest   - simple RAM read/write test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setvobg - setvobg   - set vo backgroud color.
        - setvobg [dev color]
sf      - SPI flash sub-system
startgx - startgx   - open graphics layer.
        - startgx [layer addr stride x y w h]

startvo - startvo   - open interface of vo device.
        - startvo [dev type sync]
stopgx  - stopgx   - close graphics layer.
        - stopgx [layer]
stopvo  - stopvo   - close interface of vo device.
        - stopvo [dev]
tftp    - tftp  - download or upload image via network using TFTP protocol
update  - update  uboot
update  kernel
update  rfs
update  logo
update  all
соотвественно попробовал

Код: Выделить всё

hisilicon # update rfs
No such device: 0:2
No such device: 0:2
No such device: 0:2
No such device: 0:2
MAC:   00-00-23-34-45-66
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Download Filename 'rfs.yaffs.3535'.
Download to address: 0x82000000
поискал в интеренете ниче похожего на файл с названием rfs.yaffs.3535 не нашел.
Telnet пашет:

Код: Выделить всё

# fdisk -l
# ls -l
-rwxr-xr-x    1 root     root            58 Jan 24  2015 DeviceDisplay.xml
drwxrwxrwx    1 1000     root          2048 Nov  9  2012 Trolltech
-rwx--x--x    1 root     root       6400728 Jan 24  2015 ants_dvr
drwxrwxrwx    1 1000     root          2048 Jul  9  2015 ddns_libs
-rw-r--r--    1 root     root             0 Jan  1 01:33 fd
drwxrwxrwx    1 1000     root          2048 Jul  9  2015 host_libs
-rwxrwxrwx    1 root     root        156259 Jan 24  2015 icloud
drwxrwxrwx    1 1000     root          2048 Jul  9  2015 ipc_libs
-rwx------    1 root     root       1687132 Jan 24  2015 libants_onvif_sdk.so
-rwx------    1 root     root       1807534 Jan 24  2015 libantsmid.so
-rwxrwxrwx    1 1000     root        929508 Jan 24  2015 libantsnetsdk.so
-rwx------    1 root     root       1544244 Jan 24  2015 libantsserver.so
-rwxr-xr-x    1 root     root        652594 Jan 24  2015 libcurl.so.4
-rwx------    1 root     root        172145 Jan 24  2015 libi8s_server.so
-rwxrwxrwx    1 1000     root         24752 Apr  3  2014 libipc_arm-hisiv100.so.2.0.4
-rwxrwxrwx    1 1000     root          9860 Apr  3  2014 libive.so
-rwxrwxrwx    1 1000     root          5728 Apr  3  2014 libmem.so
-rwxr-xr-x    1 root     root         44136 Jan 24  2015 libminiupnpc.so
-rwxr-xr-x    1 root     root         46418 Jan 24  2015 libmxml.so.1
-rwx------    1 root     root        156996 Jan 24  2015 libpublic.so
-rwx------    1 root     root        477404 Jan 24  2015 librtmpserver.so
-rwx------    1 root     root        223624 Jan 24  2015 librtspserver.so
-rwxrwxrwx    1 root     root         56848 Jan 24  2015 libserialp.so
-rwxrwxrwx    1 1000     root       1024008 Jan 24  2015 libsyssdk.so
-rwxr-xr-x    1 root     root         62136 Jan 24  2015 libtinyxml.so
-rwx------    1 root     root         89068 Jan 24  2015 libtoolfonts.so
-rwxr-xr-x    1 root     root        388840 Jan 24  2015 ntfs-3g
drwxrwxrwx    1 1000     254           2048 Jan  1 00:00 pinyin
drwxrwxrwx    1 1000     root          2048 Jul  9  2015 res
drwxrwxrwx    1 1000     root          2048 Jul  9  2015 res_xml
-rwxrwxrwx    1 1000     root            71 Jan 24  2015 version
-rwxrwxrwx    1 1000     root             0 Apr  3  2014 watch
drwxr-xr-x    1 root     root          2048 Jan 24  2015 web
#
Странно почему он только на команду fdisk -l вообще ничего не отвечает! А светодиод линка и правда на передней панели и он постоянно горит, и компьютер регер не видит вообще не как. Явно тут какой то нормальный косяк с прошивкой.

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 14:14

Начни с начала.
Что за регистратор, какой прошивкой прошивал (ссылка)

Выполни printenv в u-boot
В телнете
ifconfig

GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 23 авг 2015, 14:23

Регистратор китайский, ничего о нем не знаю. Кроме того что построен на HI3535. 16 каналов 2Мп Фото платы приложил, вот https://yadi.sk/i/8rF5Twn5ic6wi Прошивка который прошивал вот:https://yadi.sk/d/hbSjelb7ic6p9.

Код: Выделить всё

hisilicon # printenv
bootargs=mem=192M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2  mtdparts=hinand:1M(uboot),3M(kernel),90M(rfs),20M(app),10M(config),4M(logo)
bootcmd=nand read 0x82000000 0x100000 0x300000;bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:00:23:34:45:66
ipaddr=192.168.1.10
serverip=192.168.1.2
netmask=255.255.254.0
bootfile="uImage"
uboot_postfix=.bin.3535
kernel_postfix=.img.3535
rfs_postfix=.yaffs.3535
cfg_postfix=.jffs2.3535
logo_postfix=.jpeg.3535
stdin=serial
stdout=serial
stderr=serial
verify=n
jpeg_addr=80c31968
jpeg_size=0x40000
vobuf=bfa00000
ver=U-Boot 2010.06 (May 06 2014 - 20:57:31)

Environment size: 622/262140 bytes
hisilicon #

Код: Выделить всё

# ipconfig
-sh: ipconfig: not found
#

GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 23 авг 2015, 14:28

Команды я как я понимаю он понимает вот из этого списка

Код: Выделить всё

# ls -l
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 addgroup -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 adduser -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ash -> busybox
-rwxrwxrwx    1 1000     root         42440 Jan 15  2014 btools
-rwxrwxrwx    1 1000     root        818916 Jan 15  2014 busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 cat -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 catv -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 chgrp -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 chmod -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 chown -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 cp -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 cpio -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 cttyhack -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 date -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 dd -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 delgroup -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 deluser -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 df -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 dmesg -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 dnsdomainname -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 dumpkmap -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 echo -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ed -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 egrep -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 false -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 fdflush -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 fgrep -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 fsync -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 getopt -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 grep -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 gunzip -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 gzip -> busybox
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 hiddrs -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 hier -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 hiew -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 hil2s -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 himc -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 himd -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 himd.l -> btools
lrwxrwxrwx    1 1000     root             6 Jan 15  2014 himm -> btools
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 hostname -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 hush -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ionice -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ip -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ipaddr -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ipcalc -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 iplink -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 iproute -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 iprule -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 iptunnel -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 kill -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 linux32 -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 linux64 -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ln -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 login -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ls -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 lzop -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 makemime -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mkdir -> busybox
-rwxrwxrwx    1 1000     root        382248 Jan 15  2014 mke2fs
-rwxrwxrwx    1 1000     root        382248 Jan 15  2014 mkfs.ext2
-rwxrwxrwx    1 1000     root        382248 Jan 15  2014 mkfs.ext3
-rwxrwxrwx    1 1000     root        382248 Jan 15  2014 mkfs.ext4
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mknod -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mktemp -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 more -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mount -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mountpoint -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 msh -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mt -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 mv -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 netstat -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 nice -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 pidof -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ping -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ping6 -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 pipe_progress -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 printenv -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 ps -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 pwd -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 reformime -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 rm -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 rmdir -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 rpm -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 run-parts -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 scriptreplay -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 sed -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 setarch -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 sh -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 sleep -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 stat -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 stty -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 su -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 sync -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 tar -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 touch -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 true -> busybox
-rwxrwxrwx    1 1000     root        148047 Jan 15  2014 udevd
-rwxrwxrwx    1 1000     root        127916 Jan 15  2014 udevinfo
-rwxrwxrwx    1 1000     root        128883 Jan 15  2014 udevstart
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 umount -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 uname -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 uncompress -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 usleep -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 vi -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 watch -> busybox
lrwxrwxrwx    1 1000     root             7 Jan 15  2014 zcat -> busybox
На команду netstat говорит:

Код: Выделить всё

# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ]         DGRAM                        24 @/org/kernel/udev/udevd

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 18:30

GrukhvinEV писал(а):

Код: Выделить всё

# ipconfig
-sh: ipconfig: not found
#
ifconfig, а не виндозная ipconfig

Регистратор где покупался? Прошивка где бралась изначально?
Зачем собственно менял?

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 18:46

Я тут искал подобную прошивку для восстановления 3531. Прошивка по формату такая-же и что-то кроме updata, которого давали человеку ничего нет. Но он себе и ядро прибил и всё остальное, теперь мается.
Ядро я запускал вручную, а вот всего остального похожего найти пока не удалось и второго такого рабочего рега нет.

По твоему.
Из твоего файла update:
Стартует
/etc/init.d/S02toe

Код: Выделить всё

#!/bin/sh
#bypass mode:  net driver default use bypass mode.
#insmod /hitoe/stmmac.ko

#toe mode:
#TOE mode require contiguous physical memory area per time during network transmission, while the default value in kernel is quite small. In order to ensure enough contiguous physical memory area for TOE mode, you should use the following command to enlarge avalable memory.
#Attention, here is just an example. The specific value depends on both the number of network connections, and the total summation of each connection.

echo 8192 > /proc/sys/vm/min_free_kbytes

#The default value of Vfs_cache_pressure is 100. This parameter sets the virtual memory recycling directory and the i-node buffer. The higher the value is, the more serious of the tendency can be reclaimed.
#You can use the following command to modify vfs_cache_pressure to 200, so kernel would reclaim cache and free physical memory as soon as possible. As a result, more physical memory would be left for TOE.
#We add a module parameter to set the threshold when system could change the connection from standard TCP\IP stack to TOE. Custom could modify the value of threshold when puting the tnk module into system. The minimum of this value is 100 Byte, and the typical value is 10240 Bytes.

echo 200 > /proc/sys/vm/vfs_cache_pressure

#TOE can't support SACK and need open low latency, arp filter.
#Please remark it in BYPASS.
echo 0 > /proc/sys/net/ipv4/tcp_sack
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter

insmod /hitoe/stmmac.ko hitoe=1 tnk_threshold=0
Последний раз редактировалось iTuneDVR 23 авг 2015, 18:47, всего редактировалось 1 раз.

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 18:47

Модуль сетевухи видимо не тот!!

а дальше стартует

/etc/init.d/S03ants

Код: Выделить всё

#!/bin/sh
/usr/sbin/hotplug &

cd /ko
./load3535 -i

updateclear

#mkdir /var/run
#mkdir /var/lock
mkdir /usr/etc/ppp
mkdir /usr/etc/ppp/peers


#cp /usr/sbin/ppp-off                            /etc/ppp/peers/
#cp /usr/sbin/wcdma-chat-disconnect              /etc/ppp/peers/

ifconfig eth0 192.168.1.188
hwclock -s

telnetd &
mount -t usbfs usbfs /proc/bus/usb/
export LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:/root"
export TERMINFO=/usr/local/share/terminfo
export QWS_KEYBOARD=tty:/dev/ttyS2
export QWS_KEYBOARD_TYPE=3520chpd
export QWS_MOUSE_PROTO=auto:/dev/mouse0

mv /root/sysinit /usr/sbin/

sysinit &

/etc/startusb

cd /root
./ants_dvr -qws &

GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 23 авг 2015, 19:36

Да, ошибся я уже голова просто кругом ))) Упорно набирал ipconfig и думал как так не работает )))
Прошивал для того что бы было два одинаковых регера с одинаковой версией прошивки. Где изначально бралась прошивка я фиг его знает. Вообще можно же как то с того регистратора скопировать образ системы через tftp ? Или нет ?
На крайняк уж если ничего не поможет можно купить программатор, считать в рабочего чипа инфу и залить в этот регер.

Код: Выделить всё

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4893 (4.7 KiB)  TX bytes:4893 (4.7 KiB)

#

iTuneDVR

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение iTuneDVR » 23 авг 2015, 21:44

GrukhvinEV писал(а):
Прошивал для того что бы было два одинаковых регера с одинаковой версией прошивки.
Вообще можно же как то с того регистратора скопировать образ системы через tftp ? Или нет ?
На крайняк уж если ничего не поможет можно купить программатор, считать в рабочего чипа инфу и залить в этот регер.
Две одинаковые какие?
Откуда прошивка-то? Почему именно эта?
Может что-то не так прошилось и надо повторно???

Если есть здоровый донор, то всё возможно.
Но, такие подробности и так поздно появляются!!! Такое ощущение, что ты сам себе просто не хочешь помочь ;)
Ну что, же дерзай раз есть с чего скопировать ;) ;) ;)

GrukhvinEV
Новичок
Сообщения: 14
Зарегистрирован: 23 авг 2015, 11:20

Re: Нужна помощь в восстановлении работоспособности NVR

Сообщение GrukhvinEV » 25 авг 2015, 09:01

Дело в том, что я не знаю как это сделать. Через u-boot я не вижу фл на рабочем видеорегистраторе что бы скопировать от туда прошивку. Как это можно сделать ? Я знаю только команду sf probe для выбора фл. Но она ни че не дает. Как скопировать через telnet тоже не знаю, тк через команду fdisk почему то устройство говорит что видит одну из микросхем ddr памяти. Не силен я в Linux.

Ответить

Вернуться в «Восстановление и настройка»