From: baruch@tkos.co.il (Baruch Siach)
To: linux-arm-kernel@lists.infradead.org
Subject: qemu machine settings and root fs for armv8?
Date: Fri, 10 Aug 2018 09:00:57 +0300 [thread overview]
Message-ID: <871sb6bw12.fsf@tkos.co.il> (raw)
In-Reply-To: <CAKwvOdnaknwFshVAk=G0x44RxZyrMPp+O2yFBauAe9-3C4DpTQ@mail.gmail.com>
Hi Nick,
Nick Desaulniers writes:
> On Thu, Aug 9, 2018 at 12:36 AM Laura Abbott <labbott@redhat.com> wrote:
>> I usually use a buildroot environment and just boot as an initramfs:
>
> I need to play around more with buildroot, but I'll bet that's an
> option to make a ramdisk instead of a full disk image?
The BR2_TARGET_ROOTFS_CPIO config option of Buildroot enables build of
.cpio archive which is suitable for use as initramfs/initrd. See under
'Filesystem images' -> 'cpio the root filesystem'.
In case you also build your kernel under Buildroot, then
BR2_TARGET_ROOTFS_CPIO would automatically make your kernel embed the
cpio initramfs (using the kernel CONFIG_INITRAMFS_SOURCE). With that, you
don't need to pass a separate -initrd option to qemu.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
next prev parent reply other threads:[~2018-08-10 6:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 18:52 qemu machine settings and root fs for armv8? Nick Desaulniers
2018-08-08 23:10 ` Nick Desaulniers
2018-08-09 7:36 ` Laura Abbott
2018-08-09 17:15 ` Nick Desaulniers
2018-08-10 6:00 ` Baruch Siach [this message]
2018-08-10 6:38 ` Laura Abbott
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=871sb6bw12.fsf@tkos.co.il \
--to=baruch@tkos.co.il \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.