DS-2CD2042WD-I update tftp

den23rus

n3wb
Joined
Aug 12, 2020
Messages
24
Reaction score
1
Location
Russia
Good evening, brought the camera, I'm trying to restore:
I tried all the firmware from version R6, I throw the logs after the firmware on this: IPC_R6_EN_STD_5.5.5_180111

U-Boot 3.1.6-195297 (May 25 2016-11:39:03)
boards:195277
Boot From: NAND 2048 RC

SYS_CONFIG: 0x30060059 POC: 100

Cortex freq: 600000000

ENET freq: 50000000

iDSP freq: 216000000

Dram freq: 564000000

Core freq: 216000000

AHB freq: 108000000

APB freq: 54000000

UART freq: 24000000

SD freq: 50000000

SDIO freq: 50000000

SDXC freq: 60000000

dev_model:DS-2CD2042WD-I
Hit Ctrl+u to stop autoboot: 2
Hit Ctrl+u to stop autoboot: 1
Hit Ctrl+u to stop autoboot: 0

Formatting .................................................................................................................................................................................................................. done!
[ INFO][MIN]TFTP: TFTP from server 192.0.0.128
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ########################################################
[ INFO][MIN]TFTP: Download File
[OK][ INFO][MIN]BURN: File size is 32157465 bytes (31403 KB)
[ INFO][MIN]BURN: Writing Flash
[ INFO][MIN]BURN: ..............................................................................................................
[ INFO][MIN]BURN: Write Flash
[OK]* UPDATE COMPLETE *

BusyBox v1.2.1 Protect Shell (psh)
Enter 'help' for a list of davinci system commands.

Help:
# help
Support Commands:
taskShow printPart prtHardInfo
getPreviewStatus setIp setV6ip
setGateway dspStatus outputClose
outputOpen getDebug setDebug
debugLog getIrstate getMtu
camCmd getCamVer getIrstate
getLux getMcuInfo getMotion
getRawdata setIrcmd setRectFrame
updateCamera setLaserMode getLaserMode
setIrMode getIrMode setBaiguangMode
getBaiguangMode setYTLock InquireFanSwitch
StartLaser CloseLaser LaserMotReset
EnlargeCur ReduceCur SetCur
LaserMotDirect LaserTeleOffset LaserWideOffset
InqSwitch InqCurrent InqCurMotDirect
getMcuStateInfo setFastFocus getTrackStatus
getSelfcheckResult setLdcMode getLdcMode
getPreviewStatus appCmd camCmd
ezoomlens_start_t2_test prtLensCurve getLensCurve
getIp gdbcfg {Test1}
{Test2} {Test3} {Test4}
{TestN} {TestY} getIsp
getISP getisp setIsp
setISP setisp regread
regwrite setAgingMode getAgingMode
setAgingTime getAgingTime setLensZoomPos
getLensZoomPos dm365 ss
showKey showServer showUpnp
showStatus showDefence setLBS
setAlarm cloudService t1
ifconfig netstat ping
ping6 top iostat
mpstat ps reset
dmesg exit getDateInfo
diagnose help


Log after update:
U-Boot 3.1.6-195297 (May 25 2016-11:39:03)
boards:195277
Boot From: NAND 2048 RC

SYS_CONFIG: 0x30060059 POC: 100

Cortex freq: 600000000

ENET freq: 50000000

iDSP freq: 216000000

Dram freq: 564000000

Core freq: 216000000

AHB freq: 108000000

APB freq: 54000000

UART freq: 24000000

SD freq: 50000000

SDIO freq: 50000000

SDXC freq: 60000000

dev_model:DS-2CD2042WD-I
Hit Ctrl+u to stop autoboot: 2
Hit Ctrl+u to stop autoboot: 1
Hit Ctrl+u to stop autoboot: 0

|RCV UDP pack timeout|

cmd 'null' is not supported.

nand booting ...

booting from pri part...
load kernel...

init started: BusyBox v1.19.3 (2017-12-28 10:16:53 CST)

starting pid 46, tty '': '/etc/init.d/rcS'
Starting udev: [ OK ]
UBI device number 1, total 272 LEBs (34537472 bytes, 32.9 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi1_0.
pri_iUpgSuccCnt:1, sec_iUpgSuccCnt:1
UBI device number 3, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi3_0.
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi4_0.
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
diagnose_way = 15, repair_way = 1, interval = 60
route: ioctl 0x890c failed: No such process
Default method to init without VIN drivers...
Cat this file to find out what VIN can be supported.
Default init without lens driver
Use default settings
/home/script/init.sh: line 553: which: not found
/
[ 18.903823] [ kernel version: svn-321291 ]
map_size = 0x400000, nr_item = 3
addr_offset = 0x00000000, filename = orccode.bin
addr_offset = 0x00300000, filename = orcme.bin
addr_offset = 0x003a0000, filename = default_binary.bin
mmap returns 0x76a7e000
loading /home/firmware/orccode.bin...addr = 0x76a7e000, size = 0x171cca
loading /home/firmware/orcme.bin...addr = 0x76d7e000, size = 0x51644
loading /home/firmware/default_binary.bin...addr = 0x76e1e000, size = 0x40000
===============================================
ucode (S2L) version = 2017/5/25 271820.271498
===============================================
ln: prtLensCurve: File exists
ln: /dev/ttyS1: File exists
ln: /bin/t1: File exists
cp: can't stat '/dav/libutils.so': No such file or directory
chmod: /lib/libutils.so: No such file or directory
ln: /dev/rtc: File exists
=====check_config start=====
===db file doesn't exist===
===db file doesn't exist===
==== both config files are broken====
infd read End
Unix bus 0 .

Enter DB_main-------------------
shared memory address is: 0x76c37000, sizeof(DEVICECONFIG) = 959848

netprocess Infomation:
version: 5.10.2 [20:30:33-Jul 18 2017]
Path: /Camera/Platform/Trunk/FSP_network_protocol
Last Changed Rev: 299284
Last Changed Date: 2017-07-14 17:00:38 +0800 (Fri, 14 Jul 2017)
.
wait davinci set default...
[08-10 20:02:12][pid:570][IPC][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[08-10 20:02:12][pid:577][IPC] [ERROR]from daemon ack, dst not work len 0 , load_type is [0x10012]
[08-10 20:02:12][pid:577][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[08-10 20:02:12][pid:577][UNI_IF][ERROR]communicaite_to_davinci failed!!!
copy default.cls ok.
[08-10 20:02:13][pid:570][IPC][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[08-10 20:02:13][pid:577][IPC] [ERROR]from daemon ack, dst not work len 0 , load_type is [0x10012]
[08-10 20:02:13][pid:577][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[08-10 20:02:13][pid:577][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[08-10 20:02:14][pid:570][IPC][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[08-10 20:02:14][pid:577][IPC] [ERROR]from daemon ack, dst not work len 0 , load_type is [0x10012]
[08-10 20:02:14][pid:577][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[08-10 20:02:14][pid:577][UNI_IF][ERROR]communicaite_to_davinci failed!!!
Unix bus End
shared memory address is: 0x769e8000, sizeof(DEV_CAPABILITY) = 258664
[08-10 20:02:14][pid:591][HW_IF][ERROR]ioctl error errno=5
[08-10 20:02:14][pid:591][SYSINIT][ERROR]hwif_getsecinfo failed.
[08-10 20:02:14][pid:591][SYSINIT][ERROR]sys app init failed to reboot!
[08-10 20:02:15][pid:570][IPC][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[08-10 20:02:15][pid:577][IPC] [ERROR]from daemon ack, dst not work len 0 , load_type is [0x10012]
[08-10 20:02:15][pid:577][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[08-10 20:02:15][pid:577][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[08-10 20:02:16][pid:570][IPC][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[08-10 20:02:16][pid:577][IPC] [ERROR]from daemon ack, dst not work len 0 , load_type is [0x10012]
[08-10 20:02:16][pid:577][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[08-10 20:02:16][pid:577][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[ 29.627547] Restarting system.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,976
Reaction score
6,800
Location
Scotland
Yes, that chip.
But it's not a security check - the contents hold all the camera-specific data.
Such as the hardware configuration, serial number, MAC address, region, language etc.
 

den23rus

n3wb
Joined
Aug 12, 2020
Messages
24
Reaction score
1
Location
Russia
[QUOTE = "den23rus, post: 476305, member: 106706"]
чип: VS16 1626?
бывает прошивка с отключенной проверкой безопасности?
[/ QUOTE]
 

Attachments

den23rus

n3wb
Joined
Aug 12, 2020
Messages
24
Reaction score
1
Location
Russia
Спасибо за быстрый ответ.
I will send to the service center for repair
 
Top