Hi YongQin,

 

         Could you like give me the linaro_android_build_cmds.sh which is the right one.

         The one which I used  is in attachment.

 

Best Regards

 

发件人: YongQin Liu [mailto:yongqin.liu@linaro.org]
发送时间: 2013524 10:51
收件人: ryan3216@tom.com
抄送: liangqin@multicorewareinc.com; linaro-android
主题: Re: 答复: 答复: 答复: panda-jb-gcc47-tilt-tracking-blob not Suitable pandaboard es omap4460 vB2

 

Hi,

Please export following variables in your build script.

MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git
MANIFEST_BRANCH=linaro_android_4.2.2
MANIFEST_FILENAME=default.xml
REPO_GROUPS="common,pandaboard"
INCLUDE_PERF=0
TARGET_PRODUCT=pandaboard
TARGET_SIMULATOR=false
SOURCE_OVERLAY="open/20120716/build-info.tar.bz2"
TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-
TOOLCHAIN_TRIPLET=arm-linux-androideabi
BUILD_FS_IMAGE=1

From the log below, your TARGET_PRODUCT is not right.

 

Thanks,

Yongqin Liu

On 24 May 2013 10:43,  <ryan3216@tom.com> wrote:
> Hi YongQin,
>
>         It`s ok now. but if i make it still show the error :
>
> ryan@ubuntu:/workdir/linaro/android/android$ make -j2
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=4.2.2
> TARGET_PRODUCT=full
> TARGET_BUILD_VARIANT=eng
> TARGET_BUILD_TYPE=release
> TARGET_BUILD_APPS=
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv7-a
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
> HOST_BUILD_TYPE=release
> BUILD_ID=JDQ39E
> OUT_DIR=out
> ============================================
> external/bluetooth/bluedroid/Android.mk:8: NO
> BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic
> configuration
> external/busybox/Android.mk:34: warning: overriding commands for target
> `out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/busybox'
> build/core/prebuilt.mk:133: warning: ignoring old commands for target
> `out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/busybox'
> build/core/base_rules.mk:502: warning: overriding commands for target
> `out/target/product/generic/system/bin/tune2fs'
> external/busybox/Android.mk:258: warning: ignoring old commands for target
> `out/target/product/generic/system/bin/tune2fs'
> build/core/base_rules.mk:525: external/lava-blackbox/Android.mk: Module
> "lava-gtest-wrapper" has useless module tags: tests. It will be installed
> anyway.
> /usr/local/src/android-toolchain-eabi/bin/../libexec/gcc/arm-linux-androidea
> bi/4.7.3/cc1: error while loading shared libraries: libz.so.1: cannot open
> shared object file: No such file or directory
> /bin/bash: line 0: [: -eq: unary operator expected
> find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file
> or directory
> find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file
> or directory
> find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file
> or directory
> find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file
> or directory
> find: `src': No such file or directory
> /usr/local/src/android-toolchain-eabi/bin/../libexec/gcc/arm-linux-androidea
> bi/4.7.3/cc1: error while loading shared libraries: libz.so.1: cannot open
> shared object file: No such file or directory
> /bin/bash: line 0: [: -ge: unary operator expected
>
>         I don`t konw my mistake.
>
>
>
> -----
邮件原件-----
>
发件人: linaro-android-bounces@lists.linaro.org
> [mailto:linaro-android-bounces@lists.linaro.org]
代表 YongQin Liu
>
发送时间: 2013524 10:14
>
收件人: liangqin@multicorewareinc.com
>
抄送: linaro-android
>
主题: Re: 答复: 答复: panda-jb-gcc47-tilt-tracking-blob not Suitable
> pandaboard es omap4460 vB2
>
> On 24 May 2013 10:06,  <liangqin@multicorewareinc.com> wrote:
>> Hi YongQin,
>>
>>         I get another error :
>>./repo init -u git://android.git.linaro.org/platform/manifest.git -b
> linaro_android_4.2.2 -m default.xml
> --repo-url=git://android.git.linaro.org/tools/repo -g common,pandaboard
>
> This repo command works on my side.
> I think you need to check the repo command  or network on your side.
>
> And if you you have already downloaded the source on your local, you
> can comment out the "repo init" and "repo sync" command, and just try
> the build.
>
> Thanks,
> Yongqin Liu
>
>
>> Traceback (most recent call last):
>>   File "/workdir/linaro/android/android/.repo/repo/main.py", line 414, in
>> <module>
>>     _Main(sys.argv[1:])
>>   File "/workdir/linaro/android/android/.repo/repo/main.py", line 390, in
>> _Main
>>     result = repo._Run(argv) or 0
>>   File "/workdir/linaro/android/android/.repo/repo/main.py", line 138, in
>> _Run
>>     result = cmd.Execute(copts, cargs)
>>   File "/workdir/linaro/android/android/.repo/repo/subcmds/init.py", line
>> 347, in Execute
>>     self._SyncManifest(opt)
>>   File "/workdir/linaro/android/android/.repo/repo/subcmds/init.py", line
>> 200, in _SyncManifest
>>     m.MetaBranchSwitch(opt.manifest_branch)
>>   File "/workdir/linaro/android/android/.repo/repo/project.py", line 2348,
>> in MetaBranchSwitch
>>     self.Sync_LocalHalf(syncbuf)
>>   File "/workdir/linaro/android/android/.repo/repo/project.py", line 1086,
>> in Sync_LocalHalf
>>     lost = self._revlist(not_rev(revid), HEAD)
>>   File "/workdir/linaro/android/android/.repo/repo/project.py", line 2006,
>> in _revlist
>>     return self.work_git.rev_list(*a, **kw)
>>   File "/workdir/linaro/android/android/.repo/repo/project.py", line 2155,
>> in rev_list
>>     p.stderr))
>> error.GitError: manifests rev-list
>> ('^a1d922104c44513692ac8fff34f5e0d08ca7c475', 'HEAD', '--'): fatal: bad
>> revision 'HEAD'
>>
>>         Oh my god.
>>
>>
>> -----
邮件原件-----
>>
发件人: YongQin Liu [mailto:yongqin.liu@linaro.org]
>>
发送时间: 2013524 9:54
>>
收件人: liangqin@multicorewareinc.com
>>
抄送: linaro-android
>>
主题: Re: 答复: panda-jb-gcc47-tilt-tracking-blob not Suitable pandaboard
> es
>> omap4460 vB2
>>
>> Hi, liangqin
>>
>> Please export following variable in your linaro_android_build_cmds.sh
>> if they are not there, and have a try.
>>
>> MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git
>> MANIFEST_BRANCH=linaro_android_4.2.2
>> MANIFEST_FILENAME=default.xml
>> REPO_GROUPS="common,pandaboard"
>> INCLUDE_PERF=0
>> TARGET_PRODUCT=pandaboard
>> TARGET_SIMULATOR=false
>> SOURCE_OVERLAY="open/20120716/build-info.tar.bz2"
>>
> TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-li
>> naro/bin/arm-linux-androideabi-
>> TOOLCHAIN_TRIPLET=arm-linux-androideabi
>> BUILD_FS_IMAGE=1
>>
>> Thanks,
>> Yongqin Liu
>> On 24 May 2013 09:44,  <liangqin@multicorewareinc.com> wrote:
>>> Hi YongQin,
>>>
>>>         I am according this page
>>>
>>
> https://android-build.linaro.org/builds/~linaro-android-member-ti/panda-lina
>>> ro/
>>>         I don`t konw what is pinned manifest. I just want to get the full
>>> android source code for pandaboard.
>>>         Is that right?
>>>
>>> Best Regards
>>>
>>> -----
邮件原件-----
>>>
发件人: YongQin Liu [mailto:yongqin.liu@linaro.org]
>>>
发送时间: 2013524 9:22
>>>
收件人: ryan3216@tom.com
>>>
抄送: liangqin@multicorewareinc.com; linaro-android
>>>
主题: Re: 答复: 答复: 答复: panda-jb-gcc47-tilt-tracking-blob not
> Suitable
>>> pandaboard es omap4460 vB2
>>>
>>> Hi, ryan3216
>>>
>>>
>>>
>>> On 24 May 2013 09:12,  <ryan3216@tom.com> wrote:
>>>> Hi YongQin,
>>>>
>>>>         I meet some problem like this:
>>>>
>>>>
>>>
>>
> /usr/local/src/android-toolchain-eabi/bin/../libexec/gcc/arm-linux-androidea
>>>> bi/4.7.3/cc1: error while loading shared libraries: libz.so.1: cannot
>> open
>>>> shared object file: No such file or directory
>>>> /bin/bash: line 0: [: -eq: unary operator expected
>>>>
>>> Seems the toolchain still not correct, if you use the toolchain from
>> linaro,
>>> the gcc command should be something like
>>> android-toolchain-eabi/bin/arm-linux-androideabi-gcc
>>>
>>>
>>> BTW, Could you paste your build script or steps here? That would be
>>> helpful for us to find the problem.
>>>
>>> Thanks,
>>> Yongqin Liu
>>>
>>>>         The crosstool is
>>>>
>> android-toolchain-eabi-linaro-4.7-2013.02-1-2013-02-14_19-41-37-linux-x86.
>>> ta
>>>> r.bz2. I am according to Vishal said url .
>>>>
>>>>         would you like guide me ?
>>>>
>>>>
>>>> -----
邮件原件-----
>>>>
发件人: linaro-android-bounces@lists.linaro.org
>>>> [mailto:linaro-android-bounces@lists.linaro.org]
代表 YongQin Liu
>>>>
发送时间: 2013523 9:46
>>>>
收件人: liangqin@multicorewareinc.com
>>>>
抄送: linaro-android
>>>>
主题: Re: 答复: 答复: panda-jb-gcc47-tilt-tracking-blob not Suitable
>>>> pandaboard es omap4460 vB2
>>>>
>>>> Hi, linagqin
>>>>
>>>> seems the toolchain is not set correctly,
>>>>
>>>> did you export the toolchain variable like this:
>>>> export
>>> TARGET_TOOLS_PREFIX=android-toolchain-eabi/bin/arm-linux-androideabi-
>>>>
>>>> Thanks,
>>>> Yongqin Liu
>>>>
>>>> On 23 May 2013 09:37,  <liangqin@multicorewareinc.com> wrote:
>>>>> Hi Vishal,
>>>>>
>>>>>
>>>>>
>>>>>          Many thanks for the URL. I can download  the kernel and
> android
>>>>> source code by follow command :
>>>>>
>>>>>
>>>>>
>>>>>                    ./linaro_kernel_build_cmds.sh
>>>>>
>>>>>                    ./linaro_android_build_cmds.sh -m
>>>>> `pwd`/pinned-manifest.xml
>>>>>
>>>>>
>>>>>
>>>>>          When I make the android source , the follow message  was
> showed
>>> :
>>>>>
>>>>>
>>>>>
>>>>>                    make -j2 boottarball systemtarball userdatatarball
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
> /workdir/linaro/android/android/prebuilts/gcc/linux-x86/host/i686-linux-glib
>>>>
>>>
>>
> c2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/a
>>>> s:
>>>>> error while loading shared libraries: libz.so.1: cannot open shared
>>> object
>>>>> file: No such file or directory
>>>>>
>>>>> make: ***
>>>>>
>>>>
>>>
>>
> [out/host/linux-x86/obj/EXECUTABLES/fs_get_stats_intermediates/fs_get_stats.
>>>> o]
>>>>> Error 1
>>>>>
>>>>> make: *** Waiting for unfinished jobs....
>>>>>
>>>>>
>>>>
>>>
>>
> /workdir/linaro/android/android/prebuilts/gcc/linux-x86/host/i686-linux-glib
>>>>
>>>
>>
> c2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/a
>>>> s:
>>>>> error while loading shared libraries: libz.so.1: cannot open shared
>>> object
>>>>> file: No such file or directory
>>>>>
>>>>> make: ***
>>>>>
>>>>
>>>
>>
> [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocaliz
>>>> e.o]
>>>>> Error 1
>>>>>
>>>>>
>>>>>
>>>>>          Can you please guide me ?
>>>>>
>>>>>
>>>>>
>>>>> Best Regards
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
发件人: Vishal Bhoj [mailto:vishal.bhoj@linaro.org]
>>>>>
发送时间: 2013517 18:41
>>>>>
收件人: liangqin@multicorewareinc.com
>>>>>
抄送: linaro-android
>>>>>
主题: Re: 答复: panda-jb-gcc47-tilt-tracking-blob not Suitable
>> pandaboard
>>>> es
>>>>> omap4460 vB2
>>>>>
>>>>>
>>>>>
>>>>> That is the right url. Can you please try it again:
>>>>>
>>>>
>>>
>>
> https://android-build.linaro.org/builds/~linaro-android-member-ti/panda-lina
>>>> ro/
>>>>>
>>>>>
>>>>>
>>>>> On 17 May 2013 14:18, <liangqin@multicorewareinc.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Hi Vishal Bhoj,
>>>>>
>>>>>
>>>>>
>>>>>          Thank you for your reply, but  that url can`t open. Is  that
>> url
>>>>> different from others ?
>>>>>
>>>>>
>>>>>
>>>>>  Best regards.
>>>>>
>>>>>
>>>>>
>>>>>
发件人: Vishal Bhoj [mailto:vishal.bhoj@linaro.org]
>>>>>
发送时间: 2013517 16:36
>>>>>
收件人: liangqin@multicorewareinc.com
>>>>>
抄送: linaro-android
>>>>>
主题: Re: panda-jb-gcc47-tilt-tracking-blob not Suitable pandaboard es
>>>>> omap4460 vB2
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Please pic the image from this build:
>>>>>
>>>>
>>>
>>
> https://android-build.linaro.org/builds/~linaro-android-member-ti/panda-lina
>>>> ro/
>>>>>
>>>>> The above build is the stable build for panda.
>>>>>
>>>>>
>>>>>
>>>>> On 17 May 2013 14:00, <liangqin@multicorewareinc.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Hi all,
>>>>>
>>>>>
>>>>>
>>>>>          I choose version is the Release 13.02RC3 according follow:
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
> https://docs.google.com/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd3pZazdaRUU0MnR
>>>> nWmgwbVhTR0E#gid=18
>>>>> .
>>>>>
>>>>>          The release address as follow :
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
> https://android-build.linaro.org/builds/~linaro-android-archive/panda-jb-gcc
>>>> 47-tilt-tracking-blob/#build=196
>>>>>
>>>>>
>>>>>
>>>>>          I download panda image is pandaboard.img.bz2 as
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
> http://snapshots.linaro.org/android/~linaro-android-archive/panda-jb-gcc47-t
>>>> ilt-tracking-blob/196/pandaboard.img.bz2
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          when it is booting, the follow message were showed, I add it
> to
>>>> the
>>>>> e-mail attachments.
>>>>>
>>>>>
>>>>>
>>>>>          Does linaro support Omap4460 pandaboard es VB2 ?
>>>>>
>>>>>          please guide me.
>>>>>
>>>>>
>>>>>
>>>>> Ryan
>>>>>
>>>>> 05/17/2013
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> linaro-android mailing list
>>>>> linaro-android@lists.linaro.org
>>>>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> linaro-android mailing list
>>>>> linaro-android@lists.linaro.org
>>>>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Yongqin Liu
>>>> ---------------------------------------------------------------
>>>> #mailing list
>>>> linaro-android@lists.linaro.org
>>>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>>> linaro-validation@lists.linaro.org
>>>> http://lists.linaro.org/pipermail/linaro-validation
>>>>
>>>> _______________________________________________
>>>> linaro-android mailing list
>>>> linaro-android@lists.linaro.org
>>>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Yongqin Liu
>>> ---------------------------------------------------------------
>>> #mailing list
>>> linaro-android@lists.linaro.org
>>> http://lists.linaro.org/mailman/listinfo/linaro-android
>>> linaro-validation@lists.linaro.org
>>> http://lists.linaro.org/pipermail/linaro-validation
>>>
>>
>>
>>
>> --
>> Thanks,
>> Yongqin Liu
>> ---------------------------------------------------------------
>> #mailing list
>> linaro-android@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-android
>> linaro-validation@lists.linaro.org
>> http://lists.linaro.org/pipermail/linaro-validation
>>
>
>
>
> --
> Thanks,
> Yongqin Liu
> ---------------------------------------------------------------
> #mailing list
> linaro-android@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-android
> linaro-validation@lists.linaro.org
> http://lists.linaro.org/pipermail/linaro-validation
>
> _______________________________________________
> linaro-android mailing list
> linaro-android@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-android
>



--
Thanks,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-validation@lists.linaro.org
http://lists.linaro.org/pipermail/linaro-validation