From: Alemao <xcarandiru@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: MTD map drivers (FSL UPM NAND)
Date: Fri, 10 Oct 2008 09:58:27 -0300 [thread overview]
Message-ID: <d970ff420810100558i126acd8cof9e6dcd564931933@mail.gmail.com> (raw)
In-Reply-To: <48EE74FF.9000809@freescale.com>
>>
>> Hi all,
>>
>> Im trying to use a physmap driver for NOR and NAND flash devices.
>
> You can't use physmap with NAND.
>
Bu I have here physmap with NAND working,
but not using UPM
>> ranges = <0 0 ff000000 1000000 // nor flash, 16 MB
>> 1 0 60000000 4000000>; // nand flash, 64 MB
>
> Is your NAND window really that large? I'm not too familiar with UPM, but
> typically it'd only be a few KiB.
>
I always thought here was the memory size... =)
But how can I calculate the window size?
I think the concept of window size is not so clear to me...
>> So, how can I load the UPM driver before physmap?
>
> Just stop pointing physmap at the NAND.
>
> -Scott
>
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?
Huge thanks,
--
Alemao
next prev parent reply other threads:[~2008-10-10 12:58 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 [this message]
2008-10-10 15:44 ` Scott Wood
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=d970ff420810100558i126acd8cof9e6dcd564931933@mail.gmail.com \
--to=xcarandiru@gmail.com \
--cc=linuxppc-embedded@ozlabs.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).