public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Re: after a sw reset, u-boot hangs in relocate_code
@ 2005-03-04 19:19 Jaka Močnik
  2005-03-04 20:05 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Jaka Močnik @ 2005-03-04 19:19 UTC (permalink / raw)
  To: u-boot

> 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.
it's certainly an interesting thought - I will look into it, but I do
not think that this is the cause of my problems: if it were, I would
expect the CPU to throw an exception and go down the hard way. it
doesn't: it just hangs (or so it seems - I am currently JTAG-less, so I
can't really tell what's going on inside). also, in that case the board
would probably not behave as deterministically as it does (as the
problem would be caused by an unpredictable external event). besides,
eth is really the only possible culprit since the problem occurs even
when rebooting from u-boot, where eth is the only thing that can mess
with memory asynchronously. serial console I/O is polling-based...

regards,
	jaKa

-- 
e-mail: jaka at activetools.si
w3:     http://fish.homeunix.org/people/jaka/

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <20050305105843.01D43C1510@atlas.denx.de>]

end of thread, other threads:[~2005-03-07 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 19:19 [U-Boot-Users] Re: after a sw reset, u-boot hangs in relocate_code Jaka Močnik
2005-03-04 20:05 ` Wolfgang Denk
     [not found] <20050305105843.01D43C1510@atlas.denx.de>
2005-03-07 11:41 ` Jaka Močnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox