public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Creating NAND flash image outside embedded target
@ 2006-06-23  0:28 Kevin Starinieri
  2006-06-23  7:57 ` Frank Haverkamp
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Starinieri @ 2006-06-23  0:28 UTC (permalink / raw)
  To: linux-mtd

I have looked through the mail archives and did not see any subject
threads regarding this.  I am trying to create a NAND flash image
without having to do it on my embedded target.  

I have created a fake ram mtd device using mtdram driver, using the
following commands on a linux Fedora Core 5 machine:

modprobe mtdcore
modprobe mtdram total_size=32768 erase_size=16

I then created the necessary mtd block and character devices (mknod) and
then issued:

modprobe mtdblock

I then wanted to partition the fake mtd device and write to it using a
nandwrite utility that I compiled for x86 that is used for samsung arm
s3c2410 nand flash.  But the utility expects the device to be
partitioned and erase regions to be defined.  But, I don't know of
anyway to do this outside of my target.   It seems I need another x86
utility that will create the partitions and erase regions.  Does anyone
know how to create an MTD environment where I can create nand flash
images on my linux Fedora Core 5 box?

kstar

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

end of thread, other threads:[~2006-06-23  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23  0:28 Creating NAND flash image outside embedded target Kevin Starinieri
2006-06-23  7:57 ` Frank Haverkamp

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