1 config BR2_TARGET_UBOOT
4 Build "Das U-Boot" Boot Monitor
7 config BR2_TARGET_UBOOT_BOARDNAME
8 string "U-Boot board name"
10 One of U-Boot supported boards to be built.
11 This will be suffixed with _config to meet U-Boot standard naming.
12 See boards.cfg in U-Boot source code for the list of available
16 prompt "U-Boot Version"
18 Select the specific U-Boot version you want to use
20 config BR2_TARGET_UBOOT_LATEST_VERSION
23 config BR2_TARGET_UBOOT_CUSTOM_VERSION
26 This option allows to use a specific official versions
28 config BR2_TARGET_UBOOT_CUSTOM_TARBALL
31 config BR2_TARGET_UBOOT_CUSTOM_GIT
32 bool "Custom Git repository"
34 config BR2_TARGET_UBOOT_CUSTOM_HG
35 bool "Custom Mercurial repository"
39 config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
40 string "U-Boot version"
41 depends on BR2_TARGET_UBOOT_CUSTOM_VERSION
43 config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
44 string "URL of custom U-Boot tarball"
45 depends on BR2_TARGET_UBOOT_CUSTOM_TARBALL
47 if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
49 config BR2_TARGET_UBOOT_CUSTOM_REPO_URL
50 string "URL of custom repository"
51 default BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL \
52 if BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL != "" # legacy
54 config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION
55 string "Custom repository version"
56 default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION \
57 if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != "" # legacy
59 Revision to use in the typical format used by Git/Mercurial
60 E.G. a sha id, a tag, branch, ..
64 config BR2_TARGET_UBOOT_VERSION
66 default "2015.04" if BR2_TARGET_UBOOT_LATEST_VERSION
67 default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
68 if BR2_TARGET_UBOOT_CUSTOM_VERSION
69 default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
70 default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
71 if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
73 config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
74 string "custom patch dir"
75 depends on BR2_DEPRECATED_SINCE_2015_05
77 If your board requires custom patches, add the path to the
78 directory containing the patches here. The patches must be
79 named uboot-<something>.patch.
81 Most users may leave this empty
83 NOTE: Use BR2_TARGET_UBOOT_PATCH instead.
85 config BR2_TARGET_UBOOT_PATCH
86 string "Custom U-Boot patches"
88 A space-separated list of patches to apply to U-Boot.
89 Each patch can be described as an URL, a local file path,
90 or a directory. In the case of a directory, all files
91 matching *.patch in the directory will be applied.
93 Most users may leave this empty
96 prompt "U-Boot binary format"
97 default BR2_TARGET_UBOOT_FORMAT_BIN
99 config BR2_TARGET_UBOOT_FORMAT_AIS
102 AIS (Application Image Script) is a format defined by TI.
103 It is required to load code/data on OMAP-L1 processors.
104 u-boot.ais contains U-Boot with the SPL support.
106 config BR2_TARGET_UBOOT_FORMAT_BIN
109 config BR2_TARGET_UBOOT_FORMAT_IMG
112 config BR2_TARGET_UBOOT_FORMAT_IMX
115 config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
116 bool "u-boot-nand.bin"
118 config BR2_TARGET_UBOOT_FORMAT_KWB
120 bool "u-boot.kwb (Marvell)"
122 config BR2_TARGET_UBOOT_FORMAT_LDR
126 config BR2_TARGET_UBOOT_FORMAT_ELF
129 config BR2_TARGET_UBOOT_FORMAT_SB
133 config BR2_TARGET_UBOOT_FORMAT_SD
137 This is Freescale i.MX28 SB format, with a header for booting
140 U-boot includes an mxsboot tool to generate this format,
141 starting from 2011.12.
143 See doc/README.mxs (or doc/README.mx28_common before 2013.07)
145 config BR2_TARGET_UBOOT_FORMAT_CUSTOM
146 bool "Custom (specify below)"
148 On some platforms, the standard U-Boot binary is not called
149 u-boot.bin, but u-boot<something>.bin. If this is your case,
150 you should select this option and specify the correct name
151 in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME.
155 config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME
156 string "U-Boot binary format: custom name"
157 depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM
159 Specify the correct name of the output binary created by
160 U-Boot, if it is not one of the default names. For example:
163 config BR2_TARGET_UBOOT_OMAP_IFT
164 depends on BR2_TARGET_UBOOT_FORMAT_BIN
165 depends on BR2_arm || BR2_armeb
166 select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
167 bool "produce a .ift signed image (OMAP)"
169 Use gpsign to produce an image of u-boot.bin signed with
170 a Configuration Header for booting on OMAP processors.
171 This allows U-Boot to boot without the need for an
172 intermediate bootloader (e.g. x-loader) if it is written
173 on the first sector of the boot medium.
174 This only works for some media, such as NAND. Check your
175 chip documentation for details. You might also want to
176 read the documentation of gpsign, the tool that generates
178 https://github.com/nmenon/omap-u-boot-utils/blob/master/README
180 if BR2_TARGET_UBOOT_OMAP_IFT
182 config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
183 string "gpsign Configuration Header config file"
185 The Configuration Header (CH) config file defines the
186 desired content of the CH for the signed image.
187 It usually contains external RAM settings and
188 possibly other external devices initialization.
189 The omap-u-boot-utils software contains example
190 configuration files for some boards:
191 https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
195 menuconfig BR2_TARGET_UBOOT_NETWORK
196 bool "Custom Network Settings"
197 depends on BR2_DEPRECATED_SINCE_2014_05
199 Custom network settings for U-boot
201 if BR2_TARGET_UBOOT_NETWORK
203 config BR2_TARGET_UBOOT_SERVERIP
205 default "10.175.196.221"
207 TFTP server ip address
209 config BR2_TARGET_UBOOT_IPADDR
211 default "10.175.196.18"
215 config BR2_TARGET_UBOOT_GATEWAY
217 default "10.175.196.1"
221 config BR2_TARGET_UBOOT_NETMASK
223 default "255.255.255.0"
227 config BR2_TARGET_UBOOT_ETHADDR
228 string "ethernet address"
229 default "04:25:fe:ed:00:18"
231 Target MAC address for the ethernet interface.
232 This should be changed for production units
234 config BR2_TARGET_UBOOT_ETH1ADDR
235 string "ethernet 2 address"
237 Target MAC address for the second ethernet interface.
239 endif # BR2_TARGET_UBOOT_NETWORK
241 config BR2_TARGET_UBOOT_SPL
242 bool "Install U-Boot SPL binary image"
243 depends on !BR2_TARGET_XLOADER
245 Install the U-Boot SPL binary image to the images
247 SPL is a first stage bootloader loaded into internal
248 memory in charge of enabling and configuring the
249 external memory (DDR), and load the u-boot program
252 config BR2_TARGET_UBOOT_SPL_NAME
253 string "U-Boot SPL binary image name"
254 default "spl/u-boot-spl.bin"
255 depends on BR2_TARGET_UBOOT_SPL
257 This is the name of the SPL binary, generated during
258 u-boot build. For most platform it is spl/u-boot-spl.bin
259 but not always. It is MLO on OMAP for example.
261 menuconfig BR2_TARGET_UBOOT_ENVIMAGE
262 bool "Environment image"
264 Generate a valid binary environment image from a text file
265 describing the key=value pairs of the environment.
267 The environment image will be called uboot-env.bin.
269 if BR2_TARGET_UBOOT_ENVIMAGE
271 config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
272 string "Source file for environment"
274 Text file describing the environment.
276 config BR2_TARGET_UBOOT_ENVIMAGE_SIZE
277 string "Size of environment"
279 Size of envronment, can be prefixed with 0x for hexadecimal
282 config BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT
283 bool "Environment has two copies"
285 Some platforms define in their U-Boot configuration that the
286 U-Boot environment should be duplicated in two locations (for
287 extra safety). Check your U-Boot configuration for the
288 CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND settings to
289 see if this is the case for your platform.
291 If it is the case, then you should enable this option to
292 ensure that the U-Boot environment image generated by
293 Buildroot is compatible with the "redundant environment"
296 endif # BR2_TARGET_UBOOT_ENVIMAGE
298 endif # BR2_TARGET_UBOOT