This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160: where does the flash partitions address are been picked?

Hi,

I just enabled the CONFIG_BOOTLOADER_MCUBOOT=y for serial LTE modem application to understand the flash partitions and to perform the serial DFU(not sure if its really supported), but i was confused seeing the rom_report, the build system disregarded the partition addresses defined in the DTS files and overwritten with different start address and sizes, could you help me understand where there partition defined?

i refereed the following documentation but couldn't get the answer.

http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_multi_image.html

http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html

regards

KK

Parents Reply
  • Hi Øyvind,

    yesterday i was bust in other activities could not respond.

    What version of NCS are you using? Have you added a pm.yml or pm_static to your project? 

    I am on master branch as serial LTE modem is my main point of interest and its under development.

    No i dont have any pm.yml in added to to the SLM project does its required? even the HTTP Application Update sample dint have either. What is the default partition configuration is picked up by the build subsystem?

    I  just added few CONFIG entries to prj.conf rest all unchanged from SLM application.

    # Image manager
    CONFIG_IMG_MANAGER=y
    CONFIG_FLASH=y
    CONFIG_IMG_ERASE_PROGRESSIVELY=y
    
    # DFU Target
    CONFIG_DFU_TARGET=y
    
    # Application Upgrade support
    CONFIG_BOOTLOADER_MCUBOOT=y

    And I also see there is lot of disconnects in documentation i dont find "subsys\bootloader\dts" layout described in the page http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.1/nrf/ug_bootloader.html#upgradable-bootloader

    Can you point me to any samples which performs boot loader, application and modem upgraded over serial?

    regards

    KK

Children
Related