/sunxi_fex.py

A parser for sunxi fex format

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

sunxi_fex.py

wheel (GHA via nightly.link) GitHub Actions Libraries.io Status GPL-3.0-or-later Code style: antiflash

We have moved to https://codeberg.org/KFmts/sunxi_fex.py (the namespace has changed to KFmts, which groups packages related to parsing or serialization), grab new versions there.

Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success and wide adoption of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.

If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.


A library for parsing sunxi FEX format. Implemented via Kaitai Struct spec. And a CLI tool for reserializing the contents of fex files in a human-readable and human-editable format.

License

Unlike my other libs, this one is licensed under GNU GPL v3 GPL-3.0-or-later or any later version. This is only to satisfy https://github.com/linux-sunxi/sunxi-tools GPL-2.0-or-later license license badge, because the knowledge required to specify this format was reverse-engineered from source code (see doc-ref of the Kaitai Struct spec) of that free and open source tool. Also from that tool some principles of conversion back to fex were taken, namely the idea that 0xFFFFFFFF must be default and the principle of generating names for ports.

I am OK with relicensing my original contributions that are within this repo under Unlicense, but I am not sure that the authors of sunxi-tools (Alejandro Mery aka @amery and @n1tehawk) are OK. They have chosen GPL, and the purpose of GPL is to be as viral as possible.