From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaka =?iso-8859-2?Q?Mo=E8nik?= Date: Mon, 07 Mar 2005 12:41:39 +0100 Subject: [U-Boot-Users] Re: after a sw reset, u-boot hangs in relocate_code In-Reply-To: <20050305105843.01D43C1510@atlas.denx.de> References: <20050305105843.01D43C1510@atlas.denx.de> Message-ID: <1110195699.4464.6.camel@x.at.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2005-03-05 at 11:58 +0100, Wolfgang Denk wrote: > In message <1110013168.3977.2.camel@pink> you wrote: > > > > > I bet your SDRAM init sequence is broken. > > ...as mentioned before, the crash only happens after a sw reset; after a > > hard reset, both u-boot and linux kernel work like a charm, therefore I > > believe that this is not the case. > > I am prtty certain about this. you were right to be certain;) and I should never doubt the advice of the Wise(tm). it seems that the DDR controller on PQ3 (at least on my board) hates being initialized twice, so I put in some (rather hackish) code that detects if it is already initialized (which is the case after a warm boot) and skips the initialization. it seems to Just Work(tm) and I'm a happy person once again: now I can reboot the linux kernel without having to unplug the board, which will prevent some healthy walks during work;) regards, jaKa -- w3: http://fish.homeunix.org/people/jaka email: jaka at activetools.si