The hiktools doesn't work with 2XX5 firmwares

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
Hi everyJust bought 3 piece DS-2CD2135F-IS, from the aliexpress store, http://pt.aliexpress.com/item/Hikvision-IP-Camera-DS-2CD2132F-IS-3MP-1-3-CMOS-Dome-Network-Infrared-CCTV-Audio-Camera/32237911962.htmlThe newest model of chinese version cameras, all chinese LOL. Thus i am looking ways to solve this problem. I used google firmware modified kit to unpack it, mission failed. I used Wzhick hiktools to unpack it, mission failed, it could not split. Anyone have any suggestion? The chinese firmware downloaded from hikvision chinese websitehttps://www.dropbox.com/s/fuhb3wideoj06in/digicap.dav?dl=0- - - Updated - - -https://www.dropbox.com/s/fuhb3wideoj06in/digicap.dav?dl=0
 
Last edited by a moderator:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
Yes indeed - that looks like a different format from those previously used.
Presumably Hikvision read this forum and have seen how successful the @wzhick has been in allowing firmware changes.
*edit* I never found that FMK did anything really useful, not a lot more helpful than using the 'file' command then using whatever tool for the suggested format.
 

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
FMK works with some hikvision firmware. I have just noticed that, the 4MP hikvision 2xxx cameras and H.265 2xx5 cameras has the new header of firmwares. Since hikvision firmware magic number has changed.
 

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
Seems the 5.3.X firmware header and format has changed. So it will very interesting to decode it. I think more people will be stucked by this LOL
 

Rick2015

n3wb
Joined
Jul 18, 2015
Messages
11
Reaction score
2
Hi all,

@Reme, it would be great if you could provide a short review of this camera (h.265 vs h.264, night vision with its improved sensitivity).

Is everything in chinese with the current firmware or only the video dates?

Thanks in advance,
Best regards
 
Last edited by a moderator:

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
Hi Rick2015
All the menu are chinese version, it can not get work with my H.265 77NVR, language mismatch.
 

Rick2015

n3wb
Joined
Jul 18, 2015
Messages
11
Reaction score
2
Hi Reme

Concerning the web interface in Chinese, maybe the following tip may help:

Source: http://www.cctvforum.com/viewtopic.php?f=19&t=40240&start=15

Using Chrome or similar browser with web developer console,

1. Go to the camera logon page.
2. Open the developer console. (In Chrome, hit F12 or Ctrl+Shift+J)
3. Type: chooseLanguage("en") and then hit enter. The language should automatically change to English.
4. Continue with the logon.

Concerning the "language mismatch" with the NVR, as you know, a flag may have to be changed in firmware.

What I'd try is to use "binwalk" on the firmware file to see if it can extract something and compare to some previous ds-2cd2132f firmware.

Do you know if the ds-2cd2135f is based on an ambarella SoC or something else (maybe Huawei/Hisilicon)?

So far, I haven't been able to find any information nor any announcement from HisVision concerning the ds-2cd2135f-i(w)s
model...
 

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
Hi Rick2015


# cat cpuinfo
Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 1695.53
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva id ivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5


Hardware : g0
Revision : 0000
Serial : 0000000000000000
 

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
I ssh into the ip camera, found there are 3 files in the DAV, initrun.sh _cfgUpgClass r7_app.tar.gz(which contents about 20files)
#!/bin/sh


ifconfig lo 127.0.0.1 netmask 255.255.255.0 &
ifconfig eth0 192.0.0.64 netmask 255.255.255.0 &


#上层应用起来之前先删掉默认网关
route del default


cd /dav/
tar -xzvf r7_app.tar.gz -C /home


chmod 777 /home/applib/libsqlite3.so
ln -s /home/applib/libsqlite3.so /lib/libsqlite3.so




chmod 777 /home/applib/libipc_unix.so
ln -s /home/applib/libipc_unix.so /lib/libipc_unix.so




chmod 777 /home/applib/libfsp_base.so
ln -s /home/applib/libfsp_base.so /lib/libfsp_base.so




chmod 777 /home/applib/libhikosip.so
ln -s /home/applib/libhikosip.so /lib/libhikosip.so


chmod 777 /home/applib/libcrypto.so
ln -s /home/applib/libcrypto.so /lib/libcrypto.so.1.0.0




cp /home/applib/libiconv_utf8Gbk.so /home/applib/libiconv.so.2
chmod 777 /home/applib/libiconv.so.2
ln -s /home/applib/libiconv.so.2 /lib/libiconv.so.2
rm /home/applib/libiconv_utf8Gbk.so


cd /home
mkdir /home/webLib
cp libdadsp.so /lib
cp libr7_isp.so /lib
rm -rf libdadsp.so
rm -rf libr7_isp.so


cp -rf execSystemCmd /bin/execSystemCmd
cp pppoed pppd pppoe /bin
cp -rf da_info /bin/da_info
rm -rf execSystemCmd
rm -rf da_info


#tar zxf gamma_table.tar.gz
#rm -rf gamma_table.tar.gz


tar zxf certs.tar.gz
rm -rf certs.tar.gz


tar zxf sound.tar.gz
rm -rf sound.tar.gz


tar zxf r7_isp_config.tar.gz
rm -rf r7_isp_config.tar.gz


tar zxf help.tar.gz -C /home/webLib
rm -rf help.tar.gz




mkdir /var/run
mkdir /var/run/wpa_supplicant


mount -t yaffs2 /dev/mtdblock9 /devinfo




#解压hisi指令




cd /bin
ln -s da_info getRtcpStatus
ln -s da_info setRtcpStatus
ln -s da_info setFtpService
ln -s da_info sdDataCheck
ln -s da_info getNetConnInfo
ln -s da_info getModuleVer
ln -s da_info getLensCurve
ln -s da_info prtLensCurve
ln -s da_info aflibDebug


#ISP 调试命令---by liyong
ln -s da_info getISP
ln -s da_info setISP
#光敏调试命令---by liyong
ln -s da_info setD2N
ln -s da_info setN2D
ln -s da_info gdbcfg
ln -s da_info upgcfg


#MCU调试命令
ln -s da_info mcu_learn
ln -s da_info mcu_debug


#QP
ln -s da_info setQP
ln -s da_info getQP


#加热 电风扇
ln -s da_info setFanMode
ln -s da_info setTempCtrlMode


#低延时
ln -s da_info setLowDelayMode
ln -s da_info getLowDelayMode


#视频7相关命令
ln -s /bin/da_info showKey
ln -s /bin/da_info showServer
ln -s /bin/da_info showUpnp
ln -s /bin/da_info showStatus
ln -s /bin/da_info showDefence
ln -s /bin/da_info setLBS
ln -s /bin/da_info setAlarm
ln -s /bin/da_info setUpgradeTime
ln -s /bin/da_info cloudService
ln -s /bin/da_info setWlan
ln -s /bin/da_info setSerial485Status
ln -s /bin/da_info getPreviewStatus
ln -s /bin/da_info getAlarmStatus
ln -s /bin/da_info setAppwebDebug


ln -s /bin/da_info getAppwebStatus


ln -s /bin/da_info testOneKey
ln -s /bin/da_info testOneKeyStart
ln -s /bin/da_info testDspFun


#球机命令
ln -s /bin/da_info camCmd
#t1
ln -s /home/t1 /bin/t1
cd /home
mkdir r7_module
tar -xzvf r7_modules.tgz -C r7_module
cp /home/r7_module/hikdrv/alarm.ko /home
cp /home/r7_module/hikdrv/event_notify.ko /home


#./load3516a -a -sensor imx185 -osmem 256 -umap6 -offline
cd /home
rm -rf r7_modules.tgz


echo 1 > /proc/sys/vm/dirty_ratio
echo 1 > /proc/sys/vm/dirty_background_ratio
#脏数据驻留内存时间, 单位:1/100秒
echo 100 > /proc/sys/vm/dirty_expire_centisecs
#pdflush进程运行间隔时间, 单位:1/100秒
echo 50 > /proc/sys/vm/dirty_writeback_centisecs
echo 4096 > /proc/sys/vm/min_free_kbytes


echo 1 > /proc/sys/vm/overcommit_memory #add by liyong---内存分配,不限制为物理内存大小,避免内存紧张分配不到
himm 0x200f0060 0x1
himm 0x200f0064 0x1
himm 0x200f0068 0x1
himm 0x200f006c 0x1
himm 0x200f0004 0x2
himm 0x200f006c 0x1
cd /home
chmod 777 *
chmod +x /bin/*
echo "Insmod ko start..."


#注意此有加载顺序不能混乱
insmod /home/r7_module/hikdrv/base.ko
insmod /home/r7_module/hikdrv/hikcomm.ko
insmod /home/r7_module/hikdrv/hi_sspi.ko
insmod /home/r7_module/hikdrv/dome_timer.ko
insmod /home/r7_module/hikdrv/motor.ko
insmod /home/r7_module/hikdrv/abf_trigger.ko
insmod /home/r7_module/hikdrv/event_notify.ko
insmod /home/r7_module/hikdrv/alarm.ko


#加载串口
insmod /home/r7_module/hikdrv/uart232.ko
echo "Insmod ko end..."


echo "Press Ctrl-C to stop ..."
chmod 777 /home/process/*
/bin/execSystemCmd &
sleep 1
/home/process/daemon_fsp_app &
sleep 2
/home/process/net_process &
/bin/pppoed &


sleep 2
echo "App Start ..."
tar zxf IEfile.tar.gz -C /home/webLib


echo "IEfile uncompressed."




#check_rs232 #通过读取配置文件,来判断是否生成/home/usage232文件,在透明通道模式下会生成


#if [ -f "/home/usage232" ]; then
# echo "davinic1 start"
# /home/process/davinci&
#else
# echo "davinic1 start"
# /home/process/davinci&
#fi
 

Rick2015

n3wb
Joined
Jul 18, 2015
Messages
11
Reaction score
2
@Reme
So, at least, it isn't Ambarella A5s which isn't ARMv7 (and doesn't encode h.265 anyway).

Does this cam has the four pins serial connector?

Maybe some "dmesg" output to get more infos on hardware?
 
Last edited by a moderator:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
Interesting ...
That's a big step up in terms of processor power. I wonder what the effect on power consumption is.
There may be some more interesting info with a 'cat /proc/kmsg' before looking at connecting to the serial console.
I'm surprised they haven't changed the shell to 'psh' Restrict Shell and shut off the ssh access. Presumably no telnet though.
 

Rick2015

n3wb
Joined
Jul 18, 2015
Messages
11
Reaction score
2
Last edited by a moderator:

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
i asked the aliexpress seller to send me the newest chinese firmware. There is an interesting things, both the 5.3.1 and 5.3.3 chinese can not be load on TFTP, the TFTP asked "resent require". The 5.3.3 firmware can load on IE.
 

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
# cat /proc/kmsg
<6>[ 0.000000] Booting Linux on physical CPU 0
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 3.4.35 (huangliangyf2@Cpl-Frt-BSP) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #1 Thu May 14 15:33:35 CST 2015
<4>[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
<4>[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: g0
<7>[ 0.000000] MISC TAGS: mdio_intf=mii phy_addr=3
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[ 0.000000] On node 0 totalpages: 26112
<7>[ 0.000000] free_area_init_node: node 0, pgdat c06e1a98, node_mem_map c0737000
<7>[ 0.000000] Normal zone: 204 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 25908 pages, LIFO batch:7
<7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[ 0.000000] pcpu-alloc: [0] 0
<4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25908
<5>[ 0.000000] Kernel command line: console=ttyAMA0,115200
<6>[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[ 0.000000] Memory: 102MB = 102MB total
<5>[ 0.000000] Memory: 96084k/96084k available, 8364k reserved, 0K highmem
<5>[ 0.000000] Virtual kernel memory layout:
<5>[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
<5>[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
<5>[ 0.000000] vmalloc : 0xc6800000 - 0xff000000 ( 904 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xc6600000 ( 102 MB)
<5>[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
<5>[ 0.000000] .text : 0xc0008000 - 0xc04fd000 (5076 kB)
<5>[ 0.000000] .init : 0xc04fd000 - 0xc06ab8f4 (1723 kB)
<5>[ 0.000000] .data : 0xc06ac000 - 0xc06e21c0 ( 217 kB)
<5>[ 0.000000] .bss : 0xc06e21e4 - 0xc0736ee0 ( 340 kB)
<6>[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[ 0.000000] NR_IRQS:128
<6>[ 0.000000] sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms
<6>[ 0.000000] Console: colour dummy device 80x30
<6>[ 0.000129] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
<6>[ 0.090076] pid_max: default: 32768 minimum: 301
<0>[ 1.548939] Card authentication succeeded
<6>[ 1.549095] Mount-cache hash table entries: 512
<6>[ 1.549658] Initializing cgroup subsys freezer
<6>[ 1.549759] CPU: Testing write buffer coherency: ok
<6>[ 1.549977] Setting up static identity map for 0x803cd7e0 - 0x803cd838
<6>[ 1.552416] dummy:
<6>[ 1.552834] NET: Registered protocol family 16
<6>[ 1.555388] Serial: AMBA PL011 UART driver
<6>[ 1.555487] uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2
<6>[ 1.555568] console [ttyAMA0] enabled
<6>[ 1.555937] uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2
<6>[ 1.556279] uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 42) is a PL011 rev2
<6>[ 1.579137] bio: create slab <bio-0> at 0
<6>[ 1.579933] gpiochip_add: registered GPIOs 0 to 127 on device: r7-gpio
<5>[ 1.581470] SCSI subsystem initialized
<5>[ 1.581490] hi_spi_init->776:
<5>[ 1.581500] compile time:May 14 2015 15:33:19
<5>[ 1.581720] hi_spi_init->784:
<5>[ 1.581730]
<5>[ 1.581738] hi_spi_set_platdata->160:
<5>[ 1.581746]
<5>[ 1.581754] hi_spi_set_platdata->160:
<5>[ 1.581762]
<5>[ 1.582026] hi_spi_probe->590:
<5>[ 1.582036]
<5>[ 1.582055] hi3516a_spi_hw_init_cfg->105:
<5>[ 1.582063]
<5>[ 1.582360] hi-spi-master hi-spi-master.0: with 1 chip select slaves attached
<5>[ 1.582646] hi_spi_probe->590:
<5>[ 1.582655]
<5>[ 1.582673] hi3516a_spi_hw_init_cfg->105:
<5>[ 1.582682]
<5>[ 1.582984] hi-spi-master hi-spi-master.1: with 3 chip select slaves attached
<6>[ 1.584008] usbcore: registered new interface driver usbfs
<6>[ 1.584443] usbcore: registered new interface driver hub
<6>[ 1.584702] usbcore: registered new device driver usb
<6>[ 1.587209] Switching to clocksource timer0
<6>[ 1.604813] NET: Registered protocol family 2
<6>[ 1.605075] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 1.605542] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>[ 1.605668] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 1.605741] TCP: Hash tables configured (established 4096 bind 4096)
<6>[ 1.605754] TCP: reno registered
<6>[ 1.605769] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 1.605798] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 1.606103] NET: Registered protocol family 1
<6>[ 1.606425] RPC: Registered named UNIX socket transport module.
<6>[ 1.606443] RPC: Registered udp transport module.
<6>[ 1.606454] RPC: Registered tcp transport module.
<6>[ 1.606464] RPC: Registered tcp NFSv4.1 backchannel transport module.
<4>[ 1.791268] mmc0 power register success!
<4>[ 1.791291] mmc1 power register success!
<5>[ 1.811685] VFS: Disk quotas dquot_6.5.2
<4>[ 1.812189] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<5>[ 1.813221] NFS: Registering the id_resolver key type
<6>[ 1.814386] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
<6>[ 1.815525] fuse init (API version 7.18)
<7>[ 1.817061] yaffs: yaffs built May 14 2015 15:32:51 Installing.
<6>[ 1.817123] msgmni has been set to 187
<6>[ 1.819430] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>[ 1.819454] io scheduler noop registered
<6>[ 1.819466] io scheduler deadline registered (default)
<6>[ 1.819524] io scheduler cfq registered
<6>[ 1.831476] brd: module loaded
<6>[ 1.837434] loop: module loaded
<6>[ 1.839425] Spi id table Version 1.22
<7>[ 1.839441] Hisfc350 Device Driver, Version 1.10
<5>[ 1.840086] Found Nand Flash Controller V610.
<4>[ 1.840725] Nand ID: 0x98 0xF1 0x80 0x15 0xF2 0x16 0x08 0x00
<4>[ 1.840751] #########[ECC] pagetype 2, ecctype 3
<4>[ 1.840781] Nand: Toshiba TC58BVG0S3HTA00
<4>[ 1.840793] Nand(HW-Auto): Block:128KB Page:2KB OOB:64B ECC:4bit/512 Chip:128MB*1
<5>[ 1.843533] Creating 13 MTD partitions on "hinand":
<5>[ 1.843560] 0x000000000000-0x000000100000 : "bld"
<5>[ 1.849496] 0x000000100000-0x000000180000 : "env"
<5>[ 1.853658] 0x000000180000-0x000000200000 : "enc"
<5>[ 1.857778] 0x000000200000-0x000000280000 : "sysflg"
<5>[ 1.861800] 0x000000280000-0x000000380000 : "dpt"
<5>[ 1.867460] 0x000000380000-0x000000b80000 : "sys0"
<5>[ 1.896464] 0x000000b80000-0x000001380000 : "sys1"
<5>[ 1.925485] 0x000001380000-0x000003980000 : "app0"
<5>[ 2.054248] 0x000003980000-0x000005f80000 : "app1"
<5>[ 2.182988] 0x000005f80000-0x000006380000 : "cfg0"
<5>[ 2.198204] 0x000006380000-0x000006780000 : "cfg1"
<5>[ 2.213863] 0x000006780000-0x000007780000 : "syslog"
<5>[ 2.269389] 0x000007780000-0x000008000000 : "resv"
<5>[ 2.300583] hi_spi_setup->427:
<5>[ 2.300596]
<5>[ 2.301140] hi_spi_setup->427:
<5>[ 2.301152]
<5>[ 2.301692] hi_spi_setup->427:
<5>[ 2.301704]
<5>[ 2.302215] hi_spi_setup->427:
<5>[ 2.302225]
<6>[ 2.302766] tun: Universal TUN/TAP device driver, 1.6
<6>[ 2.302780] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[ 2.303873] Higmac dma_sg_phy: 0x85ac0000
<6>[ 2.397158] higmac_mdio_bus: probed
<6>[ 2.398854] ETH0: mii, phy_addr=3, mii_name=mdio0
<6>[ 2.398871] PPP generic driver version 2.4.2
<6>[ 2.399396] PPP Deflate Compression module registered
<6>[ 2.404684] PPP MPPE Compression module registered
<6>[ 2.404706] NET: Registered protocol family 24
<6>[ 2.405186] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>[ 2.431103] hiusb-ehci hiusb-ehci.0: HIUSB EHCI
<6>[ 2.431201] hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
<6>[ 2.431311] hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000
<6>[ 2.450062] hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
<6>[ 2.451189] hub 1-0:1.0: USB hub found
<6>[ 2.451225] hub 1-0:1.0: 1 port detected
<6>[ 2.451980] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<6>[ 2.452319] hiusb-ohci hiusb-ohci.0: HIUSB OHCI
<6>[ 2.452382] hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
<6>[ 2.452430] hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000
<6>[ 2.515109] hub 2-0:1.0: USB hub found
<6>[ 2.515144] hub 2-0:1.0: 1 port detected
<6>[ 2.515895] Initializing USB Mass Storage driver...
<6>[ 2.516239] usbcore: registered new interface driver usb-storage
<6>[ 2.516255] USB Mass Storage support registered.
<6>[ 2.516824] mousedev: PS/2 mouse device common for all mice
<6>[ 2.550677] rtc rtc: rtc core: registered rtc as rtc0
<6>[ 2.551173] i2c /dev entries driver
<5>[ 2.552722] hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed!
<5>[ 2.553281] hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed!
<5>[ 2.553830] hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed!
<6>[ 2.554269] r7 watchdog driver v1.0. initial timeout 60 sec
<6>[ 2.556698] card disconnected!
<6>[ 2.558015] card disconnected!
<6>[ 2.559182] usbcore: registered new interface driver usbhid
<6>[ 2.559198] usbhid: USB HID core driver
<6>[ 2.559296] Netfilter messages via NETLINK v0.30.
<6>[ 2.559321] nfnl_acct: registering with nfnetlink.
<6>[ 2.559408] nf_conntrack version 0.5.0 (1501 buckets, 6004 max)
<6>[ 2.560971] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 2.561101] TCP: cubic registered
<6>[ 2.561113] Initializing XFRM netlink socket
<6>[ 2.563147] NET: Registered protocol family 10
<6>[ 2.564320] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 2.564401] IPv6 over IPv4 tunneling driver
<6>[ 2.566804] NET: Registered protocol family 17
<6>[ 2.566861] NET: Registered protocol family 15
<6>[ 2.566921] lib80211: common routines for IEEE802.11 drivers
<7>[ 2.566935] lib80211_crypt: registered algorithm 'NULL'
<5>[ 2.566948] Registering the dns_resolver key type
<6>[ 2.567072] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
<6>[ 2.568113] registered taskstats version 1
<6>[ 2.600094] rtc rtc: setting system clock to 2015-07-22 11:43:24 UTC (1437565404)
<6>[ 2.602983] Freeing init memory: 1720K
<6>[ 3.388288] yaffs: dev is 32505863 name is "mtdblock7" rw
<6>[ 3.388306] yaffs: passed flags ""
<7>[ 3.388320] yaffs: yaffs: Attempting MTD mount of 31.7,"mtdblock7"
<7>[ 3.388649] yaffs: checking block 0 bad
<7>[ 3.392627] yaffs: yaffs_read_super: is_checkpointed 1
<6>[ 3.435435] ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[ 5.410274] PHY: mdio0:03 - Link is Up - 100/Full
<6>[ 5.410402] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[ 7.400547] yaffs: dev is 32505865 name is "mtdblock9" rw
<6>[ 7.400565] yaffs: passed flags ""
<7>[ 7.400580] yaffs: yaffs: Attempting MTD mount of 31.9,"mtdblock9"
<7>[ 7.407454] yaffs: checking block 0 bad
<7>[ 7.407681] yaffs: block 1 is bad
<7>[ 7.407690] yaffs: checking block 1 bad
<7>[ 7.408330] yaffs: checking block 2 bad
<7>[ 7.408549] yaffs: block 3 is bad
<7>[ 7.408558] yaffs: checking block 3 bad
<7>[ 7.409195] yaffs: checking block 4 bad
<7>[ 7.409431] yaffs: block 5 is bad
<7>[ 7.409440] yaffs: checking block 5 bad
<7>[ 7.410279] yaffs: checking block 6 bad
<7>[ 7.410924] yaffs: checking block 7 bad
<7>[ 7.411562] yaffs: checking block 8 bad
<7>[ 7.412198] yaffs: checking block 9 bad
<7>[ 7.412834] yaffs: checking block 10 bad
<7>[ 7.413471] yaffs: checking block 11 bad
<7>[ 7.414107] yaffs: checking block 12 bad
<7>[ 7.414742] yaffs: checking block 13 bad
<7>[ 7.415378] yaffs: checking block 14 bad
<7>[ 7.416014] yaffs: checking block 15 bad
<7>[ 7.416649] yaffs: checking block 16 bad
<7>[ 7.417285] yaffs: checking block 17 bad
<7>[ 7.417921] yaffs: checking block 18 bad
<7>[ 7.418557] yaffs: checking block 19 bad
<7>[ 7.419193] yaffs: checking block 20 bad
<7>[ 7.419829] yaffs: checking block 21 bad
<7>[ 7.420490] yaffs: checking block 22 bad
<7>[ 7.421128] yaffs: checking block 23 bad
<7>[ 7.421765] yaffs: checking block 24 bad
<7>[ 7.422401] yaffs: checking block 25 bad
<7>[ 7.423036] yaffs: checking block 26 bad
<7>[ 7.423672] yaffs: checking block 27 bad
<7>[ 7.424308] yaffs: checking block 28 bad
<7>[ 7.424944] yaffs: checking block 29 bad
<7>[ 7.425579] yaffs: checking block 30 bad
<7>[ 7.426215] yaffs: checking block 31 bad
<7>[ 7.443570] yaffs: yaffs_read_super: is_checkpointed 0
<6>[ 8.160948] base module init version.
<4>[ 8.168121] hikcomm: module license 'Proprietary' taints kernel.
<4>[ 8.168148] Disabling lock debugging due to kernel taint
<4>[ 8.169388] RS485_CTRL MUXCTRL(32) FCN0 GPIO9_4 OUTPUT LOW_LEVEL
<4>[ 8.169418] RS485_RXD MUXCTRL(31) FCN1 NO_GPIO
<4>[ 8.169431] RS485_TXD MUXCTRL(33) FCN1 NO_GPIO
<4>[ 8.169444] RS485_2_RXD MUXCTRL(34) FCN1 NO_GPIO
<4>[ 8.169457] RS485_2_TXD MUXCTRL(35) FCN1 NO_GPIO
<4>[ 8.169470] SPI1_SCLK MUXCTRL(24) FCN1 NO_GPIO
<4>[ 8.169483] SPI1_MOSI MUXCTRL(25) FCN1 NO_GPIO
<4>[ 8.169496] SPI1_MISO MUXCTRL(26) FCN1 NO_GPIO
<4>[ 8.169509] SPI1_CSN0 MUXCTRL(27) FCN1 NO_GPIO
<4>[ 8.169522] SPI1_CSN1 MUXCTRL(1 ) FCN2 NO_GPIO
<4>[ 8.169535] SPI1_CSN2 MUXCTRL(2 ) FCN2 NO_GPIO
<4>[ 8.169548] I2C0_SDA MUXCTRL(21) FCN2 NO_GPIO
<4>[ 8.169561] I2C0_SCL MUXCTRL(20) FCN2 NO_GPIO
<4>[ 8.169574] I2C2_SDA MUXCTRL(28) FCN1 NO_GPIO
<4>[ 8.169587] I2C2_SCL MUXCTRL(29) FCN1 NO_GPIO
<4>[ 8.169600] IRIS_PWM MUXCTRL(55) FCN1 NO_GPIO
<4>[ 8.169613] ENCRYPT_CLK MUXCTRL(56) FCN1 NO_GPIO
<4>[ 8.169625] FAR_IR_PWM MUXCTRL(85) FCN0 NO_GPIO
<4>[ 8.169638] NEAR_IR_PWM MUXCTRL(86) FCN0 NO_GPIO
<4>[ 8.169651] ALARM_IN1 MUXCTRL(113) FCN0 GPIO12_6 INPUT LOW_LEVEL
<4>[ 8.169672] ALARM_OUT1 MUXCTRL(111) FCN0 GPIO12_4 OUTPUT LOW_LEVEL
<4>[ 8.169691] ALARM_IN2 MUXCTRL(112) FCN0 GPIO12_5 INPUT LOW_LEVEL
<4>[ 8.169710] ALARM_OUT2 MUXCTRL(110) FCN0 GPIO12_3 OUTPUT LOW_LEVEL
<4>[ 8.169729] IRCUT_1 MUXCTRL(116) FCN0 GPIO13_1 OUTPUT LOW_LEVEL
<4>[ 8.169748] IRCUT_2 MUXCTRL(115) FCN0 GPIO13_0 OUTPUT LOW_LEVEL
<4>[ 8.169767] IRCUT_FB MUXCTRL(105) FCN0 GPIO15_1 INPUT LOW_LEVEL
<4>[ 8.169786] ZOOM_FB MUXCTRL(119) FCN0 GPIO13_4 INPUT LOW_LEVEL
<4>[ 8.169805] FOCUS_FB MUXCTRL(118) FCN0 GPIO13_3 INPUT LOW_LEVEL
<4>[ 8.169823] ABF_FB MUXCTRL(107) FCN0 GPIO12_0 INPUT LOW_LEVEL
<4>[ 8.169842] MOTOR_RSTN MUXCTRL(104) FCN0 GPIO15_0 OUTPUT LOW_LEVEL
<4>[ 8.169872] MFOCUS MUXCTRL(120) FCN0 GPIO13_5 INPUT LOW_LEVEL
<4>[ 8.169891] IRIS_SET MUXCTRL(114) FCN0 GPIO12_7 OUTPUT LOW_LEVEL
<4>[ 8.169910] IR_PHOTO_FB MUXCTRL(87) FCN0 NO_GPIO
<4>[ 8.169923] TEMP_IN MUXCTRL(88) FCN0 NO_GPIO
<4>[ 8.169936] USB_PWREN MUXCTRL(43) FCN1 NO_GPIO
<4>[ 8.169949] USB_OVRCUR MUXCTRL(42) FCN1 NO_GPIO
<4>[ 8.169962] FTY_RST MUXCTRL(117) FCN0 GPIO13_2 INPUT LOW_LEVEL
<4>[ 8.169981] VD_OUT MUXCTRL(106) FCN0 GPIO15_2 OUTPUT LOW_LEVEL
<4>[ 8.170000] MCU_SWIM MUXCTRL(38) FCN0 GPIO10_2 OUTPUT HIGH_LEVEL
<4>[ 8.170019] MCU_PROG_RSTN MUXCTRL(39) FCN0 GPIO10_3 OUTPUT HIGH_LEVEL
<4>[ 8.170038] LED_CTRL1 MUXCTRL(109) FCN0 GPIO12_2 OUTPUT HIGH_LEVEL
<4>[ 8.170094] LED_CTRL2 MUXCTRL(108) FCN0 GPIO12_1 OUTPUT LOW_LEVEL
<4>[ 8.170114] SENSOR_CLK MUXCTRL(0 ) FCN1 NO_GPIO
<4>[ 8.170127] SENSOR_RST MUXCTRL(53) FCN0 GPIO0_0 OUTPUT HIGH_LEVEL
<4>[ 8.170146] PHY_RST MUXCTRL(54) FCN0 GPIO0_1 OUTPUT HIGH_LEVEL
<4>[ 8.170165] VO_CLK MUXCTRL(3 ) FCN1 NO_GPIO
<4>[ 8.170178] VO_DAT15 MUXCTRL(4 ) FCN1 NO_GPIO
<4>[ 8.170191] VO_DAT14 MUXCTRL(5 ) FCN1 NO_GPIO
<4>[ 8.170204] VO_DAT13 MUXCTRL(6 ) FCN1 NO_GPIO
<4>[ 8.170216] VO_DAT12 MUXCTRL(7 ) FCN1 NO_GPIO
<4>[ 8.170229] VO_DAT11 MUXCTRL(8 ) FCN1 NO_GPIO
<4>[ 8.170242] VO_DAT10 MUXCTRL(9 ) FCN1 NO_GPIO
<4>[ 8.170255] VO_DAT9 MUXCTRL(10) FCN1 NO_GPIO
<4>[ 8.170268] VO_DAT8 MUXCTRL(11) FCN1 NO_GPIO
<4>[ 8.170281] VO_DAT7 MUXCTRL(12) FCN1 NO_GPIO
<4>[ 8.170294] VO_DAT6 MUXCTRL(13) FCN1 NO_GPIO
<4>[ 8.170307] VO_DAT5 MUXCTRL(14) FCN1 NO_GPIO
<4>[ 8.170319] VO_DAT4 MUXCTRL(15) FCN1 NO_GPIO
<4>[ 8.170332] VO_DAT3 MUXCTRL(16) FCN1 NO_GPIO
<4>[ 8.170345] VO_DAT2 MUXCTRL(17) FCN1 NO_GPIO
<4>[ 8.170358] VO_DAT1 MUXCTRL(18) FCN1 NO_GPIO
<4>[ 8.170371] VO_DAT0 MUXCTRL(19) FCN1 NO_GPIO
<6>[ 8.186341] Successfully insmod dome_timer module!
<6>[ 8.196284] [motor_init]: insmod motor module successfully
<6>[ 8.213940] initialized demo_event
<6>[ 8.213958] initialized wps_event
<6>[ 8.213968] initialized alarm
<6>[ 8.213977] event_notify build May 14 2015 21:18:30
<6>[ 8.234497] cur support uart:
<6>[ 8.234515] uart1(rs485)
<6>[ 8.234524] uart2(rs232)
<6>[ 8.234532]
<6>[ 8.234539] uart1 cken enable!
<6>[ 8.234547] uart2 cken enable!
<6>[ 8.234840] Successfully insmod uart232 module!
<7>[ 15.520123] eth0: no IPv6 routers present
<6>[ 16.277198] Hisilicon Media Memory Zone Manager
<4>[ 16.285425] Module himedia: init ok
<4>[ 16.310927] load sys.ko for Hi3516A...OK!
<4>[ 16.329941] Load tde.ko ...OK!
<6>[ 16.339991] load region.ko ....OK!
<4>[ 16.358581] load vgs.ko for Hi3516A...OK!
<6>[ 16.375632] ISP Mod init!
<4>[ 16.389431] load viu.ko for Hi3516A...OK!
<6>[ 16.411013] load vpss.ko ....OK!
<6>[ 16.432767] load vou.ko ....OK!
<4>[ 16.454682] Load hifb.ko OK!
<4>[ 16.464658] load rc.ko for Hi3516A...OK!
<4>[ 16.480321] load venc.ko for Hi3516A...OK!
<4>[ 16.495323] load chnl.ko for Hi3516A...OK!
<4>[ 16.511770] load h264e.ko for Hi3516A...OK!
<4>[ 16.527418] load h265e.ko for Hi3516A...OK!
<4>[ 16.541400] load jpege.ko for Hi3516A...OK!
<6>[ 16.556491] load vda.ko ....OK!
<4>[ 16.567342] ive mod init success!
<4>[ 16.619950] acodec inited!
<1>[ 16.686937] mipi_init
<4>[ 16.700164] init phy power successful!
<4>[ 16.700190] load hi_mipi driver successful!
<6>[ 16.721519] regulator_cpu: 0 <--> 1 mV at 1 mV normal
<4>[ 16.750404] load pm.ko ok!.
<6>[ 17.320121] clk_set_rate rate=850
<4>[ 20.120224] ------------[ cut here ]------------
<4>[ 20.120261] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x60/0xb0()
<4>[ 20.120271] autorequest GPIO-114
<4>[ 20.120277] Modules linked in: hi3516a_pm(O) hi_mipi(O) hi3516a_adec(O) hi3516a_aenc(O) hi3516a_ao(O) hi3516a_ai(O) hi3516a_aio(O) acodec(O) hi_sensor_i2c(O) hi3516a_ive(O) hi3516a_vda(O) hi3516a_jpege(O) hi3516a_h265e(O) hi3516a_h264e(O) hi3516a_chnl(O) hi3516a_venc(O) hi3516a_rc(O) hifb(O) hi3516a_vou(O) hi3516a_vpss(O) hi3516a_viu(O) hi3516a_isp(O) hi3516a_vgs(O) hi3516a_region(O) hi3516a_tde(O) hi3516a_sys(O) hi3516a_base(O) hi_media(O) mmz(O) uart232(PO) alarm(PO) event_notify(PO) abf_trigger(PO) motor(PO) dome_timer(PO) hi_sspi(O) hikcomm(PO) base(O)
<4>[ 20.120383] Backtrace:
<4>[ 20.120405] [<c001295c>] (dump_backtrace+0x0/0x110) from [<c03c77f4>] (dump_stack+0x18/0x1c)
<4>[ 20.120417] r6:c01e2f14 r5:00000009 r4:c472de40 r3:c06bbf00
<4>[ 20.120443] [<c03c77dc>] (dump_stack+0x0/0x1c) from [<c00200e4>] (warn_slowpath_common+0x5c/0x6c)
<4>[ 20.120462] [<c0020088>] (warn_slowpath_common+0x0/0x6c) from [<c002012c>] (warn_slowpath_fmt+0x38/0x40)
<4>[ 20.120473] r8:00000072 r7:00000001 r6:00000072 r5:c072d2c0 r4:c072d250
<4>[ 20.120489] r3:00000009
<4>[ 20.120505] [<c00200f4>] (warn_slowpath_fmt+0x0/0x40) from [<c01e2f14>] (gpio_ensure_requested+0x60/0xb0)
<4>[ 20.120516] r3:00000072 r2:c04bdf8c
<4>[ 20.120534] [<c01e2eb4>] (gpio_ensure_requested+0x0/0xb0) from [<c01e30e4>] (gpio_direction_output+0x9c/0x10c)
<4>[ 20.120545] r6:c072d2c0 r5:c072d250 r4:40000013 r3:00000080
<4>[ 20.120582] [<c01e3048>] (gpio_direction_output+0x0/0x10c) from [<bf0000bc>] (hik_gpio_direction_output+0x10/0x14 [base])
<4>[ 20.120595] r8:c5b55750 r7:00000000 r6:c472c000 r5:bedb39a0 r4:40044702
<4>[ 20.120611] r3:40044702
<4>[ 20.120639] [<bf0000ac>] (hik_gpio_direction_output+0x0/0x14 [base]) from [<bf004cf0>] (hikio_ioctl+0xa78/0xb28 [hikcomm])
<4>[ 20.120668] [<bf004278>] (hikio_ioctl+0x0/0xb28 [hikcomm]) from [<c00ae3fc>] (do_vfs_ioctl+0x3d4/0x564)
<4>[ 20.120680] r7:c20feb00 r6:bedb39a0 r5:00000006 r4:00000006
<4>[ 20.120703] [<c00ae028>] (do_vfs_ioctl+0x0/0x564) from [<c00ae5c8>] (sys_ioctl+0x3c/0x68)
<4>[ 20.120722] [<c00ae58c>] (sys_ioctl+0x0/0x68) from [<c000eac0>] (ret_fast_syscall+0x0/0x30)
<4>[ 20.120732] r7:00000036 r6:00000006 r5:bedb39a0 r4:40044702
<4>[ 20.120748] ---[ end trace f0042cc0af310f61 ]---
<6>[ 26.604989] event 3 bind pid 1210
 

Rick2015

n3wb
Joined
Jul 18, 2015
Messages
11
Reaction score
2
@Reme
How do you add the camera into your NVR? Did you try with ONVIF protocol instead of HIKVISION?
 
Last edited by a moderator:

luanshen

n3wb
Joined
Jul 10, 2015
Messages
14
Reaction score
0
@Rick2015, I'm at one end of the same problem, DS-2CD2135F-IS only in Chinese, can say how to obtain interface in English ?
 
Last edited by a moderator:

Reme

n3wb
Joined
Jun 24, 2015
Messages
29
Reaction score
3
I am working on the firmware and search help from members in the forum. After finding the solution, i will share the firmware in the forum and cam-it forum like others did.
 
Top