
dahua hdw-1120s
dahua hdw-1120s
Не работает
. Загрузчик загружается, на команды * не реагирует? Через пару минут уходит в ребут. Думаю закинуть загрузчик новый, забыл манипуляции, точнее несколько вариантов есть, кто из них загрузчик dhboot.bin.img 178k или dhdoot-min.img.bin 43.8k? Полного образа не нашел, только update.img, соответственно загрузчик и далее через tftp. Подзабыл загрузчик резать нужно?

Re: dahua hdw-1120s
Вижу, хорошо отметил праздники, раз вылетело из головы, что нужны подробности и детали, а не догадки и предположения 
- На сколько новая камера? (можно шильдик с замазанным номером и штрихкодом, если таковой есть или убедить текстом.)
- Какие образы брались для восстановления, чтобы из 2-х зол выбирать что-то? (как правило загрузчики готовят для прямой заливки программатором)
- Не работают никакие команды, так где логи этого неистовства?
Как правило, в update.img нет загрузчика.
Вообщем с чем конкретно камера пришла: лог изначальной загрузки и текущие на данном этапе.
Флеш 8мб?

- На сколько новая камера? (можно шильдик с замазанным номером и штрихкодом, если таковой есть или убедить текстом.)
- Какие образы брались для восстановления, чтобы из 2-х зол выбирать что-то? (как правило загрузчики готовят для прямой заливки программатором)
- Не работают никакие команды, так где логи этого неистовства?
Как правило, в update.img нет загрузчика.
Вообщем с чем конкретно камера пришла: лог изначальной загрузки и текущие на данном этапе.
Флеш 8мб?
Re: dahua hdw-1120s
И так вспоминаем ... ))
Камера 2016-2017 год, снята с производства. Шильдик остался на потолке, мояй косяк. Поработала 3-4 месяца и что имеем то имеем.
Флэш 8 метров, есть дамп слитый с сего зверя. Ссылку приложу ниже. ДЛя интересу сходил к чехам ftp://ftp.asm.cz/Dahua/kamerove_systemy ... .20160418/,
у них взял загрузчик откоцал/прилепил+update.img получил лог прошивки
U-Boot 2010.06-svn2464 (Apr 16 2016 - 06:25:59)
DRAM: 256 MiB
gBootLogPtr:80b80008.
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x17 0xC8 0x40 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"GD25Q64C"
boot from spi
Fail to get uboot hd.
boot from spi
cramfs: wrong magic
fail to read pSuper
boot from spi
cramfs: wrong magic
fail to read pSuper
fail to load partition.txt
fail to load partition file
fail to init partinfo
In: serial
Out: serial
Err: serial
TEXT_BASE:81000000
Fail to get partinfo
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.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
Try again use backup_serverip
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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
*** ERROR: `serverip' not set
Failed to get info.txt
Fail to get info file!
Init error!
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.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
fail to get partinfo
> run up
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.14; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x82000000
Downloading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################
done
Bytes transferred = 7146156 (6d0aac hex)
Erasing update flag partition.
hisfc350.c(693): erase area out of range of mtd.
Erase fail
## Checking Image at 82000040 ...
Legacy image found
Image Name: romfs
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4653056 Bytes = 4.4 MiB
Load Address: 00170000
Entry Point: 00600000
Verifying Checksum ... OK
Programing start at: 0x00170000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 1
write : 2
write : 4
write : 5
write : 7
write : 8
write : 9
write : 11
write : 12
write : 14
write : 15
write : 16
write : 18
write : 19
write : 21
write : 22
write : 23
write : 25
write : 26
write : 28
write : 29
write : 30
write : 32
write : 33
write : 35
write : 36
write : 38
write : 39
write : 40
write : 42
write : 43
write : 45
write : 46
write : 47
write : 49
write : 50
write : 52
write : 53
write : 54
write : 56
write : 57
write : 59
write : 60
write : 61
write : 63
write : 64
write : 66
write : 67
write : 69
write : 70
write : 71
write : 73
write : 74
write : 76
write : 77
write : 78
write : 80
write : 81
write : 83
write : 84
write : 85
write : 87
write : 88
write : 90
write : 91
write : 92
write : 94
write : 95
write : 97
write : 98
write : 100
done
## Checking Image at 82470080 ...
Legacy image found
Image Name: web
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 1626112 Bytes = 1.6 MiB
Load Address: 00600000
Entry Point: 00790000
Verifying Checksum ... OK
Programing start at: 0x00600000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 4
write : 8
write : 12
write : 16
write : 20
write : 24
write : 28
write : 32
write : 36
write : 40
write : 44
write : 48
write : 52
write : 56
write : 60
write : 64
write : 68
write : 72
write : 76
write : 80
write : 84
write : 88
write : 92
write : 96
write : 100
done
## Checking Image at 825fd0c0 ...
Legacy image found
Image Name: partition
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4096 Bytes = 4 KiB
Load Address: 00060000
Entry Point: 00070000
Verifying Checksum ... OK
Programing start at: 0x00060000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 100
done
## Checking Image at 825fe100 ...
Legacy image found
Image Name: kernel
Image Type: ARM Linux Firmware (uncompressed)
Data Size: 861772 Bytes = 841.6 KiB
Load Address: 00070000
Entry Point: 00170000
Verifying Checksum ... OK
Programing start at: 0x00070000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 7
write : 14
write : 21
write : 28
write : 35
write : 42
write : 50
write : 57
write : 64
write : 71
write : 78
write : 85
write : 92
write : 100
done
## Checking Image at 826d078c ...
Legacy image found
Image Name: CmdScript
Image Type: ARM Linux Standalone Program (uncompressed)
Data Size: 736 Bytes = 736 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 0x90000 0x160000;bootm 0x82000000;'
set bootargs 'mem=77M console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs'
save
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
exce update config script complete!
hisfc350.c(474): write data out of range.
Перезагрузка
U-Boot 2010.06-svn2464 (Apr 16 2016 - 06:25:59)
DRAM: 256 MiB
gBootLogPtr:80b80008.
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x17 0xC8 0x40 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"GD25Q64C"
boot from spi
Fail to get uboot hd.
boot from spi
partition file version 2
rootfstype squashfs root /dev/mtdblock4
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=DOWN : DUPLEX=FULL : SPEED=100M
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
Try again use backup_serverip
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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
*** ERROR: `serverip' not set
Failed to get info.txt
Fail to get info file!
Init error!
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.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
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
Wrong Image Format for bootm command
ERROR: can't get kernel image!
try:kload 0x82000000 succeed!
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 861708 Bytes = 841.5 KiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ...OK
OK
boot from spi
partition file version 2
rootfstype squashfs root /dev/mtdblock4
cmdLine mem=77M console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs
crashflasg:1, logmagic:54410011.
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
appauto=0
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 0x30000 0x10000 0x0
hwid 0x20000 0x40000 0x0
partition 0x10000 0x60000 0x0
Kernel 0x100000 0x70000 0x0
romfs 0x490000 0x170000 0x0
web 0x190000 0x600000 0x0
config 0x60000 0x790000 0x0
num parts is 7.
gLogRamRes: start=0x84c7e000;size=0x80000
dh_keyboard:0
console [ttyS0] enabled
***
init started: BusyBox v1.18.4 (2014-12-08 20:28:09 CST)
*
*keyboard = 0
*mkdir: can't create directory '/mnt/backup/Config': Read-only file system
mkdir: can't create directory '/mnt/backup/debug': Read-only file system
*Hisilicon Media Memory Zone Manager
Hisilicon UMAP device driver interface: v3.00
pa:84d00000, va:c51c0000
load sys.ko ...OK!
load viu.ko ...OK!
ISP Mod init!
load vpss.ko ....OK!
load venc.ko ...OK!
load group.ko ...OK!
load chnl.ko ...OK!
load h264e.ko ...OK!
load jpege.ko ...OK!
load rc.ko ...OK!
load region.ko ....OK!
[OSA-DRV] OSA Build on Apr 16 2016 at 06:12:01.
[OSA-DRV] SVN NUM: 1242.
[OSA-DRV] Monitor Task pid=292 tid=292
[LOG-DRV] LOG Build on Apr 16 2016 at 06:02:48.
[LOG-DRV] SVN NUM: 4731.
[LOG-DRV] ramStart:0x84c7e000;ramSize:0x80000;select:1
[OSA-DRV] Char device create OK !
[OSA-DRV] ERROR (/home/jenkins/jk_slave_centos6/workspace/IPC_DH3.X1001_IPCHisilicon_3518E_8M/tmp_build_dir/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
[0;32;32m00:00:03|[Binder] Binder.ko Build on Apr 18 2016 at 19:01:41.
[m[0;32;32m00:00:03|[Binder] SVN NUM: 1780.
[m[0;32;32m00:00:03|[Binder] Create binder memory pool(size:524288) OK!
[m[0;32;32m00:00:03|[Binder] Create binder memory pool(size:3145728) OK!
[m[0;32;32m00:00:03|[Binder] NameServer Initial OK !
[m[0;32;32m00:00:03|[Binder] Binder Initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] SR driver initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] NS driver initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] Binder driver initial OK !
[m[0;32;32m00:00:03|[SPF] SPF Build on Apr 16 2016 at 06:40:12.
[m[0;32;32m00:00:03|[SPF] SVN NUM: 5384.
[m[0;32;32m00:00:03|[SPF] SIL initial OK !
[m[0;32;32m00:00:03|[SPF] SPF initial ok !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[SPF] SPF Proc Create OK!!!
[m[0;32;32m00:00:03|[SPF] SPF driver initial ok !
[m[0;32;32m00:00:03|[prc] PRC Driver Build on Apr 16 2016 at 05:53:46.
[m[0;32;32m00:00:03|[prc] SVN NUM: 2615.
[m[0;32;32m00:00:03|[prc] Start to init module!
[m[0;32;32m00:00:03|[prc] pinmux init ok
[m[0;32;32m00:00:03|[prc] gpio soc init ok
[m[0;32;32m00:00:03|[prc] spi init ok
[m[0;32;32m00:00:03|[prc] IIC init ok
[m[0;36m00:00:03|[prc] PRC_wdtInit OK
[m[0;36m00:00:03|[prc] PRC_rtcInit OK!
[m[0;32;32m00:00:03|[prc] i2c businit ok
[m[0;32;32m00:00:03|[prc] DMA init ok
[m[0;32;32m00:00:03|[SPF] Dai 3 register OK !
[m[0;32;32m00:00:03|[prc] IIS init: ok
[m[0;32;32m00:00:03|[SPF] codecType 32 register OK !
[m[0;32;32m00:00:03|[prc] Codec init ok
[m[0;32;32m00:00:03|[prc] Success to init module!
[m[0;32;32m00:00:04|[pdc]
PDC Build on Apr 16 2016 at 06:33:02.
[m[0;32;32m00:00:04|[pdc] SVN NUM: 5609.
[m[0;36m00:00:04|[pdc] BASE_LINE: 240
[m[0;32;32m00:00:04|[pdc] OSA_kProcCreate OK
[m[0;32;32m00:00:04|[OSA-DRV] Char device c[0;35m00:00:04|[OSA-DRV] recordTsk Task pid=322 tid=322
[mreate OK !
[m[0;36m00:00:04|[pdc] PDC_PartionInit ok!!
[m[0;32;32m00:00:04|[pdc] HWID :
[m[0;32;31m00:00:04|[pdc] ERROR (HWID_parsePdtType|2815): nPrdtLineId 0 wrong !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_hwidInit|3788): Hwid init failed !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|158): PDC_hwidInit()
[m[0;36m00:00:04|[pdc] PDC_PRODUCT_OWNER: 0
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_cfgFindInitOps|322): Not probed, please check it !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_cfgInit|347): Device not found !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|164): PDC_cfgInit()
[m[1;33m00:00:04|[pdc] WARN (PDC_keyMcuInit|249): Get mcu cfg failed!Can not init keyMcu!
[m[1;37m00:00:04Kernel: ssp initial ok!
|[pdc] Dev has No Key Cfg!
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:04|[pdc] SramFile init ok !
[m[1;33m00:00:04|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|175): PDC Driver Initial Failed !
[m[1;33m00:00:04|[pwm] WARN (/home/xia_junming/re/pdc-now/pwm/./src//pwm.c|pwm_init|509): Fail to get iris configure!
[m[0;32;32m00:00:04|[pdc] SramFile_devRelease OK!
[mCATEGORY = 0
IPC Device
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:05|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:05|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:05|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:05|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
Fail to get env coremnt!
[1;33m00:00:05|[systools] WARN : coremnt not found
[mSyshelper: WdtSatrtTime = 60(s), appauto = 0, hctosystime = 1500
[0;32;31m00:00:05|[libpdi] ERROR (PDI_wdtOpen|109): wdt open error
[m[1;33m00:00:05|[systools] WARN : open wdt period failed
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
UPGRADED_MSG: Do memlock
Name: upgraded, bulid date: Apr 16 2016 06:37:16, svn: 352
UPGRADED_MSG: start download file!
[0;32;32m00:00:05|[SEN-DRV] Sensor Build on Apr 16 2016 at 06:18:39.
[m[0;32;32m00:00:05|[SEN-DRV] SVN NUM: 4288.
[m[0;32;31m00:00:05|[SEN-DRV] ERROR (SEN_drvInit|68): get cfg failed
[minsmod: can't insert '/usr/lib/modules/sensor.ko': Operation not permitted
product_name =
fvideo_chip = 0
sdcard_cap = 0
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:06|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:06|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:06|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:06|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
init eth0 to default
[0;36m00:00:06|[libpdi] NET_disableRoute = 0
[meth0:
MAC: <00:12:34:56:78:9a>
[1;33m00:00:06|[libpdi] WARN (NET_checkIpCrc|980): Ip paramenters crc check fail!
[m[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for PRIO[m[0;36m00:00:06|[libpdi] set eth0 as defaultEth
[mIP: <192.168.1.108> netmask: <255.255.255.0>
Gateway: <192.168.1.1>
[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for HOSTIP[m[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for SUBMASK[m[0;32;32m00:00:06|[libpdi] SetGateWay success
[m
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[0;32;32m00:00:06|[pdc] Both of Chief and Backup File CRC check OK!
[m[0;32;32m00:00:06|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[0;32;32m00:00:06|[pdc] Both of Chief and Backup File CRC check OK!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
IPV6: only init eth0
[0;36m00:00:06|[libpdi] NET_disableRoute = 0
[m"netinit6 help" for help
eth0:
MAC: <00:12:34:56:78:9a>
[0;32;31m00:00:06|[libpdi] ERROR (NetGetHostIPEx6|883): Get default ip failed
[m[1;33m00:00:06|[systools] WARN : [Netinit]: Maybe first burn or Cmos no eletric
[mIP: <2001:250:3000:1::1:2> netmask: <112>
[0;32;31m00:00:06|[libpdi] ERROR (NetGetHostIPEx6|883): Get default ip failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkDelIP|1132): NetGetHostIPEx6 failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[mIPV6 Gateway: <2001:250:3000:1::1:1>
[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[m
appauto=0
keyboard = 0
BusyBox v1.18.4 (2014-12-08 20:28:09 CST) built-in shell (ash)
Revision: 7475
Enter 'help' for a list of built-in commands.
После обновления пигуется без перезагрузки, не реагирует на *, продолжает грузиться. Ну и нет полной загрузки.
А чехов полный дамп есть? Глянул бин файл, загрузчика там не обнаружил.
Камера 2016-2017 год, снята с производства. Шильдик остался на потолке, мояй косяк. Поработала 3-4 месяца и что имеем то имеем.
Флэш 8 метров, есть дамп слитый с сего зверя. Ссылку приложу ниже. ДЛя интересу сходил к чехам ftp://ftp.asm.cz/Dahua/kamerove_systemy ... .20160418/,
у них взял загрузчик откоцал/прилепил+update.img получил лог прошивки
U-Boot 2010.06-svn2464 (Apr 16 2016 - 06:25:59)
DRAM: 256 MiB
gBootLogPtr:80b80008.
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x17 0xC8 0x40 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"GD25Q64C"
boot from spi
Fail to get uboot hd.
boot from spi
cramfs: wrong magic
fail to read pSuper
boot from spi
cramfs: wrong magic
fail to read pSuper
fail to load partition.txt
fail to load partition file
fail to init partinfo
In: serial
Out: serial
Err: serial
TEXT_BASE:81000000
Fail to get partinfo
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.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
Try again use backup_serverip
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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
*** ERROR: `serverip' not set
Failed to get info.txt
Fail to get info file!
Init error!
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.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
fail to get partinfo
> run up
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.14; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x82000000
Downloading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################
done
Bytes transferred = 7146156 (6d0aac hex)
Erasing update flag partition.
hisfc350.c(693): erase area out of range of mtd.
Erase fail
## Checking Image at 82000040 ...
Legacy image found
Image Name: romfs
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4653056 Bytes = 4.4 MiB
Load Address: 00170000
Entry Point: 00600000
Verifying Checksum ... OK
Programing start at: 0x00170000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 1
write : 2
write : 4
write : 5
write : 7
write : 8
write : 9
write : 11
write : 12
write : 14
write : 15
write : 16
write : 18
write : 19
write : 21
write : 22
write : 23
write : 25
write : 26
write : 28
write : 29
write : 30
write : 32
write : 33
write : 35
write : 36
write : 38
write : 39
write : 40
write : 42
write : 43
write : 45
write : 46
write : 47
write : 49
write : 50
write : 52
write : 53
write : 54
write : 56
write : 57
write : 59
write : 60
write : 61
write : 63
write : 64
write : 66
write : 67
write : 69
write : 70
write : 71
write : 73
write : 74
write : 76
write : 77
write : 78
write : 80
write : 81
write : 83
write : 84
write : 85
write : 87
write : 88
write : 90
write : 91
write : 92
write : 94
write : 95
write : 97
write : 98
write : 100
done
## Checking Image at 82470080 ...
Legacy image found
Image Name: web
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 1626112 Bytes = 1.6 MiB
Load Address: 00600000
Entry Point: 00790000
Verifying Checksum ... OK
Programing start at: 0x00600000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 4
write : 8
write : 12
write : 16
write : 20
write : 24
write : 28
write : 32
write : 36
write : 40
write : 44
write : 48
write : 52
write : 56
write : 60
write : 64
write : 68
write : 72
write : 76
write : 80
write : 84
write : 88
write : 92
write : 96
write : 100
done
## Checking Image at 825fd0c0 ...
Legacy image found
Image Name: partition
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4096 Bytes = 4 KiB
Load Address: 00060000
Entry Point: 00070000
Verifying Checksum ... OK
Programing start at: 0x00060000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 100
done
## Checking Image at 825fe100 ...
Legacy image found
Image Name: kernel
Image Type: ARM Linux Firmware (uncompressed)
Data Size: 861772 Bytes = 841.6 KiB
Load Address: 00070000
Entry Point: 00170000
Verifying Checksum ... OK
Programing start at: 0x00070000
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
write : 0
write : 0
write : 7
write : 14
write : 21
write : 28
write : 35
write : 42
write : 50
write : 57
write : 64
write : 71
write : 78
write : 85
write : 92
write : 100
done
## Checking Image at 826d078c ...
Legacy image found
Image Name: CmdScript
Image Type: ARM Linux Standalone Program (uncompressed)
Data Size: 736 Bytes = 736 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 0x90000 0x160000;bootm 0x82000000;'
set bootargs 'mem=77M console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs'
save
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
exce update config script complete!
hisfc350.c(474): write data out of range.
Перезагрузка
U-Boot 2010.06-svn2464 (Apr 16 2016 - 06:25:59)
DRAM: 256 MiB
gBootLogPtr:80b80008.
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x17 0xC8 0x40 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"GD25Q64C"
boot from spi
Fail to get uboot hd.
boot from spi
partition file version 2
rootfstype squashfs root /dev/mtdblock4
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=DOWN : DUPLEX=FULL : SPEED=100M
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
Try again use backup_serverip
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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
*** ERROR: `serverip' not set
Failed to get info.txt
Fail to get info file!
Init error!
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.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
SPI probe: 8192 KiB hi_sfc at 0:0 is now current device
Wrong Image Format for bootm command
ERROR: can't get kernel image!
try:kload 0x82000000 succeed!
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 861708 Bytes = 841.5 KiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ...OK
OK
boot from spi
partition file version 2
rootfstype squashfs root /dev/mtdblock4
cmdLine mem=77M console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs
crashflasg:1, logmagic:54410011.
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
appauto=0
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 0x30000 0x10000 0x0
hwid 0x20000 0x40000 0x0
partition 0x10000 0x60000 0x0
Kernel 0x100000 0x70000 0x0
romfs 0x490000 0x170000 0x0
web 0x190000 0x600000 0x0
config 0x60000 0x790000 0x0
num parts is 7.
gLogRamRes: start=0x84c7e000;size=0x80000
dh_keyboard:0
console [ttyS0] enabled
***
init started: BusyBox v1.18.4 (2014-12-08 20:28:09 CST)
*
*keyboard = 0
*mkdir: can't create directory '/mnt/backup/Config': Read-only file system
mkdir: can't create directory '/mnt/backup/debug': Read-only file system
*Hisilicon Media Memory Zone Manager
Hisilicon UMAP device driver interface: v3.00
pa:84d00000, va:c51c0000
load sys.ko ...OK!
load viu.ko ...OK!
ISP Mod init!
load vpss.ko ....OK!
load venc.ko ...OK!
load group.ko ...OK!
load chnl.ko ...OK!
load h264e.ko ...OK!
load jpege.ko ...OK!
load rc.ko ...OK!
load region.ko ....OK!
[OSA-DRV] OSA Build on Apr 16 2016 at 06:12:01.
[OSA-DRV] SVN NUM: 1242.
[OSA-DRV] Monitor Task pid=292 tid=292
[LOG-DRV] LOG Build on Apr 16 2016 at 06:02:48.
[LOG-DRV] SVN NUM: 4731.
[LOG-DRV] ramStart:0x84c7e000;ramSize:0x80000;select:1
[OSA-DRV] Char device create OK !
[OSA-DRV] ERROR (/home/jenkins/jk_slave_centos6/workspace/IPC_DH3.X1001_IPCHisilicon_3518E_8M/tmp_build_dir/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
[0;32;32m00:00:03|[Binder] Binder.ko Build on Apr 18 2016 at 19:01:41.
[m[0;32;32m00:00:03|[Binder] SVN NUM: 1780.
[m[0;32;32m00:00:03|[Binder] Create binder memory pool(size:524288) OK!
[m[0;32;32m00:00:03|[Binder] Create binder memory pool(size:3145728) OK!
[m[0;32;32m00:00:03|[Binder] NameServer Initial OK !
[m[0;32;32m00:00:03|[Binder] Binder Initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] SR driver initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] NS driver initial OK !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[Binder] Binder driver initial OK !
[m[0;32;32m00:00:03|[SPF] SPF Build on Apr 16 2016 at 06:40:12.
[m[0;32;32m00:00:03|[SPF] SVN NUM: 5384.
[m[0;32;32m00:00:03|[SPF] SIL initial OK !
[m[0;32;32m00:00:03|[SPF] SPF initial ok !
[m[0;32;32m00:00:03|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:03|[SPF] SPF Proc Create OK!!!
[m[0;32;32m00:00:03|[SPF] SPF driver initial ok !
[m[0;32;32m00:00:03|[prc] PRC Driver Build on Apr 16 2016 at 05:53:46.
[m[0;32;32m00:00:03|[prc] SVN NUM: 2615.
[m[0;32;32m00:00:03|[prc] Start to init module!
[m[0;32;32m00:00:03|[prc] pinmux init ok
[m[0;32;32m00:00:03|[prc] gpio soc init ok
[m[0;32;32m00:00:03|[prc] spi init ok
[m[0;32;32m00:00:03|[prc] IIC init ok
[m[0;36m00:00:03|[prc] PRC_wdtInit OK
[m[0;36m00:00:03|[prc] PRC_rtcInit OK!
[m[0;32;32m00:00:03|[prc] i2c businit ok
[m[0;32;32m00:00:03|[prc] DMA init ok
[m[0;32;32m00:00:03|[SPF] Dai 3 register OK !
[m[0;32;32m00:00:03|[prc] IIS init: ok
[m[0;32;32m00:00:03|[SPF] codecType 32 register OK !
[m[0;32;32m00:00:03|[prc] Codec init ok
[m[0;32;32m00:00:03|[prc] Success to init module!
[m[0;32;32m00:00:04|[pdc]
PDC Build on Apr 16 2016 at 06:33:02.
[m[0;32;32m00:00:04|[pdc] SVN NUM: 5609.
[m[0;36m00:00:04|[pdc] BASE_LINE: 240
[m[0;32;32m00:00:04|[pdc] OSA_kProcCreate OK
[m[0;32;32m00:00:04|[OSA-DRV] Char device c[0;35m00:00:04|[OSA-DRV] recordTsk Task pid=322 tid=322
[mreate OK !
[m[0;36m00:00:04|[pdc] PDC_PartionInit ok!!
[m[0;32;32m00:00:04|[pdc] HWID :
[m[0;32;31m00:00:04|[pdc] ERROR (HWID_parsePdtType|2815): nPrdtLineId 0 wrong !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_hwidInit|3788): Hwid init failed !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|158): PDC_hwidInit()
[m[0;36m00:00:04|[pdc] PDC_PRODUCT_OWNER: 0
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_cfgFindInitOps|322): Not probed, please check it !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_cfgInit|347): Device not found !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|164): PDC_cfgInit()
[m[1;33m00:00:04|[pdc] WARN (PDC_keyMcuInit|249): Get mcu cfg failed!Can not init keyMcu!
[m[1;37m00:00:04Kernel: ssp initial ok!
|[pdc] Dev has No Key Cfg!
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;32m00:00:04|[pdc] SramFile init ok !
[m[1;33m00:00:04|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
[m[0;32;31m00:00:04|[pdc] ERROR (PDC_drvInit|175): PDC Driver Initial Failed !
[m[1;33m00:00:04|[pwm] WARN (/home/xia_junming/re/pdc-now/pwm/./src//pwm.c|pwm_init|509): Fail to get iris configure!
[m[0;32;32m00:00:04|[pdc] SramFile_devRelease OK!
[mCATEGORY = 0
IPC Device
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:05|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:05|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:05|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:05|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:05|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
Fail to get env coremnt!
[1;33m00:00:05|[systools] WARN : coremnt not found
[mSyshelper: WdtSatrtTime = 60(s), appauto = 0, hctosystime = 1500
[0;32;31m00:00:05|[libpdi] ERROR (PDI_wdtOpen|109): wdt open error
[m[1;33m00:00:05|[systools] WARN : open wdt period failed
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
UPGRADED_MSG: Do memlock
Name: upgraded, bulid date: Apr 16 2016 06:37:16, svn: 352
UPGRADED_MSG: start download file!
[0;32;32m00:00:05|[SEN-DRV] Sensor Build on Apr 16 2016 at 06:18:39.
[m[0;32;32m00:00:05|[SEN-DRV] SVN NUM: 4288.
[m[0;32;31m00:00:05|[SEN-DRV] ERROR (SEN_drvInit|68): get cfg failed
[minsmod: can't insert '/usr/lib/modules/sensor.ko': Operation not permitted
product_name =
fvideo_chip = 0
sdcard_cap = 0
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[1;33m00:00:06|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[m[0;32;32m00:00:06|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[0;32;32m00:00:06|[pdc] DDRdata crc incorrect, Load from sramFile
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[1;33m00:00:06|[pdc] WARN : Both of Chief and Backup File have been destoryed!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
init eth0 to default
[0;36m00:00:06|[libpdi] NET_disableRoute = 0
[meth0:
MAC: <00:12:34:56:78:9a>
[1;33m00:00:06|[libpdi] WARN (NET_checkIpCrc|980): Ip paramenters crc check fail!
[m[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for PRIO[m[0;36m00:00:06|[libpdi] set eth0 as defaultEth
[mIP: <192.168.1.108> netmask: <255.255.255.0>
Gateway: <192.168.1.1>
[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for HOSTIP[m[0;32;31m00:00:06|[libpdi] ERROR (save_Attr_file|1269): open failed for SUBMASK[m[0;32;32m00:00:06|[libpdi] SetGateWay success
[m
[OSA-APP] OSA Build on Apr 16 2016 at 06:11:48.
[OSA-APP] SVN NUM: 1086.
[libpdi] libpdi.so Build on Apr 16 2016 at 06:27:13.
[libpdi] SVN NUM: 21357.
[libpdi] ERROR (PDI_productInit|643): Can't open /dev/pdcHwid
[libpdi] ERROR (PDI_preInit|100): PDI_productInit execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_hwidGet|360): Ioctl execute error
[libpdi] ERROR (PDI_preInit|105): PDI_hwidGet execute Error and return OSA_EFAIL
[libpdi] ERROR (PDI_productGetVinCfg|503): Ioctl execute error
[libpdi] Init vinCfg Failed
[libpdi] get vout failed
[libpdi] WARN : RTC Dev not exists,status = -1
[0;32;32m00:00:06|[pdc] Both of Chief and Backup File CRC check OK!
[m[0;32;32m00:00:06|[pdc] phyaddr = 84cfe000, memLen = 2000
[m[libpdi] Get fpga upgrade cfg failed, use default
[libpdi] Not support backup partition !!!
[libpdi] Flashtype = 3,patSize = 30000,rwSize = 10000,ersSize = 10000
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] ERROR (PDI_preInit|140): PDI_flashIinit execute Error and return OSA_EFAIL
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x84cfe000, memLen= 0x2000
[0;32;32m00:00:06|[pdc] Both of Chief and Backup File CRC check OK!
[mFail to get env hwidEx!
[libpdi] ERROR (PDI_comGetMapInfo|1204): Fail to Get ComMapInfo
[libpdi] can't find commLen cfg
[Systools]: Build on Apr 17 2016 at 03:00:27.
[Systools]:SVN NUM: 21111.
IPV6: only init eth0
[0;36m00:00:06|[libpdi] NET_disableRoute = 0
[m"netinit6 help" for help
eth0:
MAC: <00:12:34:56:78:9a>
[0;32;31m00:00:06|[libpdi] ERROR (NetGetHostIPEx6|883): Get default ip failed
[m[1;33m00:00:06|[systools] WARN : [Netinit]: Maybe first burn or Cmos no eletric
[mIP: <2001:250:3000:1::1:2> netmask: <112>
[0;32;31m00:00:06|[libpdi] ERROR (NetGetHostIPEx6|883): Get default ip failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkDelIP|1132): NetGetHostIPEx6 failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[mIPV6 Gateway: <2001:250:3000:1::1:1>
[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSetConfig6|566): Open and create failed
[m[0;32;31m00:00:06|[libpdi] ERROR (NetWorkSaveAttributes|1265): Cann't save Attributes into Backup
[m
appauto=0
keyboard = 0
BusyBox v1.18.4 (2014-12-08 20:28:09 CST) built-in shell (ash)
Revision: 7475
Enter 'help' for a list of built-in commands.
После обновления пигуется без перезагрузки, не реагирует на *, продолжает грузиться. Ну и нет полной загрузки.
А чехов полный дамп есть? Глянул бин файл, загрузчика там не обнаружил.
Re: dahua hdw-1120s
Сразу бросилось в глаза!!!
Что-то не стерлось!!!
Не автостарта, значит надо его включить
Изначальный лог до какого-то бы ни было обновления есть?
KiFFiR писал(а):> run up
Hisilicon ETH net controler
miiphy_register: non unique device name '0:0'
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.14; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x82000000
Downloading: #################################################################
...
###############################
done
Bytes transferred = 7146156 (6d0aac hex)
Erasing update flag partition.
hisfc350.c(693): erase area out of range of mtd.
Erase fail
Что-то не стерлось!!!
KiFFiR писал(а):...
appauto=0
keyboard = 0
BusyBox v1.18.4 (2014-12-08 20:28:09 CST) built-in shell (ash)
Revision: 7475
Enter 'help' for a list of built-in commands.
Не автостарта, значит надо его включить

Изначальный лог до какого-то бы ни было обновления есть?
Re: dahua hdw-1120s
в логе:
Wrong Image Format for bootm command
ERROR: can't get kernel image!
окружение потереть бы...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
окружение потереть бы...
Re: dahua hdw-1120s
fobos писал(а):в логе:
Wrong Image Format for bootm command
ERROR: can't get kernel image!
окружение потереть бы...
Ведь как-то оно загрузилось по итогу, просто остановилось

Re: dahua hdw-1120s
сам удивляюсь как оно загрузилось???...там от ERROR-ов в глазах рябит...
Re: dahua hdw-1120s
fobos писал(а):сам удивляюсь как оно загрузилось???...там от ERROR-ов в глазах рябит...
Тоже в лёгком недопонимании

Re: dahua hdw-1120s
если есть желание можно попробовать этот дамп https://cloud.mail.ru/public/7Yhe/YHG1ghmu5
Re: dahua hdw-1120s
Должно быть полюбэ 
