Re: [android-building] Not able to sync the android iCS source from http://www.omappedia.com/wiki/Android_Panda_Build_Sourc

1,094 views
Skip to first unread message

Conley Owens

unread,
Nov 8, 2012, 11:22:53 AM11/8/12
to android-...@googlegroups.com
On Wed, Nov 7, 2012 at 10:44 PM, srinivasan shanmugam
<sriniva...@gmail.com> wrote:
> Hi,
>
> am not able to sync using
>
> repo init -u https://android.googlesource.com/platform/manifest -m
> default.xml
>
> Am getting the below error
> user@user-desktop:~/bin$ repo init -u
> https://android.googlesource.com/platform/manifest -m default.xml
> fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

This error is harmless. Are you missing anything after sync completes?

>
> I followed the below procedure for downloading the respective source code
> for my pandaboard rev A2, but still am not able to, pls guide me
> but am not able to.. could you please kindly do the needful in downloading
> the source for
> pandaboard rev A2
> $ mkdir ~/bin
> $ PATH=~/bin:$PATH
> $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo >
> ~/bin/repo
> $ chmod a+x ~/bin/repo
> $ mkdir WORKING_DIRECTORY
> $ cd WORKING_DIRECTORY
> $ repo init -u https://android.googlesource.com/platform/manifest -m
> default.xml
> $ repo sync
>
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en

Magnus Bäck

unread,
Nov 12, 2012, 11:21:21 AM11/12/12
to android-...@googlegroups.com
On Monday, November 12, 2012 at 02:55 EST,
srinivasan shanmugam <sriniva...@gmail.com> wrote:

> Thanks for your replies,
>
> Am not able to get the proper repo file(the contents of the repo file
> is empty) when I use the below command
>
> curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

Although it's a possibility that dl-ssl.google.com is serving empty
files, it's more likely a problem on your end. Do you get an empty
file if you visit the URL with a regular browser? Do you have any
proxy in the way that could be screwing things up? What are the
HTTP headers (use curl's -D option to save them to a file)?

[...]

--
Magnus Bäck
ba...@google.com

Magnus Bäck

unread,
Nov 14, 2012, 10:32:05 AM11/14/12
to android-...@googlegroups.com
On Wednesday, November 14, 2012 at 06:22 EST,
srinivasan shanmugam <sriniva...@gmail.com> wrote:

> Many Many Thanks, Appreciate your timely support.
>
> Ya it is true.. It was proxy problem... I removed all the proxy's n
> connected to direct internet.. Now able to sync the source code..
>
> But am not sure that the default.xml whether it downloads ICS or Jelly
> bean, But as of now I need jelly bean..for pandaboard Rev A4,

What source code you get depends on how you invoke "repo init".
The -b option selects the manifest branch (or tag) to use. For
Jellybean I suppose one of the Jellybean release tags (like
android-4.1.2_r1) would be your best choice.

> Is there any way to change the downloaded source code with
> default.xml, with any suitable configurations for jelly bean
> to pandaboard

You can switch manifest branch with "repo init -b branchname",
followed by "repo sync". Since all source code has already been
downloaded it'll be a quick operation (and you can make it even
quicker by using the -l option to sync).

> Eagerly waiting for your replies, due to emergency

This type of talk has a tendency to annoy people and is unlikely
to result in quicker responses.

--
Magnus Bäck
ba...@google.com

Magnus Bäck

unread,
Nov 20, 2012, 12:01:09 PM11/20/12
to android-...@googlegroups.com
On Tuesday, November 20, 2012 at 01:15 EST,
srinivasan shanmugam <sriniva...@gmail.com> wrote:

> But when I copied the downloaded source into different PC & when I
> was trying to build the source it was throwing the below errors:
> Am not getting how to resolve this problem, could you please help me
> in providing the necessary steps for building my downloaded source
> code in my local PC inorder to get rid of the below problem,
>
> user@user-desktop:~/OMAP/WORKING_DIRECTORY$ ./extract-imgtec-panda.sh
> user@user-desktop:~/OMAP/WORKING_DIRECTORY$ . build/envsetup.sh
> including sdk/bash_completion/adb.bash
> user@user-desktop:~/OMAP/WORKING_DIRECTORY$ lunch full_panda-userdebug
> build/core/product_config.mk:223: *** Can not locate config makefile
> for product "full_panda". Stop.

full_panda.mk should be located in device/ti/panda. Does the manifest
you've chosen list that git? Is the directory actually in your source
tree?

Magnus Bäck

unread,
Nov 26, 2012, 10:57:37 AM11/26/12
to android-...@googlegroups.com
On Wednesday, November 21, 2012 at 21:56 EST,
srinivasan shanmugam <sriniva...@gmail.com> wrote:

> You are absolutely right, the file full_panda.mk was not located in
> device/ti/panda ie., the source wasn't copied to local PC completely,
> & after I gave the build but I donn think the build went through
> sucessfully & hereby I have attached the log of it could you please
> kindly help me why the build did not went through successfully,
>
> user@user-desktop:~/OMAP/WORKING_DIRECTORY$ make -j4

[...]

> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> make: *** [out/target/product/panda/obj/lib/crtbegin_so.o]
> Segmentation fault
> make: *** Waiting for unfinished jobs....
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> make: *** [out/target/product/panda/obj/lib/crtend_so.o] Segmentation
> fault

This is often an indication of having too little RAM. How much do you
have? How much swap? I suggest you run without -j4. If that resolves
the problem you can try gently increasing the parallelism.

--
Magnus Bäck
ba...@google.com
Reply all
Reply to author
Forward
0 new messages