Adding initramfs as an ELF section to bzImage

Leonid Bloch <[email protected]>
Newsgroups org.kernel.vger.initramfs,org.kernel.vger.linux-kernel
Message-ID <CAOwCge2F92GninYqckfrpOaTghsAUiESqpNUUpQLzvvBwOS87g@mail.gmail.com>
Hello,

I am wondering if it is possible to add initramfs as an ELF section to
the bzImage, and if so - how?

I am aware that it is possible to compile-in an initramfs or to supply
it as an external file. Both of these options don't fit my needs. The
first one doesn't fit because it is very difficult to manipulate after
compilation, and the second - because I need a single file.

It looks like there should be no problem to append a section to the
bzImage for loading into memory as initramfs, but I didn't find a way
to do it yet.

Regards,
Leonid.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.