]> git.sur5r.net Git - u-boot/commit
binman: Add support for building x86 ROMs
authorSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 03:15:53 +0000 (20:15 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Dec 2016 19:09:55 +0000 (08:09 +1300)
commite0ff85513858246e5378e4e3676ef6128452c4f6
tree8265f67f1246bf73f351a785ea27bfc305384f7e
parent4f44304b0bd881f79252c7b7d2fb796e31ca3b0a
binman: Add support for building x86 ROMs

The structure of x86 ROMs is pretty complex. There are various binary blobs
to place in the image. Microcode requires special handling so that it is
available to very early code and can be used without any memory whatsoever.

Add support for the various entry types that are currently needed, along
with some tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
23 files changed:
tools/binman/README
tools/binman/etype/intel_descriptor.py [new file with mode: 0644]
tools/binman/etype/intel_me.py [new file with mode: 0644]
tools/binman/etype/intel_mrc.py [new file with mode: 0644]
tools/binman/etype/intel_vga.py [new file with mode: 0644]
tools/binman/etype/u_boot_dtb_with_ucode.py [new file with mode: 0644]
tools/binman/etype/u_boot_ucode.py [new file with mode: 0644]
tools/binman/etype/u_boot_with_ucode_ptr.py [new file with mode: 0644]
tools/binman/etype/x86_start16.py [new file with mode: 0644]
tools/binman/func_test.py
tools/binman/test/27_pack_4gb_no_size.dts [new file with mode: 0644]
tools/binman/test/28_pack_4gb_outside.dts [new file with mode: 0644]
tools/binman/test/29_x86-rom.dts [new file with mode: 0644]
tools/binman/test/30_x86-rom-me-no-desc.dts [new file with mode: 0644]
tools/binman/test/31_x86-rom-me.dts [new file with mode: 0644]
tools/binman/test/32_intel-vga.dts [new file with mode: 0644]
tools/binman/test/33_x86-start16.dts [new file with mode: 0644]
tools/binman/test/34_x86_ucode.dts [new file with mode: 0644]
tools/binman/test/35_x86_single_ucode.dts [new file with mode: 0644]
tools/binman/test/descriptor.bin [new file with mode: 0644]
tools/binman/test/u_boot_ucode_ptr [new file with mode: 0755]
tools/binman/test/u_boot_ucode_ptr.c [new file with mode: 0644]
tools/binman/test/u_boot_ucode_ptr.lds [new file with mode: 0644]