Skip to content

Add support for the 32 bit boot protocol and coreboot table parsing.

Graeme Russ u-boot 2 versions – New

Get series with b4
b4 am CALButCL-CbTwtExqMrSiiCK1z2QW0QJhDnYfKN=JO3TcRj=q_Q@mail.gmail.com

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86: Import code from coreboot's libpayload to parse the coreboot table+0 -00 replies
2/6x86: Clean up the x86 zimage code in preparation to extend it+0 -00 replies
3/6x86: Add support for booting Linux using the 32 bit boot protocol+0 -00 replies
4/6x86: Add infrastructure to extract an e820 table from the coreboot tables+0 -00 replies
5/6x86: Refactor the zboot innards so they can be reused with a vboot image+0 -00 replies
6/6x86: Add support for specifying an initrd with the zboot command+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

Hi Gabe,

Quoted 44 lines · Gabe Black

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 +
Quoted 7 lines

?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