[U-Boot-Users] Re: Low-boot configuration for MPC8272ADS

Jerry Van Baren gerald.vanbaren at smiths-aerospace.com
Wed Nov 2 23:20:06 CET 2005


Dmytro Bablinyuk wrote:
>>
>> Yesterday I was on holidays, so "monday morning effects" also in
>> wednesday. The link to my submmit to Wolfgang with the patch
>>
>> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/19108
>>
> 
> Hi Alex,
> Sorry for delay, in Sydney we have 8.40am - just came to work.
> YES, IT'S WORKING (after applying your patch) WITH AND WITHOUT BDI!!
> 
> Thank you very much Alex and thank you very much Yuli - you were right 
> all my problems were due to wrong value of HRCW
> 
> One more question, so it looks like BDI was depending on HRCW  - on 
> target board we would have a blank flash - how do we burn it using BDI 
> (at first time we will not have a HRCW in it)?
> 
>  > As you say "the classical" ads8272 without BCSR, do you mean same
>  > flash module, SDRAM specs, phytters, etc.?
> Apart from flash, everyting else will be the same. We will use P30 flash 
> from Intel. I expected that I will need to do some work on it. Most of 
> the worries were about BCSR. So, I just was wondering how easy would be 
> to make u-boot not to use BCSR. eg. CS0 - flash, CS1 - SDRAM ...

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.

YMMV (Your Magic May Vary ;-)

gvb




More information about the U-Boot mailing list