## 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" 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 config U_BOOT_BOOT_SCRIPT prompt "Compile U-Boot boot script" bool help Use U-Boot's mkimage to compile a U-Boot boot script and install it into the rootfs if U_BOOT_BOOT_SCRIPT config U_BOOT_BOOT_SCRIPT_ROOTFS_PATH string default "/boot/boot.scr.uimg" prompt "Installation path" help Target rootfs path where the U-Boot script should be located 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_IMX prompt "install u-boot-dtb.imx" bool help Installing the U-Boot image with device tree support and imx header (u-boot-dtb.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