[U-Boot] [PATCH v3 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

Graeme Russ graeme.russ at gmail.com
Mon Dec 5 23:12:41 CET 2011


Hi Gabe,

On Tue, Dec 6, 2011 at 9:09 AM, Gabe Black <gabeblack at chromium.org> wrote:
> Add functionality for reading in the coreboot tables and storing their
> contents in a structure for easy access.
>
> These four patches add support for the 32 bit Linux boot protocol to the
> zboot command. They also add support for an initrd.
>
> Changes in v2:
> - Move arch/x86/include/asm/ic/coreboot/* to
> arch/x86/include/asm/arch-coreboot/*
> - Merge the lib_sysinfo change into this one.
> - Changed includes to match ic/coreboot => arch-coreboot move.
> - Merged a previous change that used the coreboot tables to approximate
> total RAM size into this one.
> - Moved the coreboot specific e820 function into a different patch.
> - Moved the coreboot specific e820 function into this patch.
> - Add a help message to the zboot command.
>
> Changes in v3:
> - Moved the coreboot specific e820 function declaration out of the header.
> - Moved the coreboot specific e820 function declaration into this patch.
>
> Gabe Black (6):
>  x86: Import code from coreboot's libpayload to parse the coreboot
>    table
>  x86: Clean up the x86 zimage code in preparation to extend it
>  x86: Add support for booting Linux using the 32 bit boot protocol
>  x86: Add infrastructure to extract an e820 table from the coreboot
>    tables
>  x86: Refactor the zboot innards so they can be reused with a vboot
>    image
>  x86: Add support for specifying an initrd with the zboot command
>
>  arch/x86/cpu/coreboot/Makefile                  |    3 +
>  arch/x86/cpu/coreboot/ipchecksum.c              |   54 +++++
>  arch/x86/cpu/coreboot/sdram.c                   |   38 +++-
>  arch/x86/cpu/coreboot/sysinfo.c                 |   39 ++++
>  arch/x86/cpu/coreboot/tables.c                  |  183 +++++++++++++++
>  arch/x86/include/asm/arch-coreboot/ipchecksum.h |   37 +++
>  arch/x86/include/asm/arch-coreboot/sysinfo.h    |   64 ++++++
>  arch/x86/include/asm/arch-coreboot/tables.h     |  241 ++++++++++++++++++++
>  arch/x86/include/asm/zimage.h                   |   36 +--
>  arch/x86/lib/bootm.c                            |   21 ++-
>  arch/x86/lib/zimage.c                           |  276 +++++++++++++++--------
>  board/chromebook-x86/coreboot/coreboot.c        |   10 +
>  12 files changed, 874 insertions(+), 128 deletions(-)
>  create mode 100644 arch/x86/cpu/coreboot/ipchecksum.c
>  create mode 100644 arch/x86/cpu/coreboot/sysinfo.c
>  create mode 100644 arch/x86/cpu/coreboot/tables.c
>  create mode 100644 arch/x86/include/asm/arch-coreboot/ipchecksum.h
>  create mode 100644 arch/x86/include/asm/arch-coreboot/sysinfo.h
>  create mode 100644 arch/x86/include/asm/arch-coreboot/tables.h

Thanks, I will apply these to u-boot-x86/next ASAP

Regards,

Graeme


More information about the U-Boot mailing list