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

Troy Telford ttelford.groups at gmail.com
Thu May 20 22:09:39 CEST 2010

On Thursday, May 20, 2010 12:56:48 pm Eric W. Biederman wrote:
> Troy Telford <ttelford.groups at gmail.com> writes:
> > On Wednesday, May 19, 2010 05:42:36 am Eric W. Biederman wrote:
> >> The kernel initialization code as of boot protocol 2.10 is now reading
> >> the kernel_alignment field.  With the field left the kernel attempts to
> >> align things to 4GB which is unlikely to work, so change the alignment
> >> to the kernels normal value of 16MB so newer kernels process by
> >> mkelfImage will boot.
> >> 
> >> Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
> > 
> > I've applied the patch and built it.  (Twice - once against svn, and once
> > against 2.7.0.  It doesn't seem to matter).
> > 
> > The change to work for any of the machines I'm trying it on (mostly the
> > old HDAMA LinuxBIOS machines, but some newer hardware as well).
> Odd.  That change was enough to get it to work in my testing.
> In the case that doesn't reboot now could you try adding
> an earlyprintk=ttyS0,115200 to your command line?  With a little
> luck that will give you some output.

Lady luck rarely smiles upon me.  This looks like this is no exception.

I modified the kernel command line to add the 'earlyprintk=<foo>' at the end 
of the command line, and the result is the same:
 - no output until the system rebooted (when using kexec)
 - no output at all (etherboot)

More information about the coreboot mailing list