Re: [Balloon] kernel "build" settings

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: Colin Tuckley
CC: Balloon
Subject: Re: [Balloon] kernel "build" settings
Colin Tuckley wrote:
> This is mostly aimed at Nick, but posted here so everyone can see it.
>
> I've been trying to work out why when the bootldr thinks the build is set to
> "guralp" the 2.4.25 kernel still thinks it's set to "tcl"
>
> I've just discovered that it appears to be hard coded!
>
> In arch/arm/mach-sa1100/balloon.c there is a rather messy bit of code, some
> of which is conditionally in "#if 0" that appears to set the build type with:
>
> static char *build __initdata = "tcl";
>
> So, is this really hardcoded? Or am I looking in the wrong place? I suppose
> it's possible that this is a default and gets changed later.
>

The default board type as used by the kernel loader is in params.h - see
parameter "build". This may be overridden by the parameter file in the
first yaffs partition if present.

> regards,
>
> Colin
>