* mtd support for 64-bit bus
@ 2003-10-03 20:02 Howard King
2003-10-03 20:08 ` Nicolas Pitre
2003-10-04 3:18 ` Thayne Harbaugh
0 siblings, 2 replies; 4+ messages in thread
From: Howard King @ 2003-10-03 20:02 UTC (permalink / raw)
To: linux-mtd
We have a customized board with 4 AMD 29L641V flash chips (4 * 8Mbyte) with
64-bit wide bus. The mtd driver in linux 2.4.18 kernel does not work for
this configuration. Does anyone have similar experiences? What is the
solution? Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mtd support for 64-bit bus
2003-10-03 20:02 mtd support for 64-bit bus Howard King
@ 2003-10-03 20:08 ` Nicolas Pitre
2003-10-22 0:50 ` Howard King
2003-10-04 3:18 ` Thayne Harbaugh
1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Pitre @ 2003-10-03 20:08 UTC (permalink / raw)
To: Howard King; +Cc: linux-mtd
On Fri, 3 Oct 2003, Howard King wrote:
> We have a customized board with 4 AMD 29L641V flash chips (4 * 8Mbyte) with
> 64-bit wide bus. The mtd driver in linux 2.4.18 kernel does not work for
> this configuration. Does anyone have similar experiences? What is the
> solution? Thanks.
Upgrade your MTD code to a more recent snapshot.
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mtd support for 64-bit bus
2003-10-03 20:02 mtd support for 64-bit bus Howard King
2003-10-03 20:08 ` Nicolas Pitre
@ 2003-10-04 3:18 ` Thayne Harbaugh
1 sibling, 0 replies; 4+ messages in thread
From: Thayne Harbaugh @ 2003-10-04 3:18 UTC (permalink / raw)
To: Howard King; +Cc: linux-mtd
On Fri, 2003-10-03 at 14:02, Howard King wrote:
> We have a customized board with 4 AMD 29L641V flash chips (4 * 8Mbyte) with
> 64-bit wide bus. The mtd driver in linux 2.4.18 kernel does not work for
> this configuration. Does anyone have similar experiences? What is the
> solution? Thanks.
Just last week I committed some 64 bit fixes. I know of a few people
that are using 64 bit buses. I looked for the AMD 29L641V - I didn't
see it on the AMD site
(http://www.amd.com/us-en/FlashMemory/TechnicalResources/0,,37_1693_2351,00.html).
Will you send me a URL for the data sheet?
If current CVS doesn't work, let us know.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mtd support for 64-bit bus
2003-10-03 20:08 ` Nicolas Pitre
@ 2003-10-22 0:50 ` Howard King
0 siblings, 0 replies; 4+ messages in thread
From: Howard King @ 2003-10-22 0:50 UTC (permalink / raw)
To: Nicolas Pitre, linux-mtd
At 01:08 PM 10/3/2003, you wrote:
>On Fri, 3 Oct 2003, Howard King wrote:
>
> > We have a customized board with 4 AMD 29L641V flash chips (4 * 8Mbyte)
> with
> > 64-bit wide bus. The mtd driver in linux 2.4.18 kernel does not work for
> > this configuration. Does anyone have similar experiences? What is the
> > solution? Thanks.
>
>Upgrade your MTD code to a more recent snapshot.
>
>
>Nicolas
I used the following commands which I found in the how-to question:
Follow the following steps:
1.Make sure that you are root.
2. cd /usr/src
3. cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login
(password: anoncvs)
4. cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs co mtd
5. cd /usr/src/mtd/patches
6. sh patchin.sh -j /mykernel/kernel
== error message 1 ===
#fs/fs.o(.text+0x50eac): undefined reference to `zlib_compress'
#fs/fs.o(.text+0x50fac): undefined reference to `dynrubin_decompress'
#fs/fs.o(.text+0x50fc4): undefined reference to `zlib_decompress'
I found the zlib_.. and dynrubin_.. were added jffs2_.. prefix. That is
why it could not find those any more. Since I want to use jffs2 so I
include this flag. The -j flag is NOT in the how-to doc. Will a newer
kernel (2.4.20) work for this?
== error message 2 ==
#drivers/mtd/mtdlink.o(.text+0x1cc0): undefined reference to `__raw_readll'
Well, I did find that it missed raw_readll and raw_writell in
include/linux/mtd/map.h.
Inside the map.h, it used raw_readll and raw_writell.
But I can't simply include cfi.h in map.h since cfi.h needs map.h
definition too.
I need to add raw_readll and raw_writell definition in asm/io.h with
raw_readl and raw_writel.
Isn't the patch supposed to work? Did I miss something?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-22 0:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 20:02 mtd support for 64-bit bus Howard King
2003-10-03 20:08 ` Nicolas Pitre
2003-10-22 0:50 ` Howard King
2003-10-04 3:18 ` Thayne Harbaugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox