[U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images

Simon Glass sjg at chromium.org
Fri Dec 23 09:37:17 CET 2016


On 17 December 2016 at 20:41, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass <sjg at chromium.org> wrote:
>> This adds the basic code for binman, including command parsing, processing
>> of entries and generation of images.
>>
>> So far no entry types are supported. These will be added in future commits
>> as examples of how to add new types.
>>
>> See the README for documentation.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v6:
>> - Use __import__() when importlib is not available
>>
>> Changes in v5:
>> - Add instructions on how to generate html code coverage
>> - Print 'binman' before all errors
>> - Remove commented-out PYTHONPATH code which is not needed now
>>
>> Changes in v4: None
>> Changes in v3: None
>> Changes in v2:
>> - Add test for code coverage
>> - Fix the -b option
>> - drop the unused __len__() method
>>
>>  tools/binman/.gitignore     |   1 +
>>  tools/binman/README         | 491 ++++++++++++++++++++++++++++++++++++++++++++
>>  tools/binman/binman         |   1 +
>>  tools/binman/binman.py      | 114 ++++++++++
>>  tools/binman/cmdline.py     |  53 +++++
>>  tools/binman/control.py     | 118 +++++++++++
>>  tools/binman/etype/entry.py | 200 ++++++++++++++++++
>>  tools/binman/fdt_test.py    |  48 +++++
>>  tools/binman/image.py       | 229 +++++++++++++++++++++
>>  9 files changed, 1255 insertions(+)
>>  create mode 100644 tools/binman/.gitignore
>>  create mode 100644 tools/binman/README
>>  create mode 120000 tools/binman/binman
>>  create mode 100755 tools/binman/binman.py
>>  create mode 100644 tools/binman/cmdline.py
>>  create mode 100644 tools/binman/control.py
>>  create mode 100644 tools/binman/etype/entry.py
>>  create mode 100644 tools/binman/fdt_test.py
>>  create mode 100644 tools/binman/image.py
>>
>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-dm and now in mainline.


More information about the U-Boot mailing list