linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: OHMURA Yutaka <ohmura@co-nss.co.jp>
To: linuxppc-embedded@lists.linuxppc.org
Subject: How to use EP8260 MTD device?
Date: Thu, 30 Jan 2003 22:41:25 +0900	[thread overview]
Message-ID: <20030130224125A%&TnO@co-nss.co.jp> (raw)


Hello,

Now I'm trying to use Embedded Planet 8260 board Flash memory with TimeSys
Linux 3.1(TSL). I have two type of this board. One has 200MHz clock, have RTC,
64MB PSDRAM, 32MB LSDRAM and 16MB Flash ROM. The other has 300MHz clock,
no RTC, 32MB PSDRAM and 8MB Flash ROM. My goal is use MTD device under TSL with
300MHz MPU board, but the board looks some other difference with 200MHz board,
so TSL can't works fine, so at first I'm trying to use MTD device with 200MHz
board. But I can't use MTD until now.
In now situation, /dev/mtd and /dev/mtdblock are normal directory and there are
nothing under the directory.

Please tell me how to use MTD on EP8260 under TSL!

Here is my .config
> # Memory Technology Devices (MTD)
> CONFIG_MTD=y
> CONFIG_MTD_DEBUG=y
> CONFIG_MTD_DEBUG_VERBOSE=3
> CONFIG_MTD_PARTITIONS=y
> CONFIG_MTD_CHAR=y
> CONFIG_MTD_BLOCK=y
> CONFIG_FTL=y

> # RAM/ROM/Flash chip drivers
> CONFIG_MTD_CFI=y
> CONFIG_MTD_JEDECPROBE=y
> CONFIG_MTD_GEN_PROBE=y
> CONFIG_MTD_CFI_AMDSTD=y	<-On board Flash memory looks AMD
				  chip but the print faint so I
				  can't read chip type
> CONFIG_MTD_CFI_AMDSTD=y
> CONFIG_MTD_OBSOLETE_CHIPS=y
> CONFIG_MTD_AMDSTD=y

> # Mapping drivers for chip access
> CONFIG_MTD_PHYSMAP=y
> CONFIG_MTD_PHYSMAP_START=FF800000	<-adjusting to 300MHz board
> CONFIG_MTD_PHYSMAP_LEN=70000000	  I hope 200MHz board can work with
					  this parameter
> CONFIG_MTD_PHYSMAP_BUSWIDTH=2
other MTD parameters are not set

Under this environment, MTD driver says
> physmap flash device: 6ffffc at ff800000
> CFI: Found no Physically mapped flash device at location zero
> RPX Lite or CLLF flash device: 2000000 at fe000000
> CFI: Found no RPX device at location zero
> $Id: ftl.c,v 1.38 2001/09/23 21:15:12 dwmw2 Exp $

This is first time to use MTD for me, so if you know good reference to use it,
please tell me too.
/usr/src/timesys/ep8260/2.4.7-timesys-3.1.180/kernel/Documents was not help me.

Regards,

Yutaka

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-01-30 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30 13:41 OHMURA Yutaka [this message]
2003-01-31 13:40 ` How to use EP8260 MTD device? OHMURA Yutaka
2003-01-31 13:54   ` Allen Curtis
2003-02-01  6:37     ` OHMURA Yutaka
2003-02-01 10:58       ` Wolfgang Grandegger
2003-02-01 21:55         ` Allen Curtis
  -- strict thread matches above, loose matches on Subject: below --
2003-02-03 14:19 Steven Blakeslee
2003-02-06  5:58 ` OHMURA Yutaka
2003-02-14 13:59   ` OHMURA Yutaka

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='20030130224125A%&TnO@co-nss.co.jp' \
    --to=ohmura@co-nss.co.jp \
    --cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).