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: I am facing issue while running installation scripts on DRA71x CPU Board

Tool/software: Linux

Hi,

            While running ./bin/setup-repo.sh alll i got was one repo HTML file. Is this intended? This setup-repo.sh is run from the main setup.sh but repo init is failing to do anything? Kindly help.

BTW, SDK version is 5.00.00.01

thanks.

  • Hi Harish,

    can you post the log from the script execution?

    Regards,
    Yordan
  • HI,
    This is the log for the ./bin/setup-repo.sh. After running the setup-repo.sh, i am getting an HTML file. Is this correct?

    user:~/TI_EVM/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01$ ./bin/setup-repo.sh

    ----------------------------------------------------------------------------------------------
    The repo tool will be installed in ./bin folder
    ----------------------------------------------------------------------------------------------
    --2019-03-05 23:25:57-- commondatastorage.googleapis.com/.../repo
    Resolving commondatastorage.googleapis.com (commondatastorage.googleapis.com)... 216.58.199.16, 2404:6800:4005:802::2010
    Connecting to commondatastorage.googleapis.com (commondatastorage.googleapis.com)|216.58.199.16|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: internet-na.aptiv.com:6080/.../browser_challenge.php [following]
    --2019-03-05 23:25:58-- internet-na.aptiv.com:6080/.../browser_challenge.php
    Resolving internet-na.aptiv.com (internet-na.aptiv.com)... 10.201.248.37
    Connecting to internet-na.aptiv.com (internet-na.aptiv.com)|10.201.248.37|:6080... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1017 [text/html]
    Saving to: ‘./bin/repo-temp’

    100%[====================================================================================================================================================================================================================>] 1,017 --.-K/s in 0s

    2019-03-05 23:25:59 (27.2 MB/s) - ‘./bin/repo-temp’ saved [1017/1017]

    Successfully extracted the repo tool to ./bin
    Proceeding with repo init -u git://git.ti.com/glsdk/release-manifest.git

    ./bin/repo: line 1: syntax error near unexpected token `newline'
    ./bin/repo: line 1: `<HTML>'
    Failed setup, aborting..


    thanks.
  • Hi Harish,

    I am not sure what exactly happened, but it seems that the script failed to load 'repo' tool from address "commondatastorage.googleapis.com/.../repo" and instead of it downloaded a html page (maybe it is related to your company proxy). Can you try to get 'repo' with wget like this:

    wget commondatastorage.googleapis.com/.../repo

    or by opening it in the browser? 'repo' is just a Python script without .py extension.

    Regards,
    Yordan
  • Hi Harish,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Yordan