[U-Boot-Users] bootargs

George G. Davis davis_g at comcast.net
Wed Mar 10 20:30:26 CET 2004


On Wed, Mar 10, 2004 at 06:33:09PM +0000, asnua at eircom.net wrote:
> Hi
> Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel? 
> 

You must enable (define) CONFIG_CMDLINE_TAG. OTOH, defining CONFIG_BOOTARGS
is optional. If you do define CONFIG_BOOTARGS, it sets the default env
bootargs if same is not present in saved flash env already. Else if you
undef CONFIG_BOOTARGS, then you can always do `setenv bootargs ...` to
set it and `saveenv` to save it.

HTH!

--
Regards,
George
P.S. Make sure you've specified the correct BOOT_PARAMS phys addr for your
machine, i.e. make sure your machine boot_params agree between u-boot and
linux:

	grep -i boot_params ../u-boot/board/*/*.c ../linux/arch/arm/mach-*/*.c


> Thanks,
> Dave
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users




More information about the U-Boot mailing list