[U-Boot] [PATCH v6 02/13] binman: Add basic entry types for U-Boot

Simon Glass sjg at chromium.org
Fri Dec 23 09:37:21 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:
>> Add entries to support some standard U-Boot binaries, such as u-boot.bin,
>> u-boot.dtb, etc. Also add some tests for these.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v6: None
>> Changes in v5: None
>> Changes in v4: None
>> Changes in v3: None
>> Changes in v2: None
>>
>>  tools/binman/entry_test.py                         |  27 +
>>  tools/binman/etype/_testing.py                     |  26 +
>>  tools/binman/etype/blob.py                         |  37 ++
>>  tools/binman/etype/u_boot.py                       |  17 +
>>  tools/binman/etype/u_boot_dtb.py                   |  17 +
>>  tools/binman/etype/u_boot_nodtb.py                 |  17 +
>>  tools/binman/etype/u_boot_spl.py                   |  17 +
>>  tools/binman/func_test.py                          | 542 +++++++++++++++++++++
>>  tools/binman/test/01_invalid.dts                   |   5 +
>>  tools/binman/test/02_missing_node.dts              |   6 +
>>  tools/binman/test/03_empty.dts                     |   9 +
>>  tools/binman/test/04_invalid_entry.dts             |  11 +
>>  tools/binman/test/05_simple.dts                    |  11 +
>>  tools/binman/test/06_dual_image.dts                |  22 +
>>  tools/binman/test/07_bad_align.dts                 |  12 +
>>  tools/binman/test/08_pack.dts                      |  30 ++
>>  tools/binman/test/09_pack_extra.dts                |  35 ++
>>  tools/binman/test/10_pack_align_power2.dts         |  12 +
>>  tools/binman/test/11_pack_align_size_power2.dts    |  12 +
>>  tools/binman/test/12_pack_inv_align.dts            |  13 +
>>  tools/binman/test/13_pack_inv_size_align.dts       |  13 +
>>  tools/binman/test/14_pack_overlap.dts              |  16 +
>>  tools/binman/test/15_pack_overflow.dts             |  12 +
>>  tools/binman/test/16_pack_image_overflow.dts       |  13 +
>>  tools/binman/test/17_pack_image_size.dts           |  13 +
>>  tools/binman/test/18_pack_image_align.dts          |  13 +
>>  tools/binman/test/19_pack_inv_image_align.dts      |  14 +
>>  .../binman/test/20_pack_inv_image_align_power2.dts |  13 +
>>  tools/binman/test/21_image_pad.dts                 |  16 +
>>  tools/binman/test/22_image_name.dts                |  21 +
>>  tools/binman/test/23_blob.dts                      |  12 +
>>  tools/binman/test/24_sorted.dts                    |  17 +
>>  tools/binman/test/25_pack_zero_size.dts            |  15 +
>>  tools/binman/test/26_pack_u_boot_dtb.dts           |  14 +
>>  34 files changed, 1080 insertions(+)
>>  create mode 100644 tools/binman/entry_test.py
>>  create mode 100644 tools/binman/etype/_testing.py
>>  create mode 100644 tools/binman/etype/blob.py
>>  create mode 100644 tools/binman/etype/u_boot.py
>>  create mode 100644 tools/binman/etype/u_boot_dtb.py
>>  create mode 100644 tools/binman/etype/u_boot_nodtb.py
>>  create mode 100644 tools/binman/etype/u_boot_spl.py
>>  create mode 100644 tools/binman/func_test.py
>>  create mode 100644 tools/binman/test/01_invalid.dts
>>  create mode 100644 tools/binman/test/02_missing_node.dts
>>  create mode 100644 tools/binman/test/03_empty.dts
>>  create mode 100644 tools/binman/test/04_invalid_entry.dts
>>  create mode 100644 tools/binman/test/05_simple.dts
>>  create mode 100644 tools/binman/test/06_dual_image.dts
>>  create mode 100644 tools/binman/test/07_bad_align.dts
>>  create mode 100644 tools/binman/test/08_pack.dts
>>  create mode 100644 tools/binman/test/09_pack_extra.dts
>>  create mode 100644 tools/binman/test/10_pack_align_power2.dts
>>  create mode 100644 tools/binman/test/11_pack_align_size_power2.dts
>>  create mode 100644 tools/binman/test/12_pack_inv_align.dts
>>  create mode 100644 tools/binman/test/13_pack_inv_size_align.dts
>>  create mode 100644 tools/binman/test/14_pack_overlap.dts
>>  create mode 100644 tools/binman/test/15_pack_overflow.dts
>>  create mode 100644 tools/binman/test/16_pack_image_overflow.dts
>>  create mode 100644 tools/binman/test/17_pack_image_size.dts
>>  create mode 100644 tools/binman/test/18_pack_image_align.dts
>>  create mode 100644 tools/binman/test/19_pack_inv_image_align.dts
>>  create mode 100644 tools/binman/test/20_pack_inv_image_align_power2.dts
>>  create mode 100644 tools/binman/test/21_image_pad.dts
>>  create mode 100644 tools/binman/test/22_image_name.dts
>>  create mode 100644 tools/binman/test/23_blob.dts
>>  create mode 100644 tools/binman/test/24_sorted.dts
>>  create mode 100644 tools/binman/test/25_pack_zero_size.dts
>>  create mode 100644 tools/binman/test/26_pack_u_boot_dtb.dts
>>
>
> 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