From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building bootable usb drive for target board with ext2
Date: Fri, 12 Jun 2015 21:10:31 +0200 [thread overview]
Message-ID: <20150612211031.3a684e7d@free-electrons.com> (raw)
In-Reply-To: <CANKYLME21pAifC-tb+HC=tRhy5k9ka0W-gywZCPrOdpq1aOTMA@mail.gmail.com>
Dear Patricia Holden,
On Fri, 12 Jun 2015 14:20:59 -0400, Patricia Holden wrote:
> I'm following examples of how to create a bootable usb for a target board
> i'm doing some work for. I am stuck at setting up grub for booting. I
> can't seem to get buildroot to put the bzImage into /boot directory for
> grub to load. My target ends up hanging.
If all you need is to have bzImage installed in /boot, then make sure
to enable BR2_LINUX_KERNEL_INSTALL_TARGET.
However, you have BR2_TARGET_ROOTFS_INITRAMFS=y, which means your
rootfs is inside your kernel image. So it is not possible for your
kernel image to be inside your rootfs!
So if you want to use a rootfs inside the kernel image (using
initramfs), then all you have to do it to build yourself a small
filesystem with just the necessary Grub bits in /boot and the
bzImage.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-06-12 19:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 18:20 [Buildroot] Building bootable usb drive for target board with ext2 Patricia Holden
2015-06-12 19:10 ` Thomas Petazzoni [this message]
2015-06-12 20:04 ` Patricia Holden
2015-06-12 21:49 ` Patricia Holden
2015-06-12 21:51 ` Thomas Petazzoni
2015-06-12 22:00 ` Patricia Holden
2015-06-12 22:43 ` Patricia Holden
2015-06-13 1:26 ` Patricia Holden
2015-06-13 3:31 ` Patricia Holden
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=20150612211031.3a684e7d@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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