dahua dh-nvr4216

Вопросы по восстановлению, настройке, апгрейду, прошивкам и т.п.
aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 03 сен 2019, 09:56

Итак отчитываюсь:

1)С дампом от fobos рег не завёлся ,нет даже логотипа

U-Boot 2010.06-svn1969 (Nov 20 2015 - 13:51:54)

DRAM: 1 GiB
dataflash_print_info:
Check spi flash controller v350... Found
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B"
the size of spi flash is 0x1000000
In: serial
Out: serial
Err: serial
Reset Ethernet PHY
user init finish.cpu type: hi3535
can't find corresponding entry
### CRAMFS LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
Hit any key to stop autoboot: 0
USB:

2)oleglevsha описанные Вами команды записывают MAC и ID чуть ниже (10 строка после DEVID),Я проверял записывая изменённый MAC и серийник.А строка DEVID не заполняется.Вот help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
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.

devid - devid - set DEVID or print DEVID

dohwid - set NVR42V device HWID to EEPROM
dohwid 0-----4208V-8P
dohwid 1-----4216V-8P
dohwid 2-----4232V-8P

eracfg -
eralogo -
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flwrite - flwrite - write data into FLASH memory

fsload - fsload - load binary file from a filesystem image

gethwid - get NVR42V device HWID from EEPROM
gethwid 0-----4208V-8P
gethwid 1-----4216V-8P
gethwid 2-----4232V-8P

getinfo - print hardware information
go - start application at address 'addr'
help - print command description/usage
hwid - hwid - set hardware id and save to flash

lip - lip - set local ip address but not save to flash

loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - ls - list files in a directory (default /)

mac - mac - set mac address and save to flash

mac1 - mac1 - set mac address and save to flash

md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
netrep - netrep - report net up progress

netup - netup - update the system via net, without console

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
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showlogo- showlogo - show the logo picture on screen.

sip - sip - set server ip address but not save to flash

test -
tftp - tftp - download or upload image via network using TFTP protocol
verifcode- verifcode - set Verif_Code or print Verif_Code

version - print monitor version

3)По совету dede выполненные команды привели к тому,что пошли логи,но рег так же висит на логотипе

U-Boot 2010.06-svn1781 (May 29 2015 - 21:54:27)

DRAM: 1 GiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B"
the size of spi flash is 0x1000000
In: serial
Out: serial
Err: serial
user init finish.cpu type: hi3535
Scanning JFFS2 FS: done.

find_inode failed for name=bmp_logo.bmp

load: Failed to find inode

### JFFS2 LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
gpio type hwid
Hit any key to stop autoboot: 0
netup time out: 1000
Timeout
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x80100000
Downloading:
ARP Retry count exceeded; starting again
Failed to get info.txt
### JFFS2 loading '/boot/uImage' to 0x82000000
squashfs use lzma
### squashfs loading '/boot/uImage' to 0x82000000
squashfs use lzma
### squashfs load complete: 2647504 bytes loaded to 0x82000000
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.4.35_hi3535
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2647440 Bytes = 2.5 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 (jenkins@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v200(gcc4.4-290+glibc-2.11+eabi+nptl)) ) #2 SMP Fri May 29 21:47:48 CST 2015 , svn:4913
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3535
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0af9000 s6016 r8192 d14464 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 138430
Kernel command line: console=ttyAMA0,115200 rootfstype=squashfs root=/dev/mtdblock1 bpa2parts=eram:16M:0xA2100000 mem=545M@0x80000000 memsize=1G stmmaceth=flow_ctrl:0x3,buf_sz:8192,dma_rxsize:512 dh_keyboard=0 load_modules=1 isinland=1 chiptype=5 product_type=8 product_area=1 product_sub=2 wifiMac=00:00:00:00:00:00 selfchecked=1 toe=0
==>start:"=0 load_modules=1 isinland=1 chiptype=5 product_type=8 product_area=1 product_sub=2 wifiMac=00:00:00:00:00:00 selfchecked=1 toe=0" use_console:1
bpa2: partition 'eram' created at 0xa2100000 (high), size 16384 kB (0x01000000 B)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 545MB = 545MB total
Memory: 545988k/545988k available, 12092k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe2800000 - 0xff000000 ( 456 MB)
lowmem : 0xc0000000 - 0xe2100000 ( 545 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc060b000 (6156 kB)
.init : 0xc060b000 - 0xc063e780 ( 206 kB)
.data : 0xc0640000 - 0xc0678ce0 ( 228 kB)
.bss : 0xc0678d04 - 0xc06aa9ac ( 200 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 0x804c2c60 - 0x804c2c94
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
uart:3: ttyAMA3 at MMIO 0x200b0000 (irq = 43) is a PL011 rev2
bio: create slab <bio-0> at 0
No PCIe controller 1!
controller0, config base:0x20800000, mem size:0x800000
143,val is 0x1c04
162,val is 0x50
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x37800000-0x3fffffff]
pci_bus 0000:00: root bus resource [mem 0x30000000-0x377fffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pcie0 not link up!
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x30000000-0x307fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x30800000-0x3080ffff]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ERAM initialized successfully, total size = 16777216, bitmap total bits = 8192, block size = 2048, eram phy addr = a2100000, remaped addr = e4000000
Switching to clocksource timer0
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 1066
alg: No test for stdrng (krng)
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
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
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
Spi id table Version 1.22
hisfc350 probe.
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"W25Q128B"
spi size: 16MB
chip num: 1
partitions[0] = {.name = boot+env, .offset = 0x00000000, .size = 0x00060000 (384KiB) }
partitions[1] = {.name = rootfs, .offset = 0x00060000, .size = 0x00c80000 (12800KiB) }
partitions[2] = {.name = web, .offset = 0xffffffff, .size = 0x00180000 (1536KiB) }
partitions[3] = {.name = custom, .offset = 0xffffffff, .size = 0x00020000 (128KiB) }
partitions[4] = {.name = logo, .offset = 0xffffffff, .size = 0x00040000 (256KiB) }
partitions[5] = {.name = config, .offset = 0xffffffff, .size = 0x00000000 (0KiB) }
Creating 6 MTD partitions on "hi_sfc":
0x000000000000-0x000000060000 : "boot+env"
0x000000060000-0x000000ce0000 : "rootfs"
0x000000ce0000-0x000000e60000 : "web"
0x000000e60000-0x000000e80000 : "custom"
0x000000e80000-0x000000ec0000 : "logo"
0x000000ec0000-0x000001000000 : "config"
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
switch reset
ata1: SATA link down (SStatus 0 SControl 320)
ata2: SATA link down (SStatus 0 SControl 320)
STMMAC driver:
platform registration... stmmac_dvr_probe: Flushing ERAM data to avoid unexpected write when net DMA filling!
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is 4c:11:bf:41:b6:d1
stmmac_associate_phy: phy 0 mode=6
eth0 - (dev. name: stmmaceth - id: 0, IRQ #59
IO base addr: 0xfe0a0000)
STMMAC MII Bus: probed
eth0: PHY ID 03625e62 at 0 IRQ -6 (0:00) active
HNN : stmmac_mdio_register ,phydev->phy_id is 0x3625e62,priv->phy_addr is 0x0
priv->id is 0,ret is 0
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is ff:ff:ff:ff:ff:ff
no valid MAC address for MAC 1;please, use ifconfig or nwhwconfig!
stmmac_associate_phy: phy 1 mode=6
eth1 - (dev. name: stmmaceth - id: 0, IRQ #59
IO base addr: 0xfe0a4000)
eth1: No PHY found
priv->id is 1,ret is -1
RLT MII Bus: probed
eth1: No PHY found
stmmac_reset: RESET COMPLETE!

**************************************************
* TNK driver built on May 29 2015 at 21:45:14
* TNK driver mode is BYPASS
**************************************************
stmmac: Rx Checksum Offload Engine supported
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 asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
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

dede
Специалист
Сообщения: 1957
Зарегистрирован: 22 мар 2017, 15:02
Откуда: Луганск

Re: dahua dh-nvr4216

Сообщение dede » 03 сен 2019, 12:32

если лог прям вот так заканчивается, то скорее похоже на аппаратную проблему. Попробуйте еще setenv appauto 0 - даст в итоге консоль или нет

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 03 сен 2019, 12:42

заметил,что после каких-то манипуляций перестал появляться логотип,в логе появилось ### JFFS2 LOAD ERROR<0> for /bmp_logo.bmp!сейчас перепрошиваю флешь в программаторе исходным дампом.проверю-отпишусь.Благодарю за ответ

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 03 сен 2019, 13:06

после перепрошивки логотип появился,ошибка jffs2 исчезла,посе dh_keyboard 0 пошли логи,после appauto 0 ничего не изменилось.вот лог

-Boot 2010.06-svn1781 (May 29 2015 - 21:54:27)

DRAM: 1 GiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B"
the size of spi flash is 0x1000000
In: serial
Out: serial
Err: serial
user init finish.cpu type: hi3535
gpio type hwid
Hit any key to stop autoboot: 0
netup time out: 1000
Timeout
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x80100000
Downloading:
ARP Retry count exceeded; starting again
Failed to get info.txt
### JFFS2 loading '/boot/uImage' to 0x82000000
squashfs use lzma
### squashfs loading '/boot/uImage' to 0x82000000
squashfs use lzma
### squashfs load complete: 2647504 bytes loaded to 0x82000000
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.4.35_hi3535
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2647440 Bytes = 2.5 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 (jenkins@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v200(gcc4.4-290+glibc-2.11+eabi+nptl)) ) #2 SMP Fri May 29 21:47:48 CST 2015 , svn:4913
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3535
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0af9000 s6016 r8192 d14464 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 138430
Kernel command line: console=ttyAMA0,115200 rootfstype=squashfs root=/dev/mtdblock1 bpa2parts=eram:16M:0xA2100000 mem=545M@0x80000000 memsize=1G stmmaceth=flow_ctrl:0x3,buf_sz:8192,dma_rxsize:512 dh_keyboard=0 load_modules=1 isinland=1 chiptype=5 product_type=8 product_area=1 product_sub=2 wifiMac=00:00:00:00:00:00 selfchecked=1 toe=0
==>start:"=0 load_modules=1 isinland=1 chiptype=5 product_type=8 product_area=1 product_sub=2 wifiMac=00:00:00:00:00:00 selfchecked=1 toe=0" use_console:1
bpa2: partition 'eram' created at 0xa2100000 (high), size 16384 kB (0x01000000 B)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 545MB = 545MB total
Memory: 545988k/545988k available, 12092k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe2800000 - 0xff000000 ( 456 MB)
lowmem : 0xc0000000 - 0xe2100000 ( 545 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc060b000 (6156 kB)
.init : 0xc060b000 - 0xc063e780 ( 206 kB)
.data : 0xc0640000 - 0xc0678ce0 ( 228 kB)
.bss : 0xc0678d04 - 0xc06aa9ac ( 200 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 0x804c2c60 - 0x804c2c94
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
uart:3: ttyAMA3 at MMIO 0x200b0000 (irq = 43) is a PL011 rev2
bio: create slab <bio-0> at 0
No PCIe controller 1!
controller0, config base:0x20800000, mem size:0x800000
143,val is 0x1c04
162,val is 0x50
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x37800000-0x3fffffff]
pci_bus 0000:00: root bus resource [mem 0x30000000-0x377fffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pcie0 not link up!
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 0: assigned [mem 0x30000000-0x307fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x30800000-0x3080ffff]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ERAM initialized successfully, total size = 16777216, bitmap total bits = 8192, block size = 2048, eram phy addr = a2100000, remaped addr = e4000000
Switching to clocksource timer0
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 1066
alg: No test for stdrng (krng)
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
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
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
Spi id table Version 1.22
hisfc350 probe.
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"W25Q128B"
spi size: 16MB
chip num: 1
partitions[0] = {.name = boot+env, .offset = 0x00000000, .size = 0x00060000 (384KiB) }
partitions[1] = {.name = rootfs, .offset = 0x00060000, .size = 0x00c80000 (12800KiB) }
partitions[2] = {.name = web, .offset = 0xffffffff, .size = 0x00180000 (1536KiB) }
partitions[3] = {.name = custom, .offset = 0xffffffff, .size = 0x00020000 (128KiB) }
partitions[4] = {.name = logo, .offset = 0xffffffff, .size = 0x00040000 (256KiB) }
partitions[5] = {.name = config, .offset = 0xffffffff, .size = 0x00000000 (0KiB) }
Creating 6 MTD partitions on "hi_sfc":
0x000000000000-0x000000060000 : "boot+env"
0x000000060000-0x000000ce0000 : "rootfs"
0x000000ce0000-0x000000e60000 : "web"
0x000000e60000-0x000000e80000 : "custom"
0x000000e80000-0x000000ec0000 : "logo"
0x000000ec0000-0x000001000000 : "config"
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
switch reset
ata1: SATA link down (SStatus 0 SControl 320)
ata2: SATA link down (SStatus 0 SControl 320)
STMMAC driver:
platform registration... stmmac_dvr_probe: Flushing ERAM data to avoid unexpected write when net DMA filling!
done!
done!
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is 4c:11:bf:41:b6:d1
stmmac_associate_phy: phy 0 mode=6
eth0 - (dev. name: stmmaceth - id: 0, IRQ #59
IO base addr: 0xfe0a0000)
STMMAC MII Bus: probed
eth0: PHY ID 03625e62 at 0 IRQ -6 (0:00) active
HNN : stmmac_mdio_register ,phydev->phy_id is 0x3625e62,priv->phy_addr is 0x0
priv->id is 0,ret is 0
DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
Enhanced descriptor structure
MACADDR in get is ff:ff:ff:ff:ff:ff
no valid MAC address for MAC 1;please, use ifconfig or nwhwconfig!
stmmac_associate_phy: phy 1 mode=6
eth1 - (dev. name: stmmaceth - id: 0, IRQ #59
IO base addr: 0xfe0a4000)
eth1: No PHY found
priv->id is 1,ret is -1
RLT MII Bus: probed
eth1: No PHY found
stmmac_reset: RESET COMPLETE!

**************************************************
* TNK driver built on May 29 2015 at 21:45:14
* TNK driver mode is BYPASS
**************************************************
stmmac: Rx Checksum Offload Engine supported
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 asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
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

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 03 сен 2019, 13:08

ещё раз проверю железо

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 04 сен 2019, 05:50

Все питающие напряжения процессора согласно даташиту,в норме,не фонят,плату рега прогрел в паяльной станции-так что непропаи исключаются.Если дело в железе,то это дефект проца либо ОЗУ..Если ОЗУ можно поменять,то проц не имеет смысла.Дешевле купить новый нвр.К сожалению моих знаний не хватает чтобы проанализировать лог и вынести приговор-отсюда вопрос что делать?

dede
Специалист
Сообщения: 1957
Зарегистрирован: 22 мар 2017, 15:02
Откуда: Луганск

Re: dahua dh-nvr4216

Сообщение dede » 04 сен 2019, 07:29

Вы там уже очень много дампов/прошивок меняли, это точно прошивка от вашего рега? Виснет неявным образом после инициализации USB.

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 04 сен 2019, 07:38

Те логи которые выше.с родным дампом.в helpe есть строки:

gethwid - get NVR42V device HWID from EEPROM
gethwid 0-----4208V-8P
gethwid 1-----4216V-8P
gethwid 2-----4232V-8P
Эти прошивки пытался залить run da и т.д но это не помогло.договорился с торгашом от dahua.завтра возьму такой рег для слива дампа.

UefLV
Специалист
Сообщения: 495
Зарегистрирован: 05 янв 2016, 14:48

Re: dahua dh-nvr4216

Сообщение UefLV » 04 сен 2019, 09:00

Почему, не попробовать прошить стандартным, рекомендуемым производителем, способом через TFTP?

Аватара пользователя
fobos
Специалист
Сообщения: 1117
Зарегистрирован: 21 июн 2014, 18:15

Re: dahua dh-nvr4216

Сообщение fobos » 04 сен 2019, 21:40

я давал дамп с офф. сайта техподдержки дахуа...почему он не запустился совсем - вопрос... надо по номеру борда установить правильный дамп/прошивку

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 05 сен 2019, 05:19

Я ориентировался на информацию из лога.там вписаны модели 4208V-8P,4216V-8P.возможно.что дело именно в ошибке подбора-рег загружается лишь со своим дампом.Буду очень признателен за пояснение,как подобрать дамп фото всех наклеек сейчас выложу.

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dahua dh-nvr4216

Сообщение aavan » 05 сен 2019, 07:11


Ответить

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