Re: Question About Linux Memory Mapping
Drasko DRASKOVIC <[email protected]> Mon, 21 Feb 2011 15:25:27 +0100
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <AANLkTim=YHZ96TrQZKK7=Nsg4Pc6VCKwkTQ-OsU-hZrd__49759.4826658771$1298298579$gmane$org@mail.gmail.com> |
On Mon, Feb 21, 2011 at 2:13 PM, Russell King - ARM Linux <[email protected]> wrote: > On Mon, Feb 21, 2011 at 01:13:16PM +0100, Drasko DRASKOVIC wrote: >> Thanks for your answers. >> >> I can see now that "mem" parameter is parsed in >> arch/arm/kernel/setup.c, as Nicolas underlined. However, in my case >> early_mem() is never called during the Linux boot. >> >> Does anybody have an idea why ? > > Maybe the command line setting is being ignored by your boot loader > and the one built-in to the kernel is being used? > > Maybe your kernel is configured to ignore the command line supplied > by your boot loader? > > Maybe you're setting it in the kernel build but not realising that > the boot loader passed one is being used instead? Turns out that I had badly formatted command line parameters. After correcting this everything works fine. Thanks again for the help. BR, Drasko