Skip to content

The openfang is a bootloader, kernel and toolchain for devices using Ingenic T10 and T20 SOC

License

Notifications You must be signed in to change notification settings

anmaped/openfang

Repository files navigation

openfang

The openfang is a bootloader, kernel and toolchain for devices using Ingenic T10 and T20 SOC.

Overview

At the present time, this repository only contains kernel and rootfs for cameras using Inegnic T20 SOC. To ease identifying these cameras please use the pictures below. A more detailed technical description can be found here.

Ingenic T20L (64Mb DDR)  
Xiaomi Mijia Xiaomi Mijia 2018 Xiaomi Xiaofang 1S Xiaomi Xiaofang 1S
Ingenic T20N (64Mb DDR + SIMD128)
DIGOO DG W30 DIGOO DG W30
Ingenic T20X (128Mb DDR)  
Wyze Cam v2 Wyze Cam V2
Xiaomi Dafang Xiaomi Dafang Wyze Cam Pan Wyze Cam Pan

If you have a device with a Ingenic T10 SOC, consider using for now https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks

If you have a classic XiaoFang with a ARM-Processor, consider using https://github.com/samtap/fang-hacks

How to install openfang

Before installing openfang, we suggest you carefully read the FAQ.

After that, continue to the Installation procedure. More details on troubleshooting.

How to compile openfang

Openfang is actively developed and releases are only provided when the openfang distribution is stable. If you want to test the development version you can easily compile it using docker. More details on how to do it here.

Issues and support

If you encounter an issue which you think is a bug in the openfang or the associated libraries, you are welcome to submit it here on Github: https://github.com/anmaped/openfang/issues.

Please provide as much context as possible:

  • buildroot core version which you are using;
  • kernel version and modules you have enable;
  • build root packages you are trying to integrate;
  • when encountering an issue which happens at run time, attach serial output. Wrap it into a code block, just like the code;
  • for issues which happen at compile time, enable verbose compiler output in the buildroot preferences, and attach that output (also inside a code block);
  • development board model and brand;
  • other settings (board choice, flash size, etc.).

Or ask in our Gitter channel for help.

Contributing

For minor fixes of code and documentation, please go ahead and submit a pull request.

Check out the list of issues which are easy to fix — easy issues for openfang 01. Working on them is a great way to move the project forward.

Larger changes (rewriting parts of existing libraries from scratch, adding new functions to the v4l core, adding new libraries) should generally be discussed by opening an issue first.

Feature branches with lots of small commits (especially titled "oops", "fix typo", "forgot to add file", etc.) should be squashed before opening a pull request. At the same time, please refrain from putting multiple unrelated changes into a single pull request.

License and credits

Buildroot is developed and maintained by The Buildroot developers.