DH-IPC-HFW1000sp восстановление

Kvintek
Сообщения: 142
Зарегистрирован: 13 янв 2017, 16:59

Re: DH-IPC-HFW1000sp восстановление

Сообщение Kvintek » 02 мар 2017, 17:13

я сделал не дамп а образ =)

Kvintek
Сообщения: 142
Зарегистрирован: 13 янв 2017, 16:59

Re: DH-IPC-HFW1000sp восстановление

Сообщение Kvintek » 02 мар 2017, 18:16

tftp 0x82000000 update.img

регистратор вгрузит прошивку во временную память далее выполняем команду

bootm 0x820B0000

но ситуация аналогичная безконечный ребут. В том ли направлении копаю?

iTuneDVR
Сообщения: 3220
Зарегистрирован: 24 авг 2013, 11:05

Re: DH-IPC-HFW1000sp восстановление

Сообщение iTuneDVR » 02 мар 2017, 18:21

Файл выше я скачал и удалил. Посмотрю скажу.

Kvintek писал(а):tftp 0x82000000 update.img

регистратор вгрузит прошивку во временную память далее выполняем команду

bootm 0x820B0000

но ситуация аналогичная безконечный ребут. В том ли направлении копаю?


Нет не туда!

iTuneDVR
Сообщения: 3220
Зарегистрирован: 24 авг 2013, 11:05

Re: DH-IPC-HFW1000sp восстановление

Сообщение iTuneDVR » 02 мар 2017, 21:01

В блоках лога, конфига и бэкапа - конечно есть информация, но .....
Поэтому стоит зачистить такие области,начиная с такого адреса такой длинны

0xee0000 0x60000
0xf40000 0x60000
0xfa0000 0x60000


Есть и другие непонятки, но.....
Раз я пронял run up делался, то беЗпокоится пока не стоит.

Kvintek
Сообщения: 142
Зарегистрирован: 13 янв 2017, 16:59

Re: DH-IPC-HFW1000sp восстановление

Сообщение Kvintek » 03 мар 2017, 10:37

в этих адресах сначала длина а потом начало?
я правильно понял? зачистил но ситуация не изменилась,
зачистил повторно сделал run up аналогично реакции 0.

iTuneDVR
Сообщения: 3220
Зарегистрирован: 24 авг 2013, 11:05

Re: DH-IPC-HFW1000sp восстановление

Сообщение iTuneDVR » 03 мар 2017, 11:15

erase "адрес начала" "размер"

Вывод лога этих операций и старта где???
В конфиге я не увидел нужного, потому и попросил.
Раз сделал очистку, то еще раз софтово сними дамп и вышли в почту, (не сюда)!!!

iTuneDVR
Сообщения: 3220
Зарегистрирован: 24 авг 2013, 11:05

Re: DH-IPC-HFW1000sp восстановление

Сообщение iTuneDVR » 03 мар 2017, 23:45

Присланный дамп после зачистки посмотрел и есть вопросы.

Думаю есть смысл зачистить побольше блок...
и потом восстановить, но только правильной прошивкой для данной камеры, через run up, либо помодульно, первые 4-е


Kvintek писал(а):...
0x000000180000-0x0000002e0000 : "Kernel"
0x0000002e0000-0x000000500000 : "web"
0x000000500000-0x0000006a0000 : "romfs"
0x0000006a0000-0x000000ee0000 : "user"
0x000000ee0000-0x000000f40000 : "syslog"
0x000000f40000-0x000000fa0000 : "config"
0x000000fa0000-0x000001000000 : "backup"
...


т.е.
erase 0x180000 0xE80000

Kvintek
Сообщения: 142
Зарегистрирован: 13 янв 2017, 16:59

Re: DH-IPC-HFW1000sp восстановление

Сообщение Kvintek » 04 мар 2017, 10:18

вот лог, сейчас зачистим. по новой.

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

 Terminal log file
Date: 04.03.2017 - 9:12:38
-----------------------------------------------
ыа  sf
Unknown command '*sf' - try 'help'
> sf
sf - SPI flash sub-system

> sf erase 0xee0000 0x60000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device
> 0xf40000          sf erasr e 0xf40000 0x60000
> sf erase 0xfa0000 0x60000
> 0x  sf  sf erase 0xee0000 0x60000
> b bootm m
Wrong Image Format for bootm command
ERROR: can't get kernel image!
try:kload succeed!
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.0.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1337924 Bytes = 1.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock7
cmdLine mem=85M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs
crashflasg:1, logmagic:54410011.

Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.8 (huang_zhendi@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.30.2+eabi+linuxpthread)) ) #6 Sat Mar 1 08:58:54 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
appauto=0
dh_keyboard=0
ethaddr0=4c:11:bf:a2:a5:6c
ethaddr1=0:0:0:0:0:0
wifiAddr=0:12:34:56:78:91
lip0=192.168.1.108
lip1=0.0.0.0
id=1B00287PAU00188
U-Boot 0x40000 0x80000 0x0
hwid 0x40000 0xc0000 0x0
partition 0x40000 0x100000 0x0
custom 0x20000 0x140000 0x0
product 0x20000 0x160000 0x0
Kernel 0x160000 0x180000 0x0
web 0x220000 0x2e0000 0x0
romfs 0x1a0000 0x500000 0x0
user 0x840000 0x6a0000 0x0
syslog 0x60000 0xee0000 0x0
config 0x60000 0xf40000 0x0
backup 0x60000 0xfa0000 0x0
num parts is 12.
Ignoring unrecognised tag 0x54410011
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 220000000.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 21590
Kernel command line: mem=85M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs
dh_keyboard:0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 85MB = 85MB total
Memory: 82548k/82548k available, 4492k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc5800000 - 0xfe000000   ( 904 MB)
    lowmem  : 0xc0000000 - 0xc5500000   (  85 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0020000   (  96 kB)
      .text : 0xc0020000 - 0xc035d000   (3316 kB)
      .data : 0xc035e000 - 0xc03782e0   ( 105 kB)
       .bss : 0xc0378304 - 0xc038f758   (  94 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 110MHz, resolution 9ns, wraps every 39045ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyS0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyS0] enabled
uart:1: ttyS1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
msgmni has been set to 161
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
Spi id table Version 1.22
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
reset/hold pin now is RESET
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"W25Q128B"
spi size: 0x16777216
chip num: 1
Creating 12 MTD partitions on "hi_sfc":
0x000000080000-0x0000000c0000 : "U-Boot"
0x0000000c0000-0x000000100000 : "hwid"
0x000000100000-0x000000140000 : "partition"
0x000000140000-0x000000160000 : "custom"
0x000000160000-0x000000180000 : "product"
0x000000180000-0x0000002e0000 : "Kernel"
0x0000002e0000-0x000000500000 : "web"
0x000000500000-0x0000006a0000 : "romfs"
0x0000006a0000-0x000000ee0000 : "user"
0x000000ee0000-0x000000f40000 : "syslog"
0x000000f40000-0x000000fa0000 : "config"
0x000000fa0000-0x000001000000 : "backup"
Fixed MDIO Bus: probed
himii: probed
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
TCP bic registered
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
registered taskstats version 1
шVFS: Mounted root (squashfs filesystem) readonly on device 31:7.
devtmpfs: mounted
Freeing init memory: 96K

/var/script: line 10: ЇзянJюя: not found
/var/script: line 10: —Уљ: not found
/var/script: line 10: “#{eяч: not found
/var/script: line 10: ўяеы‰ИЙъPя5рл ч6зу_уРDяФэю”•%^ях^Якяю^зИу‚xю: not found
/var/script: line 15: syntax error: unexpected word (expecting ")")
keyboard = 0
Hisilicon Media Memory Zone Manager
hi3518_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
pa:85500000, va:c5a00000
load sys.ko for Hi3518...OK!
load viu.ko for Hi3518...OK!
ISP Mod init!
load vpss.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!


[OSA-DRV] OSA Build on Oct 22 2013 at 16:49:51.
[OSA-DRV] SVN NUM: 1086.

[OSA-DRV] Monitor    Task   pid=475   tid=475


[LOG-DRV] LOG Build on Mar  5 2014 at 17:06:42.
[LOG-DRV] SVN NUM: 5356.

[LOG-DRV] ramStart:0x0;ramSize:0x0;select:0
[OSA-DRV] Char device create OK !
[OSA-DRV] ERROR  (/home/rao_dongbo/work/svn/OSA/build/../src/os/linux/kermod/src/osa_file.c|OSA_fileOpen|408): Open failed
[LOG-DRV] WARN  : open config failed, use default
[LOG-DRV] coreId = 0, logLevel = 2
[LOG-DRV] coreId = 1, logLevel = 2
[LOG-DRV] coreId = 2, logLevel = 2
[LOG-DRV] coreId = 3, logLevel = 2
[LOG-DRV] coreId = 4, logLevel = 2
[LOG-DRV] coreId = 5, logLevel = 2
e!
34m00:00:07|[pdc] Chief and Backup File have been destoryed!
Built in: Jun 24 2014 16:19:37
rect, Load from **************************************************
sramFile

SmartIR init pwmId: 0,mode: 0,activeLevel: 1


U-Boot 2010.06-svn2134 (May 26 2014 - 16:15:03)
DRAM:  256 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
reset/hold pin now is RESET
Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B"
boot from spi
Fail to get uboot hd.
partition file version 2
rootfstype squashfs root /dev/mtdblock7
In:    serial
Out:   serial
Err:   serial
TEXT_BASE:81000000
Hit any key to stop autoboot:  1  0
> **
-----------------------------------------------
Date: 04.03.2017 - 9:17:26
End log file

Kvintek
Сообщения: 142
Зарегистрирован: 13 янв 2017, 16:59

Re: DH-IPC-HFW1000sp восстановление

Сообщение Kvintek » 04 мар 2017, 11:16

а вот лог с новой информацией

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

 Terminal log file
Date: 04.03.2017 - 10:06:50
-----------------------------------------------
sf erase 0x180000 0xE80000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device
> run up
Hisilicon ETH net controler
MAC:   4C-11-BF-A2-A5-6C
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.10; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x82000000
Downloading: *#################################################
done
Bytes transferred = 12087205 (b86fa5 hex)

## Checking Image at 82000040 ...
   Legacy image found
   Image Name:   romfs
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    737280 Bytes = 720 KiB
   Load Address: 00500000
   Entry Point:  006a0000
   Verifying Checksum ... OK
Programing start at: 0x00500000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 8%
write : 16%
write : 25%
write : 33%
write : 41%
write : 50%
write : 58%
write : 66%
write : 75%
write : 83%
write : 91%
write : 100%
done

## Checking Image at 820b4080 ...
   Legacy image found
   Image Name:   user
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    8253440 Bytes = 7.9 MiB
   Load Address: 006a0000
   Entry Point:  00ee0000
   Verifying Checksum ... OK
Programing start at: 0x006a0000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 0%
write : 1%
write : 2%
write : 3%
write : 3%
write : 4%
write : 5%
write : 6%
write : 7%
write : 7%
write : 8%
write : 9%
write : 10%
write : 11%
write : 11%
write : 12%
write : 13%
write : 14%
write : 15%
write : 15%
write : 16%
write : 17%
write : 18%
write : 19%
write : 19%
write : 20%
write : 21%
write : 22%
write : 23%
write : 23%
write : 24%
write : 25%
write : 26%
write : 26%
write : 27%
write : 28%
write : 29%
write : 30%
write : 30%
write : 31%
write : 32%
write : 33%
write : 34%
write : 34%
write : 35%
write : 36%
write : 37%
write : 38%
write : 38%
write : 39%
write : 40%
write : 41%
write : 42%
write : 42%
write : 43%
write : 44%
write : 45%
write : 46%
write : 46%
write : 47%
write : 48%
write : 49%
write : 50%
write : 50%
write : 51%
write : 52%
write : 53%
write : 53%
write : 54%
write : 55%
write : 56%
write : 57%
write : 57%
write : 58%
write : 59%
write : 60%
write : 61%
write : 61%
write : 62%
write : 63%
write : 64%
write : 65%
write : 65%
write : 66%
write : 67%
write : 68%
write : 69%
write : 69%
write : 70%
write : 71%
write : 72%
write : 73%
write : 73%
write : 74%
write : 75%
write : 76%
write : 76%
write : 77%
write : 78%
write : 79%
write : 80%
write : 80%
write : 81%
write : 82%
write : 83%
write : 84%
write : 84%
write : 85%
write : 86%
write : 87%
write : 88%
write : 88%
write : 89%
write : 90%
write : 91%
write : 92%
write : 92%
write : 93%
write : 94%
write : 95%
write : 96%
write : 96%
write : 97%
write : 98%
write : 99%
write : 100%
done

## Checking Image at 828930c0 ...
   Legacy image found
   Image Name:   web
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    1695744 Bytes = 1.6 MiB
   Load Address: 002e0000
   Entry Point:  00500000
   Verifying Checksum ... OK
Programing start at: 0x002e0000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 3%
write : 7%
write : 11%
write : 15%
write : 19%
write : 23%
write : 26%
write : 30%
write : 34%
write : 38%
write : 42%
write : 46%
write : 50%
write : 53%
write : 57%
write : 61%
write : 65%
write : 69%
write : 73%
write : 76%
write : 80%
write : 84%
write : 88%
write : 92%
write : 96%
write : 100%
done

## Checking Image at 82a31100 ...
   Legacy image found
   Image Name:   pd
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    20480 Bytes = 20 KiB
   Load Address: 00160000
   Entry Point:  00180000
   Verifying Checksum ... OK
Programing start at: 0x00160000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 100%
done

## Checking Image at 82a36140 ...
   Legacy image found
   Image Name:   custom
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    36864 Bytes = 36 KiB
   Load Address: 00140000
   Entry Point:  00160000
   Verifying Checksum ... OK
Programing start at: 0x00140000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 100%
done

## Checking Image at 82a3f180 ...
   Legacy image found
   Image Name:   partition
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    4096 Bytes = 4 KiB
   Load Address: 00100000
   Entry Point:  00140000
   Verifying Checksum ... OK
Programing start at: 0x00100000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 100%
done

## Checking Image at 82a401c0 ...
   Legacy image found
   Image Name:   kernel
   Image Type:   ARM Linux Firmware (uncompressed)
   Data Size:    1337988 Bytes = 1.3 MiB
   Load Address: 00180000
   Entry Point:  002e0000
   Verifying Checksum ... OK
Programing start at: 0x00180000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 4%
write : 9%
write : 14%
write : 19%
write : 23%
write : 28%
write : 33%
write : 38%
write : 42%
write : 47%
write : 52%
write : 57%
write : 61%
write : 66%
write : 71%
write : 76%
write : 80%
write : 85%
write : 90%
write : 95%
write : 100%
done

## Checking Image at 82b86c84 ...
   Legacy image found
   Image Name:   CmdScript
   Image Type:   ARM Linux Standalone Program (uncompressed)
   Data Size:    737 Bytes = 737 Bytes
   Load Address: 00000000
   Entry Point:  00000400
   Verifying Checksum ... OK
exce update config script start!
   set da 'tftp 0x82000000 dhboot.bin.img;flwrite;tftp 0x82000000 dhboot-min.bin.img;flwrite;'
   set dr 'tftp 0x82000000 romfs-x.squashfs.img; flwrite;'
   set dk 'tftp 0x82000000 kernel.img;flwrite;'
   set du 'tftp 0x82000000 user-x.squashfs.img; flwrite'
   set dw 'tftp 0x82000000 web-x.squashfs.img; flwrite'
   set dp 'tftp 0x82000000 partition-x.cramfs.img;flwrite;'
   set dc 'tftp 0x82000000 custom-x.squashfs.img; flwrite'
   set up 'tftp 0x82000000 update.img;flwrite;'
   set tk 'tftp 0x82000000 uImage;bootm;'
   set bootcmd 'sf read 0x82000000 0x180000 0x280000;bootm 0x82000000;'
   set bootargs 'mem=85M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs'
   save
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
exce update config script complete!
> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
try:kload succeed!
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.0.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1337924 Bytes = 1.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock7
cmdLine mem=85M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs
Erasing SPI flash...
Writing to SPI flash...
done
crashflasg:1, logmagic:54410011.

Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.8 (huang_zhendi@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.30.2+eabi+linuxpthread)) ) #6 Sat Mar 1 08:58:54 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
appauto=0
dh_keyboard=0
ethaddr0=4c:11:bf:a2:a5:6c
ethaddr1=0:0:0:0:0:0
wifiAddr=0:12:34:56:78:91
lip0=192.168.1.108
lip1=0.0.0.0
id=1B00287PAU00188
U-Boot 0x40000 0x80000 0x0
hwid 0x40000 0xc0000 0x0
partition 0x40000 0x100000 0x0
custom 0x20000 0x140000 0x0
product 0x20000 0x160000 0x0
Kernel 0x160000 0x180000 0x0
web 0x220000 0x2e0000 0x0
romfs 0x1a0000 0x500000 0x0
user 0x840000 0x6a0000 0x0
syslog 0x60000 0xee0000 0x0
config 0x60000 0xf40000 0x0
backup 0x60000 0xfa0000 0x0
num parts is 12.
Ignoring unrecognised tag 0x54410011
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 220000000.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 21590
Kernel command line: mem=85M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs
dh_keyboard:0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 85MB = 85MB total
Memory: 82548k/82548k available, 4492k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc5800000 - 0xfe000000   ( 904 MB)
    lowmem  : 0xc0000000 - 0xc5500000   (  85 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0020000   (  96 kB)
      .text : 0xc0020000 - 0xc035d000   (3316 kB)
      .data : 0xc035e000 - 0xc03782e0   ( 105 kB)
       .bss : 0xc0378304 - 0xc038f758   (  94 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 110MHz, resolution 9ns, wraps every 39045ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyS0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyS0] enabled
uart:1: ttyS1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
msgmni has been set to 161
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
Spi id table Version 1.22
Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00
reset/hold pin now is RESET
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"W25Q128B"
spi size: 0x16777216
chip num: 1
Creating 12 MTD partitions on "hi_sfc":
0x000000080000-0x0000000c0000 : "U-Boot"
0x0000000c0000-0x000000100000 : "hwid"
0x000000100000-0x000000140000 : "partition"
0x000000140000-0x000000160000 : "custom"
0x000000160000-0x000000180000 : "product"
0x000000180000-0x0000002e0000 : "Kernel"
0x0000002e0000-0x000000500000 : "web"
0x000000500000-0x0000006a0000 : "romfs"
0x0000006a0000-0x000000ee0000 : "user"
0x000000ee0000-0x000000f40000 : "syslog"
0x000000f40000-0x000000fa0000 : "config"
0x000000fa0000-0x000001000000 : "backup"
Fixed MDIO Bus: probed
himii: probed
PPP generic driver version 2.4.2
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
TCP bic registered
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
registered taskstats version 1
шVFS: Mounted root (squashfs filesystem) readonly on device 31:7.
devtmpfs: mounted
Freeing init memory: 96K

/var/script: line 9: }: not found
/var/script: line 10: В: not found
/var/script: line 11: : not found
/var/script: line 12: eКЊвмюје: not found
/var/script: line 13: Dьје: not found
/var/script: line 14: eКЊвмъје: not found
/var/script: line 15: Dшје: not found
/var/script: line 16: eКЊвмцје: not found
/var/script: line 17: : not found
keyboard = 0
Hisilicon Media Memory Zone Manager
hi3518_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
pa:85500000, va:c5a00000
load sys.ko for Hi3518...OK!
load viu.ko for Hi3518...OK!
ISP Mod init!
load vpss.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!


[OSA-DRV] OSA Build on Oct 22 2013 at 16:49:51.
[OSA-DRV] SVN NUM: 1086.

[OSA-DRV] Monitor    Task   pid=474   tid=474


[LOG-DRV] LOG Build on Mar  5 2014 at 17:06:42.
[LOG-DRV] SVN NUM: 5356.

[LOG-DRV] ramStart:0x0;ramSize:0x0;select:0
[OSA-DRV] Char device create OK !
[OSA-DRV] ERROR  (/home/rao_dongbo/work/svn/OSA/build/../src/os/linux/kermod/src/osa_file.c|OSA_fileOpen|408): Open failed
[LOG-DRV] WARN  : open config failed, use default
[LOG-DRV] coreId = 0, logLevel = 2
[LOG-DRV] coreId = 1, logLevel = 2
[LOG-DRV] coreId = 2, logLevel = 2
[LOG-DRV] coreId = 3, logLevel = 2
[LOG-DRV] coreId = 4, logLevel = 2
[LOG-DRV] coreId = 5, logLevel = 2
al ok !
32;34m00:00:07|[pdc] Chief and Backup File have been destoryed!
en destoryed!
e OK !

iTuneDVR
Сообщения: 3220
Зарегистрирован: 24 авг 2013, 11:05

Re: DH-IPC-HFW1000sp восстановление

Сообщение iTuneDVR » 04 мар 2017, 13:11

ВАЖНО!!!

- Перед манипуляциями с SPI флешем в u-boot делать,

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

sf probe 0

И дальше
sf erase .....

- Также, чтобы update.img был заведомо потому как он не проверяет на принадлежности логически, а льётся блоками по своим адресам, назначенным внутри и не спрашивает!!!

Над последней строкой думаю как поступить.
Блоки конфигов зачистили, а файловая там не организовалась пока!


Вернуться в «IPC DAHUA»