bootargs
Hi
Does CONFIG_BOOTARGS and or CONFIG_CMDLINE_TAG have to be set before the env variable 'bootargs' gets passed to the kernel?
Thanks,
Dave
Quoted 3 lines · asnua at eircom.net
Hi
DoesCONFIG_BOOTARGSand orCONFIG_CMDLINE_TAGhave 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,
GeorgeP.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
Quoted 16 lines
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
Quoted 2 lines · In message <[email protected]> you wrote:
Does
CONFIG_BOOTARGSand orCONFIG_CMDLINE_TAGhave to be set before the env variable 'bootargs' gets passed to the kernel?
CONFIG_BOOTARGS gives just the default setting (initial value) for bootargs. If or how this gets passed to the Linux kernel depends on the architecture; for example on ARM CONFIG_CMDLINE_TAG may be needed, on PowerPC it does not mean anything.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Presidency: The greased pig in the field game of American politics. - Ambrose Bierce