lkml.org 
[lkml]   [2007]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC 6/7] i386: make the bzImage payload an ELF file
Rob Landley wrote:
>
> Er, make that objcopy, not objdump.
>
> Sane, maybe not. Something people want to do (and under the mistaken
> assumption I know more about initramfs then they do, have asked me how), yes.
> It always boils down to "do you have a vmlinux image lying around? Doing
> this with a bzImage _is_ brain surgery", and has yet to get beyond that
> question. I had about half of a script worked out for this, once...
>

If it can be done today on a vmlinux then it can be done the same way
with the mechanism I have proposed. Period, full stop.

> You can also supply an external initramfs image through the initrd mechanism,
> but this is unpleasant to do with some bootloaders (or lack of bootloaders).
> Plus it doesn't remove the old one, and wasting space makes embedded
> developers itch.

In thory one could create an extended bzImage format which could handle
a concatenated, and easily replaceable, initrd, but if it's done on
vmlinux today it would make a *lot* more sense to have it be done on the
vmlinux and nothing else.

-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: 2007-06-07 18:19    [W:0.059 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site