<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Not able to build mcuboot bootloader for nrf7002dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107283/not-able-to-build-mcuboot-bootloader-for-nrf7002dk</link><description>Hello, Some pertinent information: We have tested on both ncs V2.5.0 and V2.5.1, and are using zephyr toolchain v0.16.1. We also will be performing OTA similarly to the aws_iot sample project found here: github.com/.../aws_iot 
 
 We have been developing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 13 Jan 2024 00:59:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107283/not-able-to-build-mcuboot-bootloader-for-nrf7002dk" /><item><title>RE: Not able to build mcuboot bootloader for nrf7002dk</title><link>https://devzone.nordicsemi.com/thread/464028?ContentTypeID=1</link><pubDate>Sat, 13 Jan 2024 00:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdfff71b-01ec-4468-9f77-d8572aaf42f9</guid><dc:creator>SWYM staff</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;br /&gt;&lt;br /&gt;It is now working. Thank you for providing that. I had the misconception that I had to manually build and flash the bootloader (as I am used to on the nrf52 series).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have it working on both Wi-Fi and BLE.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;br /&gt;&lt;br /&gt;Joe&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to build mcuboot bootloader for nrf7002dk</title><link>https://devzone.nordicsemi.com/thread/464008?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 14:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a274dc7d-9cf3-4563-b1d7-98a510acc34d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Joe,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you build the&amp;nbsp;&lt;span&gt;MCUboot as the child image (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp.conf#L86"&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/a&gt;) as our samples did instead of&amp;nbsp;using it directly.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you want to send DFU over Wi-Fi, Bluetooth Low Energy, or serial? If using Wi-Fi, you can refer to the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/aws_iot/README.html"&gt;AWS IoT sample&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/azure_iot_hub/README.html"&gt;Azure IoT Hub sample&lt;/a&gt;&amp;nbsp;which support both the nRF7002DK and FOTA over IP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to build mcuboot bootloader for nrf7002dk</title><link>https://devzone.nordicsemi.com/thread/463875?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 23:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11cc3bd3-6be7-44d7-9e30-4ea08416cb1e</guid><dc:creator>SWYM staff</dc:creator><description>&lt;p&gt;Hello Amanda,&lt;br /&gt;&lt;br /&gt;Thank you for following up on this case.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am building MCUboot according to the README defined in the mcumgr sample code (which can be found&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/mgmt/mcumgr/smp_svr/README.rst#building-and-flashing-mcuboot"&gt;here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The exact command I am running is as follows&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf7002dk_nrf5340_cpuapp -d build_mcuboot bootloader/mcuboot/boot/zephyr&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am running this command at the directory installed onto my computer from Nordic&amp;#39;s &amp;quot;Toolchain Manager&amp;quot;. When installing nRF Connect SDK v2.5.0 via the Toolchain Manager, it is downloaded to a directory labelled &amp;quot;v2.5.0&amp;quot;. Attached is an image of the directory (and its contents).&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1705014472322v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please notice the &amp;quot;bootloader&amp;quot; directory specifically. This is what the bootloader is built from, and requires no modifying (i.e. there are no config files created by me for this process).&lt;br /&gt;&lt;br /&gt;Building and flashing the bootloader for both the nrf52832, and the nrf52840 have no issues. However, simply building the bootloader for the nrf7002dk is failing with the following errors&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[4/278] Generating include/generated/version.h
-- Zephyr version: 3.4.99 (/home/{me}/ncs/v2.5.0/zephyr), build: v3.4.99-ncs1
[273/278] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /home/{me}/ncs/v2.5.0/build_mcuboot/zephyr/zephyr_pre0.map 
: &amp;amp;&amp;amp; ccache /home/{me}/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -fuse-ld=bfd  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/{me}/ncs/v2.5.0/build_mcuboot/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/soc/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L&amp;quot;/home/{me}/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp&amp;quot;  -L/home/{me}/ncs/v2.5.0/build_mcuboot/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  /home/{me}/ncs/v2.5.0/nrfxlib/crypto/nrf_cc312_platform/lib/cortex-m33/soft-float/no-interrupts/libnrf_cc312_platform_0.9.18.a &amp;amp;&amp;amp; cd /home/{me}/ncs/v2.5.0/build_mcuboot/zephyr &amp;amp;&amp;amp; /usr/bin/cmake -E true
/home/{me}/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/flash/libdrivers__flash.a(spi_nor.c.obj): in function `k_sleep&amp;#39;:
/home/{me}/ncs/v2.5.0/build_mcuboot/zephyr/include/generated/syscalls/kernel.h:135: undefined reference to `z_impl_k_sleep&amp;#39;
/home/{me}/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: /home/{me}/ncs/v2.5.0/build_mcuboot/zephyr/include/generated/syscalls/kernel.h:135: undefined reference to `z_impl_k_sleep&amp;#39;
/home/{me}/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/flash/libdrivers__flash.a(spi_nor.c.obj):(.rodata.spi_nor_config_0+0x0): undefined reference to `__device_dts_ord_143&amp;#39;
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To reproduce this issue, it should be as simple as going to the ncs v2.5.0 directory, and running&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf7002dk_nrf5340_cpuapp -d build_mcuboot bootloader/mcuboot/boot/zephyr&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please let me know if you have any further questions for me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Joe&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to build mcuboot bootloader for nrf7002dk</title><link>https://devzone.nordicsemi.com/thread/463767?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 13:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79a26d3b-df22-4a42-90c3-a4bf32098002</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""] We are getting issues specifically building MCUboot for the nrf7002dk.&amp;nbsp;[/quote]
&lt;p&gt;Could you describe what is the issue? Could you provide the logs? How do you build the mcuboot for nRF7002DK? Could yo also provide config files?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>