Hikvision DS-2CD2185FWD-IS won't boot up after firmware update

Thanks for checking the files.

I originally ordered 4 identical cameras but opened the boxes about a year and a half later. All were detected by SADPTool but only 1 had no video (tested in SADPTool, BlueIris, ContaCam and ISpy). So, using SADPTool, I re-updated the firmware with the same version it and all the other cameras had. V5.4.5 build 170124

SAPDTool could no longer see it and it's been a paper-weight ever since.
 
  • Like
Reactions: alastairstevenson
No, V5.4.5 build 170124 came with the camera but fails when I try to apply. I believe V5.6.3 build190923 was the last successful one ( just tried again to confirm it works ).
 
Do let us know if you wish to commit some more time to explore this mystery.
Sometimes the usual tradeoff of cost vs effort gets overridden when curiosity / learning is in play.
Sometimes not.
The next stage would be to get to a root shell on the running system so that some digging can be done.

With luck this will allow access to a root shell in the normal running system.
From that it should be possible to do some exploration of why /proc/device-tree is being complained about.

Interrupt the bootloader and issue the following commands :

Code:
setenv dbg 8
saveenv

Without a digicap.dav in the tftp folder, use the update command to start the mini-system.
At the # prompt, use the following commands and save the transcript when done :
It's probably best to hold them in a text editor, such as Notepad, and copy / paste them line at a time into PuTTY.

Code:
mount
/usr/sbin/prepare_partition.sh
mount

cd /dav
ls -al

tftp -p -l initrun.sh 192.0.0.128
cp initrun.sh initrun_orig.sh

echo "[ -f /bin/psh.old ] || mv /bin/psh /bin/psh.old" >> initrun.sh
echo "[ -f /bin/psh.old ] && echo -e '#!/bin/sh\nexec /bin/sh $*' > /bin/psh" >> initrun.sh
echo "[ -f /bin/psh ] && chmod +x /bin/psh" >> initrun.sh

reset

After the device has mostly finished booting, you'll presumably still be getting the regular complaint about dsp timeout.
This will get in the way a bit with issuing commands and seeing the result.
However, the initial commands of interest could be :

mount
ls -al /proc
/bin/mount -t proc proc /proc
mount
 
At this point, it's only curiosity that drives me plus the unescapable thought that I may be very close to a solution. I haven't been asked to de-solder any surface mounted devices or perform a logic probe so, for the time being, I'm keeping up.

I'm also very grateful for your time and patience no matter what the outcome. Also amazed that you have so much knowledge on this subject especially considering how useless HikVision has been with their typical "our support is limited to products purchased through authorized distributers" response.

I'm perfectly willing to accept that it may be a hardware issue and destined for the trash but if not, I'm willing to investigate.

Anyway, here is the output you requested.

Thanks again.

Code:
U-Boot 3.1.6-264231 (Mar 22 2017-13:13:56)
boards:266326
Boot From: NAND 2048 RC BCH 6bit
SYS_CONFIG: 0x00070053 POC: 001
Cortex freq: 1008000000
ENET freq: 50000000
iDSP freq: 504000000
Dram freq: 840000000
Core freq: 564000000
AHB freq: 282000000
APB freq: 141000000
UART freq: 24000000
SD freq: 120000000
SDXC freq: 120000000
dev_model:DS-2CD2185FWD-IS
Hit Ctrl+u to stop autoboot: 2
HKVS #
cmd '' is not supported.
HKVS #
HKVS # setenv dbg 8
HKVS # saveenv
Writing env to Nand... done
HKVS # update
'update' is a ambiguous command! Exec the shortest command
init started: BusyBox v1.23.2 (2017-03-17 22:46:40 PDT)
starting pid 26, tty '': '/etc/init.d/rcS'
Starting udev:      [ OK ]
create static device nodes under /dev dir
modprobe: can't change directory to '3.10.104': No such file or directory
iptables v1.4.18: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
------------------------------------------------------------------
[montecrypto] minisystem action suppressed, entering shell instead
[montecrypto] run /etc/app.continue to resume minisystem action
[montecrypto] To mount UBI volumes:
[montecrypto]    ubiattach -m <MTDNUM> -d <DEVNUM> /dev/ubi_ctrl
[montecrypto]    mount -t ubifs /dev/ubi<DEVNUM>_0 /mnt
[montecrypto] APP: ubiattach -m 10 -d 1 /dev/ubi_ctrl; sleep 1; mount -t ubifs /dev/ubi1_0 /mnt
[montecrypto] *** Enjoy! ***
------------------------------------------------------------------
starting pid 253, tty '': '-/bin/sh'
/ # mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=72884k,nr_inodes=18221,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/ # /usr/sbin/prepare_partition.sh
/ # mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=72884k,nr_inodes=18221,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi2_0 on /dav_sec type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
/ # cd /dav
/dav # ls -al
drwxr-xr-x    2 root     root          4904 Jan  3 16:08 .
drwxr-xr-x   21 root     root             0 Oct 21  2017 ..
--w---x--T    1 root     root          1349 Jan  2 02:18 ASC16.bin
--w---x--T    1 root     root        457196 Jan  2 02:18 GBK
--w---x--T    1 root     root       1280000 Jan  2 02:19 IElang.tar
--w---x--T    1 root     root        282752 Jan  2 02:18 KOR16
--w---x--T    1 root     root       2707200 Jan  2 02:18 WebComponents.exe
--w---x--T    1 root     root          1304 Jan  2 02:18 _cfgUpgClass
--w---x--T    1 root     root        371497 Jan  2 02:19 alsa-lib.tar.gz
--w---x--T    1 root     root         15160 Jan  2 02:19 amba_debug
--w---x--T    1 root     root           296 Jan  2 02:19 cap.json
--w---x--T    1 root     root         15156 Jan  2 02:19 chat
--w---x--T    1 root     root          5936 Jan  2 02:19 check_config
--w---x--T    1 root     root         48096 Jan  2 02:19 da_info
--w---x--T    1 root     root        100840 Jan  2 02:19 daemon_fsp_app
--w---x--T    1 root     root        844396 Jan  2 02:19 database_process
--w---x--T    1 root     root             2 Jan  2 02:18 davinci.tar.gz
--w---x--T    1 root     root       4215793 Jan  2 02:19 davinci_bak
--w---x--T    1 root     root         56368 Jan  2 02:19 default.cls
--w---x--T    1 root     root        160000 Jan  2 02:19 diald
--w---x--T    1 root     root       3111076 Jan  2 02:19 driver.tar.gz
--w---x--T    1 root     root          7544 Jan  2 02:19 dsp_debug.sh
--w---x--T    1 root     root         12120 Jan  2 02:19 dsp_info
--w---x--T    1 root     root         25640 Jan  2 02:19 dsplog_cap
--w---x--T    1 root     root          5956 Jan  2 02:19 execSystemCmd
--w---x--T    1 root     root       1927608 Jan  2 02:19 hikdsp
--w---x--T    1 root     root        121036 Jan  2 02:19 hostapd
--w---x--T    1 root     root          8039 Jan  2 02:19 hw_resources
--w---x--T    1 root     root           390 Jan  2 02:19 icr_resources
--w---x--T    1 root     root       2213928 Jan  2 02:19 idsp.tar.gz
--w---x--T    1 root     root         11686 Jan  3 16:09 initrun.sh
--w---x--T    1 root     root         11532 Jan  3 16:08 initrun_orig.sh
--w---x--T    1 root     root        672648 Jan  2 02:19 libasound.so
-rwxrwxrwx    1 1000     1003       1093808 Jul  1  2019 libcrypto.so
--w---x--T    1 root     root         63952 Jan  2 02:19 libdadsp.so
--w---x--T    1 root     root         65876 Jan  2 02:19 libdewarp.so
--w---x--T    1 root     root         70448 Jan  2 02:19 libfsp_base.so
--w---x--T    1 root     root        213772 Jan  2 02:19 libhal_bsp.so
--w---x--T    1 root     root        200940 Jan  2 02:19 libhikosip.so
--w---x--T    1 root     root         28884 Jan  2 02:19 libhiksyslog.so
--w---x--T    1 root     root        270456 Jan  2 02:19 libiconv_utf8Gbk.so
--w---x--T    1 root     root         14040 Jan  2 02:19 libipc_unix.so
--w---x--T    1 root     root        190956 Jan  2 02:19 libispfrontc.so
--w---x--T    1 root     root         52380 Jan  2 02:19 libosip2.so
--w---x--T    1 root     root        142780 Jan  2 02:19 libosipparser2.so
--w---x--T    1 root     root         46956 Jan  2 02:19 libpassenger_info.so
--w---x--T    1 root     root         30156 Jan  2 02:19 libremote_dbg.so
-rwxrwxrwx    1 root     root       4431596 Jan  2 02:19 libs3l_isp_ipc.so
--w---x--T    1 root     root         38748 Jan  2 02:19 libsave_alarminfo.so
--w---x--T    1 root     root        325940 Jan  2 02:19 libsqlite3.so
--w---x--T    1 root     root         40744 Jan  2 02:19 libsyslog.so
--w---x--T    1 root     root          5208 Jan  2 02:19 libutils.so
--w---x--T    1 root     root         34004 Jan  2 02:19 libwebsockets_server.so
-rwxrwxrwx    1 root     root       2131756 Jul  1  2019 libzoomcam_ipc.so
--w---x--T    1 root     root          1145 Jan  2 02:19 load_audio_drv.sh
--w---x--T    1 root     root          4696 Jan  2 02:19 load_ucode
--w---x--T    1 root     root        695340 Jan  2 02:19 net_process
--w---x--T    1 root     root        138296 Jan  2 02:19 pppd
--w---x--T    1 root     root         21668 Jan  2 02:19 pppoe
--w---x--T    1 root     root          8552 Jan  2 02:19 pppoed
--w---x--T    1 root     root         49015 Jan  2 02:19 ptzCfg.bin
--w---x--T    1 root     root          9216 Jan  2 02:19 recover_mtd
--w---x--T    1 root     root          5324 Jan  2 02:19 serialCom
--w---x--T    1 root     root        582203 Jan  2 02:19 sound.tar.gz
--w---x--T    1 root     root          9920 Jan  2 02:19 ss
--w---x--T    1 root     root            33 Jan  2 02:18 sysVersion.bin
--w---x--T    1 root     root         52712 Jan  2 02:19 t1
--w---x--T    1 root     root        120116 Jan  2 02:19 test_encode
/dav # tftp -p -l initrun.sh 192.0.0.128
tftp: server error: (0) No such file or directory

/dav # cp initrun.sh initrun_orig.sh
/dav # echo "[ -f /bin/psh.old ] || mv /bin/psh /bin/psh.old" >> initrun.sh
/dav # echo "[ -f /bin/psh.old ] && echo -e '#!/bin/sh\nexec /bin/sh $*' > /bin/
psh" >> initrun.sh
/dav # echo "[ -f /bin/psh ] && chmod +x /bin/psh" >> initrun.sh
/dav # reset
The system is going down NOW!
Sent SIGTERM to all processes
Terminated
Requesting system reboot


U-Boot 3.1.6-264231 (Mar 22 2017-13:13:56)
boards:266326
Boot From: NAND 2048 RC BCH 6bit
SYS_CONFIG: 0x00070053 POC: 001
Cortex freq: 1008000000
ENET freq: 50000000
iDSP freq: 504000000
Dram freq: 840000000
Core freq: 564000000
AHB freq: 282000000
APB freq: 141000000
UART freq: 24000000
SD freq: 120000000
SDXC freq: 120000000
dev_model:DS-2CD2185FWD-IS
Hit Ctrl+u to stop autoboot: 0
|MAGIC mismatch|
cmd 'null' is not supported.
nand booting ...
booting from pri part...
load kernel...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.104 (root@CI-Frontend-Slave-70-189) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #1 PREEMPT Mon Sep 9 11:07:21 CST 2019
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S3L (Flattened Device Tree), model: Ambarella S3L Mango Board
[    0.000000] chip_id:0x4
[    0.000000] dram_size:512M
[    0.000000] get buf_platform error!Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] get buf_platform error!
[    0.000000] get buf_platform error!get buf_platform error!
[    0.000000] get buf_platform error![    0.000000] Ambarella:   IAVMEM = 0x09800000[          ],0x16800000
[    0.000000] get buf_platform error!
[    0.000000] get buf_platform error![    0.000000] Ambarella:    FBMEM = 0x09800000[          ],0x00000000
[    0.000000] On node 0 totalpages: 38400
[    0.000000] free_area_init_node: node 0, pgdat 8083be14, node_mem_map 8086d000
[    0.000000]   Normal zone: 300 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 38400 pages, LIFO batch:7
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 38100
[    0.000000] Kernel command line: console=ttyS0 KRN_PRT=pri dbg=8
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 150MB = 150MB total
[    0.000000] Memory: 143472k/143472k available, 10128k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x89800000 - 0xff000000   (1880 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x89600000   ( 150 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80519650   (5190 kB)
[    0.000000]       .init : 0x8051a000 - 0x80807384   (2997 kB)
[    0.000000]       .data : 0x80808000 - 0x808459a8   ( 247 kB)
[    0.000000]        .bss : 0x808459a8 - 0x80868ce4   ( 141 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 141MHz, resolution 7ns, wraps every 30460ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.286606] Calibrating delay loop... 1007.61 BogoMIPS (lpj=5038080)
[    0.382787] pid_max: default: 32768 minimum: 301
[    1.859200] Card authentication succeeded
[    1.863255] Mount-cache hash table entries: 512
[    1.869698] CPU: Testing write buffer coherency: ok
[    1.874804] Setting up static identity map for 0x803d34a8 - 0x803d3518
[    1.884118] devtmpfs: initialized
[    1.888277] pinctrl core: initialized pinctrl subsystem
[    1.893779] NET: Registered protocol family 16
[    1.898701] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    1.905981] Ambarella power management: Wed Aug 10 2016
[    1.911488] L310 cache controller enabled
[    1.915482] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    1.924660] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    1.932578] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    1.942157] bio: create slab <bio-0> at 0
[    1.946899] ambarella-dma e0005000.dma: Ambarella DMA Engine
[    1.952945] usbcore: registered new interface driver usbfs
[    1.958445] usbcore: registered new interface driver hub
[    1.963849] usbcore: registered new device driver usb
[    1.969437] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    1.976325] ambarella-i2c e8001000.i2c: Ambarella I2C adapter[1] probed!
[    1.984385] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    1.991258] mmc_init boot_from emmc 0
[    1.995013] Advanced Linux Sound Architecture Driver Initialized.
[    2.001606] Switching to clocksource ambarella-cs-timer
[    2.011641] ambarella-sd e0002000.sdmmc0: Got CD GPIO #60.
[    2.017171] pwr gpio 94 active 1
[    2.020550] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x88f40000<->0x09140000]
[    2.028811] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    2.037662] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    2.426891] ambarella-sd e0002000.sdmmc0: 1 slots @ 25000000Hz
[    2.432938] ambarella-sd e001f000.sdmmc2: Got CD GPIO #88.
[    2.438462] pwr gpio 95 active 1
[    2.441834] ambarella-sd e001f000.sdmmc2: Slot0 use bounce buffer[0x88f60000<->0x09160000]
[    2.450089] ambarella-sd e001f000.sdmmc2: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    2.458939] ambarella-sd e001f000.sdmmc2: Slot0 use ADMA
[    2.846916] ambarella-sd e001f000.sdmmc2: 1 slots @ 50000000Hz
[    2.852795] eMMC netlink init ok.
[    2.856151] NET: Registered protocol family 2
[    2.861115] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    2.868247] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    2.874592] TCP: Hash tables configured (established 2048 bind 2048)
[    2.880976] TCP: reno registered
[    2.884186] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    2.890013] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.896377] NET: Registered protocol family 1
[    2.900931] RPC: Registered named UNIX socket transport module.
[    2.906870] RPC: Registered udp transport module.
[    2.911550] RPC: Registered tcp transport module.
[    2.916230] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.071474] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    3.078856] msgmni has been set to 280
[    3.083459] NET: Registered protocol family 38
[    3.088007] io scheduler noop registered
[    3.091909] io scheduler deadline registered
[    3.096170] io scheduler cfq registered (default)
[    3.101439] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 61) is a ambuart
[    3.108671] ambarella-uart e0032000.uart: Serial[1] use txdma
[    3.114396] ambarella-uart e0032000.uart: Serial[1] use rxdma
[    3.120152] e0032000.uart: ttyS1 at MMIO 0xe0032000 (irq = 80) is a ambuart
[    3.129242] loop: module loaded
[    3.132547] Ambarella read-only mtdblock
[    3.138703] ambarella-nand e0001000.nand: in ecc-[6]bit mode
[    3.144340] ambarella_nand: Use On Flash BBT
[    3.148650] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    3.160806] Bad block table found at page 65472, version 0x01
[    3.166653] Bad block table found at page 65408, version 0x01
[    3.172514] nand_read_bbt: bad block at 0x0000016e0000
[    3.178664] nand_read_bbt: bad block at 0x000002320000
[    3.183778] nand_read_bbt: bad block at 0x000003a60000
[    3.188902] nand_read_bbt: bad block at 0x000004ea0000
[    3.194012] nand_read_bbt: bad block at 0x000004f60000
[    3.199134] nand_read_bbt: bad block at 0x000006000000
[    3.204247] nand_read_bbt: bad block at 0x000007920000
[    3.209422] 16 ofpart partitions found on MTD device amba_nand
[    3.215228] Creating 16 MTD partitions on "amba_nand":
[    3.220359] 0x000000000000-0x000000020000 : "bst"
[    3.225563] 0x000000020000-0x000000120000 : "bld"
[    3.230786] 0x000000120000-0x000000200000 : "ptb"
[    3.235922] 0x000000200000-0x000000280000 : "env"
[    3.241106] 0x000000280000-0x000000380000 : "sysflg"
[    3.246500] 0x000000380000-0x000000400000 : "param"
[    3.251873] 0x000000400000-0x000000500000 : "dpt"
[    3.257076] 0x000000500000-0x000000f00000 : "rcvy"
[    3.262315] 0x000000f00000-0x000001700000 : "krn_pri"
[    3.267901] 0x000001700000-0x000001f00000 : "krn_sec"
[    3.273422] 0x000001f00000-0x000004100000 : "app_pri"
[    3.279001] 0x000004100000-0x000006300000 : "app_sec"
[    3.284497] 0x000006300000-0x000006900000 : "cfg_pri"
[    3.290047] 0x000006900000-0x000006f00000 : "cfg_sec"
[    3.295552] 0x000006f00000-0x000007d00000 : "dbg"
[    3.300776] 0x000007700000-0x000007900000 : "syslog"
[    3.309907] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.
[    3.323172] ambarella-spi e0021000.spi: Ambarella spi controller 1 created.
[    3.330355] tun: Universal TUN/TAP device driver, 1.6
[    3.335382] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.396829] libphy: Ambarella MII Bus: probed
[    3.401174] mdio_bus e000e000.etherne: /ahb@e0000000/ethernet@e000e000/phy@0 has invalid PHY address
[    3.410291] mdio_bus e000e000.etherne: scan phy phy at address 0
[    3.416272] mdio_bus e000e000.etherne: scan phy phy at address 1
[    3.425270] mdio_bus e000e000.etherne: registered phy phy at address 1
[    3.431862] ambarella-eth e000e000.ethernet: Ethernet PHY[1]: 0x02430c54!
[    3.438957] ambarella-eth e000e000.ethernet: MAC Address[18:68:cb:43:38:7a].
[    3.446043] PPP generic driver version 2.4.2
[    3.450471] PPP BSD Compression module registered
[    3.455152] PPP Deflate Compression module registered
[    3.460213] PPP MPPE Compression module registered
[    3.465034] usbcore: registered new interface driver asix
[    3.470440] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.476953] ehci-ambarella: AMBARELLA-EHCI Host Controller driver
[    3.483150] ambarella-ehci e0018000.ehci: EHCI Host Controller
[    3.489038] ambarella-ehci e0018000.ehci: new USB bus registered, assigned bus number 1
[    3.497163] ambarella-ehci e0018000.ehci: irq 66, io mem 0xe0018000
[    3.516837] ambarella-ehci e0018000.ehci: USB 2.0 started, EHCI 1.00
[    3.523615] hub 1-0:1.0: USB hub found
[    3.527393] hub 1-0:1.0: 1 port detected
[    3.531496] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.537800] ambarella-ohci e0019000.ohci: Ambarella OHCI
[    3.543119] ambarella-ohci e0019000.ohci: new USB bus registered, assigned bus number 2
[    3.551149] ambarella-ohci e0019000.ohci: irq 67, io mem 0xe0019000
[    3.621258] hub 2-0:1.0: USB hub found
[    3.624999] hub 2-0:1.0: 1 port detected
[    3.629444] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    3.637100] i2c /dev entries driver
[    3.641128] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    3.647917] ambarella cpufreq driver init
[    3.652504] Netfilter messages via NETLINK v0.30.
[    3.657291] nf_conntrack version 0.5.0 (2241 buckets, 8964 max)
[    3.663447] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.668796] TCP: cubic registered
[    3.672113] NET: Registered protocol family 10
[    3.677158] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.682575] sit: IPv6 over IPv4 tunneling driver
[    3.687595] NET: Registered protocol family 17
[    3.692072] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    3.699732] ThumbEE CPU extension supported.
[    3.704882] ambarella-rtc e8015000.rtc: setting system clock to 1970-01-03 16:24:34 UTC (231874)
[    3.713733] ALSA device list:
[    3.716680]   No soundcards found.
[    3.722515] Freeing unused kernel memory: 2996K (8051a000 - 80807000)
init started: BusyBox v1.19.3 (2019-09-09 11:02:10 CST)
starting pid 64, tty '': '/etc/init.d/rcS'
Starting udev:      [ OK ]
create static device nodes under /dev dir
cat: can't open '/proc/device-tree/hik_flash_type': No such file or directory
>>>run pre_app_hook
cat: can't open '/proc/device-tree/hik_flash_type': No such file or directory
cat: can't open '/proc/device-tree/hik_flash_size': No such file or directory
cat: can't open '/proc/device-tree/hik_platform': No such file or directory
Can't get platform, default platform is g1!
Can't get platform, default flash size is 128M!
[    4.270233] UBI: attaching mtd10 to ubi1
[    4.338473] UBI: scanning is finished
[    4.349438] UBI: attached mtd10 (name "app_pri", size 34 MiB) to ubi1
[    4.355859] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.364239] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.370979] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.377841] UBI: good PEBs: 270, bad PEBs: 2, corrupted PEBs: 0
[    4.383734] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    4.390850] UBI: max/mean erase counter: 263/147, WL threshold: 4096, image sequence number: 1199204029
[    4.400215] UBI: available PEBs: 0, total reserved PEBs: 270, PEBs reserved for bad PEB handling: 8
[    4.409244] UBI: background thread "ubi_bgt1d" started, PID 326
UBI device number 1, total 270 LEBs (34283520 bytes, 32.7 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 Ki[    4.425972] UBIFS: background thread "ubifs_bgt1_0" started, PID 331
B)
waiting for /dev/ubi1_0.
[    4.448361] UBIFS: recovery needed
[    4.522039] UBIFS: recovery completed
[    4.525820] UBIFS: mounted UBI device 1, volume 0, name "app_pri"
[    4.531947] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    4.541064] UBIFS: FS size: 31490048 bytes (30 MiB, 248 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
[    4.550690] UBIFS: reserved for root: 1487352 bytes (1452 KiB)
[    4.556500] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 14E99304-7BDE-4AC9-BF02-ABA06417D689, small LPT model
pri_iUpgSuccCnt:1, sec_iUpgSuccCnt:1
[    4.576443] UBI: attaching mtd12 to ubi3
[    4.591988] UBI: scanning is finished
[    4.602535] UBI: attached mtd12 (name "cfg_pri", size 6 MiB) to ubi3
[    4.610502] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.617326] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.624001] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.630861] UBI: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[    4.636666] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    4.643782] UBI: max/mean erase counter: 313/198, WL threshold: 4096, image sequence number: 349956746
[    4.653062] UBI: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 10
[    4.662090] UBI: background thread "ubi_bgt3d" started, PID 335
UBI device number 3, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0[    4.678935] UBIFS: background thread "ubifs_bgt3_0" started, PID 340

waiting for /dev/ubi3_0.
[    4.701203] UBIFS: recovery needed
[    4.761369] UBIFS: recovery completed
[    4.765123] UBIFS: mounted UBI device 3, volume 0, name "cfg_pri"
[    4.771251] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    4.780367] UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[    4.789647] UBIFS: reserved for root: 143937 bytes (140 KiB)
[    4.795283] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 6911DD69-2D39-4909-9F1C-2C8A42A52586, small LPT model
Check dir /davinci ok! (0)
[    4.853082] UBI: attaching mtd13 to ubi4
[    4.868588] UBI: scanning is finished
[    4.879190] UBI: attached mtd13 (name "cfg_sec", size 6 MiB) to ubi4
[    4.885523] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.893909] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.900647] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.907509] UBI: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[    4.913314] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    4.920430] UBI: max/mean erase counter: 297/182, WL threshold: 4096, image sequence number: 1331470019
[    4.929796] UBI: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 10
[    4.938825] UBI: background thread "ubi_bgt4d" started, PID 345
UBI device number 4, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0[    4.955554] UBIFS: background thread "ubifs_bgt4_0" started, PID 350

waiting for /dev/ubi4_0.
[    4.977772] UBIFS: recovery needed
[    5.024931] UBIFS: recovery completed
[    5.028744] UBIFS: mounted UBI device 4, volume 0, name "cfg_sec"
[    5.034840] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.043961] UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[    5.053243] UBIFS: reserved for root: 143937 bytes (140 KiB)
[    5.058887] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2D0DECD1-9BC6-4A46-864E-4EAB39DB2332, small LPT model
Check dir /config ok! (0)
>>>run post_app_hook
find net_node, loop : 1
[    5.528487] net eth0: adv: sym 1, asym: 1
[    5.532567] net eth0: lp: sym: 0, asym: 0
[    5.536605] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
route: ioctl 0x890c failed: No such process
[    6.956847] probe_rst_pin exceed
[    7.532368] watch module init version.
[    7.567863] hw_timer: module license 'Proprietary' taints kernel.
[    7.573937] Disabling lock debugging due to kernel taint
[    7.616167] img: IMG KERN VIRT: WR [0x89b29000, 100 KB], RD [0x88fb0000, 36 KB].
Default method to init without VIN drivers...
Cat this file to find out what VIN ca[    7.691123] amba_debug_init 248:248.
n be supported.
Default init without lens driver
Use default settings
/home/script/init.sh: line 445: which: not found
/home/script/init.sh: line 456: /lib/firmware: Permission denied
Load ucode failed!
/
mkdir: can't create directory '/var/run': File exists
[    7.820695] base module init.
[    7.828021] is_rs232_periph : uart_types=rs485
[    7.833391] insmod uart232_general module succeed!
[    7.839834] of_sc16is752_parse: get sc16is752 device-tree error!
[    7.845832] sc16is752_init: sc16is752_device node is non-existent!
[    7.903932] card->dai_link[0].name = rt5616
[    7.909277] card->dai_link[0].stream_name = rt5616 PCM
[    7.914483] card->dai_link[0].codec_dai_name = rt5616-aifi
[    7.920120] snd_soc_card_amba sound.6: ASoC: CPU DAI (null) not registered
[    7.927007] snd_soc_card_amba sound.6: snd_soc_register_card failed (-517)
[    7.933851] tcmx: amba_soc_snd_probe faild
[    7.937958] platform sound.6: Driver snd_soc_card_amba requests probe deferral
[    7.955210] mmc0 power register success!
[    7.963309] mmc1 power register success!
[    7.967292] mmc2 power register success!
[    7.971199] usb0 power register success!
map_size = 0x500000, nr_item = 3
addr_offset = 0x00000000, filename = orccode.bin
addr_offset = 0x00300000, filename = orcme.bin
addr_offset = 0x003a0000, filename = default_binary.bin
mmap returns 0x768e7000
loading /home/firmware/orccode.bin...addr = 0x768e7000, size = 0x1b759e
loading /home/firmware/orcme.bin...addr = 0x76be7000, size = 0x3392c
loading /home/firmware/default_binary.bin...addr = 0x76c87000, size = 0x61d00
===============================================
ucode (S3L) version = 2018/11/1 284796.282649
===============================================
ln: prtLensCurve: File exists
ln: /dev/ttyS1: File exists
ln: /bin/t1: File exists
[    8.527043] net eth0: lp: sym: 1, asym: 1
[    8.531037] libphy: e000e000.etherne:01 - Link is Up - 100/Full
[    8.538412] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ln: /dev/rtc: File exists
[    8.786673] UBI: attaching mtd14 to ubi5
[    8.817624] UBI: scanning is finished
[    8.828336] UBI: attached mtd14 (name "dbg", size 14 MiB) to ubi5
[    8.834410] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    8.842800] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    8.849533] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    8.856380] UBI: good PEBs: 111, bad PEBs: 1, corrupted PEBs: 0
[    8.862289] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    8.869402] UBI: max/mean erase counter: 39/25, WL threshold: 4096, image sequence number: 1397258152
[    8.878593] UBI: available PEBs: 0, total reserved PEBs: 111, PEBs reserved for bad PEB handling: 4
[    8.887621] UBI: background thread "ubi_bgt5d" started, PID 612
UBI device number 5, total 111 LEBs (14094336 bytes, 13.4 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
ubimkvol[    8.905247] UBIFS: background thread "ubifs_bgt5_0" started, PID 617
: error!: UBI device does not have free logical eraseblocks
[    8.927891] UBIFS: recovery needed
[    8.998200] UBIFS: recovery completed
[    9.001983] UBIFS: mounted UBI device 5, volume 0, name "dbg"
[    9.007758] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.016871] UBIFS: FS size: 11808768 bytes (11 MiB, 93 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[    9.026320] UBIFS: reserved for root: 557756 bytes (544 KiB)
[    9.031964] UBIFS: media format: w4/r0 (latest is w4/r0), UUID DDC1BD60-E63E-42FB-9900-C8A3A8F1A618, small LPT model
ln: /dav_web/webLib/codebase/WebComponents.exe: File exists
=====check_config start=====
===main db is ok===
[PACK][DBG_INFO][src/firm_unpack_lib.c][firm_pack_decode][183]:iPackIdx=0,iPackFlg=0x00650100,iPlatform=101,iDevMajor=111,iDevMinor=111,iLanguage=2

netprocess Infomation:
version: 8.11.3 [20:47:01-Mar 13 2019]
Path: /Camera/Platform/Trunk/FSP_network_protocol
Last Changed Rev: 489163
Last Changed Date: 2019-01-10 19:59:41 +0800 (Thu, 10 Jan 2019)
.

Enter DB_main-------------------
shared memory address is: 0x76b75000, sizeof(DEVICECONFIG) = 1401400
wait davinci set default...
copy default.cls ok.
[01-03 16:24:43][pid:0][ISP_FRONT][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[01-03 16:24:43][pid:628][ISP_FRONT][ERROR] from daemon ack, dst not work  len 0 , load_type is [0x10012]
[01-03 16:24:43][pid:628][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[01-03 16:24:43][pid:628][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[DAEMON][DBG_INFO][src/daemon.c][firm_file_output][367]:firm unpack file : /home/process/davinci.tar.gz succ.
[DAEMON][DBG_INFO][src/daemon.c][app_system_exec][242]:system cmd [tar xvzf /home/process/davinci.tar.gz -C /home/process]
./davinci
[DAEMON][DBG_INFO][src/daemon.c][app_system_exec][259]:system [tar xvzf /home/process/davinci.tar.gz -C /home/process] succ.)
[DAEMON][DBG_INFO][src/daemon.c][app_system_exec][242]:system cmd [/home/process/davinci &]
[DAEMON][DBG_INFO][src/daemon.c][app_system_exec][259]:system [/home/process/davinci &] succ.)
===============================================

shared memory address is: 0x767d4000, sizeof(DEV_CAPABILITY) = 477280
bootParms.videoinType=47, bootParms.devType=141825
bootParms.abfType=0

▒豸▒ͺ▒: 0x22a01 , ▒▒▒▒ͨ▒▒▒▒: 1, videoinType=47
[01-03 16:24:43][pid:645][SYSINIT][ERROR]
▒▒▒ܰ汾
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.icrSupport                  = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.alarminNum                  = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.alarmoutNums                = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.videoinType                 = 47
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.videooutType                = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.HWVersion                   = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.audioInSupport              = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.audiooutSupport             = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.IRSupport                   = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.eZoomLensSupport     = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.pirisSupport                = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.wifiSupport                 = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.PTSupport                   = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.irisType                    = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.w4GSupport                  = 0
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.encodeChans                 = 1
[01-03 16:24:43][pid:645][SYSINIT][ERROR]bootParms.hard_type                   = 2
[01-03 16:24:43][pid:645][OTHER][ERROR]CUSTOM_PATH open error.No such file or directory
[01-03 16:24:43][pid:645][OTHER][ERROR]analysis_custom_devtype error
Loading_devlist_capa:22a01
[01-03 16:24:43][pid:645][SYSINIT][ERROR]get hardtype, bootinfo: 2, hard_type: 2.
Loading_devlist_def_capa:22a01

-------Goint to init_database-231883
davinci enter init_database
shared memory address is: 0x7667d000, sizeof(DEVICECONFIG) = 1401400
davinci init_shared_memory success.
[setMultiCfgFactoryDefault]:SW_MULTI_CCDPARAM_SUP not sup
powerLineFrequencyMode = 0
[01-03 16:24:43][pid:645][OTHER][ERROR]set_default_iva_ghms_param MAX width[3840] MAX hight[2160]
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR]set_default_iva_ghms_param wPicSize[0]
[01-03 16:24:43][pid:645][OTHER][ERROR][1]p_vca_ctrl_info->byVCAType[0]
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR]get image_vi_width failed...
[01-03 16:24:43][pid:645][OTHER][ERROR][FACE_SNAP]default param max_width[3840] max_height[2160] resolution[64] wPicSize[70]
[01-03 16:24:43][pid:645][UNI_IF][ERROR]stream request out range 3(2)
[01-03 16:24:43][pid:645][OTHER][ERROR]set_default_stream_qos_param npq not supported yet.
After set_devcfg_default, database need to init
S: cmd_get_capa_data  ,ack 1 --sizeof(ret)= 4

[01-03 16:24:43][pid:627][DATABASE][ERROR]communicaite_to_davinci 65574 : service_result 1
going to init database:1
Davinci wait for init dababase
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-03 16:24:44][pid:627][DATABASE][ERROR]db version = 304384


db_enc_version = 33554432

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack 1

S: cmd_check_capa_support  ,ack 1

S: cmd_check_capa_support  ,ack 1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

[01-03 16:24:44][pid:627][DATABASE][ERROR]invalid chan_no(-1) for row_no(23)
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[10].get is null
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[34].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]unknown port_type: 5
[01-03 16:24:44][pid:627][DATABASE][ERROR]unknown port_type: 5
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
get 0-0-0-0.000000-0-0-0
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[93].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[94].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[95].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[96].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[97].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[98].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[99].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[100].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[121].get is null
[01-03 16:24:44][pid:627][DATABASE][ERROR]tables_fun[122].get is null
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][DATABASE][ERROR]invalid idx value: 0
[01-03 16:24:44][pid:627][DATABASE][ERROR]invalid idx value: 0
[01-03 16:24:44][pid:627][DATABASE][ERROR]invalid idx value: 0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
decrypted_data--access_key =
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
decrypted_data--secret_key =


db_enc_version = 33554432

read end of file .
read_data failed, need to read 4 bytes, only read 0 bytes.
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]gethkpwent file is empty.
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]db_decrypt invalid source string length 42, trunc 32
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][DATABASE][ERROR] ************p_dev_cfg->dmesg_record_param.dmesg_record_logo:0*****************
read end of file .
read_data failed, need to read 4 bytes, only read 0 bytes.
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]gethkpwent file is empty.
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:44][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=1
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=2
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=3
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=4
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=5
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=6
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][DATABASE][ERROR]param err: scene_no=7
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][ISP_FRONT][ERROR]invalid db_decrypt parameter, src len:0
[01-03 16:24:45][pid:627][DATABASE][ERROR]get_alldata_from_db ok
[01-03 16:24:45][pid:627][DATABASE][ERROR]ipc_db_backup need backup.
goint to set_semvalue 1...

database going to sleep----------
---------------------This is backup_dev_cfg-------------------
current_db_version = 304384,  old_db_version = 304384
current_db_version = (304384-1189),  old_db_version = (304384-1189)
database init success, davinci wait sem success
init_database success...

-------end to init_database-231885
<init_run>9864:capture_mode(43) value. 251934740
<adapt_encoder_param>max_stream_id: [2]
[01-03 16:24:45][pid:645][UNI_IF][ERROR]shutter_pal or shutter_ntsc is NULL
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less [   14.751182] event(demo_event) init callback null!
than minpwdlen,m[   14.756725] initialized demo_event
inpwdlen = 8.
[01-03 16:24:45][[   14.762921] init pin 90 for wps pbc function
pid:645][OTHER][[   14.768603] initialized wps_event
ERROR]CheckPassw[   14.773187] event(wifi_event) init callback null!
ordLevel: passwo[   14.779266] initialized wifi_event
rd length is les[   14.784019] event(alarm) init callback null!
s than minpwdlen[   14.789656] initialized alarm
,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][OTHER][ERROR]CheckPasswordLevel: password length is less than minpwdlen,minpwdlen = 8.
[01-03 16:24:45][pid:645][DATABASE][ERROR]reboot reason is not valid, do nothing
***************   patch_dynamic_cap_bydev   ***************
[01-03 16:24:45][pid:645][HW_IF][ERROR]hw type: 2
[HAL_BSP][645][hal_hikio_init]:hal_bsp(503940) init success!
[HAL_BSP][645][hal_hikio_init]:hal_bsp version is [2.0.0]
[01-03 16:24:45][pid:645][SYSINIT][ERROR]device not support RS485
[01-03 16:24:45][pid:645][HW_IF][ERROR]transfer_485_config_options error [options:57]
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-03 16:24:46][pid:645][RTC][ERROR]rtc = 231886 s, sys = 231886 s 339225 us, timeUs = 339225 us!
[01-03 16:24:46][pid:645][RTC][ERROR]stime OK, 231886 s!
------------------enter init_isp_frontc_lib-------------
[ISP_FRONTC]util_init_setting_params_frontc dev_type = 0x22a01
[ISP_FRONTC]chan = 0, sensor id = 0x2f
[ISP_FRONTC]compare ok
[ISP_FRONTC]chan = 1, sensor id = 0x0
[ISP_FRONTC]chan:1: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 2, sensor id = 0x0
[ISP_FRONTC]chan:2: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 3, sensor id = 0x0
[ISP_FRONTC]chan:3: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 4, sensor id = 0x0
[ISP_FRONTC]chan:4: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 5, sensor id = 0x0
[ISP_FRONTC]chan:5: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 6, sensor id = 0x0
[ISP_FRONTC]chan:6: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 7, sensor id = 0x0
[ISP_FRONTC]chan:7: The sensor_id 0x0 not support !!
[ISP_FRONTC]chan = 0, w = 3840 h = 2160 frames = 0
[ISP_FRONTC]chan = 0, w = 3072 h = 2048 frames = 0
[ISP_FRONTC]chan = 0, w = 3072 h = 1728 frames = 0
[ISP_FRONT][DEBUG]#######################################
[ISP_FRONT][DEBUG]LIB_DESCRIPTION: ISP_SETTING
[ISP_FRONT][DEBUG]LIB_VERSION: 4.0.0
[ISP_FRONT][DEBUG]LIB SVN: 510700
[ISP_FRONT][DEBUG]LIB_MAKE_TIME: build2019/03/15-13:52:19
[ISP_FRONT][DEBUG]#######################################
------------------exit init_isp_frontc_lib-------------
#############################################################################
[01-03 16:24:46][pid:645][SENSOR][ERROR]dev not support ezoomlens, del libzoomcam.so !
[01-03 16:24:46][pid:645][SYSINIT][ERROR]ipzoom_cam_lib_init ret = 0
#############################################################################
go to dsp
[armlib]init_dsp_lib 217:armlib build at 22:23:23--Jun 26 2019  111111111
[armlib]init_dsp_lib 232:shmKey 1678641023 shareBufSize 807196
[armlib]init_dsp_lib 246:shmKey = 65538, DSPINITPARA share size = 807196, addr 0x75a3a000
[armlib]init_dsp_lib 250:g_pMpp_cfg addr 0x75afed1c
insertSemIdMap userId 0x6f, semId 0x10002 !!!
insertSemIdMap userId 0x70, semId 0x18003 !!!
[armlib]init_dsp_lib 273:init_dsp_lib  ok!!!!!
[01-03 16:24:46][pid:645][DSP][ERROR]g_pdsp 0x75a3a000 ,sizeof 806172
[armlib]set_dsp_machineType 1144:############  set_dsp_machineType !!! machineType=1  g_pMpp_cfg=0x75afed1c ###############
[armlib]set_dsp_machineType 1202:set_dsp_machineType ok!!!
[ISP_FRONTC]frontc_lib_get_max_vin[in] chan = 0, w = 3840, h = 2160, sensor id = 0x2f
[ISP_FRONTC]frontc_lib_get_max_vin[out] chan = 0, w = 3840, h = 2160
[ISP_FRONTC]frontc_lib_get_max_vin[in] chan = 0, w = 3840, h = 2160, sensor id = 0x2f
[ISP_FRONTC]frontc_lib_get_max_vin[out] chan = 0, w = 3840, h = 2160
app->dsp mem allocation width:3840, height:2160
-----[init_video_param]---chan:1,sensor_type:47
g_pdsp->VideoInitParam.conectMode 1  g_pdsp->VideoInitParam.sensor_type 47
 [01-03 16:24:46][pid:645][DSP][ERROR][0]g_pdsp->audioTBShare.frameLen=160, g_pdsp->audioTBShare.totalFrame=64..
[01-03 16:24:46][pid:645][DSP][ERROR]stream_max_id=2
[01-03 16:24:46][pid:645][DSP][ERROR]g_pdsp->encChanCnt=2
[01-03 16:24:46][pid:645][DSP][ERROR]g_pdsp->viType=47
[01-03 16:24:46][pid:645][DSP][ERROR]###hardware_capa.videoout_type = 0, g_pdsp->vgaParam = 0x       0
[01-03 16:24:46][pid:645][DSP][ERROR]g_pdsp->machineType = 1
[01-03 16:24:46][pid:645][DSP][ERROR]set memory size to dsp: 512MB
[01-03 16:24:46][pid:645][DSP][ERROR]set hw-type to dsp, hw_type = 2(3),
[01-03 16:24:46][pid:645][UNI_IF][ERROR]get ENC_NUM failed or not support ThrStream:2.
[01-03 16:24:46][pid:645][UNI_IF][ERROR]smart_codec_support              :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]svc_support                      :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]thrStream_support                :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]ts_support                       :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]factoryMode_support              :0

[01-03 16:24:46][pid:645][UNI_IF][ERROR]audio_support            [   15.902861] card->dai_link[0].name = rt5616
        :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]audio_talk_support               :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]echo_cancellation_support    [   15.921188] card->dai_link[0].stream_name = rt5616 PCM
    :0

[01-03 16:24:46][pid:[   15.929361] rt5616 module init
645][UNI_IF][ERROR](IPC)logo_sup[   15.935035] card->dai_link[0].codec_dai_name = rt5616-aifi
port                :0
[01-03 16:24:46][pid:64[   15.944490] Codec driver version 0.1.3 alsa 1.0.24
5][UNI_IF][ERROR](IPD)red_support                 :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR](IPD)privacymask_support         :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]digital_zoom_support             :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]rotate_support                   :1

[01-03 16:24:46][pid:645][UNI_IF][ERROR]face_detect_capa_support         :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]upload_center_picture            :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]face_snap_support                :0

[01-03 16:24:46][pid:645][UNI_IF][ERROR]vehicle_detection_support        :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]hvt_vehicle_detection_support    :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]tfs_support                      :0

[01-03 16:24:46][pid:645][UNI_IF][ERROR]smd_support                      :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]smd_upload_center_picture)       :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR](ivs_vca_behavior_support)       :0

[01-03 16:24:46][pid:645][CAPA][ERROR]Get capa error, the type is [0], the pData is NULL .
[01-03 16:24:46][pid:645][UNI_IF][ERROR]voice_change_support             :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]people_detection_support         :0

[01-03 16:24:46][pid:645][UNI_IF][ERROR]heat_map_support                 :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR]pdc_smart_support                :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR](R3)pdc_vca_support              :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR](IPC)defocus_capa_support        :0
[01-03 16:24:46][pid:645][UNI_IF][ERROR](IPC)scene_change_capa_support   :1
[01-03 16:24:46][pid:645][UNI_IF][ERROR]is_support_qr                    :0

[01-03 [   16.099201] create rt5616 debug.
16:24:46][pid:64[   16.103138] AMBARELLA SoC Audio DUMMY Codec
5][UNI_IF][ERROR]b_app_set_dsp_a[   16.110155] snd_soc_card_amba sound.6:  rt5616-aifi <-> e001a000.i2s mapping ok
bility_all_ready[   16.119532] snd_soc_card_amba sound.6:  AMBARELLA_DUMMY_CODEC <-> e001a000.i2s mapping ok
  :1
[01-03 16:24:46][pid:645][DSP][[   16.130174] snd_soc_card_amba sound.6: ASoC: no sink widget found for IN1
ERROR]hwif_dsp_init:local_video_support = 1
[01-03 16:24:46][pid:645][HW_IF][ERROR]<read_fixed_noise_info_from_flash> (CFG_MAGIC != read.magicNumber(ebffaaa8)
[01-03 16:24:46][pid:645][DSP][ERROR]DSP i[   16.154736] snd_soc_card_amba sound.6: ASoC: Failed to add route Mic internal -> direct -> IN1
nit mirror start[   16.164650] #####1 debug usr_buf_cached is [0]
...
call frontc[   16.170380] snd_soc_card_amba sound.6: ASoC: no sink widget found for IN2
_lib_get_sensor_init_vi!!!!
[ISP_FRONTC]frontc_lib_get_sensor_init_vi cap_mode is normal(1)
[ISP_FRONT][DEBUG][   16.186927] snd_soc_card_amba sound.6: ASoC: Failed to add route Mic internal -> direct -> IN2
util_trans_senso[   16.196803] snd_soc_card_amba sound.6: ASoC: no sink widget found for IN3
r_original_size_frontc[0] 3840*2160@20fps viStandard = 2
[01-03 16:24:46][pid:645][UNI_IF][ERROR]json_object_get can't find device, key:3840*2160@20fps, devtyp[   16.217512] snd_soc_card_amba sound.6: ASoC: Failed to add route Mic external -> direct -> IN3
e:0x22a01.
[ISP[   16.227424] snd_soc_card_amba sound.6: ASoC: no sink widget found for IN4
_FRONTC]frontc_l[   16.235528] snd_soc_card_amba sound.6: ASoC: Failed to add route Mic external -> direct -> IN4
ib_get_sensor_init_vi c[   16.246467] snd_soc_card_amba sound.6: ASoC: no source widget found for Line Out1
ap isp_original_[   16.254974] snd_soc_card_amba sound.6: ASoC: Failed to add route Line Out1 -> direct -> Speaker
viW = 3840 isp_o[   16.265041] snd_soc_card_amba sound.6: ASoC: no source widget found for Line Out2
riginal_viH = 21[   16.273849] snd_soc_card_amba sound.6: ASoC: Failed to add route Line Out2 -> direct -> Speaker
60
[ISP_FRONTC]frontc_lib_get_sensor_init_vi cap image_viW = 3840 image_viH = 2160
[ISP_FRONTC]frontc_lib_get_sensor_init_vi cap hdr_mode = 0 frame_rate = 5120 capture_mode_type =0 viStandard = 2 wdr_status = 0
dspcapbility  bSmart264 0
 MA 0  hwResType 2

 g_pdsp->dsp_common_ability.ldc_support = 1
g_pdsp->streamShareBuf.len = 0; g_pdsp->viChanCnt1
[01-03 16:24:46][pid:645][DSP][ERROR]osd_lang_type=0, osd_lang_size=1
[armlib]start_dsp 157:start_dsp first do stop_dsp....
[armlib]start_dsp 169:start hikdsp &
########## hikdsp  build at 22:23:47--Jun 26 2019 ############
############  chipType          =    3  #############
############  dspMemSize        =  512  #############
############  machineType       =    1  #############
############  encChanCnt        =    2  #############
############  bSmart264         =    0  #############
############  countryID         =    1  #############
############  viChanCnt         =    1  #############
############  bHaveVga      =    0  #############
############  bHaveVo       =    0  #############
############  smart_codec       =    0  #############
############  is_support_MA     =    0  #############
############  subStream         =    1  #############
############  thrStream         =    0  #############
############  factoryMode       =    0  #############
############  audio_support     =    1  #############
############  audio_talk        =    1  #############
############  logo_support      =    0  #############
############  red_support       =    0  #############
############  privacymask       =    0  #############
############  digital_zoom      =    0  #############
############  face_detect       =    1  #############
############  smd_support       =    1  #############
############  hms_support       =    0  #############
############  scene_change      =    1  #############
############  slf_support       =    0  #############
############  ldc_support       =    1  #############
############  local_video_sp=    1  #############
############  viStandard    =    2  #############
############  image_viW     = 3840  #############
############  image_viH     = 2160  #############
############  frame_rate    = 5120  #############
############  sensor_type   =   47  #############
############  mirror_type   =    0  #############
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=5  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[ISP] isp_aaa_share_buf addr = 0x0x75927118
AllocMemTab: space=0, size=2056, align=128
AllocMemTab: space=0, size=556320, align=128
(null)
[HAL_BSP][675][hal_hikio_init]:hal_bsp(503940) init success!
[HAL_BSP][675][hal_hikio_init]:hal_bsp version is [2.0.0]
hikio = 2
[ISP] remove cfg files success!
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=7  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=7  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[   19.524458] #####1 debug usr_buf_cached is [0]
[ISP] is_yuv_sensor type = 5
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=8  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=8  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

pcc_param->array_x_max:427 min:98
pcc_param->array_x_max:427 min:98


 sensor_id = 27

long_limit:13688 type:0
expose_line:13688 code:295 time:[   21.635225] #####1 debug usr_buf_cached is [0]
50000
long_limit:[   21.640871] #####1 debug usr_buf_cached is [0]
13688 type:0
expose_line:13688 code:295 time:50000
[ISP] sensor_id: 0x3014
mount[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=15  <<<<<<<<<<<<<
starting pid 704, tty '': '-/bin/psh'
device open: No such file or directory
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param



BusyBox v1.19.3 (2019-09-09 11:02:10 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# mount[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=15  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_i[   23.647173] #####1 debug usr_buf_cached is [0]
mg_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail

rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=71736k,nr_inodes=17934,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/ubi5_0 on /dav_web type ubifs (rw,relatime)
# [armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

ls -al /proc[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<

dr-xr-xr-x   66 admin    root             0 Jan  1 00:00 .
drwxr-xr-x   22 admin    root             0 Jan  3 16:24 ..
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 1
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 10
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 11
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 12
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 13
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 14
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 2
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 276
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 29
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 3
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 30
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 31
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 32
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 326
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 33
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 331
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 335
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 34
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 340
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 345
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 35
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 350
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 36
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 360
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 363
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 37
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 385
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 4
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 404
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 418
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 5
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 52
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 55
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 6
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 612
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 617
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 62
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 622
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 624
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 627
dr-xr-xr-x    7 admin    root             0 Jan  3 16:24 628
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 645
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 650
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 675
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 682
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 7
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 704
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 705
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 707
dr-xr-xr-x    7 admin    root             0 Jan  3 16:24 73
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 8
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 9
-r--r--r--    1 admin    root             0 Jan  3 16:25 amb0fb
dr-xr-xr-x    2 admin    root             0 Jan  3 16:24 ambarella
-r--------    1 admin    root             0 Jan  3 16:25 amkmsg
dr-xr-xr-x    3 admin    root             0 Jan  3 16:25 asound
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

-r--r--r--    1 admin    root             0 Jan  3 16:25 buddyinfo
dr-xr-xr-x    4 admin    root             0 Jan  3 16:24 bus
-r--r--r--    1 admin    root             0 Jan  3 16:25 cmdline
-r--r--r--    1 admin    root             0 Jan  3 16:25 consoles
dr-xr-xr-x    2 admin    root             0 Jan  3 16:25 cpu
-r--r--r--    1 admin    root             0 Jan  3 16:25 cpuinfo
-r--r--r--    1 admin    root             0 Jan  3 16:25 crypto
dr-xr-xr-x    2 admin    root             0 Jan  3 16:25 debug
dr-xr-xr-x   24 admin    root             0 Jan  3 16:25 device-tree
-r--r--r--    1 admin    root             0 Jan  3 16:25 devices
-r--r--r--    1 admin    root             0 Jan  3 16:25 diskstats
dr-xr-xr-x    2 admin    root             0 Jan  3 16:25 driver
-r--r--r--    1 admin    root             0 Jan  3 16:25 execdomains
-r--r--r--    1 admin    root             0 Jan  3 16:25 fb
-r--r--r--    1 admin    root             0 Jan  3 16:25 filesystems
dr-xr-xr-x    7 admin    root             0 Jan  3 16:25 fs
-r--r--r--    1 admin    root             0 Jan  3 16:25 interrupts
-r--r--r--    1 admin    root             0 Jan  3 16:25 iomem
-r--r--r--    1 admin    root             0 Jan  3 16:25 ioports
dr-xr-xr-x  101 admin    root             0 Jan  3 16:25 irq
-r--r--r--    1 admin    root             0 Jan  3 16:25 kallsyms
-r--------    1 admin    root             0 Jan  3 16:25 kmsg
-r--------    1 admin    root             0 Jan  3 16:25 kpagecount
-r--------    1 admin    root             0 Jan  3 16:25 kpageflags
-r--r--r--    1 admin    root             0 Jan  3 16:25 loadavg
-r--r--r--    1 admin    root             0 Jan  3 16:25 locks
-r--r--r--    1 admin    root             0 Jan  3 16:25 meminfo
-r--r--r--    1 admin    root             0 Jan  3 16:25 misc
-r--r--r--    1 admin    root             0 Jan  3 16:25 modules
lrwxrwxrwx    1 admin    root            11 Jan  3 16:25 mounts -> self/mounts
-r--r--r--    1 admin    root             0 Jan  3 16:25 mtd
lrwxrwxrwx    1 admin    root             8 Jan  3 16:25 net -> self/net
-r--r--r--    1 admin    root             0 Jan  3 16:25 pagetypeinfo
-r--r--r--    1 admin    root             0 Jan  3 16:25 partitions
lrwxrwxrwx    1 admin    root             0 Jan  1 00:00 self -> 707
-r--------    1 admin    root             0 Jan  3 16:25 slabinfo
-r--r--r--    1 admin    root             0 Jan  3 16:25 softirqs
-r--r--r--    1 admin    root             0 Jan  3 16:25 stat
-r--r--r--    1 admin    root             0 Jan  3 16:25 swaps
dr-xr-xr-x    1 admin    root             0 Jan  3 16:24 sys
--w-------    1 admin    root             0 Jan  3 16:25 sysrq-trigger
dr-xr-xr-x    2 admin    root             0 Jan  3 16:25 sysvipc
-r--r--r--    1 admin    root             0 Jan  3 16:25 timer_list
dr-xr-xr-x    4 admin    root             0 Jan  3 16:25 tty
-r--r--r--    1 admin    root             0 Jan  3 16:25 uptime
-r--r--r--    1 admin    root             0 Jan  3 16:25 version
-r--------    1 admin    root             0 Jan  3 16:25 vmallocinfo
-r--r--r--    1 admin    root             0 Jan  3 16:25 vmstat
-r--r--r--    1 admin    root             0 Jan  3 16:25 zoneinfo
# [armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
/bin/mount -t proc proc /procdavinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<

mount: mounting proc on /proc failed: Device or resource busy
# davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

mount[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail

rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=71736k,nr_inodes=17934,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/ubi5_0 on /dav_web type ubifs (rw,relatime)
# [armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[IK][Error]amba_img_dsp_3a_get_aaa_stat() 338 IAV_IOC_IMG_GET_STATISTICS
[ISP] amba_img_dsp_3a_get_aaa_stat fail
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>>  Start dsp core timeOut, bootInfo=16  <<<<<<<<<<<<<
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
 
Last edited:
At this point, it's only curiosity that drives me plus the unescapable thought that I may be very close to a solution. I haven't been asked to de-solder any surface mounted devices or perform a logic probe so, for the time being, I'm keeping up.
Good, so I'm not twisting your arm too much to exercise my own curiosity.

I'm perfectly willing to accept that it may be a hardware issue and destined for the trash but if not, I'm willing to investigate.
I have a feeling it may eventually come down to that.

The dbg = 8 value gives a nice increase in the detail of the log output.
And reveals an early suspicious looking error which is probably significant :
Code:
    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] get buf_platform error!
[    0.000000] get buf_platform error!get buf_platform error!
[    0.000000] get buf_platform error![    0.000000] Ambarella:   IAVMEM = 0x09800000[          ],0x16800000
[    0.000000] get buf_platform error!
[    0.000000] get buf_platform error![    0.000000] Ambarella:    FBMEM = 0x09800000[          ],0x00000000
[    0.000000] On node 0 totalpages: 38400
Right now I don't know what this implies, but it's at the point where values from the device-tree are listed.

But the root shell worked OK, if a bit clouded by the dsp timeout complaints.
And the commands issued confirmed that /proc/device-tree has been created - but I totally forgot to include the suggested command to list the device-tree contents, which was the original point of investigation.

So - just a short query this time.
Power up the camera as normal, it doesn't matter about changing the PC IP address.
When the bootup is mostly complete, when it's just the dsp timeout complaints :
Clear the PuTTY scrollback, press RETURN a couple of times to confirm the shell # prompt, and use
Code:
ls -al /proc/d*/a*
cat /proc/device-tree/hik_flash_type
cat /proc/device-tree/hik_flash_size
cat /proc/device-tree/hik_platform

which should list some of the device-tree contents and see if the complained-about values exist.
 
Here are the "cleaned up" results of the commands you requested. Hopefully it's not time for the trash bin yet.

Thanks again for your time so far.

Code:
ls -al /proc/d*/a*

/proc/device-tree/ahb@e0000000:
-r--r--r--    1 admin    root             4 Jan  4 21:39 #address-cells
-r--r--r--    1 admin    root             4 Jan  4 21:39 #size-cells
dr-xr-xr-x   17 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root            11 Jan  4 21:39 compatible
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 dma@e0005000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 ehci@e0018000
dr-xr-xr-x    3 admin    root             0 Jan  4 21:39 ethernet@e000e000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 i2s@e001a000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 interrupt-controller@e0003000
-r--r--r--    1 admin    root             4 Jan  4 21:39 name
dr-xr-xr-x   18 admin    root             0 Jan  4 21:39 nand@e0001000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 ohci@e0019000
-r--r--r--    1 admin    root             0 Jan  4 21:39 ranges
-r--r--r--    1 admin    root             8 Jan  4 21:39 reg
dr-xr-xr-x    3 admin    root             0 Jan  4 21:39 sdmmc0@e0002000
dr-xr-xr-x    3 admin    root             0 Jan  4 21:39 sdmmc2@e001f000
dr-xr-xr-x    3 admin    root             0 Jan  4 21:39 spi@e0020000
dr-xr-xr-x    4 admin    root             0 Jan  4 21:39 spi@e0021000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 spinand@e0031000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 spinor@e0031000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 uart@e0032000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 udc@e0006000

/proc/device-tree/alarm:
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root             8 Jan  4 21:39 alarm_in_pin
-r--r--r--    1 admin    root             6 Jan  4 21:39 name

/proc/device-tree/aliases:
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root            32 Jan  4 21:39 ethernet0
-r--r--r--    1 admin    root            27 Jan  4 21:39 i2c0
-r--r--r--    1 admin    root            27 Jan  4 21:39 i2c1
-r--r--r--    1 admin    root            27 Jan  4 21:39 i2c2
-r--r--r--    1 admin    root             4 Jan  4 21:39 mdio-gpio0
-r--r--r--    1 admin    root             8 Jan  4 21:39 name
-r--r--r--    1 admin    root            28 Jan  4 21:39 nand
-r--r--r--    1 admin    root            30 Jan  4 21:39 sd0
-r--r--r--    1 admin    root            30 Jan  4 21:39 sd2
-r--r--r--    1 admin    root            28 Jan  4 21:39 serial0
-r--r--r--    1 admin    root            28 Jan  4 21:39 serial1
-r--r--r--    1 admin    root            27 Jan  4 21:39 spi0
-r--r--r--    1 admin    root            27 Jan  4 21:39 spi1
-r--r--r--    1 admin    root            31 Jan  4 21:39 spinand
-r--r--r--    1 admin    root            30 Jan  4 21:39 spinor

/proc/device-tree/amba_lens:
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root            15 Jan  4 21:39 compatible
-r--r--r--    1 admin    root            36 Jan  4 21:39 interrupts
-r--r--r--    1 admin    root            10 Jan  4 21:39 name

/proc/device-tree/an41908a:
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root             4 Jan  4 21:39 an41908_spi
-r--r--r--    1 admin    root             4 Jan  4 21:39 cs_pin
-r--r--r--    1 admin    root             9 Jan  4 21:39 name
-r--r--r--    1 admin    root             4 Jan  4 21:39 rst_pin
-r--r--r--    1 admin    root             4 Jan  4 21:39 spi_bus_id
-r--r--r--    1 admin    root             4 Jan  4 21:39 spi_cs
-r--r--r--    1 admin    root             4 Jan  4 21:39 vd_pin

/proc/device-tree/apb@e8000000:
-r--r--r--    1 admin    root             4 Jan  4 21:39 #address-cells
-r--r--r--    1 admin    root             4 Jan  4 21:39 #size-cells
dr-xr-xr-x   14 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 adc@e801d000
-r--r--r--    1 admin    root            11 Jan  4 21:39 compatible
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 i2c@e8001000
dr-xr-xr-x    3 admin    root             0 Jan  4 21:39 i2c@e8003000
dr-xr-xr-x    8 admin    root             0 Jan  4 21:39 i2c@e8007000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 ir@e8006000
-r--r--r--    1 admin    root             4 Jan  4 21:39 name
dr-xr-xr-x   26 admin    root             0 Jan  4 21:39 pinctrl@e8009000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 pwm@e8008000
-r--r--r--    1 admin    root             0 Jan  4 21:39 ranges
-r--r--r--    1 admin    root             8 Jan  4 21:39 reg
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 rtc@e8015000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 timer@e800b064
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 timer@e800b074
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 uart@e8005000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 wdt@e800c000

/proc/device-tree/axi@f0000000:
-r--r--r--    1 admin    root             4 Jan  4 21:39 #address-cells
-r--r--r--    1 admin    root             4 Jan  4 21:39 #size-cells
dr-xr-xr-x    4 admin    root             0 Jan  4 21:39 .
dr-xr-xr-x   24 admin    root             0 Jan  4 21:39 ..
-r--r--r--    1 admin    root            11 Jan  4 21:39 compatible
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 crypto@f0020000
dr-xr-xr-x    2 admin    root             0 Jan  4 21:39 l2-cache@f0002000
-r--r--r--    1 admin    root             4 Jan  4 21:39 name
-r--r--r--    1 admin    root             0 Jan  4 21:39 ranges
-r--r--r--    1 admin    root             8 Jan  4 21:39 reg

cat /proc/device-tree/hik_flash_type
cat: can't open '/proc/device-tree/hik_flash_type': No such file or directory

cat /proc/device-tree/hik_flash_size
cat: can't open '/proc/device-tree/hik_flash_size': No such file or directory

cat /proc/device-tree/hik_platform
cat: can't open '/proc/device-tree/hik_platform': No such file or directory
 
Thanks for that.

After all the data that's been gathered, I think it's time for a re-cap.

"All 4 were seen by the SADPTool program and accessible through their web interface but one didn't display the cameras output.
I refreshed the firmware using the same version and the camera never responded after that."

The flex cables were checked and reseated, no change.

The serial console showed that the davinci program does not complete initiallisation as it waits forever for the dsp to be started by the kernel extension libdadsp.so.
[armlib]start_dsp 177:>>>>>>>>>>>>>>>>> Start dsp core timeOut, bootInfo=15 <<<<<<<<<<<<<

A study of the (extensive) console log shows some suspicious complaints linked to the device-tree structure.
But a listing of /proc/device-tree does show that it exists.
Code:
0.000000] get buf_platform error!
cat: can't open '/proc/device-tree/hik_flash_type': No such file or directory
cat: can't open '/proc/device-tree/hik_flash_size': No such file or directory
cat: can't open '/proc/device-tree/hik_platform': No such file or directory
Can't get platform, default platform is g1!
Can't get platform, default flash size is 128M!

So, what tentative diagnosis and fix can be deduced?

I'm leaning towards a hardware fault being the likely cause of the problem.
Maybe the dsp - the part of the SoC that encodes the imaging data and does video analytics - being broken or not working properly.

The complaints in the logs related to the device-tree data, the first from the kernel, others from the mount_app program, are valid in that there are missing definitions.
But they are not fatal, it seems to be careless coding, handled by the chosen defaults.
The device-tree data is valid enough, and almost identical to that from a DS-2CD2135FWD-I that I compared it to.
For anyone who is curious, this is what it looks like :
Code:
/dts-v1/;

/ {
    #address-cells = <0x1>;
    #size-cells = <0x1>;
    compatible = "ambarella,olive", "ambarella,s3l";
    interrupt-parent = <0x1>;
    model = "Ambarella S3L Olive Board";

    chosen {
        linux,stdout-path = "/apb@e8000000/uart@e8005000";
        ambarella,dram-reset-ctrl = <0x5>;
        bootargs = "console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/linuxrc video=amb0fb:720x480,720x960,2,0";
        ambarella,gpio-notify-mcu = <0x63>;
    };

    aliases {
        serial0 = "/apb@e8000000/uart@e8005000";
        serial1 = "/ahb@e0000000/uart@e0032000";
        nand = "/ahb@e0000000/nand@e0001000";
        spinand = "/ahb@e0000000/spinand@e0031000";
        spinor = "/ahb@e0000000/spinor@e0031000";
        sd0 = "/ahb@e0000000/sdmmc0@e0002000";
        sd2 = "/ahb@e0000000/sdmmc2@e001f000";
        i2c0 = "/apb@e8000000/i2c@e8003000";
        i2c1 = "/apb@e8000000/i2c@e8001000";
        i2c2 = "/apb@e8000000/i2c@e8007000";
        spi0 = "/ahb@e0000000/spi@e0020000";
        ethernet0 = "/ahb@e0000000/ethernet@e000e000";
    };

    memory {
        device_type = "memory";
        reg = <0x200000 0x7e00000>;
    };

    cpus {
        #address-cells = <0x1>;
        #size-cells = <0x0>;
        clock-latency = <0x186a0>;
        cpufreq_tbl = <0x5dc0 0x5dc0 0x1a5e0 0x7b0c0>;

        cpu@0 {
            device_type = "cpu";
            compatible = "arm,cortex-a9";
            reg = <0x0>;
        };
    };

    apb@e8000000 {
        compatible = "simple-bus";
        #address-cells = <0x1>;
        #size-cells = <0x1>;
        reg = <0xe8000000 0x1000000>;
        ranges;

        timer@e800b064 {
            compatible = "ambarella,clock-source";
            reg = <0xe800b064 0x10 0xe800b030 0x4>;
            interrupts = <0x6 0x1>;
            ctrl-offset = <0x18>;
        };

        timer@e800b074 {
            compatible = "ambarella,clock-event";
            reg = <0xe800b074 0x10 0xe800b030 0x4>;
            interrupts = <0x3f 0x1>;
            ctrl-offset = <0x1c>;
        };

        uart@e8005000 {
            compatible = "ambarella,uart";
            reg = <0xe8005000 0x1000>;
            interrupts = <0x3d 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x2>;
            status = "ok";
        };

        i2c@e8003000 {
            compatible = "ambarella,i2c";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe8003000 0x1000>;
            interrupts = <0x53 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x3>;
            clock-frequency = <0x186a0>;
            amb,i2c-class = <0x81>;
            amb,bulk-num = <0x3c>;
            status = "ok";

            ambvin0@01 {
                compatible = "ambarella,ambvin";
                reg = <0x1>;
            };

            it66121@4c {
                compatible = "it66121";
                reg = <0x4c>;
            };
        };

        i2c@e8001000 {
            compatible = "ambarella,i2c";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe8001000 0x1000>;
            interrupts = <0x52 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x4>;
            clock-frequency = <0x186a0>;
            amb,i2c-class = <0x8>;
            amb,bulk-num = <0x3c>;
            status = "ok";
        };

        i2c@e8007000 {
            compatible = "ambarella,i2c";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe8007000 0x1000>;
            interrupts = <0x51 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x5>;
            clock-frequency = <0x186a0>;
            amb,i2c-class = <0x81>;
            amb,bulk-num = <0x3c>;
            status = "ok";
            linux,phandle = <0x18>;
            phandle = <0x18>;

            sc16is752@48 {
                compatible = "iic2_uart_chip1";
                reg = <0x48>;
                irq_pin = <0x22>;
                linux,phandle = <0x17>;
                phandle = <0x17>;
            };

            pca9539@74 {
                compatible = "nxp,pca9539";
                reg = <0x74>;
                interrupt-parent = <0x6>;
                interrupts = <0x19 0x0>;
                gpio-controller;
                #gpio-cells = <0x2>;
                interrupt-controller;
                #interrupt-cells = <0x2>;
                linux,phandle = <0x13>;
                phandle = <0x13>;
            };

            codec@1b {
                compatible = "rt5616";
                reg = <0x1b>;
                gpios = <0x6 0x66 0x0>;
                linux,phandle = <0x15>;
                phandle = <0x15>;
            };
        };

        adc@e801d000 {
            compatible = "ambarella,adc";
            reg = <0xe801d000 0x1000>;
            interrupts = <0x39 0x4>;
            clock-frequency = <0x2dc6c0>;
        };

        ir@e8006000 {
            compatible = "ambarella,ir";
            reg = <0xe8006000 0x1000>;
            interrupts = <0x54 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x7>;
        };

        wdt@e800c000 {
            compatible = "ambarella,wdt";
            reg = <0xe800c000 0x1000>;
            timeout-sec = <0xf>;
        };

        rtc@e8015000 {
            compatible = "ambarella,rtc";
            reg = <0xe8015000 0x1000>;
            interrupts = <0x40 0x1>;
            rtc,wakeup;
        };

        pwm@e8008000 {
            compatible = "ambarella,pwm";
            reg = <0xe8008000 0x1000>;
            #pwm-cells = <0x3>;
        };

        pinctrl@e8009000 {
            compatible = "ambarella,pinctrl", "simple-bus";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe8009000 0x1000 0xe800a000 0x1000 0xe800e000 0x1000 0xe8010000 0x1000 0xe8016000 0x1000>;
            reg-names = "gpio0", "gpio1", "gpio2", "gpio3", "iomux";
            #gpio-range-cells = <0x3>;
            linux,phandle = <0x8>;
            phandle = <0x8>;

            gpio@0 {
                compatible = "ambarella,gpio";
                interrupts = <0x34 0x4 0x33 0x4 0x32 0x4 0x31 0x4>;
                gpio-controller;
                #gpio-cells = <0x2>;
                gpio-ranges = <0x8 0x0 0x0 0x80>;
                interrupt-controller;
                #interrupt-cells = <0x2>;
                linux,phandle = <0x6>;
                phandle = <0x6>;
            };

            uart0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1028 0x1029>;
                linux,phandle = <0x2>;
                phandle = <0x2>;
            };

            uart1@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x2001 0x2002>;
            };

            nand0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x2037 0x2038 0x2039 0x203e 0x203f 0x2040 0x2041 0x2042 0x2043 0x2044 0x2045 0x2046 0x2047 0x2048 0x2049>;
                linux,phandle = <0x9>;
                phandle = <0x9>;
            };

            spinor0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x3038 0x3039 0x303e 0x303f 0x3040 0x3041 0x3042 0x3043 0x3044 0x3045 0x3046 0x3047 0x3048>;
                linux,phandle = <0xa>;
                phandle = <0xa>;
            };

            sdmmc0@1 {
                reg = <0x1>;
                amb,pinmux-ids = <0x203a 0x203b 0x204a 0x204b 0x204c 0x204d>;
                linux,phandle = <0xe>;
                phandle = <0xe>;
            };

            sdmmc1@1 {
                reg = <0x1>;
                amb,pinmux-ids = <0x2052 0x2053 0x2054 0x2055 0x2056 0x2057>;
                linux,phandle = <0xf>;
                phandle = <0xf>;
            };

            eth0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x401a 0x401b 0x102f 0x1030 0x1031 0x1032 0x1033 0x1034 0x1035 0x1036>;
                linux,phandle = <0x10>;
                phandle = <0x10>;
            };

            i2c0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x101c 0x101d>;
                linux,phandle = <0x3>;
                phandle = <0x3>;
            };

            i2c1@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x101e 0x101f>;
                linux,phandle = <0x4>;
                phandle = <0x4>;
            };

            i2c2@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1020 0x1021>;
                linux,phandle = <0x5>;
                phandle = <0x5>;
            };

            ir0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1022>;
                linux,phandle = <0x7>;
                phandle = <0x7>;
            };

            i2s0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x102a 0x102b 0x102c 0x102d 0x102e>;
                linux,phandle = <0xb>;
                phandle = <0xb>;
            };

            uhc0@0 {
                reg = <0x0>;
                amb,pinmux-ids;
                linux,phandle = <0x12>;
                phandle = <0x12>;
            };

            pwm0@0 {
                reg = <0x2>;
                amb,pinmux-ids = <0x1078>;
                linux,phandle = <0x19>;
                phandle = <0x19>;
            };

            pwm1@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1005>;
                linux,phandle = <0x1a>;
                phandle = <0x1a>;
            };

            pwm2@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1006>;
            };

            pwm2@1 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1062>;
                linux,phandle = <0x1b>;
                phandle = <0x1b>;
            };

            pwm3@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x200f>;
            };

            spi0@0 {
                reg = <0x0>;
                amb,pinmux-ids = <0x1023 0x1024 0x1025>;
                linux,phandle = <0x11>;
                phandle = <0x11>;
            };
        };
    };

    ahb@e0000000 {
        compatible = "simple-bus";
        #address-cells = <0x1>;
        #size-cells = <0x1>;
        reg = <0xe0000000 0x1000000>;
        ranges;

        interrupt-controller@e0003000 {
            compatible = "ambarella,vic";
            interrupt-controller;
            #interrupt-cells = <0x2>;
            reg = <0xe0003000 0x1000 0xe0010000 0x1000 0xe001c000 0x1000>;
            linux,phandle = <0x1>;
            phandle = <0x1>;
        };

        dma@e0005000 {
            compatible = "ambarella,dma";
            reg = <0xe0005000 0x1000>;
            interrupts = <0x45 0x4>;
            #dma-cells = <0x2>;
            dma-channels = <0x8>;
            dma-requests = <0xc>;
            dma-trans-type = <0x1 0x1 0x0 0x0 0x1 0x1 0x1 0x1>;
            dma-channel-sel = <0x4 0x5 0x0 0x0 0x8 0x9 0xb 0xa>;
            amb,copy-align = <0x0>;
            amb,support-prs;
            linux,phandle = <0xc>;
            phandle = <0xc>;
        };

        nand@e0001000 {
            compatible = "ambarella,nand";
            #address-cells = <0x1>;
            #size-cells = <0x1>;
            reg = <0xe0001000 0x1000 0xe0012000 0x1000 0xe0000000 0x4>;
            interrupts = <0x48 0x4 0x49 0x4 0x46 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x9>;
            nand-on-flash-bbt;
            amb,enable-wp;
        };

        spinand@e0031000 {
            compatible = "ambarella,spinand";
            reg = <0xe0031000 0x2ff 0xe0005300 0x20>;
            pinctrl-names = "default";
            pinctrl-0 = <0xa>;
            status = "disabled";
        };

        spinor@e0031000 {
            compatible = "ambarella,spinor";
            reg = <0xe0031000 0x2ff 0xe0005300 0x20>;
            pinctrl-names = "default";
            pinctrl-0 = <0xa>;
            status = "disabled";
        };

        uart@e0032000 {
            compatible = "ambarella,uart";
            reg = <0xe0032000 0x1000>;
            interrupts = <0x50 0x4>;
            pinctrl-names = "default";
            status = "ok";
            amb,msr-used;
            amb,txdma-used;
            amb,rxdma-used;
        };

        i2s@e001a000 {
            compatible = "ambarella,i2s";
            reg = <0xe001a000 0x1000>;
            pinctrl-names = "default";
            pinctrl-0 = <0xb>;
            amb,i2s-channels = <0x2>;
            amb,default-mclk = <0xbb8000>;
            dmas = <0xc 0x5 0x1 0xc 0x4 0x1>;
            dma-names = "tx", "rx";
            linux,phandle = <0x14>;
            phandle = <0x14>;
        };

        udc@e0006000 {
            compatible = "ambarella,udc";
            reg = <0xe0006000 0x2000 0xec1702cc 0x4>;
            interrupts = <0x44 0x4>;
            amb,usbphy = <0xd>;
        };

        ehci@e0018000 {
            compatible = "ambarella,ehci";
            reg = <0xe0018000 0x1000>;
            interrupts = <0x42 0x4>;
            amb,usbphy = <0xd>;
        };

        ohci@e0019000 {
            compatible = "ambarella,ohci";
            reg = <0xe0019000 0x1000>;
            interrupts = <0x43 0x4>;
            amb,usbphy = <0xd>;
        };

        sdmmc0@e0002000 {
            compatible = "ambarella,sdmmc";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe0002000 0x1000 0xe0001000 0x80>;
            interrupts = <0x4b 0x4>;
            amb,clk-name = "gclk_sd";
            amb,wait-tmo = <0x2710>;
            amb,switch-vol-tmo = <0x64>;
            amb,max-blk-size = <0x20000>;
            amb,soft-phy;
            amb,phy-timing = <0x1f 0x0 0x0 0x60 0x8208200 0x1c82082 0x80 0x10410400 0x2504104>;
            pinctrl-names = "default";
            pinctrl-0 = <0xe>;

            slot@0 {
                reg = <0x0>;
                global-id = <0x0>;
                max-frequency = <0x17d7840>;
                bus-width = <0x4>;
                amb,caps-adma;
                cap-sdio-irq;
                v18-gpios = <0x6 0x0 0x0>;
                no-1-8-v = <0x1>;
                cd-gpios = <0x6 0x3c 0x0>;
                amb,fixed-wp = <0x0>;
            };
        };

        sdmmc2@e001f000 {
            compatible = "ambarella,sdmmc";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe001f000 0x1000 0xe0001000 0x80>;
            interrupts = <0x4a 0x4>;
            amb,clk-name = "gclk_sdxc";
            amb,wait-tmo = <0x2710>;
            amb,switch-vol-tmo = <0x64>;
            amb,max-blk-size = <0x20000>;
            amb,soft-phy;
            amb,phy-timing = <0x7 0x0 0x0 0x78 0x10410400 0x904104 0x80 0x38e38e00 0x238e38e>;
            pinctrl-names = "default";
            pinctrl-0 = <0xf>;

            slot@0 {
                reg = <0x0>;
                global-id = <0x1>;
                max-frequency = <0x2faf080>;
                bus-width = <0x4>;
                amb,caps-adma;
                cap-sdio-irq;
                no-1-8-v;
                amb,fixed-wp = <0x0>;
                cd-gpios = <0x6 0x75 0x0>;
            };
        };

        ethernet@e000e000 {
            compatible = "ambarella,eth";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe000e000 0x2000>;
            interrupts = <0x41 0x4>;
            amb,tx-ring-size = <0x20>;
            amb,rx-ring-size = <0x40>;
            amb,ipc-tx;
            amb,ipc-rx;
            pinctrl-names = "default";
            pinctrl-0 = <0x10>;

            phy@0 {
                rst-gpios = <0x6 0x19 0x0>;
                amb,clk-src = <0x1>;
                amb,clk-invert;
                amb,clk-dir;
            };
        };

        spi@e0020000 {
            compatible = "ambarella,spi";
            #address-cells = <0x1>;
            #size-cells = <0x0>;
            reg = <0xe0020000 0x1000>;
            interrupts = <0x4e 0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <0x11>;
            amb,clk-freq = <0x337f980>;
            dmas = <0xc 0x0 0x1 0xc 0x1 0x1>;
            dma-names = "tx", "rx";
        };
    };

    axi@f0000000 {
        compatible = "simple-bus";
        #address-cells = <0x1>;
        #size-cells = <0x1>;
        reg = <0xf0000000 0x30000>;
        ranges;

        crypto@f0020000 {
            compatible = "ambarella,crypto";
            reg = <0xf0020000 0x8000>;
            interrupts = <0x1e 0x1 0x1d 0x1 0x1c 0x1 0x1f 0x1>;
            interrupt-names = "aes-irq", "des-irq", "md5-irq", "sha1-irq";
            amb,cap-md5-sha1;
            amb,data-swap;
            amb,reg-64bit;
        };
    };

    rct@ec170000 {
        compatible = "simple-bus";
        #address-cells = <0x1>;
        #size-cells = <0x1>;
        reg = <0xec170000 0x1000>;
        ranges;

        usbphy@ec170050 {
            compatible = "ambarella,usbphy";
            reg = <0xec170050 0x4 0xe001b00c 0x4 0xec1702c0 0x4>;
            amb,host-phy-num = <0x1>;
            amb,owner-mask;
            amb,owner-invert;
            amb,ocp-polarity = <0x0>;
            pinctrl-names = "default";
            pinctrl-0 = <0x12>;
            id-gpios = <0x13 0x3 0x0>;
            md-gpios = <0x13 0x4 0x1>;
            linux,phandle = <0xd>;
            phandle = <0xd>;
        };
    };

    iav {
        compatible = "ambarella,iav";

        vinc0 {
            vinrst-gpios = <0x6 0x27 0x0>;
        };
    };

    bogus_bus {
        compatible = "simple-bus";
        #address-cells = <0x1>;
        #size-cells = <0x0>;

        codec@0 {
            compatible = "ambarella,dummycodec";
            linux,phandle = <0x16>;
            phandle = <0x16>;
        };
    };

    sound {
        compatible = "ambarella,audio-board";
        amb,model = "rt5616 @ Ambarella";
        amb,i2s-controllers = <0x14>;
        amb,audio-codec = <0x15>;
        amb,dummy-codec = <0x16>;
        amb,dai_fmt = <0x0>;
        amb,dummy_dai_fmt = <0x4>;
        amb,clk_fmt = <0x1>;
        amb,codec-name = "rt5616";
        amb,stream-name = "rt5616 PCM";
        amb,codec-dai-name = "rt5616-aifi";
        amb,audio-routing = "LIN2", "Mic Bias", "RIN2", "Mic Bias", "Mic Bias", "Mic internal", "LIN3", "Line In", "RIN3", "Line In", "Line Out", "SPKLO", "Line Out", "SPKLO", "HP Jack", "HPR", "HP Jack", "HPL", "Speaker", "SPKLO", "Speaker", "SPKLO";
    };

    iic2_uart {
        iic2_uart_chip1 = <0x17>;
    };

    misc_ctr_pin {
        rst_pin = <0x65>;
        usb_power_pin = <0x77>;
        mmc0_power_pin = <0x69>;
        mmc1_power_pin = <0x6c>;
        wifi_oob_pin = <0x74>;
    };

    bsp_version {
        bld_version = <0x132697a>;
        bd_version = <0x132697a>;
    };

    trspt_mode {
        transparent_mode = <0x0>;
        trspt_i2c = <0x18>;
    };

    alarm {
        alarm_in_pin = <0x3>;
    };

    hik_info {
        compatible = "hik_info";
        pinctrl-names = "default";
        pinctrl-0 = <0x19 0x1a 0x1b>;
    };
};
In any case - that idea is moot, as I tried applying the extracted mtd2ro to the DS-2CD2135FWD-I and found that the kernel in the firmware has been coded to prohibit any attempted writes to that partition. I tried nandwrite, flashcp, cat, flash_unlock - none would write to it.

That's a pity as it would have been nice to have provided a brick fix via the keyboard.
 
FYI on my G1 I get:

Code:
# ls /proc/device-tree/hik* -la
-r--r--r--    1 root     root             3 May 13 22:15 /proc/device-tree/hik_boot_size
-r--r--r--    1 root     root             4 May 13 22:15 /proc/device-tree/hik_chip_id
-r--r--r--    1 root     root             6 May 13 22:15 /proc/device-tree/hik_chip_name
-r--r--r--    1 root     root             4 May 13 22:15 /proc/device-tree/hik_dev_type
-r--r--r--    1 root     root             4 May 13 22:15 /proc/device-tree/hik_dram_size
-r--r--r--    1 root     root             5 May 13 22:15 /proc/device-tree/hik_flash_size
-r--r--r--    1 root     root             5 May 13 22:15 /proc/device-tree/hik_flash_type
-r--r--r--    1 root     root             3 May 13 22:15 /proc/device-tree/hik_platform

/proc/device-tree/hik_info:
dr-xr-xr-x    2 root     root             0 May 13 22:15 .
dr-xr-xr-x   24 root     root             0 May 13 22:14 ..
-r--r--r--    1 root     root             9 May 13 22:15 compatible
-r--r--r--    1 root     root             9 May 13 22:15 name
-r--r--r--    1 root     root            16 May 13 22:15 pinctrl-0
-r--r--r--    1 root     root             8 May 13 22:15 pinctrl-names

If the camera never booted OK (with picture) before or after firmware update, then it does sound like a hardware fault.

If you simply refreshed the firmware with the same version, and it booted to web interface before but not now that does seem a bit strange. Maybe related to a missing config db if TFTP was used (as it might wipe the config).

You could explore the hardware side of things if you are so minded, or try to debug hikdsp using tools like strace and/or decompiling it.

Or get a root shell on another one of your cameras and compare things like their device trree partition, dmesg output etc.

The mere fact the kernel errors immediately though before even looking at the filesystem and associated modules/daemons seems to suggest it's going to be hardware to me as long as the basics such as firmware version, bootargs, DTB are correct etc which sounds are though they are.

Though even if the DSP has a problem it's not obvious why there are not basic entries in the device-tree relating to flash size, hik_platform (g1) etc.
 
Last edited:
Yes, a comparison with the same model on the same firmware would put to bed some of the uncertainty about the missing device-tree values.
That was the area that first came to my mind as to a possible cause, but then seeing they weren't fatal errors diluted that idea.