DS-2CD2012-I TFTP Failing

wheezy

n3wb
Joined
Sep 22, 2015
Messages
6
Reaction score
0
I have a Trendnet IP-320PI that came with their 5.1.6 firmware that seems to just be a re-branded DS-2CD2012-I. But when i try to flash the Hikvision firmware it just fails. I've also tried using TFTP in order to flash it but it also fails. Any ideas?

 

Attachments

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,965
Reaction score
6,794
Location
Scotland
Well that's a fair selection! For the 2xx2 series?
I can only assume that the model number check that's done at the beginning of the upgrade process is objecting to the model in the firmware header - that's certainly a possibility.
I think that level of detail of the update process is only shown in the serial console - but it may be worth a check of the kernel log via telnet/SSH to see if there are any clues in there:
cat /proc/kmsg
 

wheezy

n3wb
Joined
Sep 22, 2015
Messages
6
Reaction score
0
Yes this is for the 2xx2 series of cameras. Here's the log.
Code:
localhost login: rootPassword:




BusyBox v1.19.3 (2014-08-01 10:54:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


# dmesg
Linux version 3.0.8 (yanxingchao@ipcteam2) #1 Fri Aug 1 10:56:55 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: r2
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 200000000.
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c05d54fc, node_mem_map c05f3000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyAMA0,115200 mtdparts=hi_sfc:256k(bld)ro,64k(env)ro,64k(enc)ro,64k(usr),3584k(sys),10688k(app),1664k(cfg) mem=64M ip=192.0.0.64:::255.255.255.0 eth=d8:eb:97:cd:61:7e rst=0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 58844k/58844k available, 6692k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xfe000000   ( 920 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0157000   (1340 kB)
      .text : 0xc0157000 - 0xc05b4000   (4468 kB)
      .data : 0xc05b4000 - 0xc05d5b80   ( 135 kB)
       .bss : 0xc05d5ba4 - 0xc05f26e8   ( 115 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Card authentication succeeded
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyAMA0] enabled
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
mmc0 power register success!
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
JFFS2 version 2.2. © 2001-2006 Red Hat, Inc.
msgmni has been set to 114
io scheduler noop registered
io scheduler cfq registered (default)
brd: module loaded
SPI id table Version 1.22
Hisilicon Spi Flash Controller V350 Device Driver, Version 1.10
SPI (cs1) ID: 0xC2 0x20 0x18 0xC2 0x20 0x18
SPI FLASH start_up_mode is 3 Bytes
MX25L128XX, block size: 64KB, chip size: 16MB
7 cmdlinepart partitions found on MTD device hi_sfc
Creating 7 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "bld"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000060000 : "enc"
0x000000060000-0x000000070000 : "usr"
0x000000070000-0x0000003f0000 : "sys"
0x0000003f0000-0x000000e60000 : "app"
0x000000e60000-0x000001000000 : "cfg"
Fixed MDIO Bus: probed
r2_mii: probed
PHY r2_mii:03 found : id is : 0x1cc816
rtl8201f_set_EEE: set eee capability successfully
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usb-ehci usb-ehci.0: HIUSB EHCI
usb-ehci usb-ehci.0: new USB bus registered, assigned bus number 1
usb-ehci usb-ehci.0: irq 15, io mem 0x100b0000
usb-ehci usb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usb-ohci usb-ohci.0: HIUSB OHCI
usb-ohci usb-ohci.0: new USB bus registered, assigned bus number 2
usb-ohci usb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
rtc rtc: rtc core: registered rtc as rtc0
r2 watchdog driver v1.0. initial timeout 60 sec
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (919 buckets, 3676 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
sctp: Hash tables configured (established 2048 bind 4096)
sctp: sctp_init_sock(sk: c3230000)
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Registering the dns_resolver key type
VFP support v0.3: not present
registered taskstats version 1
rtc rtc: setting system clock to 2015-06-23 12:19:19 UTC (1435061959)
ADDRCONF(NETDEV_UP): eth0: link is not ready
IP-Config: Complete:
     device=eth0, addr=192.0.0.64, mask=255.255.255.0, gw=255.255.255.255,
     host=192.0.0.64, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Freeing init memory: 1340K
PHY: r2_mii:03 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Hisilicon Media Memory Zone Manager
hi3518_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
pa:84000000, va:c49c0000
load sys.ko for Hi3518...OK!
load viu.ko for Hi3518...OK!
ISP Mod init!
load vpss.ko ....OK!
load vou.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!
load vda.ko ....OK!
hi_i2c init is ok!
ssp_frameform: framemode=0,spo=1, sph=1, datawidth=12
ssp initial ok!
IPC
    name:uart2,
adding uart2, minor = 0
Successfully insmod uart232 module!
acodec inited!
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,965
Reaction score
6,794
Location
Scotland
Although that log doesn't show anything about the firmware update - what it does show is that the hardware seems to be quite different from a normal DS-2CD2012, different CPU, smaller RAM, different flash layout.
That may well explain the firmware rejection.
How do Trendnet distribute updated firmware? I've not looked.
 

royal142

n3wb
Joined
May 31, 2017
Messages
1
Reaction score
1
Hi,

I know this thread is a bit old, but finally I flashed the HikVision firmware on my TV-IP320PI V1.0R FW:5.3.4 :)

The re-branded model is not DS-2CD2012-I, it's DS-2CD2010F-I(W):

http://www.hikvision.com/europe/Products_accessries_157_i8596.html


I downloaded the firmware version V5.3.0 (Baseline Firmware_IPC_R2 series_En_V5.3.0 150814(Released)) and I just simply flashed it using the remote upgrade. TFTP it's not required, but I had must to disable my KAV antivirus browser plugin..it's seem block something and upgrade fails.

Really I'm very happy with this firmware, it's more powerful than TrendNet's firmware. At this moment all works fine, but I tested it only 2-3 days.

I hope this will be useful for more people.

Regards.
 

Attachments

Top