This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL-137 Building Linux Kernel

Other Parts Discussed in Thread: OMAP-L137

Hi All,

I use OMAP-L137 EVM board (Spectum Digital) & MontaVista linux.

I need some changes in linux kernel , so, i need to rebuild  "uImage" file  and i can't...

Here is a dump of building process :

 # make uImage ARCH=arm CROSS_COMPILE= /root/ti/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linux-gnueabi/bin/
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC      arch/arm/kernel/asm-offsets.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
arch/arm/kernel/asm-offsets.c:1: error: bad value (armv4t) for -march= switch
arch/arm/kernel/asm-offsets.c:1: error: bad value (arm9tdmi) for -mtune= switch
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Where the problem? I'm not very familiar with linux now, so, please help.

thanks&regards.