README.md
1<!--
2 Copyright 2017, DornerWorks
3
4 SPDX-License-Identifier: GPL-2.0-only
5
6 This data was produced by DornerWorks, Ltd. of Grand Rapids, MI, USA under
7 a DARPA SBIR, Contract Number D16PC00107.
8
9 Approved for Public Release, Distribution Unlimited.
10-->
11
12The elfloader Kconfig isn't accessable in most of the top-level Kconfigs.
13Therefore, there are two ways to use the hashing algorithms:
14 1. CONFIG_HASH_INSTRUCTIONS=y in your defconfig
15 CONFIG_HASH_SHA (optional - remove if you want to md5 hash)
16 2. Include the elf-loader's Kconfig under a new menu in your top-level Kconfig
17 like this:
18
19 menu "Tools"
20 source "tools/elfloader/Kconfig"
21 endmenu
22
23Either one of these options will allow the user to select the hashing process.
24
25Please note, this process will add boottime, as hashing a very long file tends to take some time.
26