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/PROCESSOR-SDK-TDAX: PSDKLA Installation

Part Number: PROCESSOR-SDK-TDAX


Tool/software: Linux

Hi TI,

processors.wiki.ti.com/.../Processor_SDK_Linux_Automotive_Software_Developers_Guide

As per this link upto SD card creation has done. 

Coming to Repo tool Usage, while executing 

./bin/fetch-sources.sh I'm facing issue

./bin/fetch-sources.sh
Traceback (most recent call last):
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 158, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/command.py", line 67, in OptionParser
self._Options(self._optparse)
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/subcmds/sync.py", line 189, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 360, in default
self._Load()
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 407, in _Load
self.manifestProject.worktree))
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 444, in _ParseManifestXml
except (OSError, xml.parsers.expat.ExpatError) as e:
AttributeError: 'module' object has no attribute 'expat'
Traceback (most recent call last):
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/subcmds/forall.py", line 226, in Execute
projects = self.GetProjects(args, groups=opt.groups)
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/command.py", line 140, in GetProjects
all_projects_list = manifest.projects
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 350, in projects
self._Load()
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 407, in _Load
self.manifestProject.worktree))
File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 444, in _ParseManifestXml
except (OSError, xml.parsers.expat.ExpatError) as e:
AttributeError: 'module' object has no attribute 'expat'

What it could be the error ? What are all the dependency to solve this issue !

Kindly suggest me !!!

Thanks & Regards,

Rajesh Kannan S 

  • Hi Rajesh,

    which OS is running on the PC you use for build?
    Did you installed all necessary packages described here:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Automotive_Software_Developers_Guide

    Regards,
    Yordan
  • Hi Yordan,

    Thanks for ur reply.

    As per the guide I have done.  OS is Ubuntu14.04 LTS

    But still same !!!

    Regards,

    Rajesh Kannan S

  • Hi Rajesh,

    In order to debug the problem, can you please do the following?

    a. Retain the installation that you have already done and do a fresh installation in a different directory.
    b. After the installation is complete lets say in /home/rajasekar/second-installation-ti-sdk, export the install dir path as described in the software developers guide.
    c. Run ./bin/setup-repo.sh

    Send the console output of this step c and we can determine if the repo has any issues in initializing the manifest.

    Regards
    Karthik
  • Hi Karthik,

    Thanks for your reply.

    I have attached the log for your reference.

    Kindly check and let me know.

    Thank you.

    Regrads,

    Rajesh Kannan S 

    Press [Enter] to continue:
    
    Do you accept this license? [y/n]: 
    
    Do you accept this license? [y/n]: y
    
    ----------------------------------------------------------------------------
    Please specify the directory where Processor SDK Linux Automotive will be 
    installed.
    
    Installation Directory [/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03]: /home/rajasekar/second-installation-ti-sdk/
    
    ----------------------------------------------------------------------------
    Setup is now ready to begin installing Processor SDK Linux Automotive on your 
    computer.
    
    Do you want to continue? [Y/n]: y
    
    ----------------------------------------------------------------------------
    Please wait while Setup installs Processor SDK Linux Automotive on your 
    computer.
    
     Installing
     0% ______________ 50% ______________ 100%
     #########################################
    
    ----------------------------------------------------------------------------
    Setup has finished installing Processor SDK Linux Automotive on your computer.
    
    rajasekar@FSETBLR1NB045:~/workdir/projects/PSDKLA$ export INSTALL_DIR=/home/rajasekar/second-installation-ti-sdk/
    rajasekar@FSETBLR1NB045:~/workdir/projects/PSDKLA$ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
    [sudo] password for rajasekar: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'zlib1g:i386' instead of 'libz1:i386'
    build-essential is already the newest version.
    chrpath is already the newest version.
    diffstat is already the newest version.
    doxygen is already the newest version.
    gawk is already the newest version.
    python is already the newest version.
    texinfo is already the newest version.
    dos2unix is already the newest version.
    socat is already the newest version.
    libncurses5:i386 is already the newest version.
    git is already the newest version.
    unzip is already the newest version.
    wget is already the newest version.
    libc6:i386 is already the newest version.
    libstdc++6:i386 is already the newest version.
    zlib1g:i386 is already the newest version.
    The following packages were automatically installed and are no longer required:
      libqpdf13 linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
      linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
    
    
    rajasekar@FSETBLR1NB045:~/second-installation-ti-sdk$ sudo sh setup.sh 
    
    --------------------------------------------------------------------------------
    TISDK setup script
    
    This script will set up your development host for sdk development.
    Parts of this script require administrator priviliges (sudo access).
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    Verifying Linux host distribution
    Ubuntu 14.04 found successfully, continuing..
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will make sure you have the proper host support packages installed
    using the following command: sudo apt-get install ssh corkscrew gawk texinfo chrpath git-email g++ libc6:i386 libc6-i386 libstdc++6:i386 libncurses5:i386 libz1:i386 libc6:i386 libc6-dev-i386 device-tree-compiler nfs-kernel-server
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'zlib1g:i386' instead of 'libz1:i386'
    chrpath is already the newest version.
    device-tree-compiler is already the newest version.
    g++ is already the newest version.
    gawk is already the newest version.
    texinfo is already the newest version.
    corkscrew is already the newest version.
    libncurses5:i386 is already the newest version.
    libc6-dev-i386 is already the newest version.
    libc6-i386 is already the newest version.
    nfs-kernel-server is already the newest version.
    ssh is already the newest version.
    git-email is already the newest version.
    libc6:i386 is already the newest version.
    libstdc++6:i386 is already the newest version.
    zlib1g:i386 is already the newest version.
    The following packages were automatically installed and are no longer required:
      libqpdf13 linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
      linux-image-3.19.0-25-generic linux-image-extra-3.19.0-25-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
    
    Package verification and installation successfully completed
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    In which directory do you want to install the target filesystem?(if this directory does not exist it will be created)
    Ensure that complete path is provided, otherwise NFS path in bootargs might be incomplete
    [ /home/rajasekar/targetfs ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will extract the target filesystem to /home/rajasekar/targetfs
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /home/rajasekar/targetfs already exists
    (r) rename existing filesystem (o) overwrite existing filesystem (s) skip filesystem extraction
    [r] r
    Path for old filesystem:
    [ /home/rajasekar/targetfs.10302018_10.38 ]
    
    Successfully moved old /home/rajasekar/targetfs to /home/rajasekar/targetfs.10302018_10.38
    Please wait while extracting NFS filesystem...
    
    Successfully extracted tisdk-rootfs-image-dra7xx-evm.tar.xz to /home/rajasekar/targetfs
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will update the EXEC_DIR variables in the Rules.make file
    This will facilitate the SDK to install (with make install) rebuilt binaries in
        /home/rajasekar/targetfs/home/root/dra7xx
    
    The files will be available from /home/root/dra7xx on the target.
    
    This setting can be changed later by editing Rules.make and changing the
    EXEC_DIR variable.
    
    Press return to continue
    Rules.make edited successfully..
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will export your target filesystem for NFS access.
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /home/rajasekar/targetfs already NFS exported, skipping..
    --------------------------------------------------------------------------------
    Restarting NFS and TFTP server
    
     * Stopping NFS kernel daemon                                                                                                                                                    [ OK ] 
     * Unexporting directories for NFS kernel daemon...                                                                                                                              [ OK ] 
     * Exporting directories for NFS kernel daemon...                                                                                                                                       exportfs: Failed to stat targetfs: No such file or directory
                                                                                                                                                                                     [ OK ]
     * Starting NFS kernel daemon                                                                                                                                                    [ OK ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up minicom (serial communication application) for
    SDK development
    
    
    For boards that contain a USB-to-Serial converter on the board (BeagleBone), 
    the port used for minicom will be automatically detected. By default Ubuntu 
    will not recognize this device. Setup will add a udev rule to 
    /etc/udev/ so that from now on it will be recognized as soon as the board is 
    plugged in.
    
    For other boards, the serial will defualt to /dev/ttyUSB0. Please update based 
    on your setup.
    --------------------------------------------------------------------------------
    
    
    NOTE: For boards with a built-in USB to Serial adapter please press
          ENTER at the prompt below.  The correct port will be determined
          automatically at a later step.  For all other boards select
          the serial port that the board is connected to
    Which serial port do you want to use with minicom?
    [ /dev/ttyUSB0 ] 
    
    Copied existing /home/rajasekar/.minirc.dfl to /home/rajasekar/.minirc.dfl.old
    
    Configuration saved to /home/rajasekar/.minirc.dfl. You can change it further from inside
    minicom, see the Software Development Guide for more information.
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up the u-boot variables for booting the EVM.
    Select Linux kernel location:
     1: SD card
    
    [ 1 ] 1
    
    Select root file system location:
     1: SD card
     2: NFS
    
    [ 1 ] 1
    
    Resulting u-boot variable settings:
    
    setenv baudrate 115200
    fatload mmc 0:1 0x825f0000 dra7-evm.dtb
    fatload mmc 0:1 0x80300000 uImage
    setenv bootargs 'elevator=noop console=ttyO0,115200n8 earlyprintk root=/dev/mmcblk0p2 rw rootwait fixrtc'
    setenv fdt_high 0x84000000
    bootm 0x80300000 - 0x825f0000
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    To use the SDK, you need to have Linaro cross compiler toolchain installed
    Do you want to install it now Y/n  
    [ y ]n
    
    ----------------------------------------------------------------------------------------------
    The repo tool will be installed in ./bin folder
    ----------------------------------------------------------------------------------------------
    --2018-10-30 10:44:42--  http://commondatastorage.googleapis.com/git-repo-downloads/repo
    Resolving commondatastorage.googleapis.com (commondatastorage.googleapis.com)... 216.58.197.48, 2404:6800:4007:807::2010
    Connecting to commondatastorage.googleapis.com (commondatastorage.googleapis.com)|216.58.197.48|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 27759 (27K) [application/octet-stream]
    Saving to: ‘./bin/repo-temp’
    
    100%[==============================================================================================================================================>] 27,759      --.-K/s   in 0.01s   
    
    2018-10-30 10:44:43 (1.83 MB/s) - ‘./bin/repo-temp’ saved [27759/27759]
    
    Successfully extracted the repo tool to ./bin
    Proceeding with repo init -u git://git.ti.com/glsdk/release-manifest.git
     
    Get https://gerrit.googlesource.com/git-repo/clone.bundle
    Get https://gerrit.googlesource.com/git-repo
    remote: Finding sources: 100% (20/20)
    remote: Total 20 (delta 6), reused 20 (delta 6)
    Unpacking objects: 100% (20/20), done.
    From https://gerrit.googlesource.com/git-repo
       b3133a3..36391bf  master     -> origin/master
    Get git://git.ti.com/glsdk/release-manifest.git
    warning: cannot parse SRV response: Message too long
    remote: Counting objects: 574, done.
    remote: Compressing objects: 100% (568/568), done.
    remote: Total 574 (delta 374), reused 0 (delta 0)
    Receiving objects: 100% (574/574), 75.05 KiB | 0 bytes/s, done.
    Resolving deltas: 100% (374/374), done.
    From git://git.ti.com/glsdk/release-manifest
     * [new branch]      master     -> origin/master
    Traceback (most recent call last):
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/main.py", line 531, in <module>
        _Main(sys.argv[1:])
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/main.py", line 507, in _Main
        result = repo._Run(argv) or 0
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/main.py", line 180, in _Run
        result = cmd.Execute(copts, cargs)
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/subcmds/init.py", line 400, in Execute
        self._LinkManifest(opt.manifest_name)
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/subcmds/init.py", line 262, in _LinkManifest
        self.manifest.Link(name)
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/manifest_xml.py", line 152, in Link
        self.Override(name)
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/manifest_xml.py", line 145, in Override
        self._Load()
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/manifest_xml.py", line 407, in _Load
        self.manifestProject.worktree))
      File "/home/rajasekar/second-installation-ti-sdk/.repo/repo/manifest_xml.py", line 444, in _ParseManifestXml
        except (OSError, xml.parsers.expat.ExpatError) as e:
    AttributeError: 'module' object has no attribute 'expat'
    Failed setup, aborting..
    Failed setup, aborting..
    rajasekar@FSETBLR1NB045:~/second-installation-ti-sdk$ 
    

  • Hi Rajesh,

    My suspect here is the you are doing "sudo sh setup.sh " instead of simply running the script without the sudo.

    This may have some impact.

    I request you to delete the installation and then repeat without the sudo as mentioned in the Software Developers Guide.

    Regards
    Karthik
  • Hi Karthik,

    Without sudo, I'm getting this Error !!!

    ----------------------------------------------------------------------------------------------
    The repo tool will be installed in ./bin folder
    ----------------------------------------------------------------------------------------------
    --2018-10-30 17:01:36-- commondatastorage.googleapis.com/.../repo
    Resolving commondatastorage.googleapis.com (commondatastorage.googleapis.com)... 216.58.200.144, 2404:6800:4007:808::2010
    Connecting to commondatastorage.googleapis.com (commondatastorage.googleapis.com)|216.58.200.144|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 27759 (27K) [application/octet-stream]
    Saving to: ‘./bin/repo-temp’

    100%[==============================================================================================================================================>] 27,759 --.-K/s in 0.03s

    2018-10-30 17:01:36 (1.03 MB/s) - ‘./bin/repo-temp’ saved [27759/27759]

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

    Get gerrit.googlesource.com/.../clone.bundle
    Get gerrit.googlesource.com/git-repo
    remote: Finding sources: 100% (20/20)
    remote: Total 20 (delta 6), reused 20 (delta 6)
    Unpacking objects: 100% (20/20), done.
    From gerrit.googlesource.com/git-repo
    b3133a3..36391bf master -> origin/master
    Get git://git.ti.com/glsdk/release-manifest.git
    warning: cannot parse SRV response: Message too long
    remote: Counting objects: 574, done.
    remote: Compressing objects: 100% (568/568), done.
    remote: Total 574 (delta 365), reused 0 (delta 0)
    Receiving objects: 100% (574/574), 79.68 KiB | 0 bytes/s, done.
    Resolving deltas: 100% (365/365), done.
    From git://git.ti.com/glsdk/release-manifest
    * [new branch] master -> origin/master
    Traceback (most recent call last):
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 531, in <module>
    _Main(sys.argv[1:])
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 507, in _Main
    result = repo._Run(argv) or 0
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/main.py", line 180, in _Run
    result = cmd.Execute(copts, cargs)
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/subcmds/init.py", line 400, in Execute
    self._LinkManifest(opt.manifest_name)
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/subcmds/init.py", line 262, in _LinkManifest
    self.manifest.Link(name)
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 152, in Link
    self.Override(name)
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 145, in Override
    self._Load()
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 407, in _Load
    self.manifestProject.worktree))
    File "/home/rajasekar/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/.repo/repo/manifest_xml.py", line 444, in _ParseManifestXml
    except (OSError, xml.parsers.expat.ExpatError) as e:
    AttributeError: 'module' object has no attribute 'expat'
    Failed setup, aborting..
    Failed setup, aborting..
    rajasekar@FSETBLR1NB045:~/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03$

    Regards,

    Rajesh Kannan S
  • Hi Rajesh,

    From the information that you have provided, it is not very evident on what the problem could be.

    We have tried to replicate this setup on multiple machines with fresh installations and we don't find this kind of behavior. So we are definitely missing some step.

    I would request you to do the following things:

    a. Please confirm if any other team member in your team is also facing such an issue.

    b. If it has not been attempted, please try it out on a different machine (your other team member(s)) and try to provide feedback.

    And remember, do not use sudo commands at any time during the installation, I request you to follow the instructions as is from the Software Developers Guide.

    Regards

    Karthik

  • Hi Karthik,

    Thanks for your reply.

    I have tried different machine, I did n't face any issue whatever I faced earlier.

    But, while doing ./build-core-sdk.sh dra7xx-evm I'm getting this log.

    Could you check and let me know whether is it properly completed or not !!!

    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

    external-linaro-toolchain: 404 installed and not shipped files. [installed-vs-shipped]

    WARNING: mobile-broadband-provider-info-1_20151214-r0 do_fetch: Failed to fetch URL git://git.gnome.org/mobile-broadband-provider-info, attempting MIRRORS if available

    WARNING: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Failed to fetch URL git://git.omapzoom.org/kernel/omap;protocol=git;branch=p-ti-lsk-linux-4.4.y-3.x, attempting MIRRORS if available

    ERROR: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:

    Cloning into bare repository '/home/rajesh/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/downloads/git2/git.omapzoom.org.kernel.omap'...

    warning: cannot parse SRV response: Message too long

    fatal: The remote end hung up unexpectedly

    fatal: early EOF

    fatal: index-pack failed

    ERROR: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Function failed: Fetcher failure for URL: 'git://git.omapzoom.org/kernel/omap;protocol=git;branch=p-ti-lsk-linux-4.4.y-3.x'. Unable to fetch URL from any source.

    ERROR: Logfile of failure stored in: /home/rajesh/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/linux-ti-staging/4.4.84+gitAUTOINC+742f84423d-r7a.arago5/temp/log.do_fetch.21854

    ERROR: Task 52 (/home/rajesh/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb, do_fetch) failed with exit code '1'

    NOTE: Tasks Summary: Attempted 1005 tasks of which 244 didn't need to be rerun and 1 failed.

    NOTE: Writing buildhistory

    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:

     /home/rajesh/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb, do_fetch

    Summary: There were 5 WARNING messages shown.

    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    [PSDKLA]>

    [PSDKLA]> Completed Yocto build at Mon Nov 12 18:09:47 IST 2018

    [PSDKLA]>

    Regards,

    Rajesh Kannan S

  • Hi Rajesh,

    Its good to know that you didn't face the error on a different machine. As described earlier, please check the usage of your commands and in specific the usage of sudo has to be done only where requried.

    Now, coming to this specific error, can you please check if you can clone the repository on the terminal using the below commands?
    git clone git://git.omapzoom.org/kernel/omap.git
    git checkout remotes/origin/p-ti-lsk-linux-4.4.y-3.x

    I'm suspecting that the git proxy settings are not configured correctly.

    Regards
    Karthik
  • Hi Karthik,

    Thanks for your reply.

    Executing the following checkout command, I got Error !!!

    git checkout remotes/origin/p-ti-lsk-linux-4.4.y-3.x
    error: pathspec 'remotes/origin/p-ti-lsk-linux-4.4.y-3.x' did not match any file(s) known to git.

    I think it might be a path issue !!!

    Kindly suggest me to solve this issue ?

    Regards,

    Rajesh Kannan S
  • Hi Rajesh,

    Could you please provide the output of the following commands?

    # Go to the path where you cloned the previously suggested command
    cd omap
    git remote -v
    git branch --all

    Regards
    Karthik
  • rajesh@FSETBLR1LX019:~/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/bin/omap$ git remote -v
    origin git://git.omapzoom.org/kernel/omap.git (fetch)
    origin git://git.omapzoom.org/kernel/omap.git (push)
    rajesh@FSETBLR1LX019:~/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/bin/omap$ git branch --all
    * master
    remotes/origin/HEAD -> origin/master
    remotes/origin/android-beagle-x15-4.14
    remotes/origin/android-omap-2.6.29
    remotes/origin/android-omap-2.6.29-eclair
    remotes/origin/android-omap-2.6.32
    remotes/origin/android-omap-2.6.38
    remotes/origin/android-omap-2.6.39
    remotes/origin/android-omap-3.0
    remotes/origin/android-omap-minnow-3.10-kitkat-wear
    remotes/origin/android-omap-minnow-3.10-lollipop-wear-release
    remotes/origin/android-omap-minnow-3.10-marshmallow-mr1-wear-release
    remotes/origin/android-omap-panda-3.0
    remotes/origin/android-omap-steelhead-3.0-ics-aah
    remotes/origin/android-omap-tuna-3.0
    remotes/origin/android-omap-tuna-3.0-ics-mr1
    remotes/origin/android-omap-tuna-3.0-jb-mr0
    remotes/origin/android-omap-tuna-3.0-jb-mr1
    remotes/origin/android-omap-tuna-3.0-jb-mr1.1
    remotes/origin/android-omap-tuna-3.0-jb-mr2
    remotes/origin/android-omap-tuna-3.0-jb-pre1
    remotes/origin/android-omap-tuna-3.0-mr0
    remotes/origin/android-omap-tuna-3.0-mr0.1
    remotes/origin/archive/android-omap-2.6.29
    remotes/origin/archive/android-omap-2.6.29-eclair
    remotes/origin/archive/android-omap-2.6.32
    remotes/origin/glass-omap-xrr02
    remotes/origin/glass-omap-xrr35
    remotes/origin/glass-omap-xrr64b
    remotes/origin/glass-omap-xrr88
    remotes/origin/glass-omap-xrs36
    remotes/origin/glass-omap-xrs68
    remotes/origin/glass-omap-xrs92
    remotes/origin/glass-omap-xrt35
    remotes/origin/glass-omap-xrt73b
    remotes/origin/glass-omap-xru85b
    remotes/origin/glass-omap-xrv15b
    remotes/origin/glass-omap-xrv15c
    remotes/origin/glass-omap-xrv16
    remotes/origin/glass-omap-xrv22
    remotes/origin/glass-omap-xrv27
    remotes/origin/glass-omap-xrv34
    remotes/origin/glass-omap-xrv39
    remotes/origin/glass-omap-xrv49
    remotes/origin/glass-omap-xrv60b
    remotes/origin/glass-omap-xrv67
    remotes/origin/glass-omap-xrv70d
    remotes/origin/glass-omap-xrv72
    remotes/origin/glass-omap-xrv85b
    remotes/origin/glass-omap-xrv87
    remotes/origin/glass-omap-xrw14b
    remotes/origin/glass-omap-xrw45c
    remotes/origin/glass-omap-xrw66
    remotes/origin/glass-omap-xrw85
    remotes/origin/glass-omap-xrx13b
    remotes/origin/linux-3.10.y
    remotes/origin/linux-omap-2.6.38
    remotes/origin/linux-omap-2.6.39
    remotes/origin/linux-omap-3.0
    remotes/origin/m-android-omap-2.6.29
    remotes/origin/master
    remotes/origin/mirror-aosp-android-4.14
    remotes/origin/p-android-3.14
    remotes/origin/p-android-3.14-linaro
    remotes/origin/p-android-4.1
    remotes/origin/p-android-omap-2.6.29
    remotes/origin/p-android-omap-2.6.29-eclair
    remotes/origin/p-android-omap-2.6.32
    remotes/origin/p-android-omap-2.6.35
    remotes/origin/p-android-omap-2.6.38
    remotes/origin/p-android-omap-2.6.39
    remotes/origin/p-android-omap-3.0
    remotes/origin/p-android-omap-3.0-4470
    remotes/origin/p-android-omap-3.0-BETA
    remotes/origin/p-android-omap-3.0-dev
    remotes/origin/p-android-omap-3.1
    remotes/origin/p-android-omap-3.4
    remotes/origin/p-android-omap3-2.6.35
    remotes/origin/p-android-omap3-3.0
    remotes/origin/p-linux-omap-3.4
    remotes/origin/p-master
    remotes/origin/p-ti-android-3.8.y
    remotes/origin/p-ti-android-3.8.y-av-wip-final
    remotes/origin/p-ti-android-3.8.y-wip
    remotes/origin/p-ti-android-linux-4.4.y
    remotes/origin/p-ti-android-linux-4.9.y
    remotes/origin/p-ti-android-linux-4.9.y-temp
    remotes/origin/p-ti-auto-linux-4.9.y
    remotes/origin/p-ti-glsdk-3.8.y
    remotes/origin/p-ti-linux-3.10.y
    remotes/origin/p-ti-linux-3.12.y
    remotes/origin/p-ti-linux-3.14.y
    remotes/origin/p-ti-linux-3.14.y-android
    remotes/origin/p-ti-linux-3.14.y-common
    remotes/origin/p-ti-linux-3.14.y-glsdk
    remotes/origin/p-ti-linux-3.14.y-wip
    remotes/origin/p-ti-linux-3.8.y
    remotes/origin/p-ti-linux-3.8.y-bringup
    remotes/origin/p-ti-lsk-android-linux-4.4.y
    remotes/origin/p-ti-lsk-android-linux-4.9.y-wip
    remotes/origin/p-ti-lsk-linux-4.4.y
    remotes/origin/p-ti-lsk-linux-4.4.y-3.x
    remotes/origin/p-ti-lsk-linux-4.4.y-next
    remotes/origin/p-ti-lsk-linux-4.9.y
    remotes/origin/sph-l700-fh05
    remotes/origin/upstream-ti-android-linux-4.14.y
    rajesh@FSETBLR1LX019:~/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/bin/omap$

    Regards,

    Rajesh Kannan S
  • Hi Rajesh,

    I do not understand this completely. Something strange is going on!
    The remotes/origin/p-ti-lsk-linux-4.4.y-3.x is present in the cloned repository, could you please double check again if you are able to checkout?

    Was there any typo in the branch name with the previous command?

    Regards
    Karthik
  • Hi Karthik,

    Thanks for your reply.

    Already notified this issue !!!

    rajesh@FSETBLR1LX019:~/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03$ git checkout remotes/origin/p-ti-lsk-linux-4.4.y-3.x

    error: pathspec 'remotes/origin/p-ti-lsk-linux-4.4.y-3.x' did not match any file(s) known to git.

    Then u have suggested me to do

    cd omap
    git remote -v
    git branch --all

    I have tried and shared the log to you in previous post  !!!

    Kindly suggest

    Regards,

    Rajesh Kannan S

  • Hi Rajesh,

    I'm a bit confused, this is clearly not going to give us the intended result right?

    rajesh@FSETBLR1LX019:~/workdir/projects/PSDK/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03$ git checkout remotes/origin/p-ti-lsk-linux-4.4.y-3.x

    You have to move to the directory of the cloned repository for it to take effect.

    Here is the summary of the issue, lets see if we can align on this and then try to resolve the problem at your side.
    a. The Yocto build failed because it was not able to clone the linux kernel. Please confirm if this is seen only on this machine?
    b. The clone of the kernel is successful, there was no issue related to the proxy etc. and you confirmed that the particular branch also exists.

    Can you please do the following?
    a. Launch the bitbake again, see if the failure is reproduced.
    b. Send out the complete log of the kernel do_fetch log. Yocto will indicate this at the point of failure.

    Regards
    Karthik
  • Hi Rajesh,

    Since we haven't heard from you in the past few days, we are hoping that the previous suggestion helped resolve the issue.
    I'm going ahead and marking this issue as resolved. Please let us know if you need any further help in this regard.

    Regards
    Karthik