mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Greeen-III" <greeen@iii.org.tw>
To: <linux-mips-request@fnet.fr>,
	"LinuxEmbeddedMailList" <linux-embedded@waste.org>,
	"LinuxKernelMailList" <linux-kernel@vger.kernel.org>
Subject: Linux/MIPS high_memory!!
Date: Tue, 6 Feb 2001 16:33:21 +0800	[thread overview]
Message-ID: <000b01c09017$7e8273e0$4c0c5c8c@trd.iii.org.tw> (raw)

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/

             reply	other threads:[~2001-02-06  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06  8:33 Greeen-III [this message]
2001-02-06  8:33 Greeen-III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000b01c09017$7e8273e0$4c0c5c8c@trd.iii.org.tw' \
    --to=greeen@iii.org.tw \
    --cc=linux-embedded@waste.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips-request@fnet.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®