Linux/MIPS high_memory!!

Greeen-III (greeen@iii.org.tw)
Tue, 6 Feb 2001 16:33:42 +0800


All experts,

I am trying to port mips to my target board.
The board has two pieces of ram. One is addressed at 0x80000000(bank0).
The other is addressed at 0x82000000(bank1).
The loader will load the kernel and ramdisk to the bank0.
The ramdisk seems too small. The system will halt at gunzip() function.

So I modify the file "/linux-vr/arch/mips/ld.script".
But the situation still exist.

I want to kernel to know how much memory he own?
How can I configure the kernel?
Where is the codes I should modify?

The following is the file "/linux-vr/arch/mips/ld.script"

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OUTPUT_FORMAT("elf32-littlemips")
OUTPUT_ARCH(mips)
ENTRY(kernel_entry)
SECTIONS
{
/* Read-only sections, merged into text segment: */
/******** Edit by Green ***********/
/*. = 0x80020000; *//*. = 0x82800000; */
. = 0x82020000;
.init : { *(.init) } =0
.text :
{
_ftext = . ;
*(.text)
......
......
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

************************************
* It's Green!! (萬林明)
* TEL: 886-2-23776100 ext.620
* mailto:greeen@iii.org.tw
* Working at III(資策會)
* 台北市大安區敦化南路二段216號12F
************************************

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/