From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 4 Mar 2005 12:14:26 -0500 Subject: [U-Boot-Users] after a sw reset, u-boot hangs in relocate_code In-Reply-To: <1109953466.32294.11.camel@x.at.lan> References: <1109953466.32294.11.camel@x.at.lan> Message-ID: <42289772.6000705@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 Jaka Mo?nik wrote: > hello! > > I've ported U-Boot (1.1.2) over to a custom MPC8560 (PQ3) based board - > it works well, except that after a sw reboot (from linux kernel or > u-boot itself), it only gets to the part where it relocates itself to > RAM and then hangs - the last debug output is > > Relocating code to 07fd4000... > > and the famous > > Now running in RAM - U-Boot at: 07fd4000 never shows up. > > has anyone experienced similar problems? any hints on what to look at? > > regards, > jaKa Welcome to the u-boot email list ;-) In our previous exchange on the Linuxppc-embedded list, you disagreed with my suggestion (FAQ on u-boot hanging after relocation), and I tend to agree (I skipped over the _restart_ statement previous). Given that it is a problem on restart, I would speculate you have a peripheral (ethernet is your #1 suspect) that isn't being shut down before you reset/reboot. As a result, a packet comes in after you reboot and your peripheral (ethernet) DMAs the packet into memory in the middle of somewhere it doesn't belong. Kabango. gvb