public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE
Date: Tue, 18 May 2010 10:07:35 +0200	[thread overview]
Message-ID: <201005181007.36008.sr@denx.de> (raw)
In-Reply-To: <AANLkTilUerlkTDV1C36Vyumduk8QKf5MbD31hKataAoT@mail.gmail.com>

Hi Anup,

On Tuesday 18 May 2010 09:03:25 anup behare wrote:
> We are using taishan based board having 1GB DDR.
> In u-boot code we found that CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE is set to
> 768MB hence "if (size < bootm_size)" condition becomes true and u-boot
> throw "WARNING: adjusting available memory to 0x30000000" message on
> console.
> 
> Let me know will it possible to set CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE to 1GB
> or is there any fix for above warning message?

Linux "lowmem" size is 768MB for PowerPC. Loading at a higher address results 
in a non-booting Linux kernel. So this warning makes sense and it's not 
possible to load to 1GB.

Why do you want to change this? Does this cause you any troubles? Is Linux not 
booting correctly? I don't see what you would "gain" by loading to 1GB.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

  reply	other threads:[~2010-05-18  8:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:03 [U-Boot] CONFIG_SYS_LINUX_LOWMEM_MAX_SIZE anup behare
2010-05-18  8:07 ` Stefan Roese [this message]
2010-05-18  9:24   ` anup behare
2010-05-18  9:40     ` Stefan Roese

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=201005181007.36008.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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