
Hello,
I'm trying to pass command line arguments from u-boot to the kernel for an ARM-based board. Following the README I'm setting the environment variable "bootargs" to the command line I want and booting with the "bootm" command.
When the kernel boots it prints it's command line, which is still the default command line. I was expecting to the see the command line I stored in the "bootargs" variable.
I poked around in u-boot/lib_arm/armlinux.c and it looks like I needed to have CONFIG_CMDLINE_TAG defined in my config, which I did.
Is there anything else I need to do? Something I'm missing?
Cheers, Curt

On Tue, Jun 01, 2004 at 09:33:16AM -0700, Curt Brune wrote:
Hello,
I'm trying to pass command line arguments from u-boot to the kernel for an ARM-based board. Following the README I'm setting the environment variable "bootargs" to the command line I want and booting with the "bootm" command.
When the kernel boots it prints it's command line, which is still the default command line. I was expecting to the see the command line I stored in the "bootargs" variable.
I poked around in u-boot/lib_arm/armlinux.c and it looks like I needed to have CONFIG_CMDLINE_TAG defined in my config, which I did.
Is there anything else I need to do? Something I'm missing?
Grep & google around for BOOT_PARAMS. The phys address used for your target's boot params area must agree between U-Boot and Linux sources.
HTH!
-- Regards, George
Cheers, Curt
--
======================================================================== Curt Brune | Phone 1.650.380.2528 | Managing Principal curt@cucy.com | WWW www.cucy.com | Cucy Systems ======================================================================== Cucy Systems -- Software. Integration. Training. ========================================================================
This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (2)
-
Curt Brune
-
George G. Davis