This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FLASH_LOAD_OFFSET

Kernel load offset

Type: hex

Help

This option specifies the byte offset from the beginning of flash that
the kernel should be loaded into. Changing this value from zero will
affect the Zephyr image's link, and will decrease the total amount of
flash available for use by application code.

If unsure, leave at the default value 0.

Defaults

Kconfig definitions

At boards/arm/actinius_icarus/Kconfig.defconfig:30

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_ACTINIUS_ICARUS_NS && (BOARD_ACTINIUS_ICARUS || BOARD_ACTINIUS_ICARUS_NS)

At boards/arm/actinius_icarus_bee/Kconfig.defconfig:30

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_ACTINIUS_ICARUS_BEE_NS && (BOARD_ACTINIUS_ICARUS_BEE || BOARD_ACTINIUS_ICARUS_BEE_NS)

At boards/arm/actinius_icarus_som/Kconfig.defconfig:30

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_ACTINIUS_ICARUS_SOM_NS && (BOARD_ACTINIUS_ICARUS_SOM || BOARD_ACTINIUS_ICARUS_SOM_NS)

At boards/arm/bl5340_dvk/Kconfig.defconfig:82

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_BL5340_DVK_CPUAPP_NS && (BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS)

At boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig:31

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_CIRCUITDOJO_FEATHER_NRF9160NS && (BOARD_CIRCUITDOJO_FEATHER_NRF9160 || BOARD_CIRCUITDOJO_FEATHER_NRF9160NS)

At boards/arm/lpcxpresso55s69/Kconfig.defconfig:35

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x50000 if !TFM_BL2
    default 0x0
    depends on (TRUSTED_EXECUTION_NONSECURE || BOARD_LPCXPRESSO55S69_CPU1) && (BOARD_LPCXPRESSO55S69_CPU0 || BOARD_LPCXPRESSO55S69_CPU1)

At boards/arm/nrf52840dongle_nrf52840/Kconfig.defconfig:23

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x1000
    depends on BOARD_HAS_NRF5_BOOTLOADER && !USE_DT_CODE_PARTITION && BOARD_NRF52840DONGLE_NRF52840

At boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:68

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_NRF5340DK_NRF5340_CPUAPP_NS && (BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPP_NS)

At boards/arm/nrf9160_innblue21/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_NRF9160_INNBLUE21NS && (BOARD_NRF9160_INNBLUE21 || BOARD_NRF9160_INNBLUE21NS)

At boards/arm/nrf9160_innblue22/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_NRF9160_INNBLUE22NS && (BOARD_NRF9160_INNBLUE22 || BOARD_NRF9160_INNBLUE22NS)

At boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:47

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_NRF9160DK_NRF9160_NS && (BOARD_NRF9160DK_NRF9160 || BOARD_NRF9160DK_NRF9160_NS)

At boards/arm/sparkfun_thing_plus_nrf9160/Kconfig.defconfig:31

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_SPARKFUN_THING_PLUS_NRF9160NS && (BOARD_SPARKFUN_THING_PLUS_NRF9160 || BOARD_SPARKFUN_THING_PLUS_NRF9160NS)

At boards/arm/thingy53_nrf5340/Kconfig.defconfig:51

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_THINGY53_NRF5340_CPUAPPNS && (BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPPNS)

At boards/riscv/hifive1_revb/Kconfig.defconfig:15

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_HIFIVE1_REVB

At Kconfig.zephyr:92

Included via Kconfig:8

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

config FLASH_LOAD_OFFSET
    hex "Kernel load offset" if !USE_DT_CODE_PARTITION
    default 0x0 if USE_DT_CODE_PARTITION
    default 0
    depends on HAS_FLASH_LOAD_OFFSET
    help
      This option specifies the byte offset from the beginning of flash that
      the kernel should be loaded into. Changing this value from zero will
      affect the Zephyr image's link, and will decrease the total amount of
      flash available for use by application code.

      If unsure, leave at the default value 0.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)