* MTD, JFFS, my target -- bringing them together?
@ 2000-07-05 20:17 Juan Gonzo
2000-07-05 21:49 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Juan Gonzo @ 2000-07-05 20:17 UTC (permalink / raw)
To: MTD Mailing List
Ok,
I am using Intel Strataflash with the CFI command
set. I have managed to compile the kernel with the
MTD code in place. I would like to use JFFS for the
filesystem. The following were enabled with make
oldconfig:
Memory Technology Device (MTD) support
Common Flash Interface (CFI) support
CFI support for Intel/Sharp Extended Command Set
chips
CFI chips on memory bus support
Direct blockdevice access to MTD devices
Journalling Flash filesystem (JFFS) support
>From previous emails, it seems I have to supply a
read16() and write16() function for MTD to work
properly on my system. Is this right? Is that all
I have to supply? What about all that info from the
website about populating the mtd_info struct and the
add_mtd_device business? Do I still have to do that?
Thanks for any help,
-- kelly
_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MTD, JFFS, my target -- bringing them together?
2000-07-05 20:17 MTD, JFFS, my target -- bringing them together? Juan Gonzo
@ 2000-07-05 21:49 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-07-05 21:49 UTC (permalink / raw)
To: Juan Gonzo; +Cc: MTD Mailing List
On Wed, 5 Jul 2000, Juan Gonzo wrote:
> From previous emails, it seems I have to supply a
> read16() and write16() function for MTD to work
> properly on my system. Is this right? Is that all
> I have to supply? What about all that info from the
> website about populating the mtd_info struct and the
> add_mtd_device business? Do I still have to do that?
No you don't. All you need to do is provide something based on the
physmap.c file which the CFI chip driver can use to access the chips. In
fact, in the majority of cases you should get away with only changing a
couple of #defines in that file to say where in physical memory the chips
are, and how large the range is that they're mapped into.
--
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-07-05 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-05 20:17 MTD, JFFS, my target -- bringing them together? Juan Gonzo
2000-07-05 21:49 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox