lkml.org 
[lkml]   [2008]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] Honor 'quiet' command line option in real mode boot decompressor.
Kristian Høgsberg wrote:
>> You know... we already have a command-line parser in the real-mode part
>> of the boot code, and it already extracts the "quiet" option: we should
>> be able to do this by passing a bit in "loadflags" (bit 5 suggested.)
>
> Hmm, as far as I understand the boot code, the decompressor consists of
> just head_32/64.S and misc.c plus the #included inflate.c and the
> compressed image in piggy.o. In this environment there is no command
> line parser, it's only available once the image has been decompressed.

> Or are you suggesting parsing the "quiet" option in the bootloader and
> then setting the loadflags bit from there? That's certainly doable, and
> I can update grub accordingly, but just parsing the command line seems
> like a simple, more local fix. I don't have a strong preference,
> though.

I think you're missing something: the decompressor is the *second stage*
of the boot code; the first stage is the real-mode code (arch/x86/boot).
I'm suggesting passing the flag from the real-mode code to the
decompressor, not from the boot loader (in the common case.)

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-05-29 22:35    [W:0.391 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site