public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* How to configure MTD so that JFFS2 work on 7312 NandFlash?
@ 2002-06-18  2:59 Jason Chan
  2002-06-18  8:42 ` Marius Groeger
  2002-06-20 16:21 ` Thomas Gleixner
  0 siblings, 2 replies; 6+ messages in thread
From: Jason Chan @ 2002-06-18  2:59 UTC (permalink / raw)
  To: linux-mtd

Hi all,
    I am trying to configure MTD NandFlash and JFFS2 on EP7312 NandFlash 
driver.
However, when I try to access, it output "I/O Error".
But when the kernel bootup, I can see that the kernel successfully find 
out the nandflash device. So how can I make the JFFS2 and MTD work on 7312?

-- 
Best Regards,

Jason Chan
Emsoft Ltd.

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

* Re: How to configure MTD so that JFFS2 work on 7312 NandFlash?
  2002-06-18  2:59 How to configure MTD so that JFFS2 work on 7312 NandFlash? Jason Chan
@ 2002-06-18  8:42 ` Marius Groeger
  2002-06-18  9:00   ` Jason Chan
  2002-06-20 16:21 ` Thomas Gleixner
  1 sibling, 1 reply; 6+ messages in thread
From: Marius Groeger @ 2002-06-18  8:42 UTC (permalink / raw)
  To: Jason Chan; +Cc: linux-mtd

On Tue, 18 Jun 2002, Jason Chan wrote:

> Hi all,
>     I am trying to configure MTD NandFlash and JFFS2 on EP7312 NandFlash
> driver.
> However, when I try to access, it output "I/O Error".
> But when the kernel bootup, I can see that the kernel successfully find
> out the nandflash device. So how can I make the JFFS2 and MTD work on 7312?

Are you using the Cogent Evalboard (EP7312 is just the CPU)? Do you use the
latest MTD snapshot? It worked quite well over here last time I checked.
Unfortunately my EDB7312 is not available at the moment.

Regards
Marius

-----------------------------------------------------------------------------
Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger@sysgo.de
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com

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

* Re: How to configure MTD so that JFFS2 work on 7312 NandFlash?
  2002-06-18  8:42 ` Marius Groeger
@ 2002-06-18  9:00   ` Jason Chan
  2002-06-18  9:19     ` Marius Groeger
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Chan @ 2002-06-18  9:00 UTC (permalink / raw)
  To: Marius Groeger; +Cc: linux-mtd

Hi,
    Sorry, for my post. But it works now.
However, the performance is really very slow. When I try to mount the 
Toshiba 8Mb nandflash. It takes me 3-4 minutes.
Why it takes so long.

Marius Groeger wrote:

>On Tue, 18 Jun 2002, Jason Chan wrote:
>
>>Hi all,
>>    I am trying to configure MTD NandFlash and JFFS2 on EP7312 NandFlash
>>driver.
>>However, when I try to access, it output "I/O Error".
>>But when the kernel bootup, I can see that the kernel successfully find
>>out the nandflash device. So how can I make the JFFS2 and MTD work on 7312?
>>
>
>Are you using the Cogent Evalboard (EP7312 is just the CPU)? Do you use the
>latest MTD snapshot? It worked quite well over here last time I checked.
>Unfortunately my EDB7312 is not available at the moment.
>
>Regards
>Marius
>
>-----------------------------------------------------------------------------
>Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger@sysgo.de
>Software Engineering     Embedded and Real-Time Software    www.sysgo.de
>Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
>FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com
>


-- 
Best Regards,

Jason Chan
Emsoft Ltd.

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

* Re: How to configure MTD so that JFFS2 work on 7312 NandFlash?
  2002-06-18  9:00   ` Jason Chan
@ 2002-06-18  9:19     ` Marius Groeger
  2002-06-18  9:20       ` Jason Chan
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Groeger @ 2002-06-18  9:19 UTC (permalink / raw)
  To: Jason Chan; +Cc: linux-mtd

On Tue, 18 Jun 2002, Jason Chan wrote:

>     Sorry, for my post. But it works now.
> However, the performance is really very slow. When I try to mount the
> Toshiba 8Mb nandflash. It takes me 3-4 minutes.

Maybe because it has not been properly erased and formatted?!

Regards,
Marius

-----------------------------------------------------------------------------
Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger@sysgo.de
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com

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

* Re: How to configure MTD so that JFFS2 work on 7312 NandFlash?
  2002-06-18  9:19     ` Marius Groeger
@ 2002-06-18  9:20       ` Jason Chan
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Chan @ 2002-06-18  9:20 UTC (permalink / raw)
  To: Marius Groeger; +Cc: linux-mtd

I use the "eraseall" routine to erase the nand. The I use "mount 
/dev/mtdblock3 /mnt -t jffs2" to mount the flash. It takes 3-4 minutes.
After I successfully mounted, and copy some file to the flash and then 
umount. It very slow.
And it takes me 3-4 minutes even i mount that again.

What tools should I use to format and erase the flash properly?


Marius Groeger wrote:

>On Tue, 18 Jun 2002, Jason Chan wrote:
>
>>    Sorry, for my post. But it works now.
>>However, the performance is really very slow. When I try to mount the
>>Toshiba 8Mb nandflash. It takes me 3-4 minutes.
>>
>
>Maybe because it has not been properly erased and formatted?!
>
>Regards,
>Marius
>
>-----------------------------------------------------------------------------
>Marius Groeger           SYSGO Real-Time Solutions GmbH     mgroeger@sysgo.de
>Software Engineering     Embedded and Real-Time Software    www.sysgo.de
>Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
>FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com
>


-- 
Best Regards,

Jason Chan
Emsoft Ltd.

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

* Re: How to configure MTD so that JFFS2 work on 7312 NandFlash?
  2002-06-18  2:59 How to configure MTD so that JFFS2 work on 7312 NandFlash? Jason Chan
  2002-06-18  8:42 ` Marius Groeger
@ 2002-06-20 16:21 ` Thomas Gleixner
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Gleixner @ 2002-06-20 16:21 UTC (permalink / raw)
  To: Jason Chan, linux-mtd

On Tuesday, 18. June 2002 04:59, Jason Chan wrote:
> Hi all,
>     I am trying to configure MTD NandFlash and JFFS2 on EP7312 NandFlash
> driver.
> However, when I try to access, it output "I/O Error".
> But when the kernel bootup, I can see that the kernel successfully find
> out the nandflash device. So how can I make the JFFS2 and MTD work on 7312?

please read http://www.linux-mtd.infradead.org/tech/nand.html : Config 
settings


-- 
Thomas
________________________________
Thomas Gleixner - autronix automation
http://www.autronix.de gleixner@autronix.de

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

end of thread, other threads:[~2002-06-20 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18  2:59 How to configure MTD so that JFFS2 work on 7312 NandFlash? Jason Chan
2002-06-18  8:42 ` Marius Groeger
2002-06-18  9:00   ` Jason Chan
2002-06-18  9:19     ` Marius Groeger
2002-06-18  9:20       ` Jason Chan
2002-06-20 16:21 ` Thomas Gleixner

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