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 <Zephyr>/boards/arm/actinius_icarus/Kconfig.defconfig:30

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/actinius_icarus_bee/Kconfig.defconfig:30

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/actinius_icarus_som/Kconfig.defconfig:30

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/bl5340_dvk/Kconfig.defconfig:94

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/bl654_usb/Kconfig.defconfig:22

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x1000
    depends on !USE_DT_CODE_PARTITION && BOARD_BL654_USB

At <Zephyr>/boards/arm/circuitdojo_feather_nrf9160/Kconfig.defconfig:31

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/arm/lpcxpresso55s69/Kconfig.defconfig:35

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/nrf52840dongle_nrf52840/Kconfig.defconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:70

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/nrf9160_innblue21/Kconfig.defconfig:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/arm/nrf9160_innblue22/Kconfig.defconfig:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/arm/nrf9160dk_nrf9160/Kconfig.defconfig:40

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.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 <Zephyr>/boards/arm/sparkfun_thing_plus_nrf9160/Kconfig.defconfig:31

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/arm/thingy53_nrf5340/Kconfig.defconfig:51

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

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

At <Zephyr>/boards/riscv/hifive1_revb/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config FLASH_LOAD_OFFSET
    hex
    default 0x0
    depends on BOARD_HIFIVE1_REVB

At <Zephyr>/Kconfig.zephyr:94

Included via <Zephyr>/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.)