Skip to contentSkip to conversation

ARM, bootm and bootargs

U-Boot-Users Curt Brune 2 participants 2 messages Jun 1, 2004

lore
Share & tools
lore

Curt Brune

author
#0 lore raw

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

Signature · 6 lines
========================================================================
 Curt Brune           | Phone   1.650.380.2528 |     Managing Principal
 curt at cucy.com        | WWW       www.cucy.com |           Cucy Systems
========================================================================
             Cucy Systems -- Software. Integration. Training.
========================================================================
#1 lore raw
Quoted 7 lines · Curt Brune

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.

Quoted 8 lines

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

Quoted 23 lines

Cheers,
Curt

Signature · 17 lines
========================================================================
 Curt Brune           | Phone   1.650.380.2528 |     Managing Principal
 curt at 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 at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users