Skip to contentSkip to conversation

Who sets the boot parameters?

U-Boot-Users Shawn 2 participants 2 messages Nov 19, 2004

lore
Share & tools
lore

Shawn

author
#0 lore raw

Hi,

The boot parameter is transferred to a linux kernel by r2. Many boards set the bd->bi_boot_param to a fixed address? How does this value come from? Who set the boot parameters at that address?

Thanks,
-Shawn.

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

The boot parameter is transferred to a linux kernel by r2. Many boards

Maybe, maybe not. This may be rioght on one architecture, other architectures do it differently.

Quoted 2 lines

set the bd->bi_boot_param to a fixed address? How does this value come from? Who set the boot parameters at that address?

See what common/cmd_bootm.c is doing with the "bootargs" environment variable.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've already got a female to worry about. Her name is the Enterprise.
	-- Kirk, "The Corbomite Maneuver", stardate 1514.0