Skip to content

Latest commit

 

History

History
178 lines (126 loc) · 11.7 KB

README.md

File metadata and controls

178 lines (126 loc) · 11.7 KB

OpenIPC Logo

Coupler

XM to OpenIPC GitHub repo size GitHub issues GitHub pull requests License

Releases contain automatically generated firmware files for transition from stock to OpenIPC

WARNING! Coupler is a work-in-progress. If the firmware update fails, then it will be necessary to to carry out a tftp recovery process. You are strongly advised to carefully review the recovery process documentation and check for any relevant open issues, before proceeding.

Supported vendors

XiongMai

It's highly recommended to upgrade to latest available stock firmware before transition.

Download

Find your Device ID

You can use coupler if a coupler binary is available which matches the "System version" for your device.

For example a device running vendor firmware with the version "V5.00.R02.000059A8.10010.040400.0020000" has device ID "000059A8".

There are several ways to discover the vendor firmware version:

  • The IPCam's built-in web interface e.g. "Device Config" → "Info" → "Version".
  • The vendor's management software e.g. XiongMai's DeviceManager.
  • IPCam_DMS management software (Windows binaries, but also run under Wine on Linux).
  • ipctool.

Select the firmware from the download list which exactly matches your device's ID.

Find your Image Sensor

Many firmwares in the list below are compatible with multiple different image sensor (CCD) types, and must be configured to expect a particular sensor type before images or video can be captured. You should ensure that you know the image sensor (CCD) make/model which your camera uses. This can be found using the methods listed above for determining the device ID, but is also often shown on the item description or model number (e.g. when the item is sold, or on the product packaging).

Hi3516Cv100/Hi3518Av100/Hi3518Cv100/Hi3518Ev100 (Untested!)

Hi3516Cv200/Hi3518Ev200

Hi3516Cv300/Hi3516Ev100 + IMX291/IMX307/SC2235

Hi3516Av100/Hi3516Dv100

Hi3516Ev200 + IMX307/SC2315E/SC2239

Hi3516Ev300 +IMX335/SC4236/SC2239

GK7205v200 + IMX307/SC2315E/SC2239

GK7205v300 + IMX335

GK7605v100 + SC2239

Hi3536CV100 / Hi3536DV100

WARNING! Provides linux rootfs ! Manual Rollback only !

Flashing

Use vendor-specific software (e.g. XiongMai DeviceManager), IPCam_DMS, or the camera's built-in web server (n.b. not all vendor firmwares support browser based updates) to install the OpenIPC coupler firmware binary.

Initial configuration

After flashing and rebooting, the camera will request an IP from a DHCP server. It will listen for web based management on port 85 (e.g. http://w.x.y.z:85/ where the w.x.y.z is replaced with the IP address is the one that your local DHCP server has assigned), and also on ssh. After the first boot with the new firmware you need to clean the overlay partition. Run this command in your terminal window: firstboot . The coupler firmware build may not be the latest, so you may want to upgrade the firmware further at this point.

If no image is available via the web interface, then the sensor may need to be manually configured. This can be checked via ssh with fw_printenv -n sensor, which may respond unknown. On HiSilicon SoCs, a list of known sensor types can be found in the /usr/bin/load_hisilicon script. Once you have a matching sensor type, it can be set with e.g. fw_setenv sensor imx291_i2c.

Usage

Check the main project docs and wiki for more info.

Rollback

To rollback firmware to stock, you will have to connect UART console and do TFTP recovery

Our ExIPCam software can do that in semi-automatic mode.

Alternative TFTP recovery:
  • Setup a TFTP server
  • Make sure that the network to which the camera is connected has internet access.
  • Download appropriate recovery.img file for you IPC board from Releases page/Original firmware (https://github.com/OpenIPC/coupler/releases/tag/original), place it to TFTP root folder and rename to update.img
  • ipctool printenv (review serverip and ipaddr) In the output of this command, we are looking for the value "serverip" (e.g. serverip=192.168.1.254), set the received IP address on the computer with TFTP and launch the TFTP server.
HiSilicon
  • ipctool This is to download the latest version of ipctool from the repository
  • /tmp/ipctool setenv bootcmd "run up && re; setenv setargs setenv bootargs \${bootargs}; run setargs; sf probe 0; sf read 0x42000000 0x50000 0x200000; bootm 0x42000000"
  • reboot
XM530
  • ipctool This is to download the latest version of ipctool from the repository
  • /tmp/ipctool setenv bootargs "mem=32M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=cramfs mtdparts=xm_sfc:256K(boot),1536K(kernel),1280K(romfs),4544K(user),256K(custom),320K(mtd)"
  • /tmp/ipctool setenv bootcmd "run up;sf probe 0;sf read 80007fc0 40000 180000;bootm 80007fc0"
  • reboot

Longse/Herospeed

WARNING! BACKUP IS MANDATORY! ROLLBACK IS NOT POSSIBLE!

Device ID's

Obtain stock firmware file and open it in an editor. First 8 bytes are NAME and next 8 bytes are SENSOR

For example: 16AV300 IMX415b

Flashing

Get appropriate file for your model and flash it via web.


Support

OpenIPC offers two levels of support.

  • Free support through the community (via chat and mailing lists).
  • Paid commercial support (from the team of developers).

Please consider subscribing for paid commercial support if you intend to use our product for business. As a paid customer, you will get technical support and maintenance services directly from our skilled team. Your bug reports and feature requests will get prioritized attention and expedited solutions. It's a win-win strategy for both parties, that would contribute to the stability your business, and help core developers to work on the project full-time.

If you have any specific questions concerning our project, feel free to contact us.

Participating and Contribution

If you like what we do, and willing to intensify the development, please consider participating.

You can improve existing code and send us patches. You can add new features missing from our code.

You can help us to write a better documentation, proofread and correct our websites.

You can just donate some money to cover the cost of development and long-term maintaining of what we believe is going to be the most stable, flexible, and open IP Network Camera Framework for users like yourself.

You can make a financial contribution to the project at Open Collective.

Thank you.

Open Collective donate button