Who sets the boot parameters?
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.
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_paramto 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