linux-mips
[Top] [All Lists]

Re: how to use memory before kernel load address?

To: zhuzhenhua <zzh.hust@gmail.com>
Subject: Re: how to use memory before kernel load address?
From: Thiemo Seufer <ths@networkno.de>
Date: Tue, 20 Nov 2007 13:04:51 +0000
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <50c9a2250711191706g40744ab2w2027124c4bc8dbbb@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250711191706g40744ab2w2027124c4bc8dbbb@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-11)
zhuzhenhua wrote:
> hello,all
>           i want to place my kernel loadaddr=0x81008000 and set
> EBASE=0x81000000, it workes.
>          but there is still some memory usable before 0x81000000, for
> example from 0x80100000 ~ 0x80200000

The obvious thing to do seems to set LOARADDR to 0x80208000.

>          i have try to pass param as mem=1M@1M mem=16M@16M  to the kernel,
> it seems only take the 0x8000000 ~ kernel_end as reserved.
>          is there any other options to set the memory useable? ( my kernel
> version is 2.6.14)
>          thanks for any hints

AFAIR the kernel assumes to occupy the lowest addresses of the usable RAM.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>