From: Mirek23 <miroslaw.dach@psi.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot and linux command line parameters
Date: Mon, 25 May 2009 01:43:21 -0700 (PDT) [thread overview]
Message-ID: <23703431.post@talk.nabble.com> (raw)
In-Reply-To: <23698396.post@talk.nabble.com>
When studying the u-boot (1.2.0) source code I have found that
it is register r6 and r7 which pass the location of the command line
parameters and the
size.
The location of the parameters could be changed in u-boot according to the
macro:
CFG_BOOTMAPSZ
There is however the message in all configuration files for u-boot that
Linux can only map first initial 8MB
so it seems to be not possible to set CFG_BOOTMAPSZ to something higher than
8MB?
/*
* For booting Linux, the board info and command line data
* have to be in the first 8 MB of memory, since this is
* the maximum mapped by the Linux kernel during initialization.
*/
#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for
Linux */
Does somebody have an idea how to bypass this limitation in linux 2.6.23 or
higher?
M.
--
View this message in context: http://www.nabble.com/U-boot-and-linux-command-line-parameters-tp23698396p23703431.html
Sent from the Uboot - Users mailing list archive@Nabble.com.
next prev parent reply other threads:[~2009-05-25 8:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-24 21:40 [U-Boot] U-boot and linux command line parameters Mirek23
2009-05-25 8:43 ` Mirek23 [this message]
2009-05-25 8:49 ` Wolfgang Denk
2009-05-25 10:24 ` Mirek23
2009-05-25 10:57 ` Wolfgang Denk
2009-05-25 20:57 ` Mirek23
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=23703431.post@talk.nabble.com \
--to=miroslaw.dach@psi.ch \
--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