From: Savin Zlobec <savin@epico.si>
To: tglx@linutronix.de
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] AT91RM9200 NAND support
Date: Tue, 20 Jun 2006 16:24:05 +0200 [thread overview]
Message-ID: <44980505.2000003@epico.si> (raw)
In-Reply-To: <1150811833.6780.195.camel@localhost.localdomain>
Thomas Gleixner wrote:
>On Tue, 2006-06-20 at 15:48 +0200, Savin Zlobec wrote:
>
>
>>I've pinpointed the location to the command switch at the end of
>>nand_command fn:
>>
>> switch (command) {
>>
>> case NAND_CMD_PAGEPROG:
>> case NAND_CMD_ERASE1:
>> case NAND_CMD_ERASE2:
>> case NAND_CMD_SEQIN:
>> case NAND_CMD_STATUS:
>> chip->cmd_ctrl(mtd, NAND_CMD_NONE, NAND_NCE);
>>^^^^^^^^^^^^^
>>if I wait for ready at this point then I can copy files to jffs2
>>partition on my
>>nand without problems (...well as far as I can tell from a short test...).
>>
>>
>
>Can you try to wait only, when the STATUS command is given ?
>
>I have no idea why this happens. Never seen that before.
>
>
Indeed it is the STATUS command. If I don't wait after it I can't copy
a single file on the jffs2 partition, inserting a wait there seems to solve
the problem.
Thanks,
savin
PS:
The MTD in kernel 2.6.17 doesn't have this wait either, but works for
me... different code paths - different timings ? I'll try to find some time
to check this.
next prev parent reply other threads:[~2006-06-20 14:14 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 6:54 [PATCH] AT91RM9200 NAND support Andrew Victor
2006-06-20 7:08 ` Thomas Gleixner
2006-06-20 7:17 ` Andrew Victor
2006-06-20 7:43 ` Savin Zlobec
2006-06-20 8:00 ` Thomas Gleixner
2006-06-20 8:08 ` Thomas Gleixner
2006-06-20 9:07 ` Savin Zlobec
2006-06-20 9:18 ` Thomas Gleixner
2006-06-20 10:49 ` Savin Zlobec
2006-06-20 11:12 ` Thomas Gleixner
2006-06-20 11:42 ` Savin Zlobec
2006-06-20 11:55 ` Thomas Gleixner
2006-06-20 12:28 ` Savin Zlobec
2006-06-20 12:44 ` Thomas Gleixner
2006-06-20 12:52 ` Thomas Gleixner
2006-06-20 13:17 ` Savin Zlobec
2006-06-20 13:01 ` Savin Zlobec
2006-06-20 13:21 ` Thomas Gleixner
2006-06-20 13:48 ` Savin Zlobec
2006-06-20 13:57 ` Thomas Gleixner
2006-06-20 14:24 ` Savin Zlobec [this message]
2006-06-20 14:24 ` Thomas Gleixner
2006-06-20 14:29 ` Thomas Gleixner
2006-06-20 15:53 ` Savin Zlobec
2006-06-20 15:53 ` Thomas Gleixner
2006-06-20 16:03 ` Savin Zlobec
2006-06-20 9:07 ` David Woodhouse
2006-06-20 9:14 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44980505.2000003@epico.si \
--to=savin@epico.si \
--cc=linux-mtd@lists.infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox