zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.84k stars 6.6k forks source link

samples: subsys: mgmt: mcumgr: smp_svr: sample.mcumgr.smp_svr.mcuboot_flags.direct_xip_withrevert #63229

Closed katgiadla closed 1 year ago

katgiadla commented 1 year ago

Describe the bug The test sample.mcumgr.smp_svr.mcuboot_flags.direct_xip_withrevert fails.

Observed for nrf52840dk_nrf52840.

To Reproduce Steps to reproduce the behavior:

  1. have nrf52840dk_nrf52840 connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T samples/subsys/mgmt/mcumgr/smp_svr -p nrf52840dk_nrf52840 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
  4. See console output with error

Expected behavior Valid console output

Impact Not clear

Logs and console output

warning: MCUBOOT_BOOTLOADER_NO_DOWNGRADE (defined at modules/Kconfig.mcuboot:220) has direct dependencies MCUBOOT_BOOTLOADER_MODE_HAS_NO_DOWNGRADE && BOOTLOADER_MCUBOOT with value n, but is currently being y-selected by the following symbols:
 - MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT (defined at modules/Kconfig.mcuboot:192), with value y, direct dependencies <choice MCUBOOT_BOOTLOADER_MODE> (value: y), and select condition <choice MCUBOOT_BOOTLOADER_MODE> (value: y)
ect_xip_withrevert/zephyr/misc/generated/extra_kconfig_options.conf'

error: Aborting due to Kconfig warnings

Environment (please complete the following information):

nordicjm commented 1 year ago

Was fixed by https://github.com/zephyrproject-rtos/zephyr/pull/63117