OpenWrt based firmware for HiSilicon`s System-On-a-Chip ip cameras
Part of OpenHisiIpCam project
- About
- Hardware support
- Usage
- Build from scratch
- Roadmap
- Implementation details
- Feature requests and contribution
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.
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.
TODO
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 |
Most probably we will support only camera modules with RAM >= 128M.
TODO
For detailed modules description check BR-HisiCam boards catalog.
TODO
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.
Secondly configure the GoHisiCam application
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.
TODO
TODO
OpenWrt version 19.07.3.
TODO
TODO