[coreboot] [patch] mkelfimage intelligent placement of ramdisk

Warren Togami wtogami at redhat.com
Tue Jun 10 18:47:38 CEST 2008

The attached patch by Peter Jones <pjones at redhat.com> implements 
intelligent placement of the ramdisk in memory during boot of an ELF 
image created by mkelfimage.

mkelfimage prior to this patch defaults to a hardcoded 1MB which doesn't 
quite work in all circumstances.  The kernel as it is decompressed can 
overwrite part of the ramdisk.  Peter says that pretty much all other 
boot loaders already do this intelligent detection instead of native 
hard coding.

This patch allows a wrapped Fedora i586 kernel to boot on both KVM and 
Artec Group's Thincan DBE61C (coreboot).  It probably needs more testing 
in other circumstances.

Warren Togami
wtogami at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkelfImage-2.7-ramdisk_base.patch
Type: text/x-patch
Size: 2598 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080610/e5a1af93/attachment.patch>

More information about the coreboot mailing list