Booting CNS3420 EVB v 1.3 failed with 2.6.36 (and 2.6.35)

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 12 09:32:30 EST 2010


On Fri, Nov 05, 2010 at 11:08:25AM +0800, Lin Mac wrote:
> So I tried to enable DEBUG in head.S with following patch:
> ----
> diff --git a/arch/arm/boot/compressed/head.S
> b/arch/arm/boot/compressed/head.S
> index c5191b1..fbd04c1 100644
> --- a/arch/arm/boot/compressed/head.S
> +++ b/arch/arm/boot/compressed/head.S
> @@ -17,6 +17,7 @@
>   * 100% relocatable.  Any attempt to do so will result in a crash.
>   * Please select one of the following when turning on debugging.
>   */
> +#define DEBUG
>  #ifdef DEBUG
> 
>  #if defined(CONFIG_DEBUG_ICEDCC)
> ----
> 
> Then it failed at building:
> ----
>   AS      arch/arm/boot/compressed/lib1funcs.o
> arch/arm/boot/compressed/head.S: Assembler messages:
> arch/arm/boot/compressed/head.S:1019: Error: too many positional arguments
> arch/arm/boot/compressed/head.S:1036: Error: too many positional arguments
> make[3]: *** [arch/arm/boot/compressed/head.o] Error 1

Please do:

make ARCH=arm CROSS_COMPILE=... arch/arm/boot/compressed/head.s

and send me (in private mail) a copy of head.s.  Thanks.



More information about the linux-arm-kernel mailing list