* Simple Newbie Questions for MTD and JFFS
@ 2000-08-25 16:21 mark.langsdorf
2000-08-25 16:34 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: mark.langsdorf @ 2000-08-25 16:21 UTC (permalink / raw)
To: mtd
After a lot of running around in circles and poking at the
code, I've finally gotten my AMD-CFI flash bank to mount
with jffs. That's great, but now what do I do?
If I copy a file directly into the mount point, it doesn't
show up the next time I mount the flash. If I use mkfs.jffs
to create an image and copy that into flash, I can see the
image but I can't access the files that I put into it.
I guess I'm asking if there's any documentation or hints on
how to use the files in the util/ directory, as well as how
mtd and jffs are supposed to work once they've mounted.
Mark Langsdorf
Advanced Micro Devices, Inc Tel: 512.602.3756
5204 E. Ben White Blvd. M/S 590 Fax: 512.602.5051
Austin, TX 78741 mark.langsdorf@amd.com
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Simple Newbie Questions for MTD and JFFS
2000-08-25 16:21 Simple Newbie Questions for MTD and JFFS mark.langsdorf
@ 2000-08-25 16:34 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-08-25 16:34 UTC (permalink / raw)
To: mark.langsdorf; +Cc: mtd
mark.langsdorf@amd.com said:
> If I copy a file directly into the mount point, it doesn't show up
> the next time I mount the flash. If I use mkfs.jffs to create an
> image and copy that into flash, I can see the image but I can't access
> the files that I put into it.
That's odd. Are you 100% sure that the physical write support for your
flash chips is working? When you make an image with mkfs.jffs, how are you
writing that to the flash?
You _are_ using the latest version from CVS, aren't you?
mark.langsdorf@amd.com said:
> I guess I'm asking if there's any documentation or hints on how to use
> the files in the util/ directory,
Erase a single erase block in a device:
erase <device> <offset>
e.g.: erase /dev/mtd0 0
Erase a whole device:
eraseall <device>
e.g.: eraseall /dev/mtd0
Load an image into a device:
doc_loadbios <device> <image>
e.g.: doc_loadbios /dev/mtd0 myimage.jffs
(note: This doesn't erase to the end of the device, only as far as is
necessary to load the image. Use 'eraseall' beforehand if necessary)
> as well as how mtd and jffs are supposed to work once they've mounted.
Once JFFS is mounted, it should just work. It does for me.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-25 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-25 16:21 Simple Newbie Questions for MTD and JFFS mark.langsdorf
2000-08-25 16:34 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox