[U-Boot] troubles trying to build glacier image

vb vb at vsbe.com
Thu Jan 22 07:55:42 CET 2009


I am trying to build a kernel image for the AMCC glacier board, using
the latest denx linux kernel

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
linux-2.6-denx 128 > git show
commit 5a7b6e7d15253c01ee0f0b8846b78e2ca23ef40d
Merge: 2f9f8f1... ae04d14...
Author: Wolfgang Denk <wd at denx.de>
Date:   Mon Jan 12 13:35:39 2009 +0100

    Merge branch 'master' of /home/git/linux-2.6

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

following instructions outlined in
http://www.denx.de/wiki/view/DULG/Manual?stickboard=glacier

One thing which is wrong from the get go is that the

make ARCH=powerpc  CROSS_COMPILE=440fp-linux-gnu- glacier_defconfig

command fails, complaining that arch/powerpc/configs/glacier_defconfig
is nowhere to be found. And indeed it does not exist. If I specify the
parent directory, as in:

make ARCH=powerpc  44x/glacier_defconfig

it works, which I hope is the right way to do it.

A bigger problem though (which I can't find a way to get around) is
that it fails to build:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

linux-2.6-denx 129 > make ARCH=powerpc  CROSS_COMPILE=440fp-linux-gnu- uImage
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-powerpc
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CALL    arch/powerpc/kernel/systbl_chk.sh
  CC      arch/powerpc/kernel/prom_init.o
  CALL    arch/powerpc/kernel/prom_init_check.sh
make[2]: *** No rule to make target
`arch/powerpc/platforms/44x/canyonlands.o', needed by
`arch/powerpc/platforms/44x/built-in.o'.  Stop.
make[1]: *** [arch/powerpc/platforms/44x] Error 2
make: *** [arch/powerpc/platforms] Error 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

and indeed, there is no file arch/powerpc/platforms/44x/canyonlands.c
in the tree - there are different versions for different build modes
(nand, sata, etc.).

So, what's the way to build this target from the denx linux tree? Am I
missing something in the manual, or does it need to be tweaked?


TIA,
vadim


More information about the U-Boot mailing list