Hi,
  The board imx53 board which we are having is imx53 QSB(Quick Start Board) Board in which cpu core is of cortex-A8.

While trying to compile linaro4.3 SDK for imx53QSB using below command,throws an error :
command:
make TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi- TARGET_PRODUCT=imx53 systemtarball userdatatarball boottarball

Error:
============================================
bionic/libc/Android.mk:425: TARGET_CPU_VARIANT is not defined
bionic/libc/arch-arm/arm.mk:32: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a9, cortex-a15, krait. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.".  Stop.
============================================


Later added TARGET_CPU_VARIANT  variable as cortex-a8 in in device/linaro/iMX53/BoardConfig.mk file.

But cortex-a8 folder is not there in "bionic/libc/arch-arm/ " path.
so Error is still there,
=================================
bionic/libc/arch-arm/arm.mk:32: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a9, cortex-a15, krait. Use generic for devices that do not have a CPU similar to any
of the supported cpu variants.".  Stop.
==================================

Please help us what we have to do next ,how to resolve above error?



Thanks & Regards,
Sowmya




-----Original Message-----
From: Bernhard Rosenkränzer <bernhard.rosenkranzer@linaro.org>
To: sowmya.ls@calsoftlabs.com
Cc: linaro-android <linaro-android@lists.linaro.org>
Subject: Re: Jelly Bean Compilation error for imx53
Date: Fri, 2 Aug 2013 22:26:29 +0200

Hi,
don't use generic-eng.


Try skipping lunch altogether and using

make TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi- TARGET_PRODUCT=imx53 systemtarball userdatatarball boottarball


That's what we used for the last working builds (minus the 4.8 part, 4.8 is a lot newer than the last imx53 build).
ttyl
bero


On 2 August 2013 07:52, sowmya <sowmya.ls@calsoftlabs.com> wrote:
Hi,
  Tried to compile jellyBean2.3 for imx53 board by selecting generic-eng option in lunch menu:

But getting below errors:

external/jpeg/turbojpeg.c:384:17: warning: argument 'pitch' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
target thumb C: libjpeg <= external/jpeg/jdatasrc-tj.c
target asm: libsimd <= external/jpeg/asm/armv7//jdcolor-armv7.S
external/jpeg/asm/armv7//jdcolor-armv7.S: Assembler messages:
external/jpeg/asm/armv7//jdcolor-armv7.S:160: Error: selected processor does not support ARM mode `vdup.s16 Q4,D7[1]'
external/jpeg/asm/armv7//jdcolor-armv7.S:161: Error: selected processor does not support ARM mode `vdup.s16 Q5,D7[2]'
external/jpeg/asm/armv7//jdcolor-armv7.S:166: Error: selected processor does not support ARM mode `vdup.s32 Q0,D30[0]'
.
.
.



Please help me to resolve above compilation errors.





Thanks,

With Regards,
Sowmya

_______________________________________________
linaro-android mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android