Re: Using both memory banks for 256Mb DRAM in AT91SAM9G45
Nicu Pavel <[email protected]>
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
>> Thanks. I tested with the following boot parameters: >> mem=128M memmap=exactmap memmap=0x08000000@0x70000000 >> and >> mem=128M memmap=exactmap memmap=0x08000000@0x20000000 >> >> and OOM killer was invoked correctly on both cases. I guess the problem >> lies with AT91bootstrap. >> > > Don't provide the memmap arguments btw - they do absolutely nothing on > ARM. > Well I had a feeling that those memmap params aren't taken into account. The document explaining the boot process that refers to A TAG structure wasn't very clear if memmap works or not. I will try to use different banks of memory by only initializing them from u-boot and post the results. > If mem=128M results in the OOM killer being activated, what are you > running which is eating up all system RAM? > I'm just doing a simple script in python (s="0" s.zfill(0x7000000)) to fill up the memory considering that, if OOM killer is activated then the memory is ok. If I get other OOPses then something is wrong. Thanks, Nicu Pavel ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php