From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 02 Nov 2005 18:14:51 -0500 Subject: [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS In-Reply-To: <436944AB.7040808@rftechnology.com.au> References: <51DB8827D393D411BB69003048003F4601B1C258@tvesntr> <43688D3D.7040400@rftechnology.com.au> <12783.4063292996$1130942654@news.gmane.org> <436935CE.9080707@rftechnology.com.au> <43693B96.3000208@smiths-aerospace.com> <436944AB.7040808@rftechnology.com.au> Message-ID: <4369486B.6030500@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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