From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Getting It into Compact Flash
Date: Thu, 13 Dec 2012 22:37:19 +0100 [thread overview]
Message-ID: <50CA4A8F.1050002@mind.be> (raw)
In-Reply-To: <000901cdd883$889a6e70$99cf4b50$@co.uk>
On 12/12/12 17:12, Ted Wood wrote:
> OK Next question:
>
> I?ve built a kernel image and a file system image.
>
> I?ve manually installed Grub 2 and a grub.cfg file which looks like this:
>
> menuentry ?Buildroot?
>
> {
>
> set root=?(hd0,msdos1)?
>
> echo ?Loading Kernel?)
>
> linux /boot/bzimage
>
> echo ?Loading Root FS?
>
> initrd /boot/rootfs.ext2
>
> }
For an initrd, you should use a cpio filesystem rather than ext2:
- ext2 adds overhead that is completely unnecessary for a ramdisk;
- if you use anything else than static device management, the devtmps
will not be mounted automatically by the kernel; the cpio filesystem
adds a /init script that mounts it for you.
I thought this was now clearly explained in the manual, is it not?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-12-13 21:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 16:12 [Buildroot] Getting It into Compact Flash Ted Wood
2012-12-12 16:22 ` Richard Braun
2012-12-12 20:49 ` Richard Braun
2012-12-13 10:48 ` Ted Wood
2012-12-13 11:32 ` Richard Braun
2012-12-13 13:08 ` Ted Wood
2012-12-13 13:26 ` Richard Braun
2012-12-13 16:00 ` Ted Wood
2012-12-13 21:37 ` Arnout Vandecappelle [this message]
2012-12-13 22:04 ` Richard Braun
2012-12-13 23:02 ` Arnout Vandecappelle
2012-12-14 9:10 ` Ted Wood
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=50CA4A8F.1050002@mind.be \
--to=arnout@mind.be \
--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