[U-Boot-Users] kernel parameters for ARM

"David Müller (ELSOFT AG)" d.mueller at elsoft.ch
Thu Jan 16 17:07:55 CET 2003


Robert Schwebel wrote:
> On Thu, Jan 16, 2003 at 12:27:06PM +0100, "David M?ller (ELSOFT AG)" wrote:
> 
>>take a look a "parse_tags()" in "arch/arm/kernel/setup.c".
> 
> 
> Well, what I do not understand is how the pointer to the tagged list is
> communicated between the bootloader and the kernel. The theKernel() call
> does only get the architecture number, whereas
> $LINUX/Documentation/arm/Booting says that r1 has to hold the machine
> type and r2 the pointer to the tagged list. Where is the latter one
> assigned? 
> 
> Robert

The values stored in U-Boot's "gd->bd->bi_boot_params" variable and the
"BOOT_PARAMS" macro in the machine specific "arch" file of ARMLinux have 
to be equal. AFAICS there is not passing in of the pointer to the tag 
list in r2, at least not in the kernel i'm looking at.

Dave





More information about the U-Boot mailing list