Cross-compile tools for Ingenic T20
The Ingenic T20 video SoC is used by quite a lot of Chinese IP cameras. One notable example is Xiaomi Dafang, which is capable of streaming 1080p video in H.264 format and includes pan/tilt motors. This camera is great for hacking, because it runs Linux and installing custom firmware is quite easy: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks. Once custom firmware is installed, you can gain SSH access and execute commands on the camera itself, or you can edit the configuration files directly from within the running system. The default editor shipped with the custom firmware is vi, which to be honest is quite a challenge to be used effectively. I personally prefer the nano editor, so following is a log of the steps that I did in order to cross-compile a binary, that can be executed on Ingenic T20 CPUs.