NCS 3.1.0: nrf5340 network image version is set to 0.0.0.0

Hi,

If I build the extxip_smp_svr sample app for the nrf5340dk board. The network image firmware version is set to 0.0.0.0.

To reproduce the issue, do the following:

1) Create a VERSION file in the root directory of the extxip_smp_svr example with the following data:

VERSION_MAJOR = 1
VERSION_MINOR = 2
PATCHLEVEL = 3
VERSION_TWEAK = 4
EXTRAVERSION =

2) Build the project for nrf5340dk.

3) Inspect the image header of the network image. It has a 0.0.0.0 firmware versions. The internal and external image .bin files have the correct firmware version.

See the attached screenshots.

Parents Reply
  • Hi Hung,

    The CONFIG_FW_INFO_FIRMWARE_VERSION is the image firmware version that has a range of 0 to 32766.

    The version I'm talking about is the MCUboot image version that's added to the beginning of the image file when the image is signed by the imgtool.py script. The version format of the image version is <major>.<minor>.<patch>.<tweak>.

    After looking around, I found that the CONFIG_SECURE_BOOT_MCUBOOT_VERSION option sets the image version of the net core image.

Children
Related