How to enable Serial Recovery mode on the nrf5340_audio application (Sysbuild)?

Hi there,

The nrf5340_audio application provides a -DFILE_SUFFIX=fota overlay that adds FOTA capabilities to the application. This FOTA is introduced via Sysbuild configuration files. This configuration compiles successfully.

Instead of FOTA, I would like to enable Serial Recovery mode with CDC ACM transport.

I have successfully enabled this mode on the nRF5340 with other samples that don't use Sysbuild. I achieved this by following the relevant samples at https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery. This allows me to update the application and network core with two separate .bin files contained within the dfu_application.zip. I believe this is called non-simultaneous DFU.

However, I can't get the same KConfig options working in Sysbuild in the nrf5340_audio application. 

My file structure is:

sysbuild.conf

# Enable bootloaders for both cores
SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_SECURE_BOOT_NETCORE=y
SB_CONFIG_NETCORE_APP_UPDATE=y

sysbuild/mcuboot.conf
CONFIG_MAIN_STACK_SIZE=10240
# Flash
CONFIG_FLASH=y
CONFIG_FPROTECT=y

# MCUBoot serial
CONFIG_MCUBOOT_SERIAL=y
CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y

# Decrease memory footprint
CONFIG_CBPRINTF_NANO=y
CONFIG_TIMESLICING=n
CONFIG_BOOT_BANNER=n
CONFIG_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=n
CONFIG_USE_SEGGER_RTT=n
CONFIG_LOG=n
CONFIG_RESET_ON_FATAL_ERROR=n

# The following configurations are required to support serial recovery of the
# network image
CONFIG_PCD_APP=y

# The network core cannot access external flash directly. The flash simulator must be used to
# provide a memory region that is used to forward the new firmware to the network core.
CONFIG_FLASH_SIMULATOR=y
CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y
CONFIG_FLASH_SIMULATOR_STATS=n

CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y
CONFIG_NRF53_RECOVERY_NETWORK_CORE=y

CONFIG_MCUBOOT_INDICATION_LED=y

# My additions
CONFIG_BOOT_SERIAL_CDC_ACM=y
# CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xE800
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xFC00

CONFIG_USB_DEVICE_VID=0x1915
CONFIG_USB_DEVICE_PID=0x5300
The build error I am receiving during the building of the final image, mcuboot, is:
In file included from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:10,
from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33,
from /Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/bootutil/src/tlv.c:24:
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h: In function '__flash_area_ids_for_slot':
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: error: 'PM_MCUBOOT_SECONDARY_1_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_SECONDARY_ID'?
48 | #define FLASH_AREA_IMAGE_1_SLOTS PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
55 | FLASH_AREA_IMAGE_1_SLOTS
| ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
67 | ALL_AVAILABLE_SLOTS
| ^~~~~~~~~~~~~~~~~~~
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:48:62: note: each undeclared identifier is reported only once for each function it appears in
48 | #define FLASH_AREA_IMAGE_1_SLOTS PM_MCUBOOT_PRIMARY_1_ID, PM_MCUBOOT_SECONDARY_1_ID
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:55:29: note: in expansion of macro 'FLASH_AREA_IMAGE_1_SLOTS'
55 | FLASH_AREA_IMAGE_1_SLOTS
| ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/FARLY7/workspace/aura/aura-firmware/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS'
67 | ALL_AVAILABLE_SLOTS
| ^~~~~~~~~~~~~~~~~~~
[95/322] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
It seems the error is perhaps related to partitions and slots, so I think there is a missing/wrong KConfig option or something not taking effect?
Thanks a lot,
Sean
Parents
  • Hi,

    Seems you did the following

    1. Serial Recovery alone without sysbuild
    2. Serial Recovery alone with sysbuild
    3. Audio sample with sysbuild
    4. Audio sample with Serial Recovery and Sysbuild

    Can you try 2, and see how that goes?

    Regards,
    Sigurd Hellesvik

  • Hi  ,

    Thanks for your response.

    I just attempted the same with the peripheral_uart Nordic sample. There is a brief description on how to enable network core serial recovery with the provided overlay files: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_uart/README.html#activating_sample_extensions

    However, the instructions don't work. Either by providing the overlays on the command line, or by copying them in manually. The build error is the same as the above.

    Thanks,

    Sean

  • FARLY7 said:
    However, the instructions don't work. Either by providing the overlays on the command line, or by copying them in manually. The build error is the same as the above.

    I try to build, and I get another error than you do.

    How did you upgrade your NCS?

    This is the build command I used from CLI:

    west build -b nrf5340dk/nrf5340/cpuapp --sysbuild -- -DEXTRA_CONF_FILE=nrf5340dk_app_sr_net.conf -Dmcuboot_EXTRA_CONF_FILE=nrf5340dk_mcuboot_sr_net.conf

    Does this match yours?

  • Hi  ,

    If I run your command on NCS commit #8b1fd619 from main, the project builds, but wrongly. It doesn't include MCUBoot or B0n. See below:

    ~/w/a/aura-f/nrf/sa/bl/peripheral_uart @8b1fd619 *2 !20 ?14 ❯ west build -b nrf5340dk/nrf5340/cpuapp --sysbuild -- -DEXTRA_CONF_FILE=nrf5340dk_app_sr_net.conf -Dmcuboot_EXTRA_CONF_FILE=nrf5340dk_mcuboot_sr_net.conf
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base (cached)): sysbuild_default
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/Kconfig.sysbuild
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/_sysbuild/empty.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/sysbuild.conf'
    No change to configuration in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/zephyr/.config'
    No change to Kconfig header in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/_sysbuild/autoconf.h'
    --
       *************************************
       * Running CMake for peripheral_uart *
       *************************************
    
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart
    -- CMake version: 3.29.5
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/app.overlay
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/dts.cmake
    
    warning: NRF53_UPGRADE_NETWORK_CORE (defined at /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/samples/common/mcumgr_bt_ota_dfu/Kconfig:92, /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/samples/common/mcumgr_bt_ota_dfu/Kconfig:100, /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/subsys/bootloader/Kconfig:248) was assigned the value 'y' but got the value 'n'. Check
    these unsatisfied dependencies: (((BOARD_THINGY53_NRF5340_CPUAPP ||
    BOARD_THINGY53_NRF5340_CPUAPP_NS) && SOC_SERIES_NRF53X && NCS_SAMPLE_MCUMGR_BT_OTA_DFU) ||
    (SOC_SERIES_NRF53X && NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (SOC_NRF5340_CPUAPP && BOOTLOADER_MCUBOOT))
    (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF53_UPGRADE_NETWORK_CORE and/or
    look up NRF53_UPGRADE_NETWORK_CORE in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    warning: ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS (defined at /Users/FARLY7/workspace/aura/aura-
    firmware/nrf/modules/mcuboot/Kconfig:127) was assigned the value 'y' but got the value 'n'. Check
    these unsatisfied dependencies: BOOTLOADER_MCUBOOT (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS and/or
    look up ADD_MCUBOOT_MEDIATE_SIM_FLASH_DTS in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/prj.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/nrf5340dk_app_sr_net.conf'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/.config.sysbuild'
    No change to configuration in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/.config'
    No change to Kconfig header in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/include/generated/autoconf.h'
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- libmetal version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart)
    -- Build type:
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- open-amp version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Using ccache: /opt/homebrew/bin/ccache
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/kernel/CMakeLists.txt:170 (message):
    
    
              CONFIG_HEAP_MEM_POOL_SIZE is less than requested minimum:
                2048 < 4096
              Setting the system heap size to 4096
    
    
    -- Including signing script: /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/image_signing.cmake:28 (message):
      Neither CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE or
      CONFIG_MCUBOOT_SIGNATURE_KEY_FILE are set, the generated build will not be
      bootable by MCUboot unless it is signed manually/externally.
    Call Stack (most recent call first):
      /Users/FARLY7/workspace/aura/aura-firmware/nrf/cmake/sysbuild/image_signing.cmake:203 (zephyr_mcuboot_tasks)
      /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:1904 (include)
    
    
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:2027 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done (2.9s)
    -- Generating done (0.1s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart
    --
       *******************************
       * Running CMake for ipc_radio *
       *******************************
    
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio
    -- CMake version: 3.29.5
    -- Cache files will be written to: /Users/FARLY7/Library/Caches/zephyr
    -- Zephyr version: 3.6.99 (/Users/FARLY7/workspace/aura/aura-firmware/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/Users/FARLY7/zephyr-sdk-0.16.8)
    -- Found BOARD.dts: /Users/FARLY7/workspace/aura/aura-firmware/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/dts.cmake
    Parsing /Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio/Kconfig
    Loaded configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/.config'
    Merged configuration '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/.config.sysbuild'
    No change to configuration in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/.config'
    No change to Kconfig header in '/Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/include/generated/autoconf.h'
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- libmetal version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/nrf/applications/ipc_radio)
    -- Build type:
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    CMake Deprecation Warning at /Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    -- open-amp version: 1.5.0 (/Users/FARLY7/workspace/aura/aura-firmware/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Using ccache: /opt/homebrew/bin/ccache
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:895 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    CMake Warning at /Users/FARLY7/workspace/aura/aura-firmware/zephyr/CMakeLists.txt:2027 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done (2.7s)
    -- Generating done (0.1s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio
    -- Configuring done (7.7s)
    -- Generating done (0.0s)
    -- Build files have been written to: /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build
    -- west build: building application
    [0/10] Performing build step for 'peripheral_uart'
    [18/18] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      160016 B      1008 KB     15.50%
                 RAM:       33944 B       448 KB      7.40%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/peripheral_uart/zephyr/zephyr.elf for board: nrf5340dk
    [1/10] Performing build step for 'ipc_radio'
    [16/16] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      176732 B       256 KB     67.42%
                 RAM:       50600 B        64 KB     77.21%
               SRAM1:          0 GB        64 KB      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /Users/FARLY7/workspace/aura/aura-firmware/nrf/samples/bluetooth/peripheral_uart/build/ipc_radio/zephyr/zephyr.elf for board: nrf5340dk
    [9/9] Generating ../merged_CPUNET.hex
    ~/w/a/aura-f/nrf/sa/bl/peripheral_uart @8b1fd619 *2 !20 ?13 ❯

    What error do you receive? It definitely seems like something is wrong with Sysbuild + nRF5340 serial recovery.

  • Yes this is the same error (Kconfig override warnings) as I see on my side as well.
    Thank you for verifying this!

    I have reported this as a bug internally.

    In this case, can I suggest that you instead try to build my serial recovery sample with sysbuild instead?
    You will have to make some changes to it, as it can no longer use the child_image folder for configs, but instead must follow sysbuild docs on how to apply mcuboot configurations from your project.

  • Hi Sigurd,

    Thank you for reporting the bug.

    I feel like I have been around the houses enough trying many different configurations with Sysbuild (including your example) to try and get it to work, and been unsuccessful every time. I always get the same error as in my original message. I was trying for 2-3 days haha :)

    Could you try to enable it in your own mcuboot_netcore_serial_recovery example instead? I am sure you will have the same error I have!

    As I said, I already tried with nrf5340_audio and peripheral_uart samples, both with the same error. I have now run out of ideas and am convinced it must be another bug, or I have been missing something that is not documented.

    FYI, I can successfully enable serial recovery through non-sysbuild builds, which is what I'm reverting to for now.

    Thanks,

    Sean

  • FARLY7 said:
    I feel like I have been around the houses enough trying many different configurations with Sysbuild (including your example) to try and get it to work, and been unsuccessful every time. I always get the same error as in my original message. I was trying for 2-3 days haha :)

    You know what, now that you say it, I agree completely.

    FARLY7 said:
    Could you try to enable it in your own mcuboot_netcore_serial_recovery example instead?

    I tried, but was not able to make it work

    https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/sysbuild/bootloader_samples/serial_recovery/mcuboot_netcore_serial_recovery

    FARLY7 said:
    FYI, I can successfully enable serial recovery through non-sysbuild builds, which is what I'm reverting to for now.

    Yes I think this is the best solution for now.
    Then when our official sample have been fixed, you can think about converting at that point.

Reply Children
Related