RE: Lots of memory on 826x
From: Rune Torgersen <hidden>
Date: 2005-03-09 17:52:37
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);=20 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.
quoted
-----Original Message----- From: Matt Porter [mailto:mporter@kernel.crashing.org]=20 Sent: Tuesday, March 08, 2005 17:30 To: Rune Torgersen Cc: Kumar Gala; linuxppc-embedded@ozlabs.org Subject: Re: Lots of memory on 826x=20quoted
Ahh, but early ioremaps (before mm is inited) grow down from=20 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=200xF6000000,quoted
IMMR/IO to 0xF8000000 and you then have vmalloc space between 0xF1000000-0xF5FFFFFF.=20 I'll try this tomorrow and see what happens.=20 (Still need to make sure our board supports 2GB....:)