1config BR2_PACKAGE_HOST_UBOOT_TOOLS 2 bool "host u-boot tools" 3 help 4 Companion tools for Das U-Boot bootloader. 5 6 http://www.denx.de/wiki/U-Boot/WebHome 7 8if BR2_PACKAGE_HOST_UBOOT_TOOLS 9 10config BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT 11 bool "Flattened Image Tree (FIT) support" 12 select BR2_PACKAGE_HOST_DTC 13 help 14 Enables support for Flattened Image Tree (FIT). 15 16 This option allows to boot the new uImage structure, 17 Flattened Image Tree. FIT is formally a FDT, which can include 18 images of various types (kernel, FDT blob, ramdisk, etc.) 19 in a single blob. To boot this new uImage structure, 20 pass the address of the blob to the "bootm" command. 21 22if BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT 23 24config BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT 25 bool "FIT signature verification support" 26 help 27 Enables support for FIT Signature Verification. 28 29 Flat Image Trees (FIT) supports hashing of images so that 30 these hashes can be checked on loading. This protects 31 against corruption of the image. However it does not prevent 32 the substitution of one image for another. 33 34 The signature feature allows the hash to be signed with a 35 private key such that it can be verified using a public key 36 later. Provided that the private key is kept secret and the 37 public key is stored in a non-volatile place, any image can 38 be verified in this way. 39 40endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT 41 42config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE 43 bool "Environment image" 44 help 45 Generate a valid binary environment image from a text file 46 describing the key=value pairs of the environment. 47 48 This option can be useful to build enviornment configurations 49 as part of a Linux / rootfs only defconfig instead of using 50 post scripts. This supports a hardware use case of a single 51 bootloader only defconfig but multiple Linux / rootfs 52 defconfigs with different boot environments. 53 54 The environment image will be called uboot-env.bin. 55 56if BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE 57 58config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE 59 string "Source files for environment" 60 default BR2_TARGET_UBOOT_ENVIMAGE_SOURCE if BR2_TARGET_UBOOT_ENVIMAGE_SOURCE != "" # legacy 61 help 62 Text files describing the environment. Files should have 63 lines of the form var=value, one per line. Blank lines and 64 lines starting with a # are ignored. 65 66 Multiple source files are concatenated in the order listed. 67 68 Leave empty to generate image from compiled-in env if a U-boot 69 target build is configured (BR2_TARGET_UBOOT) 70 71config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE 72 string "Size of environment" 73 default BR2_TARGET_UBOOT_ENVIMAGE_SIZE if BR2_TARGET_UBOOT_ENVIMAGE_SIZE != "" # legacy 74 help 75 Size of envronment, can be prefixed with 0x for hexadecimal 76 values. 77 78config BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT 79 bool "Environment has two copies" 80 help 81 Some platforms define in their U-Boot configuration that the 82 U-Boot environment should be duplicated in two locations (for 83 extra safety). Check your U-Boot configuration for the 84 CONFIG_ENV_ADDR_REDUND and CONFIG_ENV_SIZE_REDUND settings to 85 see if this is the case for your platform. 86 87 If it is the case, then you should enable this option to 88 ensure that the U-Boot environment image generated by 89 Buildroot is compatible with the "redundant environment" 90 mechanism of U-Boot. 91 92endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE 93 94config BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT 95 bool "Generate a U-Boot boot script" 96 help 97 Generate a U-Boot boot script, given a file listing U-Boot 98 commands to be executed at boot time. The generated boot 99 script will be called 'boot.scr'. 100 101if BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT 102 103config BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE 104 string "U-Boot boot script source" 105 default BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE if BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE != "" # legacy 106 help 107 Source file to generate the U-Boot boot script. 108 109endif # BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT 110 111endif # BR2_PACKAGE_HOST_UBOOT_TOOLS 112