public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] 83xx address translation: is it really necessary?
@ 2006-08-07 15:28 Jeff Mann
  2006-08-07 20:34 ` Kumar Gala
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Mann @ 2006-08-07 15:28 UTC (permalink / raw)
  To: u-boot

>I'm adding support for a new 83xx board, the 8349E-mITX.  For some
reason, turning on address translation causes the board to halt.

>enable_addr_trans:
>	/* enable address translation */
>	mfmsr	r5
>	ori	r5, r5, (MSR_IR | MSR_DR)
>	mtmsr	r5
>	isync
>	blr

>As soon as the mtmsr is executed, everything stops.

I also have this problem. Skipping address translation solves this
problem. I also wonder, "why do we enable address translation at all?"\

-J.Mann

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [U-Boot-Users] 83xx address translation: is it really necessary?
@ 2006-08-07 14:53 Timur Tabi
  0 siblings, 0 replies; 8+ messages in thread
From: Timur Tabi @ 2006-08-07 14:53 UTC (permalink / raw)
  To: u-boot

I'm adding support for a new 83xx board, the 8349E-mITX.  For some reason, turning on address translation causes the board to halt.

enable_addr_trans:
	/* enable address translation */
	mfmsr	r5
	ori	r5, r5, (MSR_IR | MSR_DR)
	mtmsr	r5
	isync
	blr

As soon as the mtmsr is executed, everything stops.

So for now, I've disabled the call to enable_addr_trans().  I know I need to fix this bug, but my question is: why do we enable address translation at all?  My U-Boot works perfectly fine with it turned off, so what's the point?  U-Boot 1.1.3 didn't have this "feature".

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

end of thread, other threads:[~2006-08-08 21:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-07 15:28 [U-Boot-Users] 83xx address translation: is it really necessary? Jeff Mann
2006-08-07 20:34 ` Kumar Gala
2006-08-07 20:39   ` Timur Tabi
2006-08-07 20:52     ` Kumar Gala
2006-08-07 22:44       ` Timur Tabi
2006-08-07 23:29         ` Kumar Gala
2006-08-08 21:45           ` Timur Tabi
  -- strict thread matches above, loose matches on Subject: below --
2006-08-07 14:53 Timur Tabi

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