lkml.org 
[lkml]   [2012]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] x86, boot: Optimize the elf header handling.
"H. Peter Anvin" <hpa@zytor.com> writes:

> On 07/01/2012 09:26 AM, Eric W. Biederman wrote:
>>
>> Fair enough. It looks like somehow SMP got unset in my test
>> configuration and enabling SMP certainly kills the boot for
>> me. So it looks like I can reproduce this.
>>
>> So I am guess I just missed something. Ugh.
>>
>> Digging deeper...
>>
>
> Could there be a VMA/LMA confusion? The VMA for the .data..percpu
> section is zero.

I am suspecting something similar. At the moment I am trying
to remember how to get early printk working in misc.c so I can
poke around a bit more.

The theory that I was working on, that used to be true, and
seems to be true of everything except the percpu section is
that objcopy just does the right thing when creating vmlinux.bin.
vmlinux.bin being what we compress.

I don't see anything obviously wrong with the headers of vmlinux.bin
although we still unnecessarily have section headers in that file.

Eric


\
 
 \ /
  Last update: 2012-07-01 19:41    [W:0.057 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site