From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Persistent U-Boot environment variables under QEMU
Date: Sun, 14 Feb 2010 11:39:20 +0100 [thread overview]
Message-ID: <20100214113920.153e393f@surf> (raw)
In-Reply-To: <727912.43003.qm@web44816.mail.sp1.yahoo.com>
Hello,o
On Sat, 13 Feb 2010 13:51:26 -0800 (PST)
Jim Thomas <jimthomasembedded@yahoo.com> wrote:
> With real hardware, the U-Boot environment variables are persistent
> in flash memory.
>
> Is there a way to simulate this with QEMU? I would not go to the
> trouble to manually enter the U-Boot environment variables each time
> I boot under QEMU, but if there is a persistence mechanism available
> then including U-Boot might be practical.
Qemu can emulate flash memory, so U-Boot can be used "normally". In
2008, I managed to get U-Boot working on the versatilepb board
emulation of Qemu, with few changes to Qemu and U-Boot. See
http://thomas.enix.org/Blog-20081002153859-Technologie for details. The
three first patches have been merged into Qemu since then, but the last
(and most important) patch was never merged.
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2010-02-14 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-13 21:51 [Buildroot] Persistent U-Boot environment variables under QEMU Jim Thomas
2010-02-14 10:39 ` Thomas Petazzoni [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=20100214113920.153e393f@surf \
--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 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.