Не восстанавливается DH-IPC-KW12WP

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

Не восстанавливается DH-IPC-KW12WP

Сообщение Kvintek » 19 окт 2017, 16:39

Собственно проблема в том что с загрузчика начал восстанавливать прошивку, после того как залил камера уходит в ребут
вот ЛОГ

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

Terminal log file
Date: 18.10.2017 - 15:43:23
-----------------------------------------------


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
can't find corresponding entry
fail to resolve
partition file version 1
In:    serial
Out:   serial
Err:   serial
TEXT_BASE:81000000
Hisilicon ETH net controler
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
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: 0x84000000
Downloading: *
Retry count exceeded; starting again
Fail to get info file!
Init error!
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'failed.txt'.
Download to address: 0x82000000
Downloading: *
Retry count exceeded; starting again
## 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
can't find corresponding entry
fail to resolve
partition file version 1
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=1
dh_keyboard=0
ethaddr0=0:12:34:56:78:9a
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=000000000000000000
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 0x880000 0x6a0000 0x0
syslog 0x20000 0xf20000 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: 20320
Kernel command line: mem=80M 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: 80MB = 80MB total
Memory: 77492k/77492k available, 4428k 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 - 0xc5000000   (  80 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 151
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-0x000000f20000 : "user"
0x000000f20000-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
mount: mounting /dev/mtdblock4 on /mnt/pd/ failed: Invalid argument
jffs2: Too few erase blocks (2)
mount: Invalid argument
erase block:0,offset:00000000
erase block:1,offset:00010000
jffs2: Too few erase blocks (2)
mount: Invalid argument
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 vou.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!
load vda.ko ....OK!


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

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


[LOG-DRV] LOG Build on Jan 14 2014 at 14:36:20.
[LOG-DRV] SVN NUM: 5180.

[LOG-DRV] ramStart:0x0;ramSize:0x0;select:0
[OSA-DRV] Char device create OK !
[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
 on Mar 13 2014 at 20:56:44.
[libpdi] SVN NUM: 13636.
[libpdi] ERROR  (PDI_productInit|407): Can't open /dev/pdcHwid
[libpdi] ERROR  (PDI_preInit|93): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR  (PDI_hwidGet|330): Ioctl execute error
[libpdi] ERROR  (PDI_preInit|98): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR  (Cfg_platInit|153): Unknown Product Type
[libpdi] WARN  : RTC Dev not exists,status = -1
[libpdi]  Flashtype = 3,patSize = 40000,rwSize = 1,ersSize = 10000
[libpdi] WARN  : Device has no crypt chip!


[Systools]: Build on Mar 13 2014 at 20:53:39.
[Systools]:SVN NUM: 13637.

IPV6: only init eth0
"netinit6 help" for help
eth0:
MAC: <00:12:34:56:78:9a>
IPV6: <2008::6>      preFixLen: <112>
product_name =
fvideo_chip = 0
unzip: can't open /mnt/pd/product.zip, /mnt/pd/product.zip.zip, /mnt/pd/product.zip.ZIP
cp: can't stat '/var/tmp/product/ProductTransform': No such file or directory
cp: can't stat '/var/tmp/2Acfg/3D.bin': No such file or directory
cp: can't stat '/var/tmp/2Acfg/reg.bin': No such file or directory
/usr/etc/IPCimod: cd: line 146: can't cd to usr/bin
/usr/etc/IPCimod: line 148: udelay: not found
appauto=1
./usr/etc/app.sh: line 13: can't create /proc/osa_root/pdc/pdcWdt: nonexistent directory


[OSA-APP] OSA Build on Oct 22 2013 at 17:02:35.
[OSA-APP] SVN NUM: 1086.

==============>PPPOE2.4.5:Complie time Oct 29 2013 16:21:37 SvnVersion = 2713<=============
get username * password error!
[libpdi] libpdi.so Build on Mar 13 2014 at 20:56:44.
[libpdi] SVN NUM: 13636.
[libpdi] ERROR  (PDI_productInit|407): Can't open /dev/pdcHwid
[libpdi] ERROR  (PDI_preInit|93): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR  (PDI_hwidGet|330): Ioctl execute error
[libpdi] ERROR  (PDI_preInit|98): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR  (Cfg_platInit|153): Unknown Product Type
[libpdi] WARN  : RTC Dev not exists,status = -1
[libpdi]  Flashtype = 3,patSize = 40000,rwSize = 1,ersSize = 10000
[libpdi] WARN  : Device has no crypt chip!
PHY: himii:01 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


[OSA-APP] OSA Build on Oct 22 2013 at 17:02:35.
[OSA-APP] SVN NUM: 1086.

[libpdi] libpdi.so Build on Mar 13 2014 at 20:56:44.
[libpdi] SVN NUM: 13636.
[libpdi] ERROR  (PDI_productInit|407): Can't open /dev/pdcHwid
[libpdi] ERROR  (PDI_preInit|93): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR  (PDI_hwidGet|330): Ioctl execute error
[libpdi] ERROR  (PDI_preInit|98): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR  (Cfg_platInit|153): Unknown Product Type
[libpdi] WARN  : RTC Dev not exists,status = -1
[libpdi]  Flashtype = 3,patSize = 40000,rwSize = 1,ersSize = 10000
[libpdi] WARN  : Device has no crypt chip!
0|trace CMagicBox::config '/var/tmp/pd/ProductDefinition'
Fail to get env authcode!
th:          0
 language:null
 
but default config is not set yet!
face!
libNetApp] debug m_oldConfigRoute:null

e success
32m00:00:11|[libpdi] EthName:eth0 route delete ok!

info OnConfigWLan::WLanOpen:: Sucess
= 0x4991eec4
nfig is not set yet!
warn  CConfigManager::getConfig 'RTSP', but default config is not set yet!
1|warn  CConfigManager::getConfig 'DVRIP', but default config is not set yet!
ig 'T2UServer', but default config is not set yet!
fig is not set yet!
32;40m00:00:11|info  ############getDefault:DDNS
rchIP/DeviceDiscover.cpp,36
>>>>>
00:00:12|info  ========================================================================
 : "%y-%M-%d\/%c\/dav\/%h\/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"
   },
   {
      "Channels" : [
         {
            "MaxPictures" : 0,
            "Path" : null
         }
      ],
      "FileHoldTime" : 0,
      "Memo" : "For FTP Files",
      "Name" : "FTP",
      "OverWrite" : true,
      "PicturePathRule" : "%y-%M-%d\/%c\/jpg\/%h\/%m\/%s[%E][%O@%S][%R].jpg",
      "RecordPathRule" : "%y-%M-%d\/%c\/dav\/%h\/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"
   }
]

rd = 0] failed

-----------------------------------------------
Date: 18.10.2017 - 15:46:11
End log file

пробовал другой прошивкой шить, там в ребут не уходит, камера пингуется, но софтом не видится.
Сейчас прошивка General_IPC-HX1100
а на которой пингуется General_IPC-KW12W_

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение iTuneDVR » 19 окт 2017, 21:47

Данные лога говорят, что не все разделы восстановлены корректно.
Какой именно прошивкой восстанавливал?

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение Kvintek » 20 окт 2017, 10:10

General_IPC-HX1100_Eng_P_P2P_V2.420.0000.0.R.20150601
и
General_IPC-KW12W_Eng_P_V2.210.0000.0.T.20140328

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение iTuneDVR » 20 окт 2017, 13:21

Свой консольный лог восстановления тоже.

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение Kvintek » 20 окт 2017, 13:50

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

Terminal log file
Date: 20.10.2017 - 12:42:59
-----------------------------------------------
зк  printenv
bootcmd=kload 0x82000000; bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:12:34:56:78:9A
gatewayip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
wifiaddr=00:12:34:56:78:91
ID=000000000000000000
da=tftp 0x82000000 dhboot.bin.img; flwrite;tftp dhboot-min.bin.img;flwrite
dr=tftp 0x82000000 romfs-x.squashfs.img; flwrite
dk=tftp 0x82000000 kernel.img; flwrite
du=tftp 0x82000000 user-x.squashfs.img; flwrite
dw=tftp 0x82000000 web-x.squashfs.img; flwrite
dp=tftp 0x82000000 partition-x.cramfs.img;flwrite
dc=tftp 0x82000000 custom-x.squashfs.img; flwrite
up=tftp 0x82000000 update.img; flwrite
tk=tftp 0x82000000 uImage; bootm
loglevel=4
dh_keyboard=0
serverip=192.168.1.77
ipaddr=192.168.1.108
bootargs=mem=80M console=ttyS0,115200 root=/dev/mtdblock7 rootfstype=squashfs
filesize=A040
fileaddr=82000000
appauto=0
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn2134 (May 26 2014 - 16:15:03)

Environment size: 930/262140 bytes
> setenv      run dr a
Hisilicon ETH net controler
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'dhboot.bin.img'.
Download to address: 0x82000000
Downloading: *##################################
done
Bytes transferred = 172096 (2a040 hex)

## Checking Image at 82000000 ...
   Legacy image found
   Image Name:   boot
   Image Type:   ARM Linux Firmware (uncompressed)
   Data Size:    172032 Bytes = 168 KiB
   Load Address: 00080000
   Entry Point:  000c0000
   Verifying Checksum ... OK
Programing start at: 0x00080000
SPI probe: 16384 KiB hi_sfc at 0:0 is now current device

write : 0%
write : 0%
write : 33%
write : 66%
write : 100%
done
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'dhboot-min.bin.img'.
Download to address: 0x82000000
Downloading: *
TFTP error: (1)'File not found'
Not retrying...
> run dr
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'romfs-x.squashfs.img'.
Download to address: 0x82000000
Downloading: *#################################################################
    #################################################################
    ###############
done
Bytes transferred = 737344 (b4040 hex)

## Checking Image at 82000000 ...
   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
> run dk
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'kernel.img'.
Download to address: 0x82000000
Downloading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    ##
done
Bytes transferred = 1338052 (146ac4 hex)

## Checking Image at 82000000 ...
   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
> run du
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'user-x.squashfs.img'.
Download to address: 0x82000000
Downloading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##
done
Bytes transferred = 8327232 (7f1040 hex)

## Checking Image at 82000000 ...
   Legacy image found
   Image Name:   user
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    8327168 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 : 10%
write : 11%
write : 12%
write : 13%
write : 14%
write : 14%
write : 15%
write : 16%
write : 17%
write : 17%
write : 18%
write : 19%
write : 20%
write : 21%
write : 21%
write : 22%
write : 23%
write : 24%
write : 25%
write : 25%
write : 26%
write : 27%
write : 28%
write : 28%
write : 29%
write : 30%
write : 31%
write : 32%
write : 32%
write : 33%
write : 34%
write : 35%
write : 35%
write : 36%
write : 37%
write : 38%
write : 39%
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 : 60%
write : 61%
write : 62%
write : 63%
write : 64%
write : 64%
write : 65%
write : 66%
write : 67%
write : 67%
write : 68%
write : 69%
write : 70%
write : 71%
write : 71%
write : 72%
write : 73%
write : 74%
write : 75%
write : 75%
write : 76%
write : 77%
write : 78%
write : 78%
write : 79%
write : 80%
write : 81%
write : 82%
write : 82%
write : 83%
write : 84%
write : 85%
write : 85%
write : 86%
write : 87%
write : 88%
write : 89%
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
> run dw
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'web-x.squashfs.img'.
Download to address: 0x82000000
Downloading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################
done
Bytes transferred = 1499200 (16e040 hex)

## Checking Image at 82000000 ...
   Legacy image found
   Image Name:   web
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    1499136 Bytes = 1.4 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 : 4%
write : 8%
write : 13%
write : 17%
write : 21%
write : 26%
write : 30%
write : 34%
write : 39%
write : 43%
write : 47%
write : 52%
write : 56%
write : 60%
write : 65%
write : 69%
write : 73%
write : 78%
write : 82%
write : 86%
write : 91%
write : 95%
write : 100%
done
> run pc  dp
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'partition-x.cramfs.img'.
Download to address: 0x82000000
Downloading: *#
done
Bytes transferred = 4160 (1040 hex)

## Checking Image at 82000000 ...
   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
> run dc
Hisilicon ETH net controler
miiphy_register: non unique device name '0:1'
miiphy_register: non unique device name '0:2'
MAC:   00-12-34-56-78-9A
UP_PORT : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.77; our IP address is 192.168.1.108
Download Filename 'custom-x.squashfs.img'.
Download to address: 0x82000000
Downloading: *#########
done
Bytes transferred = 41024 (a040 hex)

## Checking Image at 82000000 ...
   Legacy image found
   Image Name:   custom
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    40960 Bytes = 40 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
> run tk      
-----------------------------------------------
Date: 20.10.2017 - 12:49:36
End log file

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение iTuneDVR » 20 окт 2017, 14:32

Ну, а другие модули разве не надо??? ;)

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение Kvintek » 20 окт 2017, 14:41

da=tftp 0x82000000 dhboot.bin.img; flwrite;tftp dhboot-min.bin.img;flwrite
dr=tftp 0x82000000 romfs-x.squashfs.img; flwrite
dk=tftp 0x82000000 kernel.img; flwrite
du=tftp 0x82000000 user-x.squashfs.img; flwrite
dw=tftp 0x82000000 web-x.squashfs.img; flwrite
dp=tftp 0x82000000 partition-x.cramfs.img;flwrite
dc=tftp 0x82000000 custom-x.squashfs.img; flwrite
up=tftp 0x82000000 update.img; flwrite
tk=tftp 0x82000000 uImage; bootm
и в прошивке 9 файлов

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение iTuneDVR » 20 окт 2017, 14:47

Посмотри внимательно лог и увидишь, что один отсутствует и пропущен!

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение Kvintek » 20 окт 2017, 15:32

tk? так его в прошивке нет

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

Re: Не восстанавливается DH-IPC-KW12WP

Сообщение iTuneDVR » 20 окт 2017, 15:53

Kvintek писал(а):tk? так его в прошивке нет

Я не про это.


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