public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Alex" <pevnev@juno.com>
To: tglx@linutronix.de
Cc: linux-mtd@lists.infradead.org
Subject: CONFIG_MTD_PHYSMAP_START
Date: Wed, 2 Feb 2005 19:49:54 GMT	[thread overview]
Message-ID: <20050202.115006.19684.4589@webmail03.lax.untd.com> (raw)


Also (in addition to my previous post, where I am questioning the correctness of the output, stating that address belongs to RAM while it clearly does not !), Thomas wrote:

>> The initial boot provides the following:
>> Memory map:
>> /* Chip Select FLASH Normal */
>> #define BR0_VAL 0x04000801 /* Offset=0x04000000 PS=16 GPCM Valid=1 */
>> #define OR0_VAL     0xFFC00160  /* OK */

>The value you are using is the value, which is programmed into the BR0
>register of the CPU. 
>BRx = Bank Register for chipselect x
>ORx = Option Register for chipselect x
>The values in those registers define the start address, buswitdh, size,
>timings for the chipselects. So using those values is definitely not a
>good idea. Of course you can decode the values in the registers to get
>your real address values. 

- it looks that I am in the "chicken" and the "egg" problem ...
According to Thomas (see above), I can not rely on the flash phys start address, given to me "verbotum" - so I can not set the value in .config 
for CONFIG_MTD_PHYSMAP_START ... 
Thomas - in what software you advise me to "decode the values in the registers to get real address values" ? 

Thanks,
Best Regards,
Alex


___________________________________________________________________
Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.juno.com/surf to sign up today!

             reply	other threads:[~2005-02-02 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02 19:49 Alex [this message]
2005-02-02 22:09 ` CONFIG_MTD_PHYSMAP_START Thomas Gleixner
  -- strict thread matches above, loose matches on Subject: below --
2005-02-02 21:49 CONFIG_MTD_PHYSMAP_START Alex
2005-02-02 22:14 ` CONFIG_MTD_PHYSMAP_START Thomas Gleixner
2005-02-02 22:20   ` CONFIG_MTD_PHYSMAP_START David Woodhouse

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=20050202.115006.19684.4589@webmail03.lax.untd.com \
    --to=pevnev@juno.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox