summaryrefslogtreecommitdiffstats
path: root/platforms/barebox.in
blob: 645366e93eac3a45ef267fd1963c26e1405cf86e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
## SECTION=bootloader

config BAREBOX_ARCH_STRING
	string
	default "arm"			if ARCH_ARM || ARCH_ARM64
	default "blackfin"		if ARCH_BLACKFIN
	default "ppc"			if ARCH_PPC
	default "x86"			if ARCH_X86

menuconfig BAREBOX
	select BOOTLOADER
	select HOST_LIBUSB if BAREBOX_NEEDS_HOST_LIBUSB
	select HOST_OPENSSL if BAREBOX_NEEDS_HOST_OPENSSL
	select HOST_IMX_CST if BAREBOX_NEEDS_HOST_IMX_CST
	select HOST_LZOP if BAREBOX_NEEDS_HOST_LZOP
	prompt "barebox                       "
	bool
	help
	  The famous bootloader formerly known as U-Boot V2.

if BAREBOX

config BAREBOX_VERSION
	prompt "barebox version"
	string
	default "2016.08.0"

config BAREBOX_MD5
	prompt "barebox source md5sum"
	string

config BAREBOX_CONFIG
	prompt "config file"
	string
	default "barebox.config"
	help
	  This entry specifies the .config file used to compile
	  barebox.

config BAREBOX_EXTRA_ENV
	prompt "extend the builtin barebox environment"
	bool

config BAREBOX_EXTRA_ENV_PATH
	prompt "env dir"
	string
	default "barebox-defaultenv"
	depends on BAREBOX_EXTRA_ENV
	help
	  Directories and files to add to the builtin barebox environment.
	  Relative paths must be relative to the platformconfigdir.

config BAREBOX_BAREBOXENV
	prompt "install 'bareboxenv'"
	bool
	help
	  The tool 'bareboxenv' can be used to manipulate the barebox
	  environment. Enable this option access the barebox environment
	  from the target Linux system.

config BAREBOX_BAREBOXCRC32
	prompt "install 'bareboxcrc32'"
	bool
	help
	  The tool 'bareboxcrc32' can be used to calculate the crc32 of
	  files, with the same crc32 flavour that the barebox crc32
	  command uses.

config BAREBOX_KERNEL_INSTALL
	prompt "install 'kernel-install'"
	bool
	help
	  The tool 'kernel-install' can be used to install a kernel
	  according to the bootloader spec:
	  http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

config BAREBOX_BAREBOXIMD
	prompt "install 'bareboximd'"
	bool
	help
	  The tool 'bareboximd' can be used to extract metadata from
	  the (flashed) barebox image.

config BAREBOX_NEEDS_HOST_LIBUSB
	prompt "barebox needs libusb"
	bool

config BAREBOX_NEEDS_HOST_OPENSSL
	prompt "barebox needs openssl"
	bool

config BAREBOX_NEEDS_HOST_IMX_CST
	prompt "barebox needs imx-cst"
	bool
	help
	  The imx "CST" is the propretary "Code Signing Tool" by
	  freescale, that is needed to sign the bootloader with a
	  cryptographic signature. This part of freescale's high
	  assurance boot (HAB) scenario where only correctly signed
	  images can be started.
	  Barebox currently supports HABv4 for i.MX6 only.

	  This options does not do the signing, it just creates the
	  correct dependencies so that the proprieraty "cst" program
	  is installed before barebox is compiled. THe signing is done
	  in barebox and needs special configuration for your board.

config BAREBOX_NEEDS_HOST_LZOP
	prompt "barebox needs lzop"
	bool
	help
	  The barebox executable can be compressed. Select this if
	  lzop is used in order to compile lzop for your development
	  host.

endif