diff options
author | Anas Nashif <anas.nashif@intel.com> | 2016-09-10 08:06:15 -0400 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-09-17 11:13:59 +0000 |
commit | ecf96d2cfaf2d188bf14b61bc2610b3b41484d79 (patch) | |
tree | 5c24655bfbb76b88d09f24cc358cc1222da1aa30 /misc | |
parent | 37d6551286beb363347c952aa63cf6a955991346 (diff) |
arduino 101: make factory bootloader config the default
The Arduino 101 comes with a bootloader that supports DFU
and flashing of all cores using the dfu-util package.
This changes the memory layout of the image built for the
Arduino 101 and remove previous work-arounds to allow booting,
including the version-header section in the linker script.
The bootloader expects the text section at +0x30 from the physical
load address and thus requires special treatment in the linker
script.
Other changes by Andrew Boie:
The flash size parameters were both wrong. X86 side has 192K
of flash from 0x4003000 - 0x40060000, the entire span of
sys_flash1.
ARC side is now the span from 0x40010000 - 0x40030000, 128K.
Change-Id: Iecfa5d2b84a3f522d9eca06268d6b8b71a094aaa
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Kconfig | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/Kconfig b/misc/Kconfig index ab87a2abe..14a80176f 100644 --- a/misc/Kconfig +++ b/misc/Kconfig @@ -24,6 +24,13 @@ config KERNEL_BIN_NAME help This option sets the name of the generated kernel binary. +config TEXT_SECTION_OFFSET + hex "TEXT section offset" + default 0 + help + This sets and offset before the text section and allows booting images + with custom headers that are inserted at the beginning of the image. + config HAVE_CUSTOM_LINKER_SCRIPT prompt "Custom linker scripts provided" def_bool n @@ -46,14 +53,6 @@ config CUSTOM_LINKER_SCRIPT linker script and avoid having to change the script provided by Zephyr. -config VERSION_HEADER - bool "Add a version header to binary" - default n - help - This will add a version header section to the generated binary that - can be filled with the software version for example using a post - script. - config CROSS_COMPILE string "Cross-compiler tool prefix" help |