From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 23 Dec 2016 01:37:43 -0700 Subject: [U-Boot] [PATCH v6 03/13] binman: Add support for building x86 ROMs In-Reply-To: References: <1480130164-15709-1-git-send-email-sjg@chromium.org> <1480130164-15709-4-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17 December 2016 at 20:41, Bin Meng wrote: > On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: >> 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 >> --- >> >> Changes in v6: None >> Changes in v5: >> - Add documentation for the 'optional-ucode' property >> - Add missing 'descriptor.bin' file >> - Allow microcode to be optional >> - Allow the compiled device tree to be returned from _DoReadFileDtb() >> - Put the code to calculate dtb total length in a function >> >> Changes in v4: >> - Fix incorrect comments at the top of intel_*.py >> >> Changes in v3: None >> Changes in v2: None >> >> tools/binman/README | 11 ++ >> tools/binman/etype/intel_descriptor.py | 55 +++++++++ >> tools/binman/etype/intel_me.py | 17 +++ >> tools/binman/etype/intel_mrc.py | 17 +++ >> tools/binman/etype/intel_vga.py | 17 +++ >> tools/binman/etype/u_boot_dtb_with_ucode.py | 76 ++++++++++++ >> tools/binman/etype/u_boot_ucode.py | 84 +++++++++++++ >> tools/binman/etype/u_boot_with_ucode_ptr.py | 87 ++++++++++++++ >> tools/binman/etype/x86_start16.py | 17 +++ >> tools/binman/func_test.py | 179 +++++++++++++++++++++++++++- >> tools/binman/test/27_pack_4gb_no_size.dts | 18 +++ >> tools/binman/test/28_pack_4gb_outside.dts | 19 +++ >> tools/binman/test/29_x86-rom.dts | 19 +++ >> tools/binman/test/30_x86-rom-me-no-desc.dts | 15 +++ >> tools/binman/test/31_x86-rom-me.dts | 18 +++ >> tools/binman/test/32_intel-vga.dts | 13 ++ >> tools/binman/test/33_x86-start16.dts | 13 ++ >> tools/binman/test/34_x86_ucode.dts | 29 +++++ >> tools/binman/test/35_x86_single_ucode.dts | 26 ++++ >> tools/binman/test/descriptor.bin | Bin 0 -> 4096 bytes >> tools/binman/test/u_boot_ucode_ptr | Bin 0 -> 4175 bytes >> tools/binman/test/u_boot_ucode_ptr.c | 15 +++ >> tools/binman/test/u_boot_ucode_ptr.lds | 18 +++ >> 23 files changed, 760 insertions(+), 3 deletions(-) >> create mode 100644 tools/binman/etype/intel_descriptor.py >> create mode 100644 tools/binman/etype/intel_me.py >> create mode 100644 tools/binman/etype/intel_mrc.py >> create mode 100644 tools/binman/etype/intel_vga.py >> create mode 100644 tools/binman/etype/u_boot_dtb_with_ucode.py >> create mode 100644 tools/binman/etype/u_boot_ucode.py >> create mode 100644 tools/binman/etype/u_boot_with_ucode_ptr.py >> create mode 100644 tools/binman/etype/x86_start16.py >> create mode 100644 tools/binman/test/27_pack_4gb_no_size.dts >> create mode 100644 tools/binman/test/28_pack_4gb_outside.dts >> create mode 100644 tools/binman/test/29_x86-rom.dts >> create mode 100644 tools/binman/test/30_x86-rom-me-no-desc.dts >> create mode 100644 tools/binman/test/31_x86-rom-me.dts >> create mode 100644 tools/binman/test/32_intel-vga.dts >> create mode 100644 tools/binman/test/33_x86-start16.dts >> create mode 100644 tools/binman/test/34_x86_ucode.dts >> create mode 100644 tools/binman/test/35_x86_single_ucode.dts >> create mode 100644 tools/binman/test/descriptor.bin >> create mode 100755 tools/binman/test/u_boot_ucode_ptr >> create mode 100644 tools/binman/test/u_boot_ucode_ptr.c >> create mode 100644 tools/binman/test/u_boot_ucode_ptr.lds >> > > Tested-by: Bin Meng Applied to u-boot-dm and now in mainline.