Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Mousset | GEOCEPT GmbH <fabrice.mousset@geocept.com>
To: buildroot@busybox.net
Subject: [Buildroot] Build embedded system for x86 device
Date: Wed, 1 Apr 2015 16:18:47 +0000	[thread overview]
Message-ID: <1427905127091.2736@geocept.com> (raw)
In-Reply-To: <AMXPR04MB103B46C4493795E70A219D7EAF30@AMXPR04MB103.eurprd04.prod.outlook.com>

I reply to myself and I apologies for the noise...

In fact, the solution was easy find, I simple had to follow the help message from GRUB2:
a) generate a tar rootfs
b) leave 1Mb at begin of the Compact Flash and create a primary partition (ext3 in my use case)
c) format the root partition (sudo mkfs.ext3 /dev/sdb1) and mount it (sudo mount /dev/sdb1 /mnt)
d) install grub sudo ./output/host/usr/sbin/grub-bios-setup \
			-b ./output/host/usr/lib/grub/i386-pc/boot.img \
			-c ./output/images/grub.img -d . /dev/sdb
e) install the rootfs ==> sudo tar -C /mnt -xf output/images/rootfs.tar
f) install kernel ==> sudo cp output/image/bzImage  /mnt/boot/
g) finish: sync && sudo umount /mnt

That's it!

All works fine now, and my device boots with success :)

Thanks to all Buildroot contributors/maintainers for this great software :)

Best regards

Fabrice

      reply	other threads:[~2015-04-01 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 13:32 [Buildroot] Build embedded system for x86 device Fabrice Mousset | GEOCEPT GmbH
2015-04-01 14:37 ` Fabrice Mousset | GEOCEPT GmbH
2015-04-01 16:18   ` Fabrice Mousset | GEOCEPT GmbH [this message]

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=1427905127091.2736@geocept.com \
    --to=fabrice.mousset@geocept.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