All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Memory Caching in Interrupt mode
@ 2004-03-09 16:33 Sharad Gupta
  2004-03-09 17:00 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Sharad Gupta @ 2004-03-09 16:33 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-10 17:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09 16:33 [U-Boot-Users] Memory Caching in Interrupt mode Sharad Gupta
2004-03-09 17:00 ` 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

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.