Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openfang vs Dafang-hacks #17

Closed
JelmerT opened this issue Feb 7, 2019 · 3 comments
Closed

Openfang vs Dafang-hacks #17

JelmerT opened this issue Feb 7, 2019 · 3 comments

Comments

@JelmerT
Copy link

JelmerT commented Feb 7, 2019

Dafang-Hacks seems like a very similar effort to Openfang

Which one should I choose to flash and contribute to?
Wouldn't it be beneficial to both to combine forces and focus on one of both?
@anmaped and I think @EliasKotlyar among others

@anmaped
Copy link
Owner

anmaped commented Feb 7, 2019

Hi @JelmerT !

Good that you ask that. We are not disjoint forces since we are sharing information between both projects, but I will try to clarify some points. For some cases you just can choose Dafang-Hacks but if you are interested in OpenCV and on a platform that you want to modify then you should choose Openfang.

As one of the Dafang-hacks contributors said in October last year

If you have flashed the custom uboot from Dafang-Hacks, you can also try the new rootfs (my pull request) or openfang rootfs directly. No need to flash the rom...
EliasKotlyar/Xiaomi-Dafang-Hacks#573 (comment)

Or yet:

@arkhub you may want to try my pull request Dafang-Hacks/rootfs#3 most stuff should work. Or you can have a look at https://github.com/anmaped/openfang promising but not yet fully functional.
EliasKotlyar/Xiaomi-Dafang-Hacks#575 (comment)

This means that both are interchangeble somehow. As a reminder, just now openfang has support for Xiaomi Mijia 2018 and Dafang-Hacks doesn't support it yet.

Openfang is a bit different from Dafang-hacks. Dafang Hacks as the name says is a hack and Openfang is built on top of Buildroot (it is a kernel, a bootloader, and a toolchain), which allows you to install and modify many other packages that you are not able to do with Dafang-Hacks (like using ubuntu or fedora on embedded systems), and Openfang is a complete opensource suite.

Buildroot is much wider and general tool for extending and developing new features and you could include what you want by just changing the configuration files, create a new firmware, adjust many other parameters in a more efficient and easy way.

In terms of packages, Openfang just uses the modified v4l2rtspserver provided from Dafang-Hacks but some changes are planned to be applied soon.

To sum-up Openfang is not a fork of Dafang-Hacks is more like a normal embeeded and extensible paltform for devices (e.g., cameras) using Ingenic SOCs that just born because of the limitations of a hack oriented development project like Dafang-Hacks.

@JelmerT
Copy link
Author

JelmerT commented Feb 7, 2019

Thanks for taking the time to explain this @anmaped!
I conclude that the openfang is more flexible towards future/other devices and (currently) the most active, although being based on some original efforts made with the Dafang-hacks. 👍

@JelmerT JelmerT closed this as completed Feb 7, 2019
@jmtatsch
Copy link
Contributor

jmtatsch commented Feb 7, 2019

Openfang is basically dafang hacks rootfs on a solid open buildroot foundation. Unfortunately the motion detection is not supported yet which is the one must have feature for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants