ot-nrf528x bootstrap script fails or I need clarification on correct repo to clone

58 views
Skip to first unread message

mjkuwp94

unread,
May 25, 2021, 4:06:58 PM5/25/21
to openthread-users
Hello,

I am following instructions here:
https://github.com/openthread/ot-nrf528xx/blob/main/src/nrf52840/README.md

note: it is not very clear here if one is supposed to follow the link to the GNU toolchain site and figure out on one's own how to install the toolchain or whether the subsequent steps are how to accomplish that.
Furthermore the instructions begin by changing directories into a repo that hasn't been cloned - there is no instruction which repo to clone, exactly.
instructions:
$ cd <path-to-ot-nrf528xx> 
$ ./script/bootstrap ```

 
returns
++ dirname ./script/bootstrap
+ ./script/../openthread/script/bootstrap
./script/bootstrap: line 32: ./script/../openthread/script/bootstrap: No such file or directory


Jonathan Hui

unread,
May 25, 2021, 4:37:21 PM5/25/21
to mjkuwp94, openthread-users
You need to initialize the git submodule using the following command:

git submodule update --init

I'll update the READMEs to make this more clear.

--
Jonathan Hui



--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/039025e2-4159-4701-aaa4-858531656d06n%40googlegroups.com.

mjkuwp94

unread,
May 25, 2021, 6:30:22 PM5/25/21
to Jonathan Hui, openthread-users
thanks for the prompt response!

At this company we don't use git submodules and I have only experienced git here and with my own work and so I have never encountered those.

I am doing 100% fresh clones

maybe this path is wrong and should just read openthread, not ot-nrf528xx?

cd <path-to-ot-nrf528xx>
$ ./script/bootstrap


Jonathan Hui

unread,
May 25, 2021, 6:35:19 PM5/25/21
to mjkuwp94, openthread-users
Here is the set of commands starting with git clone:

$ cd ot-nrf528xx
$ git submodule update --init
$ ./script/bootstrap

--
Jonathan Hui


Reply all
Reply to author
Forward
0 new messages