Skip to content

*WIP* OpenWrt based HiSilicon`s System-On-a-Chip ip camera firmware

Notifications You must be signed in to change notification settings

ProtoThis/wrt-hisicam

 
 

Repository files navigation

wrt-hisicam

WRT-HisiCam


OpenWrt based firmware for HiSilicon`s System-On-a-Chip ip cameras

Part of OpenHisiIpCam project

📝 Table of Contents

👓 About

This is attempt to make full functional firmware for HiSilicon based ip cameras. Full functional in our sense is firmware that has minimum general management functions (network control), easy update/upgrade and some kind of web user interface. OpenWrt is only one known project, that targets embedded devices and has above features out of the box.

At the moment project is targetted to homebrew usage or simple in house production.

What WRT-HisiCam IS and what it IS NOT

WRT-HisiCam is firmware build based on OpenWrt with mostly same functionality across all supported platforms. Project is not targetted to be pushed to OpenWrt upstream, it is also developed not as fork, but as source tree modification, to simplify subsequent updates.

It IS NOT OpenWrt port to HiSilicon platfroms. Changing configuration may cause build fails (especially packages that depends on some kernel modules, ordinary packages most probably should work, but have to be tested). This means that adding new and improving existing functionality requires some technical skills and expirience.

For feature requests and contribution read corresponding section.

If your case is rather different than this project take a look on BR-HisiCam this is our test linux enviroiment for HiSilicon SoCs, suitible for developing any projects from scratch.

📷 Hardware support

TODO

SoCs

chips family kernel support
hi3516av100, hi3516dv100 hi3516av100 4.9.37 Yes
hi3519v101, hi3516av200 hi3516av200 3.18.20 Yes
hi3516cv100, hi3518cv100, hi3518ev100 hi3516cv100 3.0.8 No
hi3516cv200, hi3518ev200, hi3518ev201 hi3516cv200 4.9.37 TODO
hi3516cv300, hi3516ev100 hi3516cv300 3.18.20 Yes
hi3516cv500, hi3516dv300, hi3516av300 hi3516cv500 4.9.37 Yes
hi3516ev300, hi3516ev200, hi3516dv200, hi3518ev300 hi3516ev200 4.9.37 Yes
hi3519av100 hi3519av100 4.9.37 TODO
hi3559av100 hi3559av100 4.9.37 TODO

Camera modules

Most probably we will support only camera modules with RAM >= 128M.

TODO

For detailed modules description check BR-HisiCam boards catalog.

🚀 Usage

TODO

🔨 Build from scratch

foo@bar:~$ git clone --recursive https://github.com/OpenHisiIpCam/wrt-hisicam --depth 1
foo@bar:~$ cd wrt-hisicam
foo@bar:~$ make ubuntu-deps
foo@bar:~$ make prepare
foo@bar:~$ cd openwrt
foo@bar:~$ ./scripts/feeds update -a
foo@bar:~$ ./scripts/feeds install -a
foo@bar:~$ make menuconfig

Before comping it is required to configure OpenWrt. This is done in the menu shown with the command make menuconfig.

Configuration

First select the board you would like to compile for. selecttarget

Secondly configure the GoHisiCam application configuregohisicam

Save the configuration and exit the configuration menu.

NOTE: When running the compilation as root it is required to set the following export:

foo@bar:~$ export FORCE_UNSAFE_CONFIGURE=1

Now you are ready to compile the image. The additional parameters are required as a question is asked during compilation.

foo@bar:~$ make -j1 V=s

During compilation it is possible an additional enter is required to continue compiling. If the following message occures, press enter to continue. configuregohisicam

TODO

📋 Roadmap

TODO

📓 Implementation details

OpenWrt version 19.07.3.

TODO

👐 Feature requests and contribution

TODO

About

*WIP* OpenWrt based HiSilicon`s System-On-a-Chip ip camera firmware

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Roff 84.3%
  • C 9.0%
  • Makefile 4.2%
  • Assembly 1.3%
  • Lua 0.9%
  • Shell 0.3%