John Stultz | accad87 | 2017-07-06 13:56:07 -0700 | [diff] [blame^] | 1 | # Platform build configurations for Linaro EDK2 builds |
| 2 | # ==================================================== |
| 3 | # The configuration file format is extremely simplistic: |
| 4 | # - Each platform has a short name. |
| 5 | # - A platform entry starts by the short name held in square brackets, '[]' |
| 6 | # - Within each entry, all options are described in a NAME=VALUE scheme, |
| 7 | # with the name being whatever comes before the first '=' on the line, |
| 8 | # and the value being everything that comes after it. |
| 9 | # |
| 10 | # Mandatory options: |
| 11 | # - LONGNAME A more descriptive name of the platform. |
| 12 | # - DSC Pointer to the EDK2 build description file. (The |
| 13 | # pandaboard is excused, all other ports must have this.) |
| 14 | # - ARCH String describing the architecture to build for. |
| 15 | # Currently supported are AARCH32 and AARCH64. |
| 16 | # - UEFI_BIN Name of executable image produced. |
| 17 | # - UEFI_IMAGE_DIR Build output directory name, relative to 'Build'. |
| 18 | # |
| 19 | # Options for Trusted OS |
| 20 | # Note that OP-TEE (https://github.com/OP-TEE/optee_os) is the only currently |
| 21 | # supported Trusted OS |
| 22 | # - BUILD_TOS Set to "yes" if the build should automatically build |
| 23 | # Trusted OS, mainly for ARM Trusted Firmware. |
| 24 | # If this is set, you must also set ATF_SPD! |
| 25 | # Else we will not know which specific Trusted OS to |
| 26 | # build. |
| 27 | # Set to "debug" to create a debug build. |
| 28 | # - TOS_PLATFORM Platform name for Trusted OS build, if |
| 29 | # different from ARM Trusted Firmware platform |
| 30 | # or UEFI platform name. |
| 31 | # - TOS_PLATFORM_FLAVOR If a core platform has multiple flavors, specify which |
| 32 | # flavor here. |
| 33 | # |
| 34 | # Options for ARM Trusted Firmware platforms |
| 35 | # - BUILD_ATF Set to "yes" if the build should automatically build |
| 36 | # ARM Trusted Firmware and a fip containing UEFI image. |
| 37 | # Set to "debug" to create a debug build. |
| 38 | # - ATF_PLATFORM Platform name for ARM Trusted Firmware build, if |
| 39 | # different from UEFI platform name. |
| 40 | # - SCP_BIN SCP image to pass to ARM Trusted Firmware. |
| 41 | # - TOS_BIN Trusted OS image to pass to ARM Trusted Firmware. |
| 42 | # The path is relative to |
| 43 | # $EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/. |
| 44 | # To actually build the Trusted OS, you must also set |
| 45 | # ATF_SPD. |
| 46 | # - ATF_SPD Name of Secure Payload Dispatcher |
| 47 | # To actually build the Trusted OS, you must also set |
| 48 | # TOS_BIN. |
| 49 | # |
| 50 | # Optional options: |
| 51 | # - BUILDFLAGS Any special flags you want to pass to the build command. |
| 52 | # - ATF_BUILDFLAGS Any special flags you want to pass to the ARM Trusted |
| 53 | # Firmware build command. |
| 54 | # - TOS_BUILDFLAGS Any special flags you want to pass to the Trusted OS |
| 55 | # build command. |
| 56 | # - EXTRA_FILES Any additional files to be copied to output dir. |
| 57 | # - PREBUILD_CMDS Any commands you want to execute before the build step. |
| 58 | # - POSTBUILD_CMDS Any commands you want to execute after the build step. |
| 59 | # - PACKAGES_PATH Additional directories to search for packages under. |
| 60 | # - INF Point to a .inf (in addition to a .dsc) in order to |
| 61 | # build a single component (standalone driver/app). |
| 62 | # |
| 63 | |
| 64 | [juno] |
| 65 | LONGNAME=aarch64 Juno |
| 66 | DSC=Platform/ARM/JunoPkg/ArmJuno.dsc |
| 67 | BUILDFLAGS= |
| 68 | ARCH=AARCH64 |
| 69 | BUILD_ATF=yes |
| 70 | SCP_BIN=Platform/ARM/Juno/bl30.bin |
| 71 | UEFI_BIN=BL33_AP_UEFI.fd |
| 72 | UEFI_IMAGE_DIR=ArmJuno |
| 73 | |
| 74 | # ARM FVP BASE AEMv8-A model |
| 75 | [fvp] |
| 76 | LONGNAME=aarch64 FVP RTSM |
| 77 | DSC=Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc |
| 78 | BUILDFLAGS=-D EDK2_ENABLE_SMSC_91X=1 -D EDK2_ENABLE_PL111=1 |
| 79 | ARCH=AARCH64 |
| 80 | BUILD_ATF=yes |
| 81 | UEFI_BIN=FVP_AARCH64_EFI.fd |
| 82 | UEFI_IMAGE_DIR=ArmVExpress-FVP-AArch64 |
| 83 | |
| 84 | [tc2] |
| 85 | LONGNAME=Versatile Express TC2 |
| 86 | BUILDFLAGS=-D ARM_BIGLITTLE_TC2=1 |
| 87 | DSC=Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc |
| 88 | ARCH=ARM |
| 89 | |
| 90 | [overdrive] |
| 91 | LONGNAME=AMD Overdrive |
| 92 | DSC=Platform/AMD/OverdriveBoard/OverdriveBoard.dsc |
| 93 | ARCH=AARCH64 |
| 94 | |
| 95 | [overdrive1000] |
| 96 | LONGNAME=SoftIron Overdrive 1000 |
| 97 | DSC=Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc |
| 98 | ARCH=AARCH64 |
| 99 | |
| 100 | [cello] |
| 101 | LONGNAME=LeMaker Cello |
| 102 | DSC=Platform/LeMaker/CelloBoard/CelloBoard.dsc |
| 103 | ARCH=AARCH64 |
| 104 | |
| 105 | [hikey] |
| 106 | LONGNAME=HiKey |
| 107 | DSC=Platform/Hisilicon/HiKey/HiKey.dsc |
| 108 | ARCH=AARCH64 |
| 109 | |
| 110 | [d02] |
| 111 | LONGNAME=Hisilicon D02 |
| 112 | DSC=Platform/Hisilicon/D02/Pv660D02.dsc |
| 113 | ARCH=AARCH64 |
| 114 | |
| 115 | [d03] |
| 116 | LONGNAME=Hisilicon D03 |
| 117 | DSC=Platform/Hisilicon/D03/D03.dsc |
| 118 | ARCH=AARCH64 |
| 119 | |
| 120 | [d05] |
| 121 | LONGNAME=HiSilicon D05 |
| 122 | DSC=Platform/Hisilicon/D05/D05.dsc |
| 123 | ARCH=AARCH64 |
| 124 | |
| 125 | [armada70x0] |
| 126 | LONGNAME=Marvell Armada 70x0 |
| 127 | DSC=Platform/Marvell/Armada/Armada70x0.dsc |
| 128 | ARCH=AARCH64 |
| 129 | |
| 130 | [chaoskey] |
| 131 | LONGNAME=Altus Metrum ChaosKey RNG |
| 132 | DSC=Silicon/Openmoko/Openmoko.dsc |
| 133 | ARCH=AARCH64 |
| 134 | |
| 135 | [beagle] |
| 136 | LONGNAME=Beagleboard (original) |
| 137 | DSC=BeagleBoardPkg/BeagleBoardPkg.dsc |
| 138 | ARCH=ARM |