* [Qemu-devel] NAND_CMD_COPYBACKPRG1 commands problematic?
@ 2010-01-07 21:38 Jean-Hugues Deschenes
0 siblings, 0 replies; only message in thread
From: Jean-Hugues Deschenes @ 2010-01-07 21:38 UTC (permalink / raw)
To: qemu-devel
Hi,
Has anyone used NAND_CMD_COPYBACKPRG1 commands? Those seem
problematic, as it seems s->iolen is not updated when the emulated page
buffer is written to, such that blk_write fails to write the updated
data to the block device... Is it a misunderstanding on my part of the
command sequence to send? ( I send a NAND_CMD_READ0 - NAND_CMD_LPREAD2
and a nand_getio to load the page buffer, follwoed by a
NAND_CMD_PAGEPROGRAM1 [offset 0 within the page] to set the device to
wrtie mode, followed by a NAND_CMD_COPYBACKPRG1 [offset 2048 within the
page], followed by 64 bytes of data and finally, a NAND_CMD_PAGEPROGRAM2)...
Thanks!
jh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-07 21:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 21:38 [Qemu-devel] NAND_CMD_COPYBACKPRG1 commands problematic? Jean-Hugues Deschenes
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).