zephyr/scripts
Marti Bolivar cd8d43b1c9 scripts: runner: generalize commands to "capabilities"
Some configuration options or device tree nodes affect the way that
runners ought to behave, but there's no good way for them to report
whether they can handle them.

One motivating example is CONFIG_FLASH_LOAD_OFFSET, as influenced by
the zephyr,code-partition chosen node in the DT for architectures
where CONFIG_HAS_FLASH_LOAD_OFFSET=y.

If CONFIG_FLASH_LOAD_OFFSET is nonzero, the 'flash' command ought to
place the kernel at that address offset from the device flash's start
address. Runners don't support this right now, which should be
fixed. However, we don't want to mandate support for this feature,
since not all targets need it.

We need to let runners declare what their capabilities are. Make it so
by adding a RunnerCaps class to the runner core. This currently just
states which commands a runner can handle, but can be generalized to
implement the above use case.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
2017-12-15 09:57:30 -05:00
..
checkpatch checkpatch: add NANO_ESF as a typedef to avoid spacing errors 2017-11-03 10:29:41 -04:00
ci ci: verify author identity 2017-11-24 10:21:53 -05:00
cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
cross_compiler toolchains: fix xtools configurations 2017-10-12 16:27:12 -05:00
dts scripts: extract_dts_includes: fix potential undefined read 2017-12-15 09:57:30 -05:00
footprint size_report: Use the CMake-discovered toolchain instead of ENV vars 2017-12-12 11:42:05 -05:00
gitlint ci: do not treat message parts as xml 2017-10-28 09:00:50 -04:00
kconfig kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
sanity_chk sanitycheck: allow placing parsetab.py in a custom dir 2017-12-11 14:47:08 -05:00
support scripts: runner: generalize commands to "capabilities" 2017-12-15 09:57:30 -05:00
.gitignore
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkpatch.pl scripts: Update checkpatch to latest from the linux kernel 2017-10-02 18:48:56 -04:00
checkstack.pl
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
file2hex.py build: Add rules in Makefile.gen to generate a hex file 2017-09-18 14:56:16 -04:00
filter-known-issues.py doc: filter-known-issues.py and empty files 2017-09-21 16:58:17 -04:00
gcc-version.sh
gen_gdt.py gen_gdt: add debug statements and simplify logic 2017-11-07 09:31:49 -08:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_kobject_list.py userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
gen_mmu_x86.py gen_mmu_x86.py: decrease verbosity 2017-11-07 09:31:49 -08:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
gen_syscall_header.py gen_syscall_header: create dummy handler refs 2017-11-29 14:18:20 -08:00
gen_syscalls.py cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
headerdep.pl
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mksysmap
parse_syscalls.py cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
process_gperf.py kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
requirements.txt scripts: require python module wheel 2017-10-31 12:32:34 -04:00
sanitycheck sanitycheck: remove usage of qemu for generic handlers 2017-12-11 14:47:08 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00