From: Reinhard Arlt <reinhard.arlt@t-online.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] IRQ in realmode and sleep()
Date: Tue, 29 Jun 2010 10:03:53 +0200 [thread overview]
Message-ID: <4C29A8E9.9090504@t-online.de> (raw)
Hello,
the data cache is disabled on the CPCI750 board for the SDRAM by the
DBAT entry for the SDRAM, but the data cache is enabled for most
74xx_7xx boards in
cpu/74xx_7xx/start.S together with the translation.
The decrementer irq is executed in real mode with translation disabled.
Now in the irq routine, the processor writes the data into the cache,
and the sleep() reads directly from RAM, and do not see the timer running.
A good solution would be to have translation on for the irq's too, but a
simple solution is to put an '#if !(defined CPCI750)' around the
routine, that enables the l1 data cache.
I am not shure, if the problem with the sleep() (and the missing
timeouts in the networks stack) hits other boards too.
Reinhard
next reply other threads:[~2010-06-29 8:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 8:03 Reinhard Arlt [this message]
2010-06-29 18:44 ` [U-Boot] IRQ in realmode and sleep() Scott Wood
2010-06-30 7:02 ` Reinhard Arlt
2010-06-30 7:59 ` Wolfgang Denk
2010-07-01 8:14 ` Reinhard Arlt
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=4C29A8E9.9090504@t-online.de \
--to=reinhard.arlt@t-online.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox