zephyr/scripts
Marti Bolivar d1780aac42 scripts: west_commands: add sign command
This command is useful for signing binaries for loading by a
bootloader. At present, only MCUboot's "imgtool" is supported, but it
would be straightforward to add support for additional tools.

Using this command instead of "plain" imgtool avoids looking up any
numbers for the flash write block size, text section offset, or slot
size to get a signed binary. All users need to specify is the location
of the signing key.

This greatly improves usability for those unfamiliar with MCUboot, or
even experienced users who have to deal with multiple flash partition
layouts, boards, etc.

The command works by inspecting state in the Zephyr build system, some
of which is also provided by the runner package.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2019-02-07 08:44:19 -05:00
..
checkpatch
ci ci: run_ci.sh: make script run locally 2019-02-01 19:04:55 -05:00
coccinelle coccinelle: Updating ignore_return to support memcpy 2018-12-19 14:37:25 +01:00
cross_compiler
dts scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
footprint size_report: cleanup up detection and error handling 2018-10-29 10:15:17 -04:00
gitlint gitlint: do not start with subsys: 2018-11-28 09:22:01 -08:00
kconfig doc: Add KCONFIG_DOC_MODE env var handling 2019-02-01 10:16:06 -06:00
sanity_chk sanitycheck: Handle data over UART from gcov 2019-01-29 15:03:38 -05:00
support
west_commands scripts: west_commands: add sign command 2019-02-07 08:44:19 -05:00
.gitignore
check_link_map.py
checkpatch.pl
checkstack.pl
coccicheck scripts: coccicheck: Add support for SPFLAGS 2019-02-07 08:12:20 -05:00
dir_is_writeable.py
elf_helper.py elf_helper: skip SYS_INIT() "devices" 2018-12-03 11:44:01 -08:00
file2hex.py
filter-known-issues.py
gen_alignment_script.py
gen_app_partitions.py scripts: add missing lincense in scripts/gen_app_partitions.py 2018-11-30 15:22:58 +01:00
gen_cfb_font_header.py subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
gen_gcov_files.py scripts: gen_gcov_files: report if data capture is not complete 2019-01-29 15:03:38 -05:00
gen_gdt.py
gen_idt.py x86: add dynamic interrupt support 2018-11-10 11:01:22 -05:00
gen_kobject_list.py kernel: remove k_alert API 2019-01-16 21:34:07 -05:00
gen_mmu_x86.py gen_mmu_x86: remove unused function 2019-02-06 14:34:20 -08:00
gen_offset_header.py
gen_priv_stacks.py scripts: gen_priv_stacks.py: run through flake8 2018-09-17 09:40:02 -04:00
gen_relocate_app.py scripts: gen_relocate_app: Use linker provided size variable. 2018-12-29 09:23:34 -05:00
gen_syscall_header.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
gen_syscalls.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
mergehex.py mergehex: Improve the error feedback when merged hex files overlap 2019-01-29 17:04:42 +01:00
parse_syscalls.py userspace: adjust syscall generation scripts 2018-07-24 14:39:38 -04:00
process_gperf.py userspace: eliminate warning in process_gperf.py 2018-12-07 20:26:46 -05:00
qemu-machine-hack.py
requirements.txt scripts: run_ci.sh: add pytest-based testing for west commands 2019-01-29 10:15:01 +01:00
sanitycheck sanitycheck: return build.log when we think we crashed 2019-02-05 13:40:49 -05:00
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp valgrind: Add error supression file for POSIX arch 2018-12-21 21:07:18 +01:00
waitpid
west-commands.yml scripts: west_commands: add sign command 2019-02-07 08:44:19 -05:00