summaryrefslogtreecommitdiffstats
path: root/platforms/barebox.in
blob: 9364e78473c7b0910433d0597808d4b63ea65c69 (plain)
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
## SECTION=bootloader

config BAREBOX_ARCH_STRING
	string
	default "arm"			if ARCH_ARM
	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
	prompt "barebox                       "
	bool
	help
	  The famous bootloader formerly known as U-Boot V2.

if BAREBOX

config BAREBOX_VERSION
	prompt "barebox version"
	string
	default "2014.01.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 "${PTXDIST_PLATFORMCONFIGDIR}/barebox-defaultenv"
	depends on BAREBOX_EXTRA_ENV

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_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.

endif