ioremap problem with kernel 2.6.11 on mpc8270

Dan Malek dan at embeddededge.com
Sun Apr 24 07:25:20 EST 2005


On Apr 23, 2005, at 11:07 AM, clasu at luukku.com wrote:

> It seems to me that the ioremap call fails somehow in 2.6.11 and that 
> the page
> tables are not updated correctly.

I can't find any obvious differences that would cause this.  I suspect 
something
may be different in your platform specific set up or there was some 
minor
changes that are required moving your platform specific set up to the 
newer
kernel sources.

> I have not been able to find out what causes this but it would make 
> may day if
> someone could help me a bit.

In arch/ppc/mm/pgtable.c, about line 481, change the
	#define HAVE_BATS 1
to
	#define HAVE_BATS 0


and report if that makes any difference.

Thanks.

	-- Dan




More information about the Linuxppc-embedded mailing list