linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leonid Bloch <lb.workbox@gmail.com>
To: linux-kernel@vger.kernel.org, initramfs@vger.kernel.org
Subject: Adding initramfs as an ELF section to bzImage
Date: Tue, 23 Oct 2018 14:29:22 +0300	[thread overview]
Message-ID: <CAOwCge2F92GninYqckfrpOaTghsAUiESqpNUUpQLzvvBwOS87g@mail.gmail.com> (raw)

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.

                 reply	other threads:[~2018-10-23 11:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOwCge2F92GninYqckfrpOaTghsAUiESqpNUUpQLzvvBwOS87g@mail.gmail.com \
    --to=lb.workbox@gmail.com \
    --cc=initramfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).