Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Mar 2015 06:49 AM by  Adam Ford
Android BSP for DM37x does not complete
 8 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mvly
Basic Member
Basic Member
Posts:104


--
19 Mar 2015 03:32 AM

    I cannot sync all the files from the repository correctly. I keep getting fatal errors about files missing.

     fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/gingerbread-3.0
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/ics
    error: Cannot fetch codesourcery
    Fetching project platform/external/libnfc-nxp
    error: Cannot fetch device/logicpd/dm3730logic
    error: Cannot fetch kernel
    error: Cannot fetch hardware/ti/sgx

    I am trying to get the latest repo.

     

    I even tried to start from scratch and it fails here.

     

    Thanks!

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Mar 2015 06:55 AM
    Can you post all the commands and responses to them up to that point so I can see everything?

    For now, I'm going to attempt to pull everything down with a clean build to see what I can find.

    adam
    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    19 Mar 2015 10:34 AM

    sorry I did not copy all the commands and response, but I followed the latest Android Ice Cream Sandwich 4.0.4 BSP User Guide Section 7.3 Android BSP Source Code

     

    mkdir -p ~/bin
    $ curl http://git.logicpd.com/mi...ooglesource.com/git- repo/plain/repo > ~/bin/repo$ chmod a+x ~/bin/repo
    $ export PATH=~/bin:$PATH 

    cd ~
    $ mkdir dm3730logic-icecreamsandwich
    $ cd dm3730logic-icecreamsandwich
    $ repo init -u git://git.logicpd.com/projects/logicpd/dm37x- android/manifest.git -m LogicPD-Android-ICS4.0.4v1.0.xml 


    Thanks!

    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    19 Mar 2015 10:35 AM

    And I typed:

     

    repo sync after the last command.

     

    I was able to pull 2.3.4 Android BSP Source Code build perfectly fine.

     

    Thanks!

    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    19 Mar 2015 10:38 AM

    OK was able to get the log:

     

    logicpd@logicpd-laptop:~/dm3730logic-icecreamsandwich$ repo sync
    Fetching project device/samsung/maguro
    Fetching project device/moto/stingray
    Fetching project platform/external/nist-sip
    Fetching project platform/external/jhead
    Fetching project platform/external/dhcpcd
    Fetching project platform/packages/inputmethods/PinyinIME
    Fetching project platform/external/bluetooth/glib
    Fetching project platform/external/webp
    Fetching project platform/external/liblzf
    Fetching project platform/external/pcre
    Fetching project platform/packages/wallpapers/HoloSpiral
    Fetching project platform/packages/apps/Provision
    Fetching project platform/packages/wallpapers/Galaxy4
    Fetching project platform/packages/apps/Camera
    Fetching project platform/packages/providers/DownloadProvider
    Fetching project platform/packages/inputmethods/LatinIME
    Fetching project platform/packages/providers/CalendarProvider
    Fetching project platform/packages/wallpapers/PhaseBeam
    Fetching project platform/external/javasqlite
    Fetching project platform/external/clang
    Fetching project device/moto/common
    Fetching project platform/external/libnl-headers
    Fetching project platform/external/jdiff
    Fetching project platform/external/libxml2
    Fetching project platform/external/wpa_supplicant_6
    Fetching project platform/system/extras
    Fetching project platform/external/v8
    Fetching project platform/external/yaffs2
    Fetching project platform/frameworks/opt/mailcommon
    Fetching project platform/hardware/invensense
    Fetching project platform/external/libffi
    Fetching project platform/frameworks/compile/libbcc
    Fetching project platform/external/svox
    Fetching project platform/external/fsck_msdos
    Fetching project platform/frameworks/opt/inputmethodcommon
    Fetching project platform/packages/apps/Calendar
    Fetching project platform/external/javassist
    Fetching project platform/packages/apps/KeyChain
    Fetching project platform/external/mksh
    Fetching project platform/external/stlport
    Fetching project platform/libcore
    Fetching project platform/hardware/libhardware_legacy
    Fetching projects:  16% (39/237)  Fetching project device/generic/goldfish
    Fetching project platform/system/netd
    Fetching projects:  17% (41/237)  Fetching project platform/ndk
    Fetching project platform/external/apache-http
    Fetching projects:  18% (43/237)  Fetching project platform/external/junit
    Fetching project platform/frameworks/compile/slang
    Fetching project platform/external/sonivox
    Fetching projects:  19% (46/237)  Fetching project kernel
    Fetching project platform/external/mesa3d
    Fetching projects:  20% (48/237)  Fetching project platform/packages/wallpapers/LivePicker
    Fetching project platform/external/bzip2
    Fetching projects:  21% (50/237)  Fetching project device/moto/wingray
    Fetching project device/sample
    Fetching project platform/external/guava
    Fetching projects:  22% (53/237)  Fetching project device/logicpd/dm3730logic
    Fetching project platform/external/libxslt
    Fetching projects:  23% (55/237)  Fetching project platform/external/bison
    Fetching project platform/system/vold
    Fetching projects:  24% (57/237)  Fetching project platform/packages/providers/ApplicationsProvider
    Fetching project platform/prebuilt
    Fetching project platform/external/llvm
    Fetching projects:  25% (60/237)  Fetching project platform/external/wpa_supplicant
    Fetching project platform/frameworks/compile/linkloader
    Fetching projects:  26% (62/237)  Fetching project platform/packages/apps/Launcher2
    Fetching project platform/external/grub
    Fetching projects:  27% (64/237)  Fetching project platform/external/ppp
    Fetching project platform/external/android-mock
    Fetching project platform/external/dbus
    Fetching projects:  28% (67/237)  Fetching project platform/external/embunit
    Fetching project platform/packages/wallpapers/MusicVisualization
    Fetching projects:  29% (69/237)  Fetching project device/samsung/crespo4g
    Fetching project platform/external/ping6
    Fetching project platform/external/flac
    Fetching projects:  30% (72/237)  Fetching project platform/external/libyuv
    Fetching project device/samsung/crespo
    Fetching projects:  31% (74/237)  Fetching project platform/external/apache-xml
    Fetching project platform/external/libgsm
    Fetching projects:  32% (76/237)  Fetching project platform/external/expat
    Fetching project device/google/accessory/demokit
    Fetching project platform/external/ipsec-tools
    Fetching projects:  33% (79/237)  Fetching project platform/packages/apps/CellBroadcastReceiver
    Fetching project platform/external/elfutils
    Fetching projects:  34% (81/237)  Fetching project platform/packages/apps/Stk
    Fetching project hardware/ti/sgx
    Fetching projects:  35% (83/237)  Fetching project platform/system/bluetooth
    Fetching project platform/packages/wallpapers/Basic
    Fetching project platform/external/replicaisland
    Fetching projects:  36% (86/237)  Fetching project platform/frameworks/opt/vcard
    Fetching project platform/external/easymock
    Fetching projects:  37% (88/237)  Fetching project platform/external/apache-harmony
    Fetching project platform/external/tagsoup
    Fetching project platform/packages/providers/MediaProvider
    Fetching projects:  38% (91/237)  Fetching project platform/external/oprofile
    Fetching project platform/external/proguard
    Fetching projects:  39% (93/237)  Fetching project platform/external/sqlite
    Fetching project device/google/accessory/arduino
    Fetching projects:  40% (95/237)  Fetching project platform/bionic
    Fetching project platform/bootable/bootloader/legacy
    Fetching project platform/frameworks/opt/calendar
    Fetching projects:  41% (98/237)  Fetching project platform/packages/apps/VideoEditor
    Fetching project platform/external/ping
    Fetching projects:  42% (100/237)  Fetching project platform/packages/apps/Tag
    Fetching project platform/external/antlr
    Fetching projects:  43% (102/237)  Fetching project platform/packages/apps/Contacts
    Fetching project platform/frameworks/support
    Fetching project platform/external/emma
    Fetching projects:  44% (105/237)  Fetching project platform/external/protobuf
    Fetching project platform/external/libpcap
    Fetching projects:  45% (107/237)  Fetching project platform/hardware/qcom/gps
    Fetching project platform/external/markdown
    Fetching project platform/bootable/recovery
    Fetching projects:  46% (110/237)  Fetching project platform/external/giflib
    Fetching project platform/external/gtest
    Fetching projects:  47% (112/237)  Fetching project platform/external/mockwebserver
    Fetching project platform/packages/apps/MusicFX
    Fetching projects:  48% (114/237)  Fetching project platform/packages/apps/Calculator
    Fetching project platform/external/bouncycastle
    Fetching project platform/external/srtp
    Fetching projects:  49% (117/237)  Fetching project platform/external/xmlwriter
    Fetching project platform/external/jsr305
    fatal: Couldn't find remote ref refs/heads/ics
    Fetching projects:  50% (119/237)  Fetching project platform/sdk
    fatal: Couldn't find remote ref refs/heads/ics
    Fetching project platform/external/bsdiff
    Fetching projects:  51% (121/237)  Fetching project platform/packages/apps/Phone
    Fetching project platform/hardware/ti/omap4xxx
    Fetching project platform/packages/apps/SoundRecorder
    Fetching projects:  52% (124/237)  Fetching project platform/hardware/ril
    Fetching project platform/external/skia
    Fetching projects:  53% (126/237)  Fetching project codesourcery
    fatal: Couldn't find remote ref refs/heads/gingerbread-3.0
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/gingerbread-3.0
    fatal: Couldn't find remote ref refs/heads/ics
    fatal: Couldn't find remote ref refs/heads/ics
    error: Cannot fetch device/logicpd/dm3730logic
    Fetching project platform/external/libnfc-nxp
    error: Cannot fetch codesourcery
    error: Cannot fetch kernel
    error: Cannot fetch hardware/ti/sgx

    error: Exited sync due to fetch errors


    Hopefully this helps!

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    20 Mar 2015 08:04 AM
    I am having similar problems, so I'm filing a report with our IT group to see if something has changed on our git server. I'll let you know when I have an update.

    adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    20 Mar 2015 11:15 AM
    I looks like there is an issue with the manifest.

    I am going to enter a bug ticket into our tracking system. In the mean time, try this sequence and see if it helps. You can probably skip the first line, but it might not hurt to erase the directory and start over.

    repo init -u git://git.logicpd.com/projects/logicpd/dm37x-android/manifest.git -m LogicPD-Android-ICS4.0.4v1.0.xml
    sed 's|upstream="[^"]*"||g' -i .repo/manifest.xml
    repo sync

    Let me know if that helps. You should be able to copy and paste those three lines.

    adam
    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    20 Mar 2015 11:42 PM

    Looks like it works now. Thanks!

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    23 Mar 2015 06:49 AM
    Great! I am glad to hear it. I entered a ticket into our bug tracking system.

    adam
    You are not authorized to post a reply.