From: Scott Wood <scottwood@freescale.com>
To: Alemao <xcarandiru@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MTD map drivers (FSL UPM NAND)
Date: Fri, 10 Oct 2008 10:44:25 -0500 [thread overview]
Message-ID: <48EF7859.8030503@freescale.com> (raw)
In-Reply-To: <d970ff420810100558i126acd8cof9e6dcd564931933@mail.gmail.com>
Alemao wrote:
> Here is an output from someone using it:
>
> -----
>
> 070500 U-Boot 1.1.2 (May 30 2007 - 20:20:09)
>
> Motorola PowerPC
> Board: GDA Technologies CSC-PP MPC8560 [PowerQUICC III]
> CPU: 660 MHz
> CCB: 330 MHz
> DDR: 165 MHz
>
> Creating 7 MTD partitions on "CSC flash":
> 0x00f80000-0x01000000 : "uboot"
> 0x00d00000-0x00e00000 : "kernel0"
> 0x00e00000-0x00f00000 : "kernel1"
> 0x00700000-0x00d00000 : "app"
> 0x00000000-0x00380000 : "root0"
> 0x00380000-0x00700000 : "root1"
> 0x00f00000-0x00f80000 : "env"
>
> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca
> Scanning device for bad blocks
> Bad eraseblock 1780 at 0x0de80000
> Creating 1 MTD partitions on "NAND 256MiB 3,3V 16-bit":
> 0x00000000-0x10000000 : "NAND Partition"
>
> -----
>
> Thats exactly what I want to do. If you say not to use physmap with
> NAND, how he is doing this? Through the device tree source?
I see nothing in that output to suggest that physmap is being used for NAND.
NAND is not directly mapped like NOR is; you cannot just give an address
range with no knowledge of the controller and expect it to work.
Note that if you look in drivers/mtd/maps/physmap.c, the supported probe
types are CFI, JEDEC, and ROM.
-Scott
prev parent reply other threads:[~2008-10-10 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 21:04 MTD map drivers (FSL UPM NAND) Alemao
2008-10-09 21:17 ` Scott Wood
2008-10-10 12:58 ` Alemao
2008-10-10 15:44 ` Scott Wood [this message]
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=48EF7859.8030503@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=xcarandiru@gmail.com \
/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).