All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frank Svendsbøe" <frank.svendsboe@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
Date: Mon, 12 Apr 2010 19:01:10 +0200	[thread overview]
Message-ID: <v2r1ba63b521004121001yeac9fddbw644c3ee7bbf383dd@mail.gmail.com> (raw)
In-Reply-To: <v2lb9c1f3ac1004112113x16310df6u214103750bdaf943@mail.gmail.com>

>>> For slow devices, the memory controller is usually setup to use the GPCM.
>>> Check your options and base registers
>>> (OR0 and BR0).
> What is GPCM? Which source/header file I need to check for these settings.?
>

Hi Prakash, I didn't know that a IBM PPC440 CPU didn't contain an
embedded memory controller. I assumed it did and therefore mentioned
the GPCM (General Purpose Chip Select Machine - Terminology used on
Freescale SoCs). Since your controller is obviously external/custom,
it's hard to help you.

>>>You mention different size.. is the port size different too?
> I think u-boot takes care of port size as if we do not define the port size
> then u-boot search with all possible port size.
> BTW how?I can cross-check the port size?
>

Hmm.. As I don't have a 440 system, it's hard to tell. But on other
systems, the port-size is programmed for each chip-select, and tells
the memory controller the supported bus width connected to each device
for a given chip-select.

> For M29W128GH I have to do some code fixup from patch suggested by Stefan.
> Is there any special?code fixup is required for S29GL512P flash chip
> support?

As I mentioned before, we didn't do anything special in order to get
S29GL512P working for our board.

Best regards,
Frank

>
> Thanks & Regards,
> Prakash
>
>
> On Fri, Apr 9, 2010 at 6:57 PM, Frank Svendsb?e <frank.svendsboe@gmail.com>
> wrote:
>>
>> > I am using PPC440x5 Cpu core. How to check the chip-select flash is
>> > using?
>> > Earlier I have run the same code for M29W128GH and it works fine. But
>> > with
>> > S29GL512 it is not working.
>> > Now the difference is only in size and write/read timings. So I believe
>> > it
>> > should work in smooth manner.
>> >
>>
>> Hmm.. If you're supposed to boot from this device, then I assume the
>> flash is connected to CS0.For slow devices, the memory controller is
>> usually setup to use the GPCM. Check your options and base registers
>> (OR0 and BR0). Everything related to timing (for GPCM controlled
>> devices) is done in these two registers.
>>
>> If you have a BDI JTAG, you can set these registers using that and try
>> to perform flash operations from here. Again, if you can, try to
>> access the flash using the JTAG before experimenting with U-Boot.
>>
>> You mention different size.. is the port size different too?
>>
>> In order to help you, I think the community needs more info about your
>> system. Stefan asked for logs, etc.
>>
>> Regards,
>> Frank
>
>

  reply	other threads:[~2010-04-12 17:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  5:26 [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash? prakash bedge
2010-04-09  6:10 ` Stefan Roese
2010-04-09  7:22   ` prakash bedge
2010-04-09  7:35     ` Stefan Roese
2010-04-09  7:55       ` Frank Svendsbøe
2010-04-09  8:05       ` prakash bedge
2010-04-09  8:09         ` Stefan Roese
2010-04-09  9:10           ` Frank Svendsbøe
2010-04-09 12:11             ` prakash bedge
2010-04-09 13:27               ` Frank Svendsbøe
2010-04-12  4:13                 ` prakash bedge
2010-04-12 17:01                   ` Frank Svendsbøe [this message]
2010-04-12 17:15                   ` Frank Svendsbøe
2010-04-13  6:31                     ` prakash bedge
2010-04-13  8:34                       ` Stefan Roese
2010-04-13 11:46                         ` prakash bedge
2010-04-13 12:16                           ` Stefan Roese
2010-04-14  5:03                             ` prakash bedge
2010-04-14  7:38                               ` Frank Svendsbøe
2010-04-14 12:05                               ` Stefan Roese
2010-04-16 14:38                                 ` prakash bedge
2010-04-20  9:25                                   ` prakash bedge
2010-04-09 13:35               ` Stefan Roese
2010-04-12  4:18                 ` prakash bedge
2010-04-12  7:59                   ` Stefan Roese
2012-03-10 10:47   ` Balaji Sivakumar
2012-03-10 18:29     ` Dirk Behme
2012-03-10 19:10     ` Wolfgang Denk
2010-04-09  7:48 ` Frank Svendsbøe
2010-04-09  8:07   ` prakash bedge
2010-04-09  8:23     ` Frank Svendsbøe

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=v2r1ba63b521004121001yeac9fddbw644c3ee7bbf383dd@mail.gmail.com \
    --to=frank.svendsboe@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.