From: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS
Date: Thu, 03 Nov 2005 12:41:19 +1100 [thread overview]
Message-ID: <43696ABF.8090507@rftechnology.com.au> (raw)
In-Reply-To: <20051103000543.305D035265C@atlas.denx.de>
Thank you again Wolfgang, and thank you very much to everybody who was
involved in this discussion.
I got everything working.
I would like to summarise output of this discussion - it might be useful
to somebody else in the future. Please correct me if I am wrong.
_MPC8272ADS_in_low_boot_mode_ (HRCW comming from flash)
(1). Apply patch from Alexandre Bastos (valid for u-boot snapshot from 2
November 2005, thank you Alex)
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/19108
*MPC8272ADS Flash HRCW 0x0E74B20A
(2). Compile 'make MPC8272ADS_lowboot_config'
(3). Since our HRCW 0x0E74B20A (0x74 => ISB100 => IMMR=0xF000_0000) we
need to change BDI2000 config file (thank you to Yuli Barcohen)
WM32 0xF0010004 0xFFFFFFC3 ;SYPCR: disable watchdog
WM32 0xF00101A8 0x04700000 ;IMMR : internal space @ 0x04700000
*Note I use default 0x04700000 for IMMR since it came like this.
Wrong HRCW value may cause board to continuously reset.
(4). Move JP9 in position MEMORY, make sure that SW2 Boot Source is ON
(boot from flash)
(5). In BDI2000 config file change
BOOTADDR 0x00000100 ;boot address used for start-up break
(6). Burn software using BDI (thank you to Wolfgang Denk)
8272>load 0
8272>unlock 0xff800000 0x40000 32
8272>erase 0xFF800000 BLOCK
8272>prog 0xFF800000 u-boot.bin BIN
Make sure you use load address when loading to memory
i.e. 8272>load 0
If no load address is given or BOOTADDR different from 0x00000100 you
may see message in BDI console
# PPC: timeout while waiting for freeze
(7). (Haven't tried yet). To program blank flash with 8272 ie. on target
board without BCSR. (thank you to Jerry Van Baren)
--8<--
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.
At this point, you should be able to program flash. After programming
flash, I go back to normal mode (RSTCONF* pulled low) and _power cycle_
the board. Note that the HRCW is only read on a power cycle, not on a
software reset.
--8<--
next prev parent reply other threads:[~2005-11-03 1:41 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
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 [this message]
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=43696ABF.8090507@rftechnology.com.au \
--to=dmytro.bablinyuk@rftechnology.com.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox