Re: [PATCH RFC 6/7] i386: make the bzImage payload an ELF file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux