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
*********************** This message has been scanned by the InterScan for CSC SSM and found to be free of known security risks. ***********************
Hi sowmya,
It would be helpful if you can provide the environment in which you are compiling. I think there is problem to compile in 32bit os.
Best Regards, A G Megharaj, 8497897771 ________________________________________ From: linaro-android-bounces@lists.linaro.org [linaro-android-bounces@lists..linaro.org] On Behalf Of sowmya [sowmya.ls@calsoftlabs.com] Sent: Friday, August 02, 2013 11:22 AM To: linaro-android Subject: Jelly Bean Compilation error for imx53
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
The information contained in and/or attached to this e-mail is Confidential and proprietary Information of NowOn Technologies Private Limited (NowOn). This information is intended only for the confidential use of the addressees named therein and hence any review, dissemination, distribution or copying of this message shall be subject to the confidentiality obligations. If this message has reached a person or persons other than the addressees, it is hereby notified that such person(s) have received this document in error and it is obligatory to notify NowOn immediately by reply e-mail and delete the original message together with any and all attachments.
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
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
On 5 August 2013 07:56, sowmya sowmya.ls@calsoftlabs.com wrote:
While trying to compile linaro4.3 SDK for imx53QSB using below command,throws an error : command:
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.
I've just committed a (completely untested) fix for this. http://review.android.git.linaro.org/#/c/4342/
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.
There is no support for cortex-a8 in 4.3 (no current device uses A8 anymore), and 4.2 didn't have CPU specific optimization bits. So the correct variant for cortex-a8 in 4.3 (unless you want to go an extra step and push optimized functions for A8) is "generic".
I've pushed a patch that should fix this, but it is completely untested, while it should fix this problem, you might run into another one. If you want to be on the safe side, try building the 4.2 branch (that has been done successfully before - nobody else has tried building 4.3 for imx53 before).
ttyl bero
Hi, We just added TARGET_CPU_VARIANT:= generic in device /linaro/iMX53/BoardConfig.mk file. Then we got error saying no uboot diectory, as of now uboot was not required as we already have uboot image for imx53. So commented below line in "device/linaro/common/tasks/kernel.mk" file #BOOTLOADER_DEP := $(PRODUCT_OUT)/u-boot.bin
So JellyBean 4.3 code got compiled successfully for imx53 with no other errors, But Out target(out/target/product/imx53) directory doesn't contain "userdata.tar.bz2 ,system.tar.bz2, boot.tar.bz2 " any of these tarball .
Command used for compilation:
make -j4 TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi- TARGET_PRODUCT=iMX53 systemtarball userdatatarball boottarball
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: Mon, 5 Aug 2013 23:32:04 +0200
On 5 August 2013 07:56, sowmya sowmya.ls@calsoftlabs.com wrote: While trying to compile linaro4.3 SDK for imx53QSB using below command,throws an error : command:
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.
I've just committed a (completely untested) fix for this. http://review.android.git.linaro.org/#/c/4342/
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.
There is no support for cortex-a8 in 4.3 (no current device uses A8 anymore), and 4.2 didn't have CPU specific optimization bits. So the correct variant for cortex-a8 in 4.3 (unless you want to go an extra step and push optimized functions for A8) is "generic".
I've pushed a patch that should fix this, but it is completely untested, while it should fix this problem, you might run into another one. If you want to be on the safe side, try building the 4.2 branch (that has been done successfully before - nobody else has tried building 4.3 for imx53 before).
ttyl bero
On 6 August 2013 07:25, sowmya sowmya.ls@calsoftlabs.com wrote:
** Hi, We just added TARGET_CPU_VARIANT:= generic in device /linaro/iMX53/BoardConfig.mk file. Then we got error saying no uboot diectory, as of now uboot was not required as we already have uboot image for imx53. So commented below line in "device/linaro/common/tasks/kernel.mk" file #BOOTLOADER_DEP := $(PRODUCT_OUT)/u-boot.bin
That's not the right way to remove u-boot. That kicks the dependency of the kernel on u-boot, but what happens with tarball generation etc. when it expects u-boot to be there but it wasn't built is undefined.
If you want to disable u-boot, set TARGET_USE_UBOOT := false in BoardConfig.mk
The other way to fix it is to just pull in the right u-boot source, which happens to be the same one Panda uses. I've added this fix, things should work now after a "repo sync"
http://review.android.git.linaro.org/4343 http://review.android.git.linaro.org/4344
ttyl bero
linaro-android@lists.linaro.org