[coreboot] [PATCH] mkelfImage: set kernel_alignment so 2.6.31+ work

Troy Telford ttelford.groups at gmail.com
Fri May 21 17:44:48 CEST 2010


On May 20, 2010, at 6:48 PM, Eric W. Biederman wrote:

> ramdisk-base is just where in ram to load the ramdisk.  mkelfImage defaults
> to 8M.  You are setting it to 20M.  With the change to kernels to default
> them to running at 16M that only leaves 4M for the kernel which I expect is
> to little.  Because mkelfImage is old and the hack is crude I don't
> mkelfImage is to stupid to realize that we have a problem.

20M is indeed to small.  The ramdisk (incl. kernel modules) is on the order of 26M; I've tried setting it to 32M - this setting is what allows the kernel to actually start; however (as previously mentioned), the kernel is unable to mount the ramdisk.
--
Troy Telford
ttelford.groups at gmail.com





More information about the coreboot mailing list