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.

Linux/TDA2EVM5777: Error while accessing TI Git repos

Part Number: TDA2EVM5777

Tool/software: Linux

Hello,

I am following Linux User Guide from Vision SDK 03.06.00.00, and I am getting the following error while replicating commands from section 2.4.2.

sagar@Sagar:~/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build$ ./hlos/scripts/linux/setup_linux.sh
Linux Build Setup
Cloning Kernel
Cloning into 'omap'...
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.208]: errno=Connection timed out

./hlos/scripts/linux/setup_linux.sh: line 12: cd: omap/: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Cloning Cmem
Cloning into 'ludev'...
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.208]: errno=Connection timed out

./hlos/scripts/linux/setup_linux.sh: line 20: cd: ludev/: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Cloning UBoot
Cloning into 'u-boot'...
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.207]: errno=Connection timed out

./hlos/scripts/linux/setup_linux.sh: line 28: cd: u-boot/: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Cloning SGX ddk
Cloning into 'omap5-sgx-ddk-linux'...
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.208]: errno=Connection timed out

./hlos/scripts/linux/setup_linux.sh: line 36: cd: omap5-sgx-ddk-linux/: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Basic Linux Setup for 4.4 done
Download the filesystem and untar

Running "git config --list" returns the following:

sagar@Sagar:~/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build$ git config --list
core.gitproxy=none
core.gitproxy=/home/sagar/git-proxy.sh
http.sslverify=false

I require to access the repos to set up Linux components. Please help me.

Thank you.

  • Hi,

    can you make sure that corkscrew is called with correct address and port in your git-proxy.sh (the one in VisionSDK_Linux_UserGuide.pdf is given just as example)? Also can you check if commenting out "gitproxy = none" in your /home/<username>/.gitconfig can change the behavior?

    Regards,
    Yordan
  • Hello,

    I tried commenting out the "gitproxy=none" in my .gitconfig file. My error message changed to:

    sagar@Sagar:~/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build$ ./hlos/scripts/linux/setup_linux.sh
     Linux Build Setup
    Cloning Kernel
    Cloning into 'omap'...
    Couldn't establish connection to proxy: Network is unreachable
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ./hlos/scripts/linux/setup_linux.sh: line 12: cd: omap/: No such file or directory
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    Cloning Cmem
    Cloning into 'ludev'...
    Couldn't establish connection to proxy: Network is unreachable
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ./hlos/scripts/linux/setup_linux.sh: line 20: cd: ludev/: No such file or directory
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    Cloning UBoot
    Cloning into 'u-boot'...
    Couldn't establish connection to proxy: Network is unreachable
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ./hlos/scripts/linux/setup_linux.sh: line 28: cd: u-boot/: No such file or directory
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    Cloning SGX ddk
    Cloning into 'omap5-sgx-ddk-linux'...
    Couldn't establish connection to proxy: Network is unreachable
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ./hlos/scripts/linux/setup_linux.sh: line 36: cd: omap5-sgx-ddk-linux/: No such file or directory
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    Basic Linux Setup for 4.4 done
    Download the filesystem and untar

    My git-proxy.sh file has a single line:

    exec /usr/bin/corkscrew proxyle01.ext.ti.com 80 $*

    Based on your response, it sounds that this proxy setting I copied from the User Guide is incorrect, and instead I need to use the proxy settings applicable for my corporate network.

    Is this right?

    Thank you.

  • That's correct - instead of "proxyle01.ext.ti.com 80" you should use your network's proxy and port.

    Regards,
    Yordan
  • My problem is resolved. It was caused due to the corporate firewall blocking traffic from git.ti.com.

    Thank you for your support.