xref: /OK3568_Linux_fs/buildroot/package/uboot-tools/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_UBOOT_TOOLS
2	bool "u-boot tools"
3	help
4	  Companion tools for Das U-Boot bootloader.
5
6	  http://www.denx.de/wiki/U-Boot/WebHome
7
8if BR2_PACKAGE_UBOOT_TOOLS
9
10config BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT
11	bool "Flattened Image Tree (FIT) support"
12	depends on !BR2_STATIC_LIBS
13	select BR2_PACKAGE_DTC
14	select BR2_PACKAGE_DTC_PROGRAMS
15	help
16	  Enables support for Flattened Image Tree (FIT).
17
18	  This option allows to boot the new uImage structure,
19	  Flattened Image Tree. FIT is formally a FDT, which can include
20	  images of various types (kernel, FDT blob, ramdisk, etc.)
21	  in a single blob. To boot this new uImage structure,
22	  pass the address of the blob to the "bootm" command.
23
24comment "u-boot tools FIT support needs a toolchain w/ dynamic library"
25	depends on BR2_STATIC_LIBS
26
27if BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT
28
29config BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT
30	bool "FIT signature verification support"
31	select BR2_PACKAGE_OPENSSL
32	help
33	  Enables support for FIT Signature Verification.
34
35	  Flat Image Trees (FIT) supports hashing of images so that
36	  these hashes can be checked on loading. This protects
37	  against corruption of the image. However it does not prevent
38	  the substitution of one image for another.
39
40	  The signature feature allows the hash to be signed with a
41	  private key such that it can be verified using a public key
42	  later. Provided that the private key is kept secret and the
43	  public key is stored in a non-volatile place, any image can
44	  be verified in this way.
45
46	  Enabling this option pulls in a dependency on libssl and
47	  libcrypto, and possibly GPL/OpenSSL licensing
48	  incompatibility issues.
49
50config BR2_PACKAGE_UBOOT_TOOLS_FIT_CHECK_SIGN
51	bool "fit_check_sign"
52	depends on BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT
53	help
54	  Install the fit_check_sign tool on the target system
55
56	  The fit_check_sign tool from Das U-Boot bootloader, which
57	  allows FIT image signature validation on target system.
58
59endif
60
61config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE
62	bool "mkimage"
63	help
64	  Install the mkimage tool on the target system
65
66	  The mkimage tool from Das U-Boot bootloader, which allows
67	  generation of U-Boot images in various formats.
68
69config BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE
70	bool "mkenvimage"
71	help
72	  Install the mkenvimage tool on the target system
73
74	  The mkenvimage tool from Das U-Boot bootloader, which allows
75	  generation of a valid binary environment image from a text
76	  file describing the key=value pairs of the environment.
77
78config BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV
79	bool "fw_printenv"
80	default y
81	help
82	  Install the fw_printenv / fw_setenv tools on the target system
83
84	  The fw_printenv and fw_setenv tools from Das U-Boot
85	  bootloader, which allows access to the U-Boot environment
86	  from Linux.
87
88config BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE
89	bool "dumpimage"
90	help
91	  Install the dumpimage tool on the target system
92
93	  The dumpimage tool from Das U-Boot bootloader, which allows
94	  extraction of data from U-Boot images.
95
96endif
97