[U-Boot-Users] 83xx address translation: is it really necessary?

Kumar Gala galak at kernel.crashing.org
Mon Aug 7 22:34:43 CEST 2006


On Aug 7, 2006, at 10:28 AM, Jeff Mann wrote:

>> 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?"\

There is a performance improvement from using address translation.   
You need to make sure you are setting up the BATs properly for your  
address map.

- kumar




More information about the U-Boot mailing list