From: George G. Davis Date: Wed, 10 Mar 2004 14:30:26 -0500 Subject: [U-Boot-Users] bootargs In-Reply-To: References: Message-ID: <20040310193026.GH23258@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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