2011-09-18 22:09:42 +02:00
|
|
|
config BR2_TARGET_UBOOT
|
2010-06-12 12:42:49 +02:00
|
|
|
bool "U-Boot"
|
2008-03-11 19:26:07 +01:00
|
|
|
help
|
|
|
|
Build "Das U-Boot" Boot Monitor
|
|
|
|
|
2009-01-02 12:18:09 +01:00
|
|
|
if BR2_TARGET_UBOOT
|
2009-01-03 01:02:07 +01:00
|
|
|
config BR2_TARGET_UBOOT_BOARDNAME
|
2010-06-12 12:42:49 +02:00
|
|
|
string "U-Boot board name"
|
2009-01-03 01:02:07 +01:00
|
|
|
help
|
|
|
|
One of U-Boot supported boards to be built.
|
|
|
|
This will be suffixed with _config to meet U-Boot standard naming.
|
|
|
|
|
2009-01-02 12:18:09 +01:00
|
|
|
choice
|
|
|
|
prompt "U-Boot Version"
|
2012-04-22 03:39:18 +02:00
|
|
|
default BR2_TARGET_UBOOT_2012_04
|
2009-01-02 12:18:09 +01:00
|
|
|
help
|
2009-01-08 15:58:51 +01:00
|
|
|
Select the specific U-Boot version you want to use
|
|
|
|
|
2012-04-22 03:39:18 +02:00
|
|
|
config BR2_TARGET_UBOOT_2012_04
|
2012-04-27 07:05:09 +02:00
|
|
|
bool "2012.04.01"
|
2012-04-22 03:39:18 +02:00
|
|
|
|
2011-12-30 16:02:17 +01:00
|
|
|
config BR2_TARGET_UBOOT_2011_12
|
|
|
|
bool "2011.12"
|
|
|
|
|
2011-12-01 16:04:57 +01:00
|
|
|
config BR2_TARGET_UBOOT_2011_09
|
|
|
|
bool "2011.09"
|
|
|
|
|
2011-07-11 22:46:17 +02:00
|
|
|
config BR2_TARGET_UBOOT_2011_06
|
|
|
|
bool "2011.06"
|
2012-01-02 17:00:34 +01:00
|
|
|
depends on BR2_DEPRECATED
|
2011-07-11 22:46:17 +02:00
|
|
|
|
2011-04-08 16:46:23 +02:00
|
|
|
config BR2_TARGET_UBOOT_2011_03
|
|
|
|
bool "2011.03"
|
2012-01-02 17:00:34 +01:00
|
|
|
depends on BR2_DEPRECATED
|
2010-07-05 16:54:45 +02:00
|
|
|
|
2010-06-12 13:18:04 +02:00
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
|
|
|
bool "Custom tarball"
|
|
|
|
|
2011-07-11 22:46:12 +02:00
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_GIT
|
|
|
|
bool "Custom Git repository"
|
|
|
|
|
2009-01-02 12:18:09 +01:00
|
|
|
endchoice
|
|
|
|
|
2010-06-12 13:18:04 +02:00
|
|
|
if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
|
|
|
|
string "URL of custom U-Boot tarball"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2010-06-12 13:24:49 +02:00
|
|
|
config BR2_TARGET_UBOOT_VERSION
|
2009-01-02 12:18:09 +01:00
|
|
|
string
|
2012-04-27 07:05:09 +02:00
|
|
|
default "2012.04.01" if BR2_TARGET_UBOOT_2012_04
|
2011-12-30 16:02:17 +01:00
|
|
|
default "2011.12" if BR2_TARGET_UBOOT_2011_12
|
2011-12-01 16:04:57 +01:00
|
|
|
default "2011.09" if BR2_TARGET_UBOOT_2011_09
|
2011-07-11 22:46:17 +02:00
|
|
|
default "2011.06" if BR2_TARGET_UBOOT_2011_06
|
2011-04-08 16:46:23 +02:00
|
|
|
default "2011.03" if BR2_TARGET_UBOOT_2011_03
|
2010-06-12 13:18:04 +02:00
|
|
|
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
2011-07-11 22:46:12 +02:00
|
|
|
default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
|
2009-01-02 12:18:09 +01:00
|
|
|
|
2010-03-15 23:25:53 +01:00
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
|
|
|
string "custom patch dir"
|
2008-03-11 19:26:07 +01:00
|
|
|
help
|
2010-03-15 23:25:53 +01:00
|
|
|
If your board requires custom patches, add the path to the
|
|
|
|
directory containing the patches here. The patches must be
|
2011-11-19 19:56:50 +01:00
|
|
|
named uboot-<version>-<something>.patch.
|
2010-03-15 23:25:53 +01:00
|
|
|
|
2008-03-11 19:26:07 +01:00
|
|
|
Most users may leave this empty
|
|
|
|
|
2011-07-11 22:46:12 +02:00
|
|
|
if BR2_TARGET_UBOOT_CUSTOM_GIT
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
|
|
|
|
string "URL of custom Git repository"
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
|
|
|
|
string "Custom Git version"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2010-07-26 16:14:41 +02:00
|
|
|
choice
|
|
|
|
prompt "U-Boot binary format"
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_FORMAT_BIN
|
|
|
|
bool "u-boot.bin"
|
|
|
|
|
2012-03-18 23:04:51 +01:00
|
|
|
config BR2_TARGET_UBOOT_FORMAT_IMG
|
|
|
|
bool "u-boot.img"
|
|
|
|
|
2011-12-01 16:04:58 +01:00
|
|
|
config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
|
|
|
|
bool "u-boot-nand.bin"
|
|
|
|
|
2010-07-26 16:14:41 +02:00
|
|
|
config BR2_TARGET_UBOOT_FORMAT_KWB
|
|
|
|
depends on BR2_arm
|
|
|
|
bool "u-boot.kwb (Marvell)"
|
|
|
|
|
2011-02-07 06:49:11 +01:00
|
|
|
config BR2_TARGET_UBOOT_FORMAT_LDR
|
|
|
|
depends on BR2_bfin
|
|
|
|
bool "u-boot.ldr"
|
|
|
|
|
2010-07-26 16:14:41 +02:00
|
|
|
endchoice
|
|
|
|
|
2012-05-17 12:11:31 +02:00
|
|
|
config BR2_TARGET_UBOOT_OMAP_IFT
|
|
|
|
depends on BR2_TARGET_UBOOT_FORMAT_BIN
|
|
|
|
depends on BR2_arm || BR2_armeb
|
|
|
|
select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS
|
|
|
|
bool "produce a .ift signed image (OMAP)"
|
|
|
|
help
|
|
|
|
Use gpsign to produce an image of u-boot.bin signed with
|
|
|
|
a Configuration Header for booting on OMAP processors.
|
|
|
|
This allows U-Boot to boot without the need for an
|
|
|
|
intermediate bootloader (e.g. x-loader) if it is written
|
|
|
|
on the first sector of the boot medium.
|
|
|
|
This only works for some media, such as NAND. Check your
|
|
|
|
chip documentation for details. You might also want to
|
|
|
|
read the documentation of gpsign, the tool that generates
|
|
|
|
the .ift image, at:
|
|
|
|
https://github.com/nmenon/omap-u-boot-utils/blob/master/README
|
|
|
|
|
|
|
|
if BR2_TARGET_UBOOT_OMAP_IFT
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
|
|
|
|
string "gpsign Configuration Header config file"
|
|
|
|
help
|
|
|
|
The Configuration Header (CH) config file defines the
|
|
|
|
desired content of the CH for the signed image.
|
|
|
|
It usually contains external RAM settings and
|
|
|
|
possibly other external devices initialization.
|
|
|
|
The omap-u-boot-utils software contains example
|
|
|
|
configuration files for some boards:
|
|
|
|
https://github.com/nmenon/omap-u-boot-utils/tree/master/configs
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2009-01-03 01:02:07 +01:00
|
|
|
menuconfig BR2_TARGET_UBOOT_NETWORK
|
2011-09-18 22:12:34 +02:00
|
|
|
bool "Custom Network Settings"
|
2009-01-03 01:02:07 +01:00
|
|
|
help
|
2011-09-18 22:12:34 +02:00
|
|
|
Custom network settings for U-boot
|
2009-01-03 01:02:07 +01:00
|
|
|
|
|
|
|
if BR2_TARGET_UBOOT_NETWORK
|
|
|
|
|
2008-03-11 19:26:07 +01:00
|
|
|
config BR2_TARGET_UBOOT_SERVERIP
|
|
|
|
string "server ip"
|
|
|
|
default "10.175.196.221"
|
|
|
|
help
|
|
|
|
TFTP server ip address
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_IPADDR
|
|
|
|
string "ip address"
|
|
|
|
default "10.175.196.18"
|
|
|
|
help
|
|
|
|
Target ip address
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_GATEWAY
|
|
|
|
string "gateway ip"
|
|
|
|
default "10.175.196.1"
|
|
|
|
help
|
|
|
|
Gateway ip address
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_NETMASK
|
|
|
|
string "netmask"
|
|
|
|
default "255.255.255.0"
|
|
|
|
help
|
|
|
|
Network Mask
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_ETHADDR
|
|
|
|
string "ethernet address"
|
|
|
|
default "04:25:fe:ed:00:18"
|
|
|
|
help
|
|
|
|
Target MAC address for the ethernet interface.
|
|
|
|
This should be changed for production units
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_ETH1ADDR
|
|
|
|
string "ethernet 2 address"
|
|
|
|
help
|
|
|
|
Target MAC address for the second ethernet interface.
|
|
|
|
|
2009-01-08 15:58:54 +01:00
|
|
|
endif # BR2_TARGET_UBOOT_NETWORK
|
|
|
|
|
2012-03-18 23:04:50 +01:00
|
|
|
config BR2_TARGET_UBOOT_SPL
|
|
|
|
bool "U-Boot SPL support"
|
|
|
|
depends on !BR2_TARGET_XLOADER
|
|
|
|
help
|
|
|
|
Enable the U-Boot SPL support. SPL is a first stage
|
|
|
|
bootloader loaded into internal memory in charge of
|
|
|
|
enabling and configuring the external memory (DDR),
|
|
|
|
and load the u-boot program into DDR.
|
|
|
|
|
|
|
|
config BR2_TARGET_UBOOT_SPL_NAME
|
|
|
|
string "U-Boot SPL target name"
|
|
|
|
default "u-boot-spl.bin"
|
|
|
|
depends on BR2_TARGET_UBOOT_SPL
|
|
|
|
help
|
|
|
|
This is the name of the SPL binary, generated during
|
|
|
|
u-boot build. For most platform it is u-boot-spl.bin
|
|
|
|
but not always. It is MLO on OMAP for example.
|
|
|
|
|
2009-01-08 15:58:54 +01:00
|
|
|
endif # BR2_TARGET_UBOOT
|