[U-Boot] U-boot and linux command line parameters

Mirek23 miroslaw.dach at psi.ch
Mon May 25 10:43:21 CEST 2009


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 at Nabble.com.



More information about the U-Boot mailing list