The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_TEXT_SECTION_OFFSET

TEXT section offset

Type: hex

Help

If the application is built for chain-loading by a bootloader this variable is required to be set to value that leaves sufficient space between the beginning of the image and the start of the .text section to store an image header or any other metadata. In the particular case of the MCUboot bootloader this reserves enough space to store the image header, which should also meet vector table alignment requirements on most ARM targets, although some targets may require smaller or larger values.

Kconfig definitions

At boards/x86/arduino_101/Kconfig.defconfig:8

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config TEXT_SECTION_OFFSET
    hex
    default 0x30 if BOARD_ARDUINO_101
    depends on BOARD_ARDUINO_101

At boards/x86/tinytile/Kconfig.defconfig:8

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config TEXT_SECTION_OFFSET
    hex
    default 0x30 if BOARD_TINYTILE
    depends on BOARD_TINYTILE

At boards/xtensa/intel_s1000_crb/Kconfig.defconfig:59

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config TEXT_SECTION_OFFSET
    hex
    default 0x100 if BOOTLOADER_MCUBOOT && BOARD_INTEL_S1000_CRB
    depends on BOOTLOADER_MCUBOOT && BOARD_INTEL_S1000_CRB

At soc/arm/nxp_imx/rt/Kconfig.defconfig.series:13

Included via Kconfig:10Kconfig.zephyr:23soc/arm/nxp_imx/Kconfig.defconfig:7

Menu path: (top menu)

config TEXT_SECTION_OFFSET
    hex
    default 0x2000 if (BOOT_FLEXSPI_NOR || BOOT_SEMC_NOR) && SOC_SERIES_IMX_RT
    depends on SOC_SERIES_IMX_RT

At soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf:22

Included via Kconfig:10Kconfig.zephyr:23soc/arm/ti_simplelink/Kconfig.defconfig:3soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:8

Menu path: (top menu)

config TEXT_SECTION_OFFSET
    hex
    default 0x800 if XIP && SOC_CC3220SF && SOC_SERIES_CC32XX
    default 0x0 if !XIP && SOC_CC3220SF && SOC_SERIES_CC32XX
    depends on SOC_CC3220SF && SOC_SERIES_CC32XX

At Kconfig.zephyr:117

Included via Kconfig:10

Menu path: (top menu) → Build and Link Features → Linker Options

config TEXT_SECTION_OFFSET
    hex
    prompt "TEXT section offset" if !BOOTLOADER_MCUBOOT
    default 0x200 if BOOTLOADER_MCUBOOT
    default 0
    help
      If the application is built for chain-loading by a bootloader this
      variable is required to be set to value that leaves sufficient
      space between the beginning of the image and the start of the .text
      section to store an image header or any other metadata.
      In the particular case of the MCUboot bootloader this reserves enough
      space to store the image header, which should also meet vector table
      alignment requirements on most ARM targets, although some targets
      may require smaller or larger values.

(Definitions include propagated dependencies, including from if’s and menus.)