summaryrefslogtreecommitdiffstats
path: root/platforms/u-boot.in
blob: e63830171b15fbe791d0223ba3a099967b601709 (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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
## SECTION=bootloader

menuconfig U_BOOT
	select BOOTLOADER
	prompt "U-Boot                        "
	bool

if U_BOOT

config U_BOOT_VERSION
	string
	default 2019.01
	prompt "U-Boot version"
	help
	  Enter the U-Boot version you want to build. Usually something like
	  "2019.01".

config U_BOOT_MD5
	string
	prompt "U-Boot source md5"

config U_BOOT_SERIES
	prompt "patch series file"
	string
	default "series"
	help
	  This entry specifies a patch series file which has to live in
	  the u-boot patches directory. This way you can set a different
	  series file than the default.

choice
	prompt "config system"
	default U_BOOT_CONFIGSYSTEM_LEGACY

config U_BOOT_CONFIGSYSTEM_KCONFIG
	prompt "Kconfig"
	bool
	help
	  U-Boot from version 2014.10 uses Kconfig for configuring a target.
	  Use this if you want to configure U-Boot inside the BSP, e.g.
	  with menuconfig.
	  
	  NOTE: if you just want to use a defconfig, you can still use the
	  legacy config system by using the name of a defconfig file from
	  the "configs" folder as config target.

config U_BOOT_CONFIGSYSTEM_LEGACY
	prompt "legacy"
	bool
	help
	  Select this if you use an old U-Boot prior 2014.10 or want to use
	  a defconfig as config target.

endchoice

if U_BOOT_CONFIGSYSTEM_KCONFIG

config U_BOOT_CONFIGFILE_KCONFIG
	prompt "config file"
	string
	default "u-boot.config"
	help
	  This entry specifies the .config file used to compile U-Boot.

endif

if U_BOOT_CONFIGSYSTEM_LEGACY

config U_BOOT_CONFIG
	prompt "U-Boot config target"
	string
	help
	  The U-Boot make config target. Usually something like
	  "yourbox_config". Before U-Boot 2014.10 that was something from
	  the file "boards.cfg". With version 2014.10 U-Boot switched to
	  Kconfig based build and configuration, and from there you could
	  use some defconfig name as config target, e.g.
	  "yourbox_defconfig", where that name is a file from the folder
	  "configs".

endif

comment "target install"

config U_BOOT_INSTALL_SREC
	prompt "install u-boot.srec"
	bool
	help
	  Installing the U-Boot srec hexfile into platform image directory.

config U_BOOT_INSTALL_ELF
	prompt "install u-boot.elf"
	bool
	help
	  Installing the U-Boot ELF binary into platform image directory.

config U_BOOT_INSTALL_SPL
	prompt "install SPL"
	bool
	help
	  Installing the U-Boot SPL (Secondary Program Loader) binary into
	  platform image directory.

config U_BOOT_INSTALL_MLO
	prompt "install MLO"
	bool
	depends on !X_LOAD
	help
	  Installing the U-Boot SPL ("MLO") binary needed for OMAP CPUs into platform
	  image directory.

if U_BOOT_INSTALL_MLO || U_BOOT_INSTALL_SPL

config U_BOOT_INSTALL_U_BOOT_IMG
	prompt "install u-boot.img"
	bool
	help
	  Installing the U-Boot image with header ("u-boot.img") which is executed
	  by U-Boot SPL into platform image directory.

endif

config U_BOOT_INSTALL_U_BOOT_IMX
	prompt "install u-boot.imx"
	bool
	help
	  Installing the U-Boot image with imx header (u-boot.imx) into platform 
	  image directory. Say yes if you are building for freescale i.MX SOCs
	  and are not using SPL.

config U_BOOT_INSTALL_U_BOOT_DTB
	prompt "install u-boot-dtb.bin"
	bool
	help
	  Installing the U-Boot binary concatenated with the device tree
	  into platform image directory.

config U_BOOT_INSTALL_U_BOOT_WITH_SPL_PBL
	prompt "install u-boot-with-spl-pbl.bin"
	bool
	help
	  Installing the U-Boot binary which contains as well the SPL and PBL.
	  Say yes if you are building for Layerscape SoCs

endif