DVR3116
Добавлено: 11 окт 2016, 16:33
Здравствуйте, регистратор AVG3116, он же dahua dvr3116.
прошивка от dvr3116E dvr3116H не подходит.
есть родной загрузчик.
Прошивки от авигард под uart, на оф. сайте нет.
#printenv
#help
загрузка
hardware.lua
прошивка от dvr3116E dvr3116H не подходит.
есть родной загрузчик.
Прошивки от авигард под uart, на оф. сайте нет.
#printenv
Код: Выделить всё
U-Boot 2008.10-svn104 (May 30 2011 - 10:10:00)condense
DRAM: 128 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot:321
DVR> # pri
version=000
bootcmd=showlogo;netup; fsload;bootm 0xe3000000
bootdelay=3
baudrate=115200
da=tftp 0xe3000000 u-boot.bin.img;protect off all; flwrite
dr=tftp 0xe3000000 romfs-x.cramfs.img; flwrite
dc=tftp 0xe3000000 custom-x.cramfs.img; flwrite
du=tftp 0xe3000000 user-x.cramfs.img; flwrite
dw=tftp 0xe3000000 web-x.cramfs.img; flwrite
dl=tftp 0xe3000000 logo-x.cramfs.img; flwrite
ds=tftp 0xe3000000 slave-x.cramfs.initrd.img; flwrite
up=tftp 0xe3000000 update.img; flwrite
tk=tftp 0xe3000000 uImage; bootm 0xe3000000
slave_boot_addr=0xE0000000
slave_kernel_addr=0xE00A0000
slave_initrd_addr=0x80e20000
slave_bootargs=mem=15M
slave_bootcmd=bootm e00a0000 80e20000
bootfile=boot/uImage
mdio_intf=mii
ID=PA1KF03700800
ethaddr=90:02:a9:73:62:4f
bootargs=mem=96M console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:256K(boot),2176k(rootfs),3712k(user),1M(web),128K(custom),256K(logo),640K(config) user_debug=0x1f pcimod=host pciclksel=1 mac=90:02:a9:73:62:4f
netmask=255.255.255.0
gatewayip=192.168.1.1
appauto=0
dh_keyboard=0
serverip=192.168.0.16
ipaddr=192.168.0.251
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2008.10-svn104 (May 30 2011 - 10:10:00)condense
Environment size: 1199/131068 bytes
#help
Код: Выделить всё
DVR> #help
? - alias for 'help'
bootm - boot application image from memory
erase - erase FLASH memory
flwrite - write data into FLASH memory
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
hwid - set hardware id and save to flash
lip - set local ip address but not save to flash
loadslaveos - load slave uboot and kernel!
mac - set mac address and save to flash
netrep - report net up progress
netup - update the system via net, without console
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
setenv - set environment variables
sip - set server ip address but not save to flash
slavestart - start slave arm!
tftp - download or upload image via network using TFTP protocol
version - print monitor version
wdg_start - start hi watchdog
wdg_stop - stop watchdog
загрузка
Код: Выделить всё
U-Boot 2008.10-svn104 (May 30 2011 - 10:10:00)condense
DRAM: 128 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 3 2 1 0
Unknown command 'showlogo' - try 'help'
MAC: 90-02-A9-73-62-4F
Timeout
### CRAMFS loading 'boot/uImage' to 0xe3000000
### CRAMFS load complete: 1476776 bytes loaded to 0xe3000000
## Booting kernel from Legacy Image at e3000000 ...
Image Name: Linux-2.6.24-rt1-hi3520v100
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1476712 Bytes = 1.4 MB
Load Address: e2800000
Entry Point: e2800000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux............................................................................................. done, booting the kernel.
Linux version 2.6.24-rt1-hi3520v100 (lv_ke@driver) (gcc version 3.4.3 (release) (CodeSourcery ARM Q3cvs 2004)) #65 Thu May 5 15:36:32 CST 2011
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387f
Machine: hi3520v100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384
Kernel command line: mem=96M console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:256K(boot),2176k(rootfs),3712k(user),1M(web),128K(custom),256K(logo),640K(config) user_debug=0x1f pcimod=host pciclksel=1 mac=90:02:a9:73:62:4f mdio_intf=mii dh_keyboard=0 mac=90:02:a9:73:62:4f
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 94244KB available (2684K code, 243K data, 88K init)
Mount-cache hash table entries: 512
HI_VERSION=LINUX_2_6_24-M01C04FB01F @Hi3520v100R001_C_0_2_0 2010-06-29 22:31:34
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
Hisilicon clock system V0.01
PCI: device 0000:00:00.0 has unknown header type 25, ignoring.
PCI: device 0000:00:01.0 has unknown header type 25, ignoring.
PCI: device 0000:00:02.0 has unknown header type 25, ignoring.
PCI: device 0000:00:03.0 has unknown header type 25, ignoring.
PCI: device 0000:00:05.0 has unknown header type 12, ignoring.
PCI: device 0000:00:06.0 has unknown header type 12, ignoring.
PCI: device 0000:00:07.0 has unknown header type 12, ignoring.
PCI: device 0000:00:08.0 has unknown header type 12, ignoring.
PCI: device 0000:00:09.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0a.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0b.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0c.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0d.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0e.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0f.0 has unknown header type 12, ignoring.
PCI: device 0000:00:10.0 has unknown header type 12, ignoring.
PCI: device 0000:00:11.0 has unknown header type 12, ignoring.
PCI: device 0000:00:12.0 has unknown header type 12, ignoring.
PCI: device 0000:00:13.0 has unknown header type 12, ignoring.
PCI: device 0000:00:14.0 has unknown header type 12, ignoring.
PCI: device 0000:00:15.0 has unknown header type 12, ignoring.
PCI: device 0000:00:16.0 has unknown header type 12, ignoring.
PCI: device 0000:00:17.0 has unknown header type 12, ignoring.
PCI: device 0000:00:18.0 has unknown header type 12, ignoring.
PCI: device 0000:00:19.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1a.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1b.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1c.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1d.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1e.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1f.0 has unknown header type 12, ignoring.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: hisi_timer1 clocksource has been installed.
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
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs May 3 2011 09:09:56 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20090000 (irq = 12) is a AMBA/PL011
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x200a0000 (irq = 12) is a AMBA/PL011
uart:2: ttyAMA2 at MMIO 0x200b0000 (irq = 13) is a AMBA/PL011
PPP generic driver version 2.4.2
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
PCI: enabling device 0000:00:04.0 (0140 -> 0143)
0x403f: latency timer and cache line value !
*************** bar5: b0020000
!!!!!!!! mmio_base phy: e8872000 ctl: 8a !
sata_sil 0000:00:04.0: Applying R_ERR on DMA activate FIS errata fix
scsi0 : sata_sil
scsi1 : sata_sil
ata1: SATA max UDMA/100 mmio m512@0xb0020000 tf 0xb0020080 irq 29
ata2: SATA max UDMA/100 mmio m512@0xb0020000 tf 0xb00200c0 irq 29
ata1: SATA link down (SStatus 0 SControl 310)
ata2: SATA link down (SStatus 0 SControl 310)
physmap platform flash device: 04000000 at 80000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-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.
7 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 7 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00260000 : "rootfs"
0x00260000-0x00600000 : "user"
0x00600000-0x00700000 : "web"
0x00700000-0x00720000 : "custom"
0x00720000-0x00760000 : "logo"
0x00760000-0x00800000 : "config"
h2v100-ehci h2v100-ehci.0: h2v100-ehci
h2v100-ehci h2v100-ehci.0: new USB bus registered, assigned bus number 1
h2v100-ehci h2v100-ehci.0: irq 23, io mem 0x100b0000
h2v100-ehci h2v100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
h2v100-ohci h2v100-ohci.0: h2v100-ohci
h2v100-ohci h2v100-ohci.0: new USB bus registered, assigned bus number 2
h2v100-ohci h2v100-ohci.0: irq 22, io mem 0x100a0000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 88K
init started: BusyBox v1.1.2 (2011.03.31-08:43+0000) multi-call binary
init started: BusyBox v1.1.2 (2011.03.31-08:43+0000) multi-call binary
Starting pid 738, console /dev/console: '/etc/init.d/rcS'
[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
[RCS]: /etc/init.d/S98
jffs2_scan_inode_node(): CRC failed on node at 0x000275d0: Read 0xffffffff, calculated 0xd9de3bf0
jffs2_scan_inode_node(): CRC failed on node at 0x00028a08: Read 0xffffffff, calculated 0x8081118e
UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal
Extracting from /usr/lib/lib.rar
Creating /var/lib OK
Extracting /var/lib/hi3520_md.ko 3% OK
Extracting /var/lib/hi3520_venc.ko 5% OK
Extracting /var/lib/hidmac.ko 7% OK
Extracting /var/lib/hi3520_base.ko 9% OK
Extracting /var/lib/hi3520_viu.ko 15% OK
Extracting /var/lib/hi3520_group.ko 18% OK
Extracting /var/lib/h2gether.ko 20% OK
Extracting /var/lib/gpio.ko 21% OK
Extracting /var/lib/hi3520_dsu.ko 24% OK
Extracting /var/lib/hifb.ko 27% OK
Extracting /var/lib/mmz.ko 29% OK
Extracting /var/lib/mcc_usrdev.ko 30% OK
Extracting /var/lib/consoles.ko 30% OK
Extracting /var/lib/hi3520_ao.ko 32% OK
Extracting /var/lib/hi3520_vd.ko 37% OK
Extracting /var/lib/tde.ko 43% 48% OK
Extracting /var/lib/hi3520_sys.ko 49% OK
Extracting /var/lib/hi3520_jpege.ko 53% OK
Extracting /var/lib/hi3520_sio.ko 54% OK
Extracting /var/lib/wdt.ko 54% OK
Extracting /var/lib/hi3520_ai.ko 56% OK
Extracting /var/lib/gpioi2c.ko 57% OK
Extracting /var/lib/hi3520_h264d.ko 63% 67% OK
Extracting /var/lib/hi3520_adec.ko 68% OK
Extracting /var/lib/hi3520_aenc.ko 69% OK
Extracting /var/lib/hi3520_vou.ko 75% 80% OK
Extracting /var/lib/hi3520_chnl.ko 82% OK
Extracting /var/lib/hi3520_h264e.ko 88% 90% OK
Extracting /var/lib/hi3520_vdec.ko 94% OK
Extracting /var/lib/IR.ko 94% OK
Extracting /var/lib/hi3520_vpp.ko 99% OK
All OK
H2GMAC module init start!
H2GMAC MDIO Bus: probed
phy name is 0:00
H2GMAC module init done!
[RCS]: /etc/init.d/S99
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20130C00: 0x00000000 --> 0x00000000
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20130D00: 0x00000000 --> 0x00000000
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20130E00: 0x00000000 --> 0x00000000
Hisilicon Media Memory Zone Manager
gpio-i2c Dec 14 2010, 16:10:32
insmod: cannot open module `adv_7441.ko': No such file or directory
hifb: module license 'Proprietary' taints kernel.
hifb info: HIFB_MAIN_VERSION[v1.0.0.2] Build Time[Jan 17 2011, 11:05:08]
hifb info: video:vram0_size=2621440,vram2_size=835584,vram3_size=835584
hifb info: succeed in registering the fb0: ovl0 frame buffer device
hifb info: succeed in registering the fb1: ovl2 frame buffer device
hifb info: succeed in registering the fb2: ovl3 frame buffer device
TDE_MAIN_VERSION[v2.0.0.0] Build Time[Jan 17 2011, 11:05:02]
TDE_ADP_VERSION[hi3520adp v2.0.0.0] Build Time[Jan 17 2011, 11:05:02]
tde run on master arm
tde run for video service
tde map reg:basePhyAddr:20140000 baseVirAddr:c6874000 size:3000
Hisilicon UMAP device driver interface: v3.00
Chip Version: Hi35200100
load vd.ko ....OK!
load vou.ko ....OK!
load vdec.ko ....OK
load vpp.ko ....OK!
load md.ko....OK!
load h264d.ko OK
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=180 sec (nowayout= 0, nodeamon= 1)
WDT @Hi3515
infrared Apr 19 2011, 10:01:30 load succesful!
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110104: 0x00009876 --> 0x00009654
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110100: 0x00000888 --> 0x00000886
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011010c: 0x00000001 --> 0x00000002
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110110: 0x00000002 --> 0x00010C86
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110114: 0x00000003 --> 0x00010C87
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110118: 0x00000005 --> 0x00000006
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011011c: 0x00000006 --> 0x00000007
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110128: 0x00000007 --> 0x00010020
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011012c: 0x00000007 --> 0x000103A1
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110130: 0x00000007 --> 0x00010605
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110134: 0x00000007 --> 0x00010605
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110138: 0x00000007 --> 0x00000004
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011013c: 0x00000007 --> 0x00000004
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20050078: 0x00000000 --> 0x00008002
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120100: 0x00000444 --> 0x00000444
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120104: 0x00009876 --> 0x00009654
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2012010c: 0x00000001 --> 0x00010640
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120110: 0x00000002 --> 0x00000003
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120114: 0x00000003 --> 0x00000004
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120118: 0x00000005 --> 0x00000001
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2012011c: 0x00000006 --> 0x00000002
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120128: 0x00000007 --> 0x00000005
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2012012c: 0x00000007 --> 0x0netinit uses obsolete (PF_INET,SOCK_PACKET)
0000005
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120130: 0x00000007 --> 0x00000005
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120134: 0x00000007 --> 0x00000005
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20120138: 0x00000007 --> 0x00000005
*** Board tools : ver0.0.1_20060106 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2012013c: 0x00000007 --> 0x00000005
--------------------------------------------------------------------
netint [ethname] [Ipaddress] [Netmask] [Gateway]
Example for set all(ip, netmask, gateway):
netinit eth0 192.168.1.100 255.255.0.0 192.168.1.1
Example for set ip :
netinit 192.168.1.34
Example for set netmask :
netinit NULL 255.255.0.0(keep original ip)
--------------------------------------------------------------------
LIBDVR : Version : V6V5V4:000
LIBDVR : dvr3116 no cpld product init
Ip = 192.168.1.108, Netmask = 255.255.255.0, Gateway = 192.168.1.1
mac : 90-2-a9-73-62-4f
Utils : Current Network Seting===>
Ip = 192.168.1.108
Netmask = 255.255.255.0
Gateway = 192.168.1.1
++++Start pppd,Version 1.42 2009-08-05+++
UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal
main 202 UPNP.PRO::CtrlPointStart
Extracting from /usr/bin/Challenge.rar
Extracting /var/Challenge 1% 99% OK
All OK
Utils : check file /mnt/mtd/Log/Data CRC 7f5995c8 != calculated CRC d3088d4f for node at 0002c058
Log
Utils : check file /mnt/mtd/Log/LogSet
LIBDVR : Version : V6V5V4:000
LIBDVR : dvr3116 no cpld product init
Starting pid 1044, console /dev/console: '/bin/sh'
Auto login as root ...
warning: cannot change to home directory
root login on `ttyS000'
hardware.lua
Код: Выделить всё
local Hardware =
{
board =
{
name = "DVR3116-ENG",
version = "x.xx",
extInfo = ''
},
};
return Hardware;
--
-- "$Id$"
--