Add support for the 32 bit boot protocol to the x86 zboot command.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.
Hi Gabe,
Quoted 11 lines · Gabe Black
These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd.
Gabe Black (4):
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: Refactor the zboot innards so they can be reused with a vboot
image
x86: Add support for specifying an initrd with the zboot command
Quoted 4 lines
arch/x86/include/asm/zimage.h | 31 +---- arch/x86/lib/bootm.c | 21 +++- arch/x86/lib/zimage.c | 257 ++++++++++++++++++++++++++--------------- 3 files changed, 183 insertions(+), 126 deletions(-)
The only real concern I have right now is that this series, which is purely x86, relies on functionality introduced in the "Add code to read in the
coreboot tables and fill in memory info" series. Specifically,install_e820_map() is in only in arch/x86/cpu/coreboot/sdram.c
Of course, you need to define CONFIG_ZBOOT_32 to make use of the functionality, so maybe this is OK, but I do wonder if a default e829 map is possible...
All that aside, I am going to have a good play with it all right now :)
Regards,
Graeme