From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] udelay make at91sam9260 board freeze
Date: Thu, 15 Nov 2007 18:06:38 +0100 [thread overview]
Message-ID: <m2d4ubtp41.fsf@ohwell.denx.de> (raw)
In-Reply-To: <13751461.post@talk.nabble.com> (Gonzague GENET's message of "Wed\, 14 Nov 2007 09\:05\:10 -0800 \(PST\)")
Hi Gonzague,
> Strange problem indeed.
> U-boot freeze when I do fatload instruction. After several investigation,
> the crash appear during the udelay instruction.....
> But if i replace the original code of udelay instruction by a simple for
> loop, it works....
> Any ideas ?
Does the board freeze or is it really a veerrry long delay? I am
tempted to say it is the latter. If you check the archives you will
see that there is always a mist of confusion around CFG_HZ and related
defines which udelay uses (cpu/arm920t/at91rm9200/interrupts.c).
So I suggest to check the values used there on your platform (CFG_HZ
should be 1000 btw.) and find out why udelay spins too long. Having
done that, send a patch and rejoice!
Best wishes
Detlev
--
System going down at 1:45 this afternoon for disk crashing.
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
prev parent reply other threads:[~2007-11-15 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 17:05 [U-Boot-Users] udelay make at91sam9260 board freeze Gonzague GENET
2007-11-15 17:06 ` Detlev Zundel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2d4ubtp41.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.