From: Sharad Gupta <sharad@buckeye.ece.drexel.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Memory Caching in Interrupt mode
Date: Tue, 09 Mar 2004 11:33:30 -0500 [thread overview]
Message-ID: <404DF1DA.2070609@buckeye.ece.drexel.edu> (raw)
Hi All,
I am using UBoot as a firmware and boot loader for a custom development
board based on MPC7455.
I understand UBoot is not intended for use in interrupt modes, but I
thought it does no harm in outputting some text on serial console
everytime an interrupt comes in, say a timer interrupt (every 1 sec). I
am using BDI2000 to start debugging at 0x900. But my problem is that
since address translation is turned off while processing interrupts, I
am not able to write to the serial port address since processor caches
it and does not really push it out to the serial port. I am using
ns16550 driver and the serial port is at 0x60000000.
Whats the work around for this problem ?
1. Shall I turn the address translation on, but I am not sure if its
safe to do that, and even if I do that where exactly should I do that,
in timer_interrupt routine or transfer_to_handler routine ?
2. Or shall i disable the data caches while processing interrupts ?
Thanks
Sharad.
next reply other threads:[~2004-03-09 16:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 16:33 Sharad Gupta [this message]
2004-03-09 17:00 ` [U-Boot-Users] Memory Caching in Interrupt mode Wolfgang Denk
2004-03-09 20:28 ` [U-Boot-Users] u-boot support for MPC885 Bruno
2004-03-09 20:59 ` Wolfgang Denk
2004-03-10 9:06 ` Yuli Barcohen
2004-03-10 15:04 ` [U-Boot-Users] Help :: PQ2FADS / BDI2000 uboot at sundmangroup.com
2004-03-10 17:16 ` [U-Boot-Users] " Yuli Barcohen
2004-03-10 2:05 ` [U-Boot-Users] Memory Caching in Interrupt mode Doug Kehn
2004-03-10 8:12 ` Wolfgang Denk
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=404DF1DA.2070609@buckeye.ece.drexel.edu \
--to=sharad@buckeye.ece.drexel.edu \
--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.