[U-Boot] [PATCHv2] omap3evm: Pass 'mem' argument to linux kernel

Premi, Sanjeev premi at ti.com
Tue Sep 27 18:43:36 CEST 2011


> -----Original Message-----
> From: Tom Rini [mailto:tom.rini at gmail.com] 
> Sent: Tuesday, September 27, 2011 9:29 PM
> To: Premi, Sanjeev
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCHv2] omap3evm: Pass 'mem' argument 
> to linux kernel
> 
> On Tue, Sep 27, 2011 at 8:00 AM, Sanjeev Premi <premi at ti.com> wrote:
> > In absence of this argument, Linux kernel doesn't boot.
> >
> > Even though many newer boards support 256M, default
> > value has been set to 128M to ensure that default
> > build can boot older EVM variants.
> >
> > Signed-off-by: Sanjeev Premi <premi at ti.com>
> 
> But you aren't addressing the fact you just limited everyone to 128M,
> which is not right.  Please make this set the value to what u-boot
> detects the board to have at runtime at least.

This patch changes the static environment string compiled
on the host.

These is the default value that gets the board booting up.
The environment variable memsize can be overwritten to 256M
by the boards that have more memory. So, there is no hard
limit.

...which I believe is better than kernel failing to load on old
boards; leaving some users clueless about failure.

Detecting the actual memory size and then changing the environment
variable can be a feature, but it isn't fool proof, because many
applications esp on DM3730, use memory hole and would like their
bootargs to be different.

~sanjeev

> 
> -- 
> Tom
> 


More information about the U-Boot mailing list