binman: Add basic entry types for U-Boot
authorSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 03:15:52 +0000 (20:15 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Dec 2016 19:09:55 +0000 (08:09 +1300)
commit4f44304b0bd881f79252c7b7d2fb796e31ca3b0a
tree50c4140da8f12dd9a145707b3b186d8a39a471e8
parentbf7fd50b3ba56b53dc13a681d19c845be903c3e0
binman: Add basic entry types for U-Boot

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@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
34 files changed:
tools/binman/entry_test.py [new file with mode: 0644]
tools/binman/etype/_testing.py [new file with mode: 0644]
tools/binman/etype/blob.py [new file with mode: 0644]
tools/binman/etype/u_boot.py [new file with mode: 0644]
tools/binman/etype/u_boot_dtb.py [new file with mode: 0644]
tools/binman/etype/u_boot_nodtb.py [new file with mode: 0644]
tools/binman/etype/u_boot_spl.py [new file with mode: 0644]
tools/binman/func_test.py [new file with mode: 0644]
tools/binman/test/01_invalid.dts [new file with mode: 0644]
tools/binman/test/02_missing_node.dts [new file with mode: 0644]
tools/binman/test/03_empty.dts [new file with mode: 0644]
tools/binman/test/04_invalid_entry.dts [new file with mode: 0644]
tools/binman/test/05_simple.dts [new file with mode: 0644]
tools/binman/test/06_dual_image.dts [new file with mode: 0644]
tools/binman/test/07_bad_align.dts [new file with mode: 0644]
tools/binman/test/08_pack.dts [new file with mode: 0644]
tools/binman/test/09_pack_extra.dts [new file with mode: 0644]
tools/binman/test/10_pack_align_power2.dts [new file with mode: 0644]
tools/binman/test/11_pack_align_size_power2.dts [new file with mode: 0644]
tools/binman/test/12_pack_inv_align.dts [new file with mode: 0644]
tools/binman/test/13_pack_inv_size_align.dts [new file with mode: 0644]
tools/binman/test/14_pack_overlap.dts [new file with mode: 0644]
tools/binman/test/15_pack_overflow.dts [new file with mode: 0644]
tools/binman/test/16_pack_image_overflow.dts [new file with mode: 0644]
tools/binman/test/17_pack_image_size.dts [new file with mode: 0644]
tools/binman/test/18_pack_image_align.dts [new file with mode: 0644]
tools/binman/test/19_pack_inv_image_align.dts [new file with mode: 0644]
tools/binman/test/20_pack_inv_image_align_power2.dts [new file with mode: 0644]
tools/binman/test/21_image_pad.dts [new file with mode: 0644]
tools/binman/test/22_image_name.dts [new file with mode: 0644]
tools/binman/test/23_blob.dts [new file with mode: 0644]
tools/binman/test/24_sorted.dts [new file with mode: 0644]
tools/binman/test/25_pack_zero_size.dts [new file with mode: 0644]
tools/binman/test/26_pack_u_boot_dtb.dts [new file with mode: 0644]