From: sai pavan <saipavanboddu@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Fwd: Using QCOW2 with nand flashes.
Date: Tue, 7 Jul 2015 12:24:26 +0530 [thread overview]
Message-ID: <CAH1YCKesEnZFnv_6M3VpJC1owZ0y4e7+DPKtzEKop73_q==bZw@mail.gmail.com> (raw)
In-Reply-To: <CAH1YCKe-P=WBGKNmD0+a8MV7dDVTNHF_SBR303Q38iKEz=Qncw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 623 bytes --]
Hi,
I am trying to implement fake disk images for emulating nand flashes.
I see the spares files are formed when the content is zeros. But for nand
flashes the content is all one's initially. It is difficult for me make a
sparse file with all ones.
Do any one have suggestions for this problem.
I am thinking of creating an nand flash file with all zeros and negating
the data at receiving end in qemu. So the input file will be null, but the
concept of all 1's be intact. But this will be confusing if some one likes
to compare the output bin files after a write. One should read the data
negating.
Regards,
Sai Pavan
[-- Attachment #2: Type: text/html, Size: 885 bytes --]
next prev parent reply other threads:[~2015-07-07 6:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 6:51 [Qemu-devel] Using QCOW2 with nand flashes sai pavan
2015-07-07 6:54 ` sai pavan [this message]
2015-07-07 8:41 ` [Qemu-devel] Fwd: " Peter Crosthwaite
2015-07-07 9:09 ` sai pavan
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='CAH1YCKesEnZFnv_6M3VpJC1owZ0y4e7+DPKtzEKop73_q==bZw@mail.gmail.com' \
--to=saipavanboddu@gmail.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).