command bootu to start kernel

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Oct 29 05:30:32 EDT 2010


On Fri, Oct 29, 2010 at 11:26:14AM +0200, Marc Kleine-Budde wrote:
> On 10/29/2010 11:21 AM, Belisko Marek wrote:
> >>>> do you have a "MEM=32" on your command line?
> >>> Well I add it but same result:
> >>
> >> BTW: It must be "mem=", in lowercase, but you did this.
> >>
> >> What I was meant to ask was, if you forget to add the "M" to "32".
> >> Because with mem=32 you tell Linux just to use 32 bytes of memory. Maybe
> >> your ATAGs are broken, Linux might not see the whole RAM or any if it.
> 
> > yes it was typo I forgot put M after 32. Kernel now properly boot :).
> 
> How much RAM you you have? Adjust mem= accordingly.
> 
> > U-boot somehow
> > add kernel this parameter? Because for u-boot I don't need to set this
> > parameter.
> 
> Nope - u-boot and barebox set up this information in the ATAG list.
> Seems something is broken with your ATAG list.
It's setup in setup_memory_tags (arch/arm/lib/armlinux.c).  So you
probably need to call armlinux_add_dram.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the barebox mailing list