All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy <willy@willygroup.org>
To: buildroot@busybox.net
Subject: [Buildroot] Using buildroot images (iso/ext2) in real target device (flash drive)
Date: Fri, 27 Apr 2012 16:23:20 +0200	[thread overview]
Message-ID: <jnea4q$6a2$1@dough.gmane.org> (raw)
In-Reply-To: <jn68cv$dcc$1@dough.gmane.org>

Il 24/04/2012 15:04, Willy ha scritto:
> I've still that problem :-(

I made some little steps.

I've installed grub on my usb flash using qemu:
"qemu -kernel bzimage -hda=/dev/sdc"
where sdc is my usb flash.
It tries to boot, but it stops.
I figured out that it tries to boot the bzImage on RAM (and it's larger 
than my memory).

So I've deleted the output/ folder, made some modifications and rebuilt 
all obtaining a smaller kernel and a smaller fs.
Now it boot, but always using the bzImage (I've only /boot/grub/* and 
bzImage on my flash usb). Every modifications does not survive to reboot.

So I've built the vmlinux image and tar fs, but I got
"Grub Error 13: Invalid or unsupported executable format"

There is a way to use a vmlinux image and the fs directly on the flash 
drive?

Thanks
-- 
Willy

  reply	other threads:[~2012-04-27 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 16:06 [Buildroot] Using buildroot images (iso/ext2) in real target device (flash drive) Willy
2012-03-01 16:59 ` Thomas Petazzoni
2012-03-02 23:00   ` Arnout Vandecappelle
2012-03-03 19:52     ` PHilip RUshik
2012-03-05  9:45     ` Thomas Petazzoni
2012-04-24 13:04 ` Willy
2012-04-27 14:23   ` Willy [this message]
2012-04-27 20:37     ` Arnout Vandecappelle

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='jnea4q$6a2$1@dough.gmane.org' \
    --to=willy@willygroup.org \
    --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 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.