Lots of memory on 826x

Rune Torgersen runet at innovsys.com
Thu Mar 10 04:52:34 EST 2005


Yay... It worked....
Had to patch m8260_setup a bit.

In m8260_map_io() I changed
	io_block_mapping(addr, addr, 0x10000000, _PAGE_IO);
into
	io_block_mapping(addr, addr, 0xffffffff - addr + 1, _PAGE_IO); 

So that I could change the IMMR address in my config file only, and the
mappings were still correct.

I could probably submit a proper patch.

> > -----Original Message-----
> > From: Matt Porter [mailto:mporter at kernel.crashing.org] 
> > Sent: Tuesday, March 08, 2005 17:30
> > To: Rune Torgersen
> > Cc: Kumar Gala; linuxppc-embedded at ozlabs.org
> > Subject: Re: Lots of memory on 826x
> 
> > Ahh, but early ioremaps (before mm is inited) grow down from 
> > PKMAP_BASE,
> > so you will be overlapping the top of lowmem with those allocations.
> > It wants to be above vmalloc space.  Set HIGHMEM_START to 
> 0xF6000000,
> > IMMR/IO to 0xF8000000 and you then have vmalloc space between
> > 0xF1000000-0xF5FFFFFF.
> 
> I'll try this tomorrow and see what happens. 
> (Still need to make sure our board supports 2GB....:)



More information about the Linuxppc-embedded mailing list