nrfutil offline package

Dear Nordic-Support,

have a question regarding nrfutil and the offline package generation, described here: https://docs.nordicsemi.com/bundle/nrfutil/page/guides/installing.html#installing-nrf-util-when-offline

Is it somehow possible or planned that also older versions can be picked for the offline package. 

What I tried is the following:

Checked currently installed packages:

$ nrfutil search
Command            Installed  Latest  Status
91                            0.5.0   Not installed
ble-sniffer                   0.16.2  Not installed
completion         1.5.0      1.5.0   Installed
core               8.1.1      8.1.1   Installed
device             2.14.0     2.14.1  Upgradeable
mcu-manager                   0.7.0   Not installed

Generation with nrfutil command:

$ nrfutil prepare-offline C:/nrfutil-offline
nrfutil-completion is already the newest version (1.5.0)
Downloading nrfutil-device-x86_64-pc-windows-msvc-2.14.1
Verifying nrfutil-device-x86_64-pc-windows-msvc-2.14.1
Updating nrfutil-device to 2.14.1
[00:01:02] ###### 100% [Install packages] Install packages  

When I check my current versions now I see the following:

$ nrfutil search
Command            Installed  Latest  Status
91                 0.5.0      0.5.0   Installed
ble-sniffer        0.16.2     0.16.2  Installed
completion         1.5.0      1.5.0   Installed
core               8.1.1      8.1.1   Installed
device             2.14.1     2.14.1  Installed
mcu-manager        0.7.0      0.7.0   Installed
npm                0.3.1      0.3.1   Installed
nrf5sdk-tools      1.1.0      1.1.0   Installed
sdk-manager        1.6.2      1.6.2   Installed
suit               0.9.0      0.9.0   Installed
toolchain-manager  0.15.0     0.15.0  Installed
trace              4.0.1      4.0.1   Installed

So all the newest command-sets are installed, and the offline package is also based on them. But I wanted an offline package with device command-set version 2.14.0.

Any ideas or thoughts how to achive that? When I create an offline package for production, I never know if it's maybe someday needed to recreate such an package.

Thanks a lot.

Steffen

Parents Reply
  • Hi  ,

    thanks for your fast reply.

    That's great to have these different command-set packages downloadable. Didn't know that before.

    So I can simply remove the tarball in folder: "C:\nrfutil-offline\package-repository\" and add the one I've downloaded from your linked page.


    This does also work for nrfutil itself, right? Can see a nrfutil package for example here in the offline package: "C:\nrfutil-offline\package-repository\nrfutil-x86_64-pc-windows-msvc-8.0.0.tar.gz". Guess this is also somewhere avialble right?

    Thanks

    Steffen

Children
  • Hi Steffen,

     

    SJahnke said:

    That's great to have these different command-set packages downloadable. Didn't know that before.

    So I can simply remove the tarball in folder: "C:\nrfutil-offline\package-repository\" and add the one I've downloaded from your linked page.

    unfortunately, this will create a offline repository, and choose the latest version. Removing the .tar.gz and replacing it will not work, as it will in addition check the checksum of the file to see if it matches what is shown in the .json files in the nrfutil-offline directory.

     

    You can specify a version like this:

    nrfutil install --from-offline /tmp/test device=2.13.2

    Provided that this version is present in the offline folder.

     

    Kind regards,

    Håkon

Related