[U-Boot] [PATCH 0/4] Add support for the 32 bit boot protocol to the x86 zboot command.

Graeme Russ graeme.russ at gmail.com
Wed Nov 30 10:28:34 CET 2011


Hi Gabe,

On 30/11/11 20:17, Gabe Black wrote:
> 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
> 
>  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


More information about the U-Boot mailing list