IP camera 2MP PoE HI3516E V200

Joined
Oct 27, 2020
Messages
4
Reaction score
0
Location
Romania
Hello all,

I bought from Aliexpress, Zosi store (wich I don't recommend), two IP cameras (PoE, card, IR etc).
I have problems with both cameras, one can't connect to web interface and other one it selft restaring after few seconds from booting.

With "Search tool" cant't upgrade firmware or resetting, just to change IP address.

So, I try to reflash them with UART adapter and TFTP server but nothing happen (I think I am doing something wrong).

hisilicon # bdinfo
arch_number = 0x00001F40
boot_params = 0x40000100
DRAM bank = 0x00000000
-> start = 0x40000000
-> size = 0x04000000
eth0name = eth0
ethaddr = (not set)
current eth = eth0
ip_addr = <NULL>
baudrate = 115200 bps
TLB addr = 0x43FF0000
relocaddr = 0x43F35000
reloc off = 0x03735000
irq_sp = 0x43E94EE0
sp start = 0x43E94ED0
Early malloc usage: 70 / 2000

___

hisilicon # getinfo spi
Block:64KB Chip:16MB*1
ID:0xC2 0x20 0x18
Name:"MX25L128XX"

___

hisilicon # getinfo bootmode
spi
___

hisilicon # printenv
arch=arm
baudrate=115200
board=hi3516ev200
board_name=hi3516ev200
bootargs=mem=40M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs

mtdparts=hi_sfc:512K(boot),2M(kernel),1536k(rootfs),9M(app),1M(param),2M(var)
bootcmd=sf probe 0;sf read 0x42000000 0x80000 0x200000;bootm 0x42000000
bootdelay=1
cpu=armv7
ethact=eth0
soc=hi3516ev200
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n
Environment size: 444/262140 bytes
___


hisilicon # version
U-Boot 2016.11 (Jun 24 2019 - 15:12:47 +0800)hi3516ev200
arm-himix100-linux-gcc (HC&C V100R002C00B032_20190114) 6.3.0
GNU ld (GNU Binutils) 2.29

___
___
___

hisilicon # reset
resetting ...


System startup

Uncompress Ok!

U-Boot 2016.11 (Jun 24 2019 - 15:12:47 +0800)hi3516ev200

Relocation Offset is: 03735000
Relocating to 43f35000, new gd at 43e94ef0, sp at 43e94ed0
SPI Nor: NAND: 0 MiB
MMC:
In: serial
Out: serial
Err: serial
Net: eth0
Warning: eth0 (eth0) using random MAC address - e6:a2:ac:b0:66:fe

Hit any key to stop autoboot: 0
device 0 offset 0x80000, size 0x200000

SF: 2097152 bytes @ 0x80000 Read: OK
## Booting kernel from Legacy Image at 42000000 ...
Image Name: Linux-4.9.37
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1956183 Bytes = 1.9 MiB
Load Address: 40008000
Entry Point: 40008000
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (czw@ubuntu) (gcc version 6.3.0 (Heterogeneous Compiler&Codesign V100R002C00B003)

) #1 Mon Mar 18 18:29:20 PDT 2019
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Hisilicon HI3516EV200 DEMO Board
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10160
Kernel command line: mem=40M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs

mtdparts=hi_sfc:512K(boot),2M(kernel),1536k(rootfs),9M(app),1M(param),2M(var)
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: 35084K/40960K available (3831K kernel code, 143K rwdata, 1020K rodata, 156K init, 204K bss,

5876K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc3000000 - 0xff800000 ( 968 MB)
lowmem : 0xc0000000 - 0xc2800000 ( 40 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03c61c8 (3833 kB)
.init : 0xc04c7000 - 0xc04ee000 ( 156 kB)
.data : 0xc04ee000 - 0xc0511f20 ( 144 kB)
.bss : 0xc0513000 - 0xc0546340 ( 205 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
Gic dist init...
arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns:

440795202655 ns
sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 20ns
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS

(lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x40008240 - 0x40008298
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
12040000.uart: ttyAMA0 at MMIO 0x12040000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 12070000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12070000.spi: mapped registers from 0x12070000 to c3063000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
clocksource: Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
workingset: timestamp_bits=30 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 120b0000.gpio_chip: PL061 GPIO chip @0x120b0000 registered
pl061_gpio 120b1000.gpio_chip: PL061 GPIO chip @0x120b1000 registered
pl061_gpio 120b2000.gpio_chip: PL061 GPIO chip @0x120b2000 registered
pl061_gpio 120b4000.gpio_chip: PL061 GPIO chip @0x120b4000 registered
pl061_gpio 120b5000.gpio_chip: PL061 GPIO chip @0x120b5000 registered
pl061_gpio 120b6000.gpio_chip: PL061 GPIO chip @0x120b6000 registered
pl061_gpio 120b7000.gpio_chip: PL061 GPIO chip @0x120b7000 registered
pl061_gpio 120b8000.gpio_chip: PL061 GPIO chip @0x120b8000 registered
brd: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.2
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l12835f (Chipsize 16 Mbytes, Blocksize 64KiB)
6 cmdlinepart partitions found on MTD device hi_sfc
6 cmdlinepart partitions found on MTD device hi_sfc
Creating 6 MTD partitions on "hi_sfc":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000280000 : "kernel"
0x000000280000-0x000000400000 : "rootfs"
0x000000400000-0x000000d00000 : "app"
0x000000d00000-0x000000e00000 : "param"
0x000000e00000-0x000001000000 : "var"
FEPHY:addr=1, la_am=0xc, ldo_am=0x4, r_tuning=0x1b
libphy: hisi_femac_mii_bus: probed
libphy: Fixed MDIO Bus: probed
Generic PHY 10041100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=10041100.mdio:01,

irq=-1)
phy_id=0x20669903, phy_mode=mii
hisi-femac 10040000.ethernet: using random MAC address d2:46:dd:ae:b1:9d
PPP generic driver version 2.4.2
usbcore: registered new interface driver r8152
hibvt_rtc 120e0000.rtc: rtc core: registered 120e0000.rtc as rtc0
hibvt_rtc 120e0000.rtc: RTC driver for hibvt enabled
i2c /dev entries driver
hibvt-i2c 12060000.i2c: hibvt-i2c0@100000hz registered
hibvt-i2c 12061000.i2c: hibvt-i2c1@100000hz registered
hibvt-i2c 12062000.i2c: hibvt-i2c2@100000hz registered
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on 10010000.sdhci [10010000.sdhci] using ADMA in legacy mode
mmc1: SDHCI controller on 10020000.sdhci [10020000.sdhci] using ADMA in legacy mode
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
hibvt_rtc 120e0000.rtc: setting system clock to 1970-01-26 01:02:28 UTC (2163748)
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 156K (c04c7000 - c04ee000)
This architecture does not have kernel memory protection.

_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ / / / \/ \_ __
___\\___

[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
[RCS]: /etc/init.d/S80network
random: S80network: uninitialized urandom read (4 bytes read)
[RCS]: /etc/init.d/S95mount
mount: mounting /dev/mtdblock3 on /opt/app failed: Invalid argument
[RCS]: /etc/init.d/S97setenv
load3516ev200
40M
/var/cfg/env is not exist!!!
console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs mtdparts=hi_sfc:512K(boot),2M

(kernel),1536k(rootfs),9M(app),1M(param),2M(var)
40M
no need to set bootargs
[RCS]: /etc/init.d/S99longse
longse app mtd is not ok!!
no need to change the Ver.ini
[Trace]: CameraDeviceInit 413:
Global value size:7996
ReadGlobal 359: filename = /param/sysenv.cfg
nfilesize=7996 , configsize=7996 MagicNum: 2593849357, MagicNumConfig: 2593849357
ReadGlobal: 0 .......................
[ReadDevConfigFile] Mac = 00:00:1B:09:15:0D



ReadNetConfigFile 262: free_sn = 8801076233667EndEnd



InitNetWork 449: start !
dns=8.8.8.8
[Trace]:


InitNetWork 496: Command cmd = ifconfig eth0 hw ether 00:00:1B:09:15:0D
InitNetWork 502: start !
DEBUG1 DD_StartDiscovery-1919: Start Write DEBUG_ERR File
DEBUG DD_StartDiscoveryThread-1728: Start DevDescovery...

[Trace]: CameraDeviceInit 413:
DEBUG DD_AddNewTask-169: add new task success!

Please press Enter to activate this console. Creat queue id:0
queue id:0
[Trace]: main 196: SOFTVER_PATH /var/cfg/Ver.ini
[Trace]: create tcp connect success 3,start listen...
open /dev/io_dev failed!
[Trace]: SocketThread 457: fd = 3
[Trace]: CameraGetWebPort 730:
[Trace]: Longse protocol starting...


-----------------------------------------------
Longse server is running...
Platform: HI3516EV200
Console: enable
Devname: eth0
Server port: 80
Version: V1.0 Build Mar 18 2019 17:59:43
-----------------------------------------------


[Trace]: Now, starting the server thread...
[Trace]: LongseServerStart 128: port = 80
[Trace]: LSStartNetwork 1167: port = 80
[Trace]: create tcp connect success 6,start listen...
[Trace]: LSListenSocketThread 93: fd = 6

setenv ipaddr 192.168.1.168
setenv serverip 192.168.1.169
saveenv
du=tftp 0x42000000 ff 0x80000;tftp 0x42000000 user-x.cramfs.img;sf probe 0;flwrite
dr=tftp 0x42000000 ff 0x80000;tftp 0x42000000 romfs-x.cramfs.img;sf probe 0;flwrite
dw=tftp 0x42000000 ff 0x80000;tftp 0x42000000 web-x.cramfs.img;sf probe 0;flwrite
dc=tftp 0x42000000 ff 0x80000;tftp 0x42000000 custom-x.cramfs.img;sf probe 0;flwrite
boot

hisilicon # du=tftp 0x42000000 ff 0x80000;tftp 0x42000000 user-x.cramfs.img;sf pUnknown command

'du=tftp' - try 'help'
Hisilicon ETH net controler
MAC address invalid!
Set Random MAC address: b2:97:be:6f:26:ad
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using eth0 device
TFTP from server 192.168.1.169; our IP address is 192.168.1.168
Filename 'user-x.cramfs.img'.
Load address: 0x42000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
###################################
578.1 KiB/s
done
Bytes transferred = 4325440 (420040 hex)
Unknown command 'flwrite' - try 'help'

[Trace]: LSListenSocketThread 122 : A stupid connect!ip = 192.168.1.169, port = 52234
[Trace]: ////LSListenSocketThread 124 : ..........fd = 7
[Trace]: AddLSFd 184: fix_pos = 0 fd 7
[Trace]:

LSSendRecvSocketThread 984: No zuo no die len = -1 ulBufferSize = 168636718! cmd = 0x202F
[Trace]: RemoveLSFd 279: Remove 0 fd 7
[Trace]: LSSendRecvSocketThread 990: Command disconnect

I have tried several firmwares for this HI3516EV200 camera.

Can somebody help me?

Thank you!
 

Attachments

Top