# Platform build configurations for Linaro EDK2 builds # ==================================================== # The configuration file format is extremely simplistic: # - Each platform has a short name. # - A platform entry starts by the short name held in square brackets, '[]' # - Within each entry, all options are described in a NAME=VALUE scheme, # with the name being whatever comes before the first '=' on the line, # and the value being everything that comes after it. # # Mandatory options: # - LONGNAME A more descriptive name of the platform. # - DSC Pointer to the EDK2 build description file. (The # pandaboard is excused, all other ports must have this.) # - ARCH String describing the architecture to build for. # Currently supported are AARCH32 and AARCH64. # - UEFI_BIN Name of executable image produced. # - UEFI_IMAGE_DIR Build output directory name, relative to 'Build'. # # Options for Trusted OS # Note that OP-TEE (https://github.com/OP-TEE/optee_os) is the only currently # supported Trusted OS # - BUILD_TOS Set to "yes" if the build should automatically build # Trusted OS, mainly for ARM Trusted Firmware. # If this is set, you must also set ATF_SPD! # Else we will not know which specific Trusted OS to # build. # Set to "debug" to create a debug build. # - TOS_PLATFORM Platform name for Trusted OS build, if # different from ARM Trusted Firmware platform # or UEFI platform name. # - TOS_PLATFORM_FLAVOR If a core platform has multiple flavors, specify which # flavor here. # # Options for ARM Trusted Firmware platforms # - BUILD_ATF Set to "yes" if the build should automatically build # ARM Trusted Firmware and a fip containing UEFI image. # Set to "debug" to create a debug build. # - ATF_PLATFORM Platform name for ARM Trusted Firmware build, if # different from UEFI platform name. # - SCP_BIN SCP image to pass to ARM Trusted Firmware. # - TOS_BIN Trusted OS image to pass to ARM Trusted Firmware. # - TOS_BIN_EXTRA1 First extra Trusted OS image # - TOS_BIN_EXTRA2 Second extra Trusted OS image # The path is relative to # $EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/. # To actually build the Trusted OS, you must also set # ATF_SPD. # - ATF_SPD Name of Secure Payload Dispatcher # To actually build the Trusted OS, you must also set # TOS_BIN. # # Optional options: # - BUILDFLAGS Any special flags you want to pass to the build command. # - ATF_BUILDFLAGS Any special flags you want to pass to the ARM Trusted # Firmware build command. # - TOS_BUILDFLAGS Any special flags you want to pass to the Trusted OS # build command. # - EXTRA_FILES Any additional files to be copied to output dir. # - PREBUILD_CMDS Any commands you want to execute before the build step. # - POSTBUILD_CMDS Any commands you want to execute after the build step. # - PACKAGES_PATH Additional directories to search for packages under. # - INF Point to a .inf (in addition to a .dsc) in order to # build a single component (standalone driver/app). # [juno] LONGNAME=aarch64 Juno DSC=Platform/ARM/JunoPkg/ArmJuno.dsc BUILDFLAGS= ARCH=AARCH64 BUILD_ATF=yes SCP_BIN=Platform/ARM/Juno/bl30.bin UEFI_BIN=BL33_AP_UEFI.fd UEFI_IMAGE_DIR=ArmJuno # ARM FVP BASE AEMv8-A model [fvp] LONGNAME=aarch64 FVP RTSM DSC=Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc BUILDFLAGS=-D EDK2_ENABLE_SMSC_91X=1 -D EDK2_ENABLE_PL111=1 ARCH=AARCH64 BUILD_ATF=yes UEFI_BIN=FVP_AARCH64_EFI.fd UEFI_IMAGE_DIR=ArmVExpress-FVP-AArch64 [tc2] LONGNAME=Versatile Express TC2 BUILDFLAGS=-D ARM_BIGLITTLE_TC2=1 DSC=Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc ARCH=ARM [overdrive] LONGNAME=AMD Overdrive DSC=Platform/AMD/OverdriveBoard/OverdriveBoard.dsc ARCH=AARCH64 [overdrive1000] LONGNAME=SoftIron Overdrive 1000 DSC=Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc ARCH=AARCH64 [cello] LONGNAME=LeMaker Cello DSC=Platform/LeMaker/CelloBoard/CelloBoard.dsc ARCH=AARCH64 [hikey] LONGNAME=HiKey DSC=Platform/Hisilicon/HiKey/HiKey.dsc ARCH=AARCH64 BUILD_ATF=yes UEFI_BIN=BL33_AP_UEFI.fd UEFI_IMAGE_DIR=HiKey SCP_BIN=Platform/Hisilicon/HiKey/mcuimage.bin ATF_SPD=opteed TOS_BIN=tee-header_v2.bin TOS_BIN_EXTRA1=tee-pager_v2.bin TOS_BIN_EXTRA2=tee-pageable_v2.bin TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes # Uncomment this to use UART0 as the EDK2 console #BUILDFLAGS=-DSERIAL_BASE=0xF8015000 # Uncomment this to use UART0 as the ARM Trusted Firmware console #ATF_BUILDFLAGS=CONSOLE_BASE=PL011_UART0_BASE CRASH_CONSOLE_BASE=PL011_UART0_BASE # Uncomment this to use UART0 as the OP-TEE Trusted OS console #TOS_BUILDFLAGS=CFG_CONSOLE_UART=0 [hikey960] LONGNAME=Hikey960 DSC=Platform/Hisilicon/HiKey960/HiKey960.dsc ARCH=AARCH64 UEFI_BIN=BL33_AP_UEFI.fd UEFI_IMAGE_DIR=HiKey960 BUILD_ATF=yes ATF_SPD=opteed TOS_BIN=tee-header_v2.bin TOS_BIN_EXTRA1=tee-pager_v2.bin TOS_BIN_EXTRA2=tee-pageable_v2.bin TOS_PLATFORM=hikey TOS_PLATFORM_FLAVOR=hikey960 BUILD_TOS=yes SCP_BIN=Platform/Hisilicon/HiKey960/lpm3.img # Uncomment this to use UART5 as the EDK2 console for v1 hardware #BUILDFLAGS=-DSERIAL_BASE=0xFDF05000 # Uncomment this to use UART5 as the OP-TEE Trusted OS console #TOS_BUILDFLAGS=CFG_CONSOLE_UART=5 [d02] LONGNAME=Hisilicon D02 DSC=Platform/Hisilicon/D02/Pv660D02.dsc ARCH=AARCH64 [d03] LONGNAME=Hisilicon D03 DSC=Platform/Hisilicon/D03/D03.dsc ARCH=AARCH64 [d05] LONGNAME=HiSilicon D05 DSC=Platform/Hisilicon/D05/D05.dsc ARCH=AARCH64 [armada70x0] LONGNAME=Marvell Armada 70x0 DSC=Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc ARCH=AARCH64 [chaoskey] LONGNAME=Altus Metrum ChaosKey RNG DSC=Silicon/Openmoko/Openmoko.dsc ARCH=AARCH64 [beagle] LONGNAME=Beagleboard (original) DSC=BeagleBoardPkg/BeagleBoardPkg.dsc ARCH=ARM [sni-box] LONGNAME=Socionext SynQuacer development box DSC=Platform/Socionext/DeveloperBox/DeveloperBox.dsc ARCH=AARCH64 [capsuleapp] LONGNAME=EDK2 Capsule Update application DSC=MdeModulePkg/MdeModulePkg.dsc INF=MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf ARCH=AARCH64 [androidboot] LONGNAME=Android Boot app DSC=EmbeddedPkg/EmbeddedPkg.dsc INF=EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf ARCH=AARCH64 [androidfastboot] LONGNAME=Android FastBoot app DSC=EmbeddedPkg/EmbeddedPkg.dsc INF=EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf ARCH=AARCH64 [armvirtqemu] LONGNAME=ArmVirtPkg QEMU DSC=ArmVirtPkg/ArmVirtQemu.dsc ARCH=ARM [armvirtqemu64] LONGNAME=ArmVirtPkg QEMU DSC=ArmVirtPkg/ArmVirtQemu.dsc ARCH=AARCH64 [helloworld] LONGNAME=EDK2 Hello World Example DSC=MdeModulePkg/MdeModulePkg.dsc INF=MdeModulePkg/Application/HelloWorld/HelloWorld.inf ARCH=AARCH64