All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ashwin Chaugule <ashwinc@aftek.com>
To: linux-mtd@lists.infradead.org
Subject: ST flashes
Date: Thu, 03 Feb 2005 01:14:18 +0530	[thread overview]
Message-ID: <42012D92.90007@aftek.com> (raw)

Hi,
         Im using 2.4.19-rmk7-pxa1 ... i know its really old and all 
that ... but i have no options right now...
but anyway..
Here's my problem.
I have two pxa 255 boards , one with ST flash and one with AMD.
I configured them to use the lubbock flash driver , and made one 
partition for jffs2.
sorry i dont have the board with me, i shall post the dumps soon..

On both the boards,
it boots up properly , performs all file operations smooth ...mount , 
read write etc..
on the AMD , this performance is consistent even after powering the 
board down.
But on the ST , the moment you power down the board ! , the next time , 
it only mounts , but doesnt
let me perform any fops. I keep getting I/O errors..for only write 
operations... read works , coz i could ls in the partition.
It also doesnt let me format the partition.

So I upgraded , the mtd subsys , along with jffs2 , but still the same 
behaviour...
Also , after upgrading mtd , i found that , the lubbock driver uses 
ioremap_cached and DMA , which is not available
in 2.4.19 , so i disabled all of it , but then the cfi probe fails , and 
only rom_mapping works...
due to which im guessing , mtdblock0 gets write protected and mounts 
jffs2 as read-only.

So I used the physmap driver , created one partition just like the 
lubbock driver .. , but then again , it mounts it as ro !!
here again , only ROM mapping works , it doesnt detect the flash type 
anymore. I have enabled Intel/Sharp , ST and AMD flash driver options in 
the CFI submenu.

Before upgrading the mtd , these options used to work.

Can anyone , give me a lead here ?
Thanks,

-- 
-------------------------
Ashwin Chaugule
Embedded Systems Engineer
Aftek Infosys Ltd.
[Embedded Division] 

             reply	other threads:[~2005-02-03  7:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02 19:44 Ashwin Chaugule [this message]
     [not found] <E1CwefL-0002c2-JD@canuck.infradead.org>
2005-02-07  4:32 ` ST flashes Rick Adams

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=42012D92.90007@aftek.com \
    --to=ashwinc@aftek.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.