From 09e1873ef2758a2de48b4d092a6c8d66559f5775 Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Mon, 9 Dec 2024 12:24:35 +0100 Subject: [PATCH] tests: remove mcuboot configuration from test app [KRKNWK-19763] Signed-off-by: Krzysztof Taborowski --- tests/manual/simple_bootloader/Kconfig | 7 --- .../manual/simple_bootloader/Kconfig.sysbuild | 48 +------------- tests/manual/simple_bootloader/README.rst | 17 ++--- .../boards/nrf52840dk_nrf52840.overlay | 12 ---- .../boards/nrf5340dk_nrf5340_cpuapp.conf | 7 --- .../boards/nrf5340dk_nrf5340_cpuapp.overlay | 12 ---- .../boards/nrf54l15dk_nrf54l10_cpuapp.overlay | 18 +++++- .../pm_static_nrf54l15dk_nrf54l10_cpuapp.yml | 62 +++---------------- tests/manual/simple_bootloader/prj.conf | 2 - .../boards/nrf52840dk_nrf52840.overlay | 12 ---- .../boards/nrf5340dk_nrf5340_cpuapp.conf | 28 --------- .../boards/nrf5340dk_nrf5340_cpuapp.overlay | 12 ---- .../boards/nrf54l15dk_nrf54l10_cpuapp.conf | 54 ---------------- .../boards/nrf54l15dk_nrf54l10_cpuapp.overlay | 16 ----- .../boards/nrf54l15dk_nrf54l15_cpuapp.conf | 54 ---------------- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 16 ----- .../boards/thingy53_nrf5340_cpuapp.overlay | 12 ---- .../sysbuild/mcuboot/prj.conf | 37 ----------- 18 files changed, 34 insertions(+), 392 deletions(-) delete mode 100644 tests/manual/simple_bootloader/Kconfig delete mode 100644 tests/manual/simple_bootloader/boards/nrf52840dk_nrf52840.overlay delete mode 100644 tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf delete mode 100644 tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf52840dk_nrf52840.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.conf delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/boards/thingy53_nrf5340_cpuapp.overlay delete mode 100644 tests/manual/simple_bootloader/sysbuild/mcuboot/prj.conf diff --git a/tests/manual/simple_bootloader/Kconfig b/tests/manual/simple_bootloader/Kconfig deleted file mode 100644 index 138a453291..0000000000 --- a/tests/manual/simple_bootloader/Kconfig +++ /dev/null @@ -1,7 +0,0 @@ -# -# Copyright (c) 2023 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -source "Kconfig.zephyr" diff --git a/tests/manual/simple_bootloader/Kconfig.sysbuild b/tests/manual/simple_bootloader/Kconfig.sysbuild index ff55b7528c..85eb69379e 100644 --- a/tests/manual/simple_bootloader/Kconfig.sysbuild +++ b/tests/manual/simple_bootloader/Kconfig.sysbuild @@ -4,51 +4,7 @@ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # -config NRF_DEFAULT_EMPTY - default y if BOARD_NRF5340DK_NRF5340_CPUAPP - -choice BOOTLOADER - default BOOTLOADER_MCUBOOT -endchoice - -if BOOTLOADER_MCUBOOT - -config DFU_MULTI_IMAGE_PACKAGE_BUILD - default y - -config DFU_MULTI_IMAGE_PACKAGE_APP - default y - -if (BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP) - -config MCUBOOT_UPDATEABLE_IMAGES - default 2 - -choice MCUBOOT_MODE - default MCUBOOT_MODE_OVERWRITE_ONLY -endchoice - -choice BOOT_SIGNATURE_TYPE - default BOOT_SIGNATURE_TYPE_RSA -endchoice - -config SECURE_BOOT - default y - -config SECURE_BOOT_NETCORE - default y - -config NETCORE_APP_UPDATE - default y - -config DFU_MULTI_IMAGE_PACKAGE_NET - default y - -endif # BOOTLOADER_MCUBOOT - -endif # (BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP) - -config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY - default y if BOARD_NRF52840DK_NRF52840 || BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP +config PM_MCUBOOT_PAD + default 0x800 source "${ZEPHYR_BASE}/share/sysbuild/Kconfig" diff --git a/tests/manual/simple_bootloader/README.rst b/tests/manual/simple_bootloader/README.rst index 266a30ad33..4be5338bf0 100644 --- a/tests/manual/simple_bootloader/README.rst +++ b/tests/manual/simple_bootloader/README.rst @@ -1,4 +1,4 @@ -Sidewalk test simple bootloder application +Sidewalk test simple bootloader application ########################################## Application overview @@ -10,17 +10,18 @@ It is significantly smaller then any Sidewalk sample. Maintenance notes ================ .. note:: - This appclication is designed to work with sidewalk sid_end_device sample + This application is designed to work with sidewalk sid_end_device sample + It requires sidewalk sample bootloader to be flashed first. Configuration: - * prj.conf - From Kconfig.dependencies config SIDEWALK_DFU_BOOTLOADER - * pm_static.yaml - copied from sid_end_device. Setting storage added as static partition (values from ninja partition_manager_report) to keep application footprint small. + * prj.conf - App configuration. + * pm_static.yaml - based on sid_end_device. Setting storage added as static partition (values from ninja partition_manager_report) to keep application footprint small. Requirements ************ This application requires: -* nrf52840 DK +* nrf52840 DK or nRF5340 DK or nRF54L15 DK * mcumgr tool (cli or mobile app) Building and running @@ -38,10 +39,10 @@ Precondition Testing sample bootloder application #. Build application -#. Ready to upload image is generated in sidewalk/tests/manual/simple_bootloader/build/zephyr/app_update.bin +#. Ready to upload image is generated in sidewalk/tests/manual/simple_bootloader/build/dfu_application.zip #. upload image using mcumgr tool, mark to test, reset device -#. wait or bootloder to swap images -#. Application marks image as ok and prints message +#. wait to bootloder to swap images +#. Application marks image as ok. Prints message and turn on LED Application output ================== diff --git a/tests/manual/simple_bootloader/boards/nrf52840dk_nrf52840.overlay b/tests/manual/simple_bootloader/boards/nrf52840dk_nrf52840.overlay deleted file mode 100644 index 6ea64210d7..0000000000 --- a/tests/manual/simple_bootloader/boards/nrf52840dk_nrf52840.overlay +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2023 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -/ { - chosen { - zephyr,code-partition = &boot_partition; - nordic,pm-ext-flash = &mx25r64; - }; -}; diff --git a/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf b/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf deleted file mode 100644 index ccfe74b0c4..0000000000 --- a/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf +++ /dev/null @@ -1,7 +0,0 @@ -# -# Copyright (c) 2023 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -CONFIG_BOARD_ENABLE_CPUNET=y diff --git a/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.overlay b/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.overlay deleted file mode 100644 index 6ea64210d7..0000000000 --- a/tests/manual/simple_bootloader/boards/nrf5340dk_nrf5340_cpuapp.overlay +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2023 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -/ { - chosen { - zephyr,code-partition = &boot_partition; - nordic,pm-ext-flash = &mx25r64; - }; -}; diff --git a/tests/manual/simple_bootloader/boards/nrf54l15dk_nrf54l10_cpuapp.overlay b/tests/manual/simple_bootloader/boards/nrf54l15dk_nrf54l10_cpuapp.overlay index a9ac0e8581..3d0802e9e5 100644 --- a/tests/manual/simple_bootloader/boards/nrf54l15dk_nrf54l10_cpuapp.overlay +++ b/tests/manual/simple_bootloader/boards/nrf54l15dk_nrf54l10_cpuapp.overlay @@ -3,9 +3,6 @@ * * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ - - -/* Application does not use cpuflpr core. Assign whole RRAM to cpuapp. */ &cpuapp_rram { reg = <0x0 DT_SIZE_K(1024)>; }; @@ -14,3 +11,18 @@ reg = <0x20000000 DT_SIZE_K(192)>; ranges = <0x0 0x20000000 DT_SIZE_K(192)>; }; + +/ { + chosen { + nordic,pm-ext-flash = &mx25r64; + }; +}; + +&mx25r64 { + status = "okay"; +}; + +// TODO: re-enable HWFC once it's fixed +&uart20 { + /delete-property/ hw-flow-control; +}; diff --git a/tests/manual/simple_bootloader/pm_static_nrf54l15dk_nrf54l10_cpuapp.yml b/tests/manual/simple_bootloader/pm_static_nrf54l15dk_nrf54l10_cpuapp.yml index a40110ef00..4b7cd11c80 100644 --- a/tests/manual/simple_bootloader/pm_static_nrf54l15dk_nrf54l10_cpuapp.yml +++ b/tests/manual/simple_bootloader/pm_static_nrf54l15dk_nrf54l10_cpuapp.yml @@ -1,66 +1,20 @@ -app: - address: 0xc800 - end_address: 0x84800 - region: flash_primary - size: 0x78000 mcuboot: address: 0x0 - end_address: 0xc000 - placement: - before: - - mcuboot_primary + end_address: 0xd000 region: flash_primary - size: 0xc000 + size: 0xd000 mcuboot_pad: - address: 0xc000 - end_address: 0xc800 - placement: - before: - - mcuboot_primary_app + address: 0xd000 + end_address: 0xd800 region: flash_primary size: 0x800 -mcuboot_primary: - address: 0xc000 - end_address: 0x84800 - orig_span: &id001 - - mcuboot_pad - - app - region: flash_primary - sharers: 0x1 - size: 0x78800 - span: *id001 -mcuboot_primary_app: - address: 0xc800 - end_address: 0x84800 - orig_span: &id002 - - app - region: flash_primary - size: 0x78000 - span: *id002 -mcuboot_secondary: - address: 0x84800 - end_address: 0xfd000 - placement: - after: - - mcuboot_primary - align: - start: 0x1000 +settings_storage: + address: 0xfd000 + end_address: 0xff000 region: flash_primary - share_size: - - mcuboot_primary - size: 0x78800 + size: 0x2000 mfg_storage: address: 0xff000 end_address: 0x100000 region: flash_primary size: 0x1000 -settings_storage: - address: 0xfd000 - end_address: 0xff000 - placement: - align: - start: 0x1000 - before: - - end - region: flash_primary - size: 0x2000 diff --git a/tests/manual/simple_bootloader/prj.conf b/tests/manual/simple_bootloader/prj.conf index d9e291ec76..0ea39914b6 100644 --- a/tests/manual/simple_bootloader/prj.conf +++ b/tests/manual/simple_bootloader/prj.conf @@ -3,7 +3,5 @@ # # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # - -CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_LOG=y CONFIG_DK_LIBRARY=y diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf52840dk_nrf52840.overlay b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf52840dk_nrf52840.overlay deleted file mode 100644 index 6ea64210d7..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf52840dk_nrf52840.overlay +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2023 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -/ { - chosen { - zephyr,code-partition = &boot_partition; - nordic,pm-ext-flash = &mx25r64; - }; -}; diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf deleted file mode 100644 index 96cb33e553..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (c) 2021 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -CONFIG_NORDIC_QSPI_NOR=y -CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 -CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16 - -# The following configurations are required to support simultaneous multi image update -CONFIG_PCD_APP=y -CONFIG_UPDATEABLE_IMAGE_NUMBER=2 - -CONFIG_BOOT_SWAP_USING_MOVE=n -# Multi-image updates do not support image swapping yet. -CONFIG_BOOT_UPGRADE_ONLY=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 - -# Enable custom command to erase settings partition. -CONFIG_ENABLE_MGMT_PERUSER=y -CONFIG_ZCBOR=y -CONFIG_BOOT_MGMT_CUSTOM_STORAGE_ERASE=y diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay deleted file mode 100644 index 6ea64210d7..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2023 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -/ { - chosen { - zephyr,code-partition = &boot_partition; - nordic,pm-ext-flash = &mx25r64; - }; -}; diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.conf b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.conf deleted file mode 100644 index de78cc2fc2..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.conf +++ /dev/null @@ -1,54 +0,0 @@ -# -# Copyright (c) 2021 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -# TODO: NCSDK-28931: Cannot use fprotect twice, so disable it in MCUboot to -# test protecting Matter factory data. It can be enabled while there is a support -# for protection more than one region. -CONFIG_FPROTECT=n -# TODO: Workaround, disable memory guard to avoid false faults in application after boot -CONFIG_HW_STACK_PROTECTION=n - -CONFIG_BOOT_WATCHDOG_FEED=n - -# Disable all debug features -CONFIG_USE_SEGGER_RTT=n -CONFIG_SHELL=n -CONFIG_OPENTHREAD_SHELL=n -CONFIG_CONSOLE=n -CONFIG_UART_CONSOLE=n -CONFIG_SERIAL=n -CONFIG_LOG=n -CONFIG_LOG_MODE_MINIMAL=n -CONFIG_ASSERT_VERBOSE=n -CONFIG_ASSERT_NO_FILE_INFO=y -CONFIG_PRINTK=n -CONFIG_PRINTK_SYNC=n -CONFIG_THREAD_NAME=n -CONFIG_BOOT_BANNER=n - -CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y - -# Ensure that the qspi driver is disabled by default -CONFIG_GPIO=n -CONFIG_SPI=n -CONFIG_SPI_NOR=n -CONFIG_NORDIC_QSPI_NOR=n -CONFIG_MULTITHREADING=n - -CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y - - -# Workaroud: fprotect and watchdog feed -# are not supported in NCS v2.6.0 -CONFIG_FPROTECT=n -CONFIG_BOOT_WATCHDOG_FEED=n - -# Currently, without tickless kernel, the SYSCOUNTER value after the software -# reset is not set properly and due to that the first system interrupt is not called -# in the proper time - the SYSCOUNTER value is set to the value from before -# reset + 1. Hence, the reboot time increases more and more. -# To avoid it enable tickles kernel for mcuboot. -CONFIG_TICKLESS_KERNEL=y diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.overlay b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.overlay deleted file mode 100644 index a9ac0e8581..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l10_cpuapp.overlay +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2024 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - - -/* Application does not use cpuflpr core. Assign whole RRAM to cpuapp. */ -&cpuapp_rram { - reg = <0x0 DT_SIZE_K(1024)>; -}; - -&cpuapp_sram { - reg = <0x20000000 DT_SIZE_K(192)>; - ranges = <0x0 0x20000000 DT_SIZE_K(192)>; -}; diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf deleted file mode 100644 index de78cc2fc2..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf +++ /dev/null @@ -1,54 +0,0 @@ -# -# Copyright (c) 2021 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -# TODO: NCSDK-28931: Cannot use fprotect twice, so disable it in MCUboot to -# test protecting Matter factory data. It can be enabled while there is a support -# for protection more than one region. -CONFIG_FPROTECT=n -# TODO: Workaround, disable memory guard to avoid false faults in application after boot -CONFIG_HW_STACK_PROTECTION=n - -CONFIG_BOOT_WATCHDOG_FEED=n - -# Disable all debug features -CONFIG_USE_SEGGER_RTT=n -CONFIG_SHELL=n -CONFIG_OPENTHREAD_SHELL=n -CONFIG_CONSOLE=n -CONFIG_UART_CONSOLE=n -CONFIG_SERIAL=n -CONFIG_LOG=n -CONFIG_LOG_MODE_MINIMAL=n -CONFIG_ASSERT_VERBOSE=n -CONFIG_ASSERT_NO_FILE_INFO=y -CONFIG_PRINTK=n -CONFIG_PRINTK_SYNC=n -CONFIG_THREAD_NAME=n -CONFIG_BOOT_BANNER=n - -CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y - -# Ensure that the qspi driver is disabled by default -CONFIG_GPIO=n -CONFIG_SPI=n -CONFIG_SPI_NOR=n -CONFIG_NORDIC_QSPI_NOR=n -CONFIG_MULTITHREADING=n - -CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y - - -# Workaroud: fprotect and watchdog feed -# are not supported in NCS v2.6.0 -CONFIG_FPROTECT=n -CONFIG_BOOT_WATCHDOG_FEED=n - -# Currently, without tickless kernel, the SYSCOUNTER value after the software -# reset is not set properly and due to that the first system interrupt is not called -# in the proper time - the SYSCOUNTER value is set to the value from before -# reset + 1. Hence, the reboot time increases more and more. -# To avoid it enable tickles kernel for mcuboot. -CONFIG_TICKLESS_KERNEL=y diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay deleted file mode 100644 index 1624ec0d73..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2024 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - - -/* Application does not use cpuflpr core. Assign whole RRAM to cpuapp. */ -&cpuapp_rram { - reg = < 0x0 DT_SIZE_K(1524) >; -}; - -&cpuapp_sram { - reg = <0x20000000 DT_SIZE_K(256)>; - ranges = <0x0 0x20000000 0x40000>; -}; diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/thingy53_nrf5340_cpuapp.overlay b/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/thingy53_nrf5340_cpuapp.overlay deleted file mode 100644 index 6ea64210d7..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/boards/thingy53_nrf5340_cpuapp.overlay +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2023 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -/ { - chosen { - zephyr,code-partition = &boot_partition; - nordic,pm-ext-flash = &mx25r64; - }; -}; diff --git a/tests/manual/simple_bootloader/sysbuild/mcuboot/prj.conf b/tests/manual/simple_bootloader/sysbuild/mcuboot/prj.conf deleted file mode 100644 index d64edc2ff5..0000000000 --- a/tests/manual/simple_bootloader/sysbuild/mcuboot/prj.conf +++ /dev/null @@ -1,37 +0,0 @@ -# -# Copyright (c) 2024 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - -CONFIG_MAIN_STACK_SIZE=10240 - -CONFIG_BOOT_SWAP_SAVE_ENCTLV=n -CONFIG_BOOT_BOOTSTRAP=n -CONFIG_PM=n - -CONFIG_FLASH=y -CONFIG_FPROTECT=y - -CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h" - -CONFIG_BOOT_MAX_IMG_SECTORS=256 - -# Use minimal C library instead of the Picolib -CONFIG_MINIMAL_LIBC=y - -# Bootloader size optimization -CONFIG_NCS_BOOT_BANNER=n -CONFIG_CONSOLE=n -CONFIG_SERIAL=n -CONFIG_UART_CONSOLE=n -CONFIG_USE_SEGGER_RTT=n -CONFIG_GPIO=n -CONFIG_LOG=n -CONFIG_CONSOLE_HANDLER=n -CONFIG_BOOT_BANNER=n -CONFIG_TIMESLICING=n -CONFIG_RESET_ON_FATAL_ERROR=n -CONFIG_MULTITHREADING=n -CONFIG_TICKLESS_KERNEL=n -CONFIG_TIMEOUT_64BIT=n -CONFIG_NRF_ENABLE_ICACHE=n