[U-Boot] [PATCH v6 05/13] binman: Add support for building x86 ROMs with SPL

Simon Glass sjg at chromium.org
Fri Dec 23 09:37:51 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:
>> When building for 64-bit x86 we need an SPL binary in the ROM. Add support
>> for this. Also increase entry test code coverage to 100%.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v6:
>> - Deal with optional microcode in SPL
>>
>> Changes in v5:
>> - Add a new for optional microcode
>>
>> Changes in v4: None
>> Changes in v3: None
>> Changes in v2: None
>>
>>  tools/binman/etype/u_boot_dtb_with_ucode.py      |   4 +-
>>  tools/binman/etype/u_boot_spl_bss_pad.py         |  26 +++++++
>>  tools/binman/etype/u_boot_spl_with_ucode_ptr.py  |  28 ++++++++
>>  tools/binman/etype/x86_start16_spl.py            |  17 +++++
>>  tools/binman/func_test.py                        |  88 +++++++++++++++++++++++
>>  tools/binman/test/37_x86_no_ucode.dts            |  20 ++++++
>>  tools/binman/test/38_x86_ucode_missing_node.dts  |  26 +++++++
>>  tools/binman/test/39_x86_ucode_missing_node2.dts |  23 ++++++
>>  tools/binman/test/40_x86_ucode_not_in_image.dts  |  28 ++++++++
>>  tools/binman/test/41_unknown_pos_size.dts        |  11 +++
>>  tools/binman/test/44_x86_optional_ucode.dts      |  30 ++++++++
>>  tools/binman/test/u_boot_no_ucode_ptr            | Bin 0 -> 4182 bytes
>>  tools/binman/test/u_boot_no_ucode_ptr.c          |  15 ++++
>>  13 files changed, 315 insertions(+), 1 deletion(-)
>>  create mode 100644 tools/binman/etype/u_boot_spl_bss_pad.py
>>  create mode 100644 tools/binman/etype/u_boot_spl_with_ucode_ptr.py
>>  create mode 100644 tools/binman/etype/x86_start16_spl.py
>>  create mode 100644 tools/binman/test/37_x86_no_ucode.dts
>>  create mode 100644 tools/binman/test/38_x86_ucode_missing_node.dts
>>  create mode 100644 tools/binman/test/39_x86_ucode_missing_node2.dts
>>  create mode 100644 tools/binman/test/40_x86_ucode_not_in_image.dts
>>  create mode 100644 tools/binman/test/41_unknown_pos_size.dts
>>  create mode 100644 tools/binman/test/44_x86_optional_ucode.dts
>>  create mode 100755 tools/binman/test/u_boot_no_ucode_ptr
>>  create mode 100644 tools/binman/test/u_boot_no_ucode_ptr.c
>>
>
> 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