Hello,
I'm trying to compile a kernel but at the end it fails with this error:
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
/usr/local/bin/mkimage: Can't map arch/arm/boot/uImage: Invalid argument
make[1]: *** [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_ComputerNote 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_mkimageI 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
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC scripts/mod/empty.o
/bin/sh: ../arm-2008q3/bin/arm-none-eabi-gcc: No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
but
$ 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?
Thanks!