[build does not go thru]

Aditya Podila apodila at aptina.com
Tue Mar 27 10:44:03 UTC 2012


Hi Bernhard,

The problem got resolved after few hiccups i followed the steps below

Repo used
---------
repo init -u  git://android.git.linaro.org/platform/manifest.git  -b linaro_android_4.0.3  -m staging-panda.xml

Tool chain used
---------------
Android prebuilt tool chain is used and location in the repo is /prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/

Make Command
-------------
make TARGET_PRODUCT=pandaboard  TARGET_TOOLS_PREFIX=./prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-  boottarball systemtarball userdatatarball


And typically the uboot build was using arm-linux-gnueabi- and not arm-linux-androideabi-  as we have passed in tool chain prefix


//// Log snipet

cd ./u-boot &&\
	if [ -e arm-linux-gnueabi-gcc/arm-linux-gnueabi-ld.bfd ]; then ln -sf arm-linux-gnueabi-gcc/arm-linux-gnueabi-ld.bfd arm-linux-gnueabi-ld; fi &&\
	export PATH=`pwd`:arm-linux-gnueabi-gcc:/home/aditya/bin:/home/aditya/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/aditya/sujit/jdk1.6.0_30/bin: && \
	make O=../out/target/product/pandaboard/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- omap4_panda_config &&\
	make O=../out/target/product/pandaboard/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi-
make[1]: Entering directory `/home/aditya/Aptina/panda/u-boot'



After this i find that boot stops with. 
 
"Uncompressing Linux... done, booting the kernel"

Thanks for help in advance.

Regards
Aditya

-----Original Message-----
From: Bernhard Rosenkränzer [mailto:bernhard.rosenkranzer at linaro.org] 
Sent: 26 March 2012 20:28
To: Aditya Podila
Cc: linaro-android at lists.linaro.org
Subject: Re: [build does not go thru]

Hi,
if you're doing a parallel build, the error is not necessarily at the
end. There could be some error long before it starts building the
kernel.

I'm quite sure the problem is your toolchain (as pointed out in the
previous message). What exactly is the value you're passing as
TARGET_TOOLS_PREFIX, and what files are in there?

ttyl
bero

2012/3/26 Aditya Podila <apodila at aptina.com>:
> Hi Bernhard,
>
> I had tried even the branch 4.0.3, Still i face the same problem.
> Also the build log is exactly where the build stops, in fact "Make" exits
> from
> that place and build ends abruptly.
>
>
> Regards
> Aditya
>
>
>
>
> -----Original Message-----
> From: Bernhard Rosenkränzer [mailto:bernhard.rosenkranzer at linaro.org]
> Sent: Mon 3/26/2012 10:32 PM
> To: Aditya Podila
> Cc: linaro-android at lists.linaro.org
> Subject: Re: [build does not go thru]
>
> Hi,
> your build log seems incomplete (it doesn't show any error or anything
> else going wrong) - maybe you redirected stdout to the log file
> without also redirecting stderr?
> Either way, there's a couple of odd things about it, aside from the
> fact that it doesn't indicate any errors:
>
> - It says PLATFORM_VERSION=4.0.1 - that's ancient and hasn't been
> touched for a long time. Chances are you want 4.0.3
> - The ffmpeg build process uses the arm-eabi-gcc compiler. It should
> be using the arm-linux-androideabi-gcc compiler. Did you set
> TARGET_TOOLS_PREFIX correctly and does it contain a proper compiler,
> such as the one from
> https://android-build.linaro.org/builds/~linaro-android/toolchain-4.6-2012.03/
> ?
>
> Will take a look at the build instructions, maybe there's some
> outdated stuff there.
>
> ttyl
> bero
>
>
> On 26 March 2012 14:29, Aditya Podila <apodila at aptina.com> wrote:
>>
>> Hi Linaro team,
>>
>>
>> I have followed the the instructions given in
>> https://wiki.linaro.org/Platform/Android/BuildSource site
>> And i see that my build does not go thru. In the sense "make"  stops and
>> exists with out any error
>>
>> find the build log attaches with the mail, please guide me through.
>>
>>
>>
>> Regards
>> Aditya
>>
>> Aptina India Private Limited / Frontline Grandeur, 14 Walton Road,
>> Bangalore
>> - 560001, India
>>
>> This e-mail and any attachments contain confidential information and are
>> solely for the review and use of the intended recipient. If you have
>> received this e-mail in error, please notify the sender and destroy this
>> e-mail and any copies.
>>
>>
>> _______________________________________________
>> linaro-android mailing list
>> linaro-android at lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>
>
> Aptina India Private Limited / Frontline Grandeur, 14 Walton Road, Bangalore
> - 560001, India
>
> This e-mail and any attachments contain confidential information and are
> solely for the review and use of the intended recipient. If you have
> received this e-mail in error, please notify the sender and destroy this
> e-mail and any copies.
>
Aptina India Private Limited / Frontline Grandeur, 14 Walton Road, Bangalore - 560001, India

This e-mail and any attachments contain confidential information and are solely for the review and use of the intended recipient. If you have received this e-mail in error, please notify the sender and destroy this e-mail and any copies.




More information about the linaro-android mailing list