All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <roland@topspin.com>
To: Khai Trinh <kqtrinh@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: A few questions in embedded linux
Date: 17 Jan 2003 14:47:07 -0800	[thread overview]
Message-ID: <52u1g74cno.fsf@topspin.com> (raw)
In-Reply-To: <20030117223204.83501.qmail@web11507.mail.yahoo.com>


>>>>> "Khai" == Khai Trinh <kqtrinh@yahoo.com> writes:

    Khai> Regarding to my question 1 below. After I check and use high
    Khai> mem, and CMDLINE="mem=60M", recompile my kernel, static link
    Khai> my driver using the 4M reserved RAM space, I got this
    Khai> message

    Khai> kernel: __ioremap(): phys addr 3c00000 is RAM lr c000a57c

Look at arch/ppc/mm/pgtable.c, where that message is being printed.
The kernel thinks that the address 3c00000 (which is 60 MB) is below
high_memory, which is where it thinks the top of memory is.

The most likely explanation is that you are doing something wrong when
you pass "mem=60M" to the kernel.

Have your driver print out virt_to_phys(high_memory) and check that
the kernel really thinks it only has 60 MB of memory.

 - Roland

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2003-01-17 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030117223204.83501.qmail@web11507.mail.yahoo.com>
2003-01-17 22:47 ` Roland Dreier [this message]
2003-01-17 18:15 A few questions in embedded linux Khai Trinh
2003-01-17 19:04 ` Kedar Madineni
2003-01-17 19:11 ` Dr. Craig Hollabaugh
2003-01-17 19:22 ` Wolfgang Denk

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=52u1g74cno.fsf@topspin.com \
    --to=roland@topspin.com \
    --cc=kqtrinh@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.