public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* How to use MTD util: nandwrite
@ 2007-09-11  2:51 Wanghao.Yu
  2007-09-11  8:44 ` Artem Bityutskiy
  2007-09-11  9:23 ` falls huang
  0 siblings, 2 replies; 4+ messages in thread
From: Wanghao.Yu @ 2007-09-11  2:51 UTC (permalink / raw)
  To: linux-mtd

Hi,
I met a problem when I used nandwrite to copy file to NandFlash.
The command I used is as follows.
#nandwrite /tmp/hello /dev/mtd0 (copy file named hello to /dev/mtd0)
The error message is 
MEMGETINFO: Inappropriate ioctl for device.
Before using nandwrite, I have already used "flash_eraseall -j /dev/mtd0" to erase the NandFlash.
I don't know where the problem is.
Could anyone help me?

Best Regards,

Yu Wanghao (Helen)
Component Verification
COM IFCX CV
Infineon Technologies
CV Lab,F3, Block A, No.38, Gaoxin 6th Road, 
Xi'an High-tech Industries Development Zone, 
Xi'an,  P.R.China 710075 
Tel.	+86 29 8832 8222 ext 8513
Fax 	+86 29 8831 7279
mailto:wanghao.yu@infineon.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-11  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11  2:51 How to use MTD util: nandwrite Wanghao.Yu
2007-09-11  8:44 ` Artem Bityutskiy
2007-09-11  9:23 ` falls huang
2007-09-11  9:36   ` Wanghao.Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox