All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS
Date: Wed, 02 Nov 2005 18:14:51 -0500	[thread overview]
Message-ID: <4369486B.6030500@smiths-aerospace.com> (raw)
In-Reply-To: <436944AB.7040808@rftechnology.com.au>

Dmytro Bablinyuk wrote:
> 
>> For blank flash, you need to pull up the RSTCONF* line (8260UM 5.4.2.1 
>> "Single MPC8260 with Default Configuration") which will set your HRCW 
>> to all zeros rather than read it from memory (I'm assuming you are not 
>> implementing the BCSR).
>>
>> This will require a different BDI2000 config file because the ISB will 
>> be set to 0x0000_0000 - if the first line in your special BDI config 
>> file sets the ISB back to your prefered value (0xF000_0000?), you 
>> should be able to leave all the rest of your config file the same.
> 
> 
> Thank you Jerry,
> 
> This removes some magic!
> Do you know by any chance what the reason can be for
> 
> 8272>load
> Loading u-boot.bin , please wait ....
> # PPC: timeout while waiting for freeze
> *** TARGET: reset detected, restarting target
> ...
> 
> I have HRCW 0x0E74B20A, (ISB100), so I have changed my BDI config
> ; init core register
> WREG    MSR             0x00001002      ;MSR  : ME,RI
> WM32    0xF0010004      0xFFFFFFC3      ;SYPCR: disable watchdog
> WM32    0xF00101A8      0x04700000      ;IMMR : internal space @ 0x04700000
> ..
> 
> 'md', some other commands work fine but 'load' is 'timing out'?
> u-boot as stand alone starts without problems (HRCW come from flash), 
> BDI is not resetting anymore apart from case when I do 'load'.

Just guesses here...

Is this with an erased flash or with a flash with a HRCW programmed?

When you pull RSTCONF* high, your IMMR is set to 0x00000000.  This is 
quite likely _not_ what you want, so you are going to have to fix up 
some registers.

In your snippet above, you will need to change:
WM32    0x00010004      0xFFFFFFC3      ;SYPCR: disable watchdog
WM32    0x000101A8      0x04700000      ;IMMR : internal space @ 0x04700000

You need to review every field in the HRCW and verify a value of 0 is OK 
or initialize the related registers in your BDI config file.  I don't 
know enough (and am not paid enough ;-) to do this.

gvb

  reply	other threads:[~2005-11-02 23:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02  8:28 [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS Bastos Fernandez Alexandre
2005-11-02  9:56 ` Dmytro Bablinyuk
2005-11-02 14:59   ` Alexandre BASTOS
     [not found]   ` <12783.4063292996$1130942654@news.gmane.org>
2005-11-02 21:55     ` Dmytro Bablinyuk
2005-11-02 22:20       ` Jerry Van Baren
2005-11-02 22:58         ` Dmytro Bablinyuk
2005-11-02 23:14           ` Jerry Van Baren [this message]
2005-11-02 23:43             ` Dmytro Bablinyuk
2005-11-02 23:33           ` Wolfgang Denk
2005-11-02 23:49             ` Dmytro Bablinyuk
2005-11-03  0:05               ` Wolfgang Denk
2005-11-03  0:22                 ` Dmytro Bablinyuk
2005-11-03  1:41                 ` Dmytro Bablinyuk
2005-11-02 22:20       ` Dan Malek
2005-11-04  3:39         ` [U-Boot-Users] Re : " Sam Song
2005-11-04 17:39           ` Dan Malek
2005-11-08  4:44             ` Sam Song
  -- strict thread matches above, loose matches on Subject: below --
2005-11-02  3:16 [U-Boot-Users] " Dmytro Bablinyuk
2005-11-02  5:39 ` [U-Boot-Users] " Dmytro Bablinyuk

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=4369486B.6030500@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.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.