From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Cedric Hombourger <chombourger@gmail.com>
Cc: qemu-devel@nongnu.org, michael@free-electrons.com
Subject: Re: [Qemu-devel] [patch 1/2] Add Flash support to the Versatile PB platform
Date: Tue, 14 Oct 2008 00:01:26 +0200 [thread overview]
Message-ID: <20081014000126.2bee9248@surf> (raw)
In-Reply-To: <34115e380810131335u7dd35f65g2a5203adbb5f585a@mail.gmail.com>
Hi Cédric !
Le Mon, 13 Oct 2008 22:35:54 +0200,
"Cedric Hombourger" <chombourger@gmail.com> a écrit :
> Well done! I have had a modified qemu for sometime now to do this as
> well but never got to the point where the Linux kernel could mount the
> root file-system from flash. I quickly gave a try to your patch using
> the latest svn and it seems to be the same (i.e. u-boot ok, kernel
> gets loaded from flash to memory and then boots but it fails to mount
> a root file-system). I have started to look into this but not yet deep
> enough to understand what is going on.... my kernel seems to be
> reading zeros instead of the cramfs magic number while the address
> that I am reading from seems to be correct. Is this something that you
> have tested and works for you? I will be happy to help if you also
> have issues.
So far, I've only tested :
* Starting U-Boot from the Flash ;
* Loading the kernel to RAM from TFTP in U-Boot ;
* Saving the kernel to Flash ;
* Saving the U-Boot environment to Flash ;
* Booting the kernel from Flash ;
* Having the kernel detect the Flash partitions ;
* Erase one block of Flash from Linux using flash_erase.
I haven't tested yet mounting root filesystems from Flash, so it's
possible that it doesn't work completely. I'll try to have a look at
this during this week.
Thanks for testing and thanks for your feedback !
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2008-10-13 22:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 8:22 [Qemu-devel] [patch 0/2] Add Flash support to the ARM Versatile platforms, v3 Thomas Petazzoni
2008-10-13 8:22 ` [Qemu-devel] [patch 1/2] Add Flash support to the Versatile PB platform Thomas Petazzoni
2008-10-13 20:35 ` Cedric Hombourger
2008-10-13 22:01 ` Thomas Petazzoni [this message]
2008-10-13 8:22 ` [Qemu-devel] [patch 2/2] Mention flash emulation in Versatile documentation Thomas Petazzoni
2008-10-20 8:11 ` [Qemu-devel] [patch 0/2] Add Flash support to the ARM Versatile platforms, v3 Thomas Petazzoni
2008-10-20 11:26 ` Jean-Christophe PLAGNIOL-VILLARD
2008-10-21 15:08 ` Thomas Petazzoni
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=20081014000126.2bee9248@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=chombourger@gmail.com \
--cc=michael@free-electrons.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).