From: Scott Wood <scottwood@freescale.com>
To: Florian Boelstler <euphoria@arcor.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Reserving small amounts of memory with mem= (MPC85xx, 2.6.15 arch/ppc)
Date: Fri, 13 Jun 2008 10:31:14 -0500 [thread overview]
Message-ID: <485292C2.6030103@freescale.com> (raw)
In-Reply-To: <g2u0ae$238$1@ger.gmane.org>
Florian Boelstler wrote:
> Available system memory is only 384 MB (CAM0+CAM1+CAM2), which explains
> why Linux "removed" the ramdisk, when it has been copied right below
> 508M by U-Boot. Because at that time I was using initrd_high @ 1FC00000,
> which is outside of mapped RAM.
>
> Is there an option to map less than 64M by a CAM entry?
CAM entries can be any power of 4 between 4K and 256M. However, the
code currently is hardcoded to use no more than 3 entries. It shouldn't
be too hard to change it to use a few more (see cam_mapin_ram(),
mmu_mapin_ram(), and adjust_total_lowmem() in
arch/powerpc/mm/fsl_booke_mmu.c).
Alternately, do you have highmem enabled? That will let you access the
rest of the RAM that the CAM doesn't map, though I don't know if an
initrd in highmem works.
-Scott
next prev parent reply other threads:[~2008-06-13 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 16:18 Reserving small amounts of memory with mem= (MPC85xx, 2.6.15 arch/ppc) Florian Boelstler
2008-06-12 19:14 ` Sylvain Joyeau
2008-06-13 14:30 ` Florian Boelstler
2008-06-13 15:31 ` Scott Wood [this message]
2008-06-16 14:26 ` Florian Boelstler
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=485292C2.6030103@freescale.com \
--to=scottwood@freescale.com \
--cc=euphoria@arcor.de \
--cc=linuxppc-embedded@ozlabs.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.