This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA7xx: Error on ./build-core-sdk.sh dra7xx-evm

Hi,

I have installed glsdk 7.00 and while following the instructions given in GLSDK User guide I have got the following problem. Plz help me.

After giving the executing ./build-core-sdk.sh dra7xx-evm on my host PC, there were several logs, warnings and it took several minutes. At the end i got following error.

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/downloads/git2/gitorious.org.matrix-gui-v2.matrix-gui-v2-apps.git'...

fatal: The remote end hung up unexpectedly

ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/all-oe-linux/matrix-gui-apps-images/2.0-r27.0/temp/log.do_fetch.15262
ERROR: Task 3403 (/home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1623 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-images_2.0.bb, do_fetch
Summary: There were 103 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Wed Apr  1 14:35:57 IST 2015
[GLSDK]>


What is the issue.? Will it cause any problem further.?

Thanks and Rgds,

Vijay

  • Try the following command manually on your Linux host and let us know the status.

    git clone git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master

    Also please make sure that you have proper internet connection for your host PC to git clone the packages.
  • Hi,
    The for the command you mentioned, I got the following response.

    host:~/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers$ git clone git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master
    Cloning into 'matrix-gui-v2-apps'...
    fatal: The remote end hung up unexpectedly



    Rgds,
    Vijay
  • Hi Vijay,
    It should get success clone here.
    Check your IT department for git server access.
    You able to do any git clone on your host PC ?
  • Hi Titus,
    Im not sure how to use git. I am new to this. Please give me what to do to avoid this problem.? Will it cause any issue further?
    There are no proxy settings on my host PC. What could be the reason? I spoke to my IT team but there are nt aware of this.
    Please help me.
    Thanks and Rgds,
    Vijay
  • Hello Vijay,

    I suggest you to take a look on similar threads for OMAP5:
    e2e.ti.com/.../384399
    e2e.ti.com/.../340531
    e2e.ti.com/.../330186

    Best regards,
    Yanko
  • Hi,
    Please confirm that the URL "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master" exists.
    Because I am unable to find this. I doubt that this URL does not exist and cause of that I am getting the problem.

    Rgds,
    VIjay
  • Hi Vijaykumar,

    Please look here: http://processors.wiki.ti.com/index.php/GLSDK_FAQs#How_to_fix_build_failures_on_GLSDK_7.00.00.04_due_to_gitorious.org_issues_.3F

    Or 

    Manually update like here:

    Update the file: ${GLSDK}/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
     From:
     SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
     to:
     SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=${BRANCH}"

    There will be some other fetching issue so it is recommended to follow the GLSDK_FAQ.

    Thanks.
    //Buddy
    Please click the Verify Answer button on this post if it answers your question.
  • Hi Buddy,
    Thank you so much. I am expecting this.

    Rgds,
    Vijay
  • Hi Buddy,
    After applying the patches to GLSDK 6.10 Im getting the following error.


    NOTE: Executing RunQueue Tasks
    WARNING: Checksum failure encountered with download of wireless.kernel.org/.../crda-1.1.3.tar.bz2;name=crda - will attempt other sources if available
    WARNING: Renaming /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/crda-1.1.3.tar.bz2 to /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/crda-1.1.3.tar.bz2_bad-checksum_5ddda5ef1853c033d9207bde93c15368
    ERROR: Fetcher failure for URL: 'wireless.kernel.org/.../crda-1.1.3.tar.bz2;name=crda'. Checksum mismatch!
    File: '/home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/crda-1.1.3.tar.bz2' has md5 checksum 5ddda5ef1853c033d9207bde93c15368 when a3184ecd536d4ffadbc5d9ed06c5466e was expected
    File: '/home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/crda-1.1.3.tar.bz2' has sha256 checksum d1bf1fb2a64922a6acd44b3067579ac2b766e9d83781ec7c351b1396c6d57485 when fa4fa62bff02431b077c6cf0b72cfe0a4214cbfa5ed7aec070fbfb879717fe5c was expected
    If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
    SRC_URI[crda.md5sum] = "5ddda5ef1853c033d9207bde93c15368"
    SRC_URI[crda.sha256sum] = "d1bf1fb2a64922a6acd44b3067579ac2b766e9d83781ec7c351b1396c6d57485"
    Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

    ERROR: Function failed: Fetcher failure for URL: 'wireless.kernel.org/.../crda-1.1.3.tar.bz2;name=crda'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/crda/1.1.3-r0/temp/log.do_fetch.25423
    ERROR: Task 2222 (/home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-openembedded/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb, do_fetch) failed with exit code '1'
    WARNING: Failed to fetch URL git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=http;branch=master, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
    Cloning into bare repository '/home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/git2/gitorious.org.arm_benchmarks.arm_benchmarks.git'...

    error: RPC failed; result=22, HTTP code = 502
    fatal: The remote end hung up unexpectedly

    ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=http;branch=master'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/arm-benchmarks/1.3-r7-arago0/temp/log.do_fetch.25420
    ERROR: Task 4680 (/home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 3071 tasks of which 3059 didn't need to be rerun and 2 failed.
    Waiting for 0 running tasks to finish:

    Summary: 2 tasks failed:
    /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-openembedded/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb, do_fetch
    /home/medha/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb, do_fetch
    Summary: There were 4 WARNING messages shown.
    Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Thu Apr 9 12:37:54 IST 2015
    [GLSDK]>
    medha@C528:~/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$



    Plz look into this and help me.

    Thanks and Rgds,
    Vijay
  • Hi Vijay,

    I thought that you are building on GLSDK 7.00.00.04 based on the 1st posting which shows the error log: "/home/medha/ti-glsdk_dra7xx-evm_7_00_00_04/yocto-layers/".

    I don't think you can apply the patches on top of GLSDK 6.10.00.02 as checksum will be different.

    You might have to do manually modified the bitbake recipe.

    Here is my recommendation.

    1) Start a fresh installation of GLSDK 6.10.00.02.

    2) Performed:

    export GLSDK=[your location of GLSDK 6.10.00.02 installation directory]

    cd ${GLSDK}

    ./setup.sh

    export PATH=${GLSDK}/bin:$PATH

    ./bin/fetch-sources.sh

    export PATH=<Path to Linaro cross-compile toolchain>/bin:$PATH

    ./bin/setup-yocto.sh

    cd yocto-layers

    mkdir downloads

    ./build-core-sdk.sh dra7xx-evm

    During the build, you will find the fetch error.

    Make modification to this file:

    1) Error: 

    ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=master'. Unable to fetch URL from any source.

    Modified:
    Update the file: ${GLSDK}/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc
     From:
     SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
     to:
     SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=http;branch=${BRANCH}"

    2) Error:
    ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/oprofile-example/oprofile-example.git;protocol=git;branch=master'. Unable to fetch URL from any source.

    Modified:
      Update the file: ${GLSDK}/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/oprofile-example/oprofile-example_git.bb
    
    From:
      SRC_URI = "git://gitorious.org/oprofile-example/oprofile-example.git;protocol=git;branch=${BRANCH}"
      To:
      SRC_URI = "git://gitorious.org/oprofile-example/oprofile-example.git;protocol=http;branch=${BRANCH}"

    3)
    ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=master'. Unable to fetch URL from any source.

    Modified:
    Solution:
      Update the file: ${GLSDK}/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
    
    From:
      SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"
      To:
      SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=http;branch=${BRANCH}"

    4) Error
    ERROR: Function failed: Fetcher failure for URL: 'git://gitorious.org/uim/uim.git'. Unable to fetch URL from any source.

    Modified:
    Update the file: ${GLSDK}/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
       
      From:
      SRC_URI = "git://gitorious.org/uim/uim.git \
              file://0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch \
              file://uim-sysfs \
       "
       To:
       SRC_URI = "git://gitorious.org/uim/uim.git;protocol=http;branch=${BRANCH} \
              file://0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch \
              file://uim-sysfs \
       "

    5) Error:
    ERROR: Fetcher failure for URL: 'wireless.kernel.org/.../crda-1.1.3.tar.bz2;name=crda'. Checksum mismatch!

    Modified:
    Update the file: ${GLSDK}/yocto-layers/sources/meta-openembedded/meta-networking/recipes-connectivity/crda/crda_1.1.3.bb
    From:

    SRC_URI = "wireless.kernel.org/.../crda${BP}.tar.bz2;name=crda \
    wireless.kernel.org/.../2013.01.11-regulatory.bin;name=bin \

    To:

    SRC_URI = "linuxwireless.org/.../crda-1.1.3.tar.bz2;name=crda \
    linuxwireless.org/.../2013.01.11-regulatory.bin;name=bin \


    Then re-run:
    ./build-core-sdk.sh dra7xx-evm

    Thanks.

    //Buddy

  • Vijay,

    Please confirm which version of the GLSDK you are using. Are you using 6.10.00.02 or 7.00.00.04?
    It is recommended that you use GLSDK 7.00.00.04 and follow the instructions in the wiki link that was posted for resolving the problem.

    Regards
    Karthik
  • Hi Buddy,
    Thank you. Actually I have install sdk 7.00 initially. After complete build, I tried to apply Post release patches to enable the 10inch LCD display from processors.wiki.ti.com/.../DRA7xx_GLSDK_6.10.00.02_Post-release_Updates. But there is no compatibility between the patches and the sdk 7.00. So I started building sdk 6.10. Earlier I worked on sdk6.10 but my system got crashed so I started from beginning.
    Thanks,
    Regards,
    Vijay
  • Hi Karthik,
    I have installed sdk7.00 but as there is not compatibility for the post release patches processors.wiki.ti.com/.../DRA7xx_GLSDK_6.10.00.02_Post-release_Updates I started working on sdk6.10.
    Please help me if I can apply those patches to SDK 7.00 to enable my display.
    And will you plz guide me adding Qt support to SDK 7.00 or 6.10. I need to add Qt libraries to DRA7xx fs.

    Thanks,
    Vijay
  • Hi Vijay,

    You might want to look at the following posts for QT:

    https://e2e.ti.com/support/omap/f/885/p/379296/1338930

    https://e2e.ti.com/support/omap/f/885/t/382496   -- has a link to http://tigraphics.blogspot.com/2013/08/qt5-with-kms-omap5-jacinto6.html

    https://e2e.ti.com/support/embedded/linux/f/354/t/410202

    Since I am not really familiar with QT, you might want to post on 410202 as well.

    For this thread, I believe the issue of "DRA7xx: Error on ./build-core-sdk.sh dra7xx-evm" should be resolved, correct?

    Or you are still not able to build on GLSDK 6.10.00.02 or GLSDK 7.00.00.04.

    Please click the Verify Answer button on this post if it answers your question.

    Thanks.

    //Buddy

  • Hi Buddy,
    Thanks for ur support. I have checked all those links related to QT earlier.
    Regarding, GLSDK 7.00.00.04, I need post release patches if any similar to GLSDK6.10 processors.wiki.ti.com/.../DRA7xx_GLSDK_6.10.00.02_Post-release_Updates.
    Rgds,
    Vijay
  • Hi Vijay,

    AFAIK, the 10" LCD is already supported in GLSDK 7.00.00.04. Maybe by default the u-boot setting is using 7" LCD configuration (dra7-evm-lcd7.dtb).

    The patches that you mentioned to enable the 10" LCD display is probably already integrated as those are the patches after GLSDK 6.10.00.02 release.

    I was able to boot with the 10" LCD J6 EVM with GLSDK 7.00.00.04 pre-built image.

    Since I am booting from sdcard, when U-boot is starting, press Enter to stop and get the U-Boot prompt.

    Execute:

    # To check the environment variables:

    U-Boot# printenv

    You should see:

    board_name=dra7xx

    fdtfile=undefined

    findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm-lcd7.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm-lcd10.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;

    So, modified with this command:

    U-Boot# setenv fdtfile dra7-evm-lcd10.dtb

    U-Boot# setenv findfdt

    U-Boot# saveenv

    U-Boot# boot

    It should now use the DRA7 Device Tree Blob for 10" LCD.

    Thanks.

    //Buddy

    PS: Please click the Verify Answer button on this post if it answers your question.

  • Hi Buddy,
    Thanks a lot.. Its working now.
    I am left with following queries.
    1. The tux penguins Image is not coming on display with SDK 7.00(Where as it is visible wit sdk 6.10). What could be the problem.? How can I enable them?
    2. In sdk6.10 there was no support for NAND. In SDK 7.00 seems NAND interface is enabled(I observed in uboot). Am I correct? If so, I am trying to mount the NAND on some folder but its getting failed.?
    Will you help me in this regard.?

    Thanks in anticipation.

    Rgds,
    Vijay
  • Also Im glad if you help me in enabling the booting from NAND.
    Thanks n Rgds,
    VIjay
  • Hi Vijay,

    I think this thread has gone away from the original query.  I believe 2 issues were resolved on this thread: building issue and enabling 10" LCD.

    Please close this thread and open a new thread. That way it will help others to search the forum better and others can contribute as well.

    Thanks.

    //Buddy

    PS: Please click the Verify Answer button on this post if it answers your question.