I'm trying to compile a kernel but at the end it fails with this error:
Kernel: arch/arm/boot/zImage is ready
/usr/local/bin/mkimage: Can't map arch/arm/boot/uImage: Invalid argument
make: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2
I installed mkimage as described here: http://www.openplug.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer
Note that i'm building the kernel ON my plug.
When i try to cross-compile it on my system (x86_64) using the suggestions from this page: http://computingplugs.com/index.php/Building_a_custom_kernel#Getting_U-Boot.27s_mkimage
I get this error:
$ make -j2 ARCH=arm CROSS_COMPILE=../arm-2008q3/bin/arm-none-eabi- uImage
make: ../arm-2008q3/bin/arm-none-eabi-gcc: Command not found
SYMLINK include/asm -> include/asm-arm
make: `include/asm-arm/mach-types.h' is up to date.
/bin/sh: ../arm-2008q3/bin/arm-none-eabi-gcc: No such file or directory
make: *** [scripts/mod/empty.o] Error 1
make: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
$ ls -l ../arm-2008q3/bin/arm-none-eabi-gcc
-rwxr-xr-x 1 wout wout 189800 2008-11-13 19:13 ../arm-2008q3/bin/arm-none-eabi-gcc
Can somebody help me with one of this problems?