This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Linux install Clone SDK tagged release fails

Using the current nRF connect v3.6.1 Getting Started Assistant I've managed to get everything installed to the point of using west to install the complete nRF Connect SDK tree but the next step is setting the SDK for a tagged release.

When I usethe direction from Getting Started Assistant

git cd ~/nrf/ncs
git checkout v1.4.2
fatal: not a git repository (or any of the parent directories): .git

of course it is not a git, west built it?

There needs to be documentation on setting the PATH after installing cmake and west and the DTC directions no longer work, Ubuntu has lost it, I found it at another location

wget  https://launchpad.net/ubuntu/+source/device-tree-compiler/1.4.7-1/+build/15279267/+files/device-tree-compiler_1.4.7-1_amd64.deb

sudo apt install ./device-tree-compiler_1.4.7-1_amd64.deb

Parents
  • I downloaded nrfconnect361x8664.AppImage changed it to executable and ran it, The first item is Getting Started Assistant I clicked Open - I did each step and verified each step. Next Clone the nRF Connect DSK - I did each step and verified each step until Decide if you want to work with a tagged release. This is where it fails since cd \home\kevin\nrf\ncs DOES NOT HAVE A .git file git checkout v1.4.2 does not work.

    Show me where I missed the directions to run git in ~/nrf/ncs directory, I looked at each step in the assistant and I can't find it AND your reply shows the directory structure just as mine is, missing the .git so git checkout v1.4.2  will not work.

    While my structure is ~/nrf/ncs it is because west init or west update or west zephyr creates a sub-directory called ncs so having ~/ncs/ncs seemed counter intuitive - Regardless, I have no .git git will not function.

Reply
  • I downloaded nrfconnect361x8664.AppImage changed it to executable and ran it, The first item is Getting Started Assistant I clicked Open - I did each step and verified each step. Next Clone the nRF Connect DSK - I did each step and verified each step until Decide if you want to work with a tagged release. This is where it fails since cd \home\kevin\nrf\ncs DOES NOT HAVE A .git file git checkout v1.4.2 does not work.

    Show me where I missed the directions to run git in ~/nrf/ncs directory, I looked at each step in the assistant and I can't find it AND your reply shows the directory structure just as mine is, missing the .git so git checkout v1.4.2  will not work.

    While my structure is ~/nrf/ncs it is because west init or west update or west zephyr creates a sub-directory called ncs so having ~/ncs/ncs seemed counter intuitive - Regardless, I have no .git git will not function.

Children
No Data
Related