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.

PROCESSOR-SDK-AM335X: AM335x

Mastermind 35795 points
Part Number: PROCESSOR-SDK-AM335X

Hi,

I am unable to clone and checkout  ti-linux-kernel .

I get following error . 

$ git clone git.ti.com/.../ti-linux-kernel
Cloning into 'ti-linux-kernel'...
Fetching objects: 12307328, done.
Checking connectivity: 12307328, done.
error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Empty folder is created since checkout is failing . 

Thanks 

  • Hi,

    Can you please try it again?

    I just tested it, I can clone it, it is just slower than usual though.

    dev@uda:tmp$ git clone https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel
    Cloning into 'ti-linux-kernel'...
    Checking connectivity: 12308633, done.
    Checking out files: 100% (52224/52224), done.
    dev@uda:tmp$ cd ti-linux-kernel/
    dev@uda:ti-linux-kernel$ ls
    arch  block  certs  crypto  Documentation  drivers  firmware  fs  include  init  ipc  kernel  lib  mm  net  samples  scripts  security  sound  tools  usr  virt  COPYING  CREDITS  Kbuild  Kconfig  MAINTAINERS  Makefile  README  REPORTING-BUGS
    

  • Hi,

    I still get the same error. This is odd !

    $ git clone git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
    Cloning into 'ti-linux-kernel'...
    remote: Counting objects: 12308633, done.
    remote: Compressing objects: 100% (1654206/1654206), done.
    remote: Total 12308633 (delta 10601812), reused 12299985 (delta 10593487)
    Receiving objects: 100% (12308633/12308633), 2.71 GiB | 3.53 MiB/s, done.
    Resolving deltas: 100% (10601812/10601812), done.
    Checking objects: 100% (33554432/33554432), done.
    error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
    fatal: unable to checkout working tree
    warning: Clone succeeded, but checkout failed.
    You can inspect what was checked out with 'git status'
    and retry with 'git restore --source=HEAD :/'

    Thanks

  • Did you remove the 'ti-linux-kernel' directory you previously cloned?

  • yes , deleted the entire folder.  Thanks

  • update : I am able to clone and checkout on Linux machine. This issue seems to be specific to the use case when user is running gitbash on Windows machine.