lkml.org 
[lkml]   [2001]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectLinux/MIPS high_memory!!
Date
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".
From the address ". = 0x80020000" to ". = 0x82020000 "
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/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.037 / U:1.020 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site