* Getting mtd to work with IBM Evaluation boards (Ebony/Walnut)
@ 2004-11-08 21:19 Chan Siu Ming
2004-11-09 4:33 ` bandwidthcrunch
0 siblings, 1 reply; 3+ messages in thread
From: Chan Siu Ming @ 2004-11-08 21:19 UTC (permalink / raw)
To: linux-mtd
Hello,
I'm trying to get mtd to work with IBM Walnut and
Ebony PPC evaluation boards. I tried with mtd CVS
from 2004.11.03 and Linux 2.6.9, but seem to have
some problems. Here's first what I did do with
success:
* patched kernel with CVS mtd and compiled it,
everything into the kernel - no modules. I'm
not quite sure what I should have enabled in
the config, but I guess these boards have CFI
AMD chips in them.
* populated /dev with the MAKEDEV in mtd tree
* compiled the mtd utils
My problems are:
* There doesn't seem to be a map for Walnut boards,
anyone has got one?
* Ebony can read from the flash well, but cannot
write.
Flash_info says: "0 erase regions". Flash_unlock and
all write attemps fail, when trying to open the
device in O_RDWR or O_WRONLY mode. What might be
the problem?
Tested the physical ram test device on Walnut (mapped
to the boards SRAM at 0xFFF00000) and that worked
fine.
Thanks for any help.
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting mtd to work with IBM Evaluation boards (Ebony/Walnut)
2004-11-08 21:19 Getting mtd to work with IBM Evaluation boards (Ebony/Walnut) Chan Siu Ming
@ 2004-11-09 4:33 ` bandwidthcrunch
2004-11-09 6:47 ` Chan Siu Ming
0 siblings, 1 reply; 3+ messages in thread
From: bandwidthcrunch @ 2004-11-09 4:33 UTC (permalink / raw)
To: Chan Siu Ming; +Cc: linux-mtd
http://kelp.or.kr/korweblog/stories.php?story=04/06/30/7742286 is
doing something with one of these boards .
On Mon, 8 Nov 2004 21:19:32 +0000 (GMT), Chan Siu Ming
<namely_void@yahoo.co.uk> wrote:
> Hello,
> I'm trying to get mtd to work with IBM Walnut and
> Ebony PPC evaluation boards. I tried with mtd CVS
> from 2004.11.03 and Linux 2.6.9, but seem to have
> some problems. Here's first what I did do with
> success:
> * patched kernel with CVS mtd and compiled it,
> everything into the kernel - no modules. I'm
> not quite sure what I should have enabled in
> the config, but I guess these boards have CFI
> AMD chips in them.
> * populated /dev with the MAKEDEV in mtd tree
> * compiled the mtd utils
> My problems are:
> * There doesn't seem to be a map for Walnut boards,
> anyone has got one?
> * Ebony can read from the flash well, but cannot
> write.
> Flash_info says: "0 erase regions". Flash_unlock and
> all write attemps fail, when trying to open the
> device in O_RDWR or O_WRONLY mode. What might be
> the problem?
> Tested the physical ram test device on Walnut (mapped
> to the boards SRAM at 0xFFF00000) and that worked
> fine.
>
> Thanks for any help.
>
> ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting mtd to work with IBM Evaluation boards (Ebony/Walnut)
2004-11-09 4:33 ` bandwidthcrunch
@ 2004-11-09 6:47 ` Chan Siu Ming
0 siblings, 0 replies; 3+ messages in thread
From: Chan Siu Ming @ 2004-11-09 6:47 UTC (permalink / raw)
To: linux-mtd
--- bandwidthcrunch <bandwidthcrunch@gmail.com>
wrote:
>
http://kelp.or.kr/korweblog/stories.php?story=04/06/30/7742286
> is
> doing something with one of these boards .
I've noticed that, too, but my Korean must be a bit
rusty since most of the text seems incomprehensible.
> On Mon, 8 Nov 2004 21:19:32 +0000 (GMT), Chan Siu
> Ming
> <namely_void@yahoo.co.uk> wrote:
> > My problems are:
> > * There doesn't seem to be a map for Walnut
> boards,
> > anyone has got one?
> > * Ebony can read from the flash well, but cannot
> > write.
> > Flash_info says: "0 erase regions". Flash_unlock
> and
> > all write attemps fail, when trying to open the
> > device in O_RDWR or O_WRONLY mode. What might be
> > the problem?
I looked at code in maps/ebony.c and it seems to use
map_rom for one the chips. That must be why it cannot
be written to. The chips are AM29F040 which are JEDEC
chips. If I change the map_rom to "jedec_probe", I
think it should work. But I would like to know why
it has been set to map_rom originally. Is there some
problem that makes the actual flash chip driver not
to work with Ebony board, or what?
--
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-09 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08 21:19 Getting mtd to work with IBM Evaluation boards (Ebony/Walnut) Chan Siu Ming
2004-11-09 4:33 ` bandwidthcrunch
2004-11-09 6:47 ` Chan Siu Ming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox