[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1201643758.9516.25.camel@cthulhu.hellion.org.uk>
Date: Tue, 29 Jan 2008 21:55:58 +0000
From: Ian Campbell <ijc@...lion.org.uk>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
linux-kernel@...r.kernel.org,
"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: PATCH/RFC: bzImage payload as compressed ELF file.
On Tue, 2008-01-29 at 13:50 -0800, H. Peter Anvin wrote:
> Ian Campbell wrote:
> >
> > I finessed the length issue slightly since it happens that the word
> > before the payload is the payload's length. I'm mulling a variety of
> > options:
> > * declare it compression scheme dependant. At least for gzip
> it
> > knows when it has reached the end.
> > * codify the length followed by data thing we happen to have
> now
> > * add a length field to the header, using another 4 bytes (is
> > there any pressure on the size of the header?).
> >
> > I'd probably go with the later unless we are pressed for space in
> the
> > header.
>
> I would agree with that. In fact, while we're adding fields to the
> header, I would like to add a field that would be the CRC32 (or other
> simple integrity check) over the whole image.
As in over the whole compressed payload part? I'll add that while I'm
there.
Ian.
--
Ian Campbell
"Jesus may love you, but I think you're garbage wrapped in skin."
-- Michael O'Donohugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists