summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-23Merge branch 'linaro-platform-juno' into integrationintegration/14.10integrationRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Conflicts: ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
2014-10-23Merge branch 'linaro-platform-fvp' into integrationRyan Harkin
2014-10-23Merge branch 'linaro-platform-rtsm' into integrationRyan Harkin
2014-10-23Merge branch 'linaro-platform-tc2' into integrationRyan Harkin
2014-10-23Merge branch 'linaro-platform-tc1' into integrationRyan Harkin
2014-10-23Merge branch 'linaro-platform-a9' into integrationRyan Harkin
2014-10-23TC1: Add Versatile Express CTA15x2 BSPRyan Harkin
Add the BSP for the Versatile Express CTA15x2 TC1 Core Tile Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2014-10-23VEA5: Add Versatile Express CTA5s BSPlinaro-platform-a5/14.10Ryan Harkin
Add the BSP for the Versatile Express CTA5s Core Tile Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22ArmPlatformPkg/Bds: Reduce boot device entrieslinaro-platform-juno/14.10linaro-platform-junoHarry Liebel
If a storage device is used for Variable storage or access is provided by the Simple Filesystem Protocol do not list it again for RAW memory map access in the 'Add Boot device' menu. Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Change-Id: I47b8e32d1f4b21d7c8701f646870643b5fb86716
2014-10-22ArmPkg/ArmLib/AArch64: Initialize the new N+1-level page table before ↵Olivier Martin
registering it Prior to this change, when a new page table was created at level N+1, the reference to the table was added to the level N translation table, before being initialized. It means if virtual addresses were in the address range defined by this new table the CPU would crash as the address range was not initialized. Change-Id: Iff02afe0dfd7d296bac803bc07deef8552ed392f
2014-10-22MdeModulePkg/EhciDxe: Do not process a same URB twiceOlivier Martin
After changing the USB stack to make it synchronous at initialization, we were checking if there was a pending interrupt when the USB interrupt was initialized for a specific device. At the first enumeration, all the connected USB devices are initialized. USB device drivers initialize their USB interrupt and process the completed URBs. There was no way to check if a URB was in process because before there was a single periodic task to process these URBs. Note: this change is only required when using the temporary hack to make the USB stack synchronous. Change-Id: I4c56bec2079c3ad5280e4cf4b0094337c6a7a41d
2014-10-22BootMonFs: Fix error codes returned by Open() and Read()Ronald Cron
Change-Id: I245a4d219d4cfed0138ba52b4250e23e4903ae7e
2014-10-22ArmPkg/UncachedMemoryAllocationLib: Track uncached memory allocationsOlivier Martin
Keeping track of uncached memory allocations prevents doing expensive cache operations (eg: clean & invalidate) on newly allocated regions by reusing regions where possible Change-Id: I5b0e2058aa41720590ccdf638c0d65046ecbbae3
2014-10-22ArmPkg/ArmPsciResetSystemLib: Made the library only using SMCOlivier Martin
Only ArmVirtualizationPkg based platforms are expected to use the dynamic method to choose between SMC and HVC to invoke PSCI. Change-Id: I6f2578fb238bdcb6b4f02d0aba358f5ccf6a7434
2014-10-22MdeModulePkg/Usb: Force the USB initialization to be synchronousOlivier Martin
The USB stack uses BS.SignalEvent and Timer event to initialize the USB stack. It means a USB device initialization might not be completed when returning from BS.ConnectController(). This behaviour is not compliant with the UEFI spec. This change is only a _temporary hack_ as it forces the enumeration of the entire USB bus when the USB Root Hub is initialized which makes this solution non optimal. Change-Id: I7d569f0cff9bd7780f9949a6cad93fd1eb669f5b
2014-10-22ShellBinPkg: Updated ARM Shell BinariesOlivier Martin
Change-Id: I6768fb1c0098110cac9d14a4c2880b3510b3eda1
2014-10-22BaseTools/tools_def.template: Fixed ACPI flags for ARMGCC and ARMLINUXGCCOlivier Martin
Change-Id: I81dcff44324b27ebb6693e1009f67820045fe127
2014-10-22BaseTools/tools_def.template: Add the PLATFORM_FLAGS to the ARM GCC48 ↵Olivier Martin
ASLPP_FLAGS Some platforms might want to add platform specific flags at the preprocessor stage. It is better if the same platform specific flags are propagated accross the different preprocessor stages. Change-Id: Iae7be8c0bcaea0b90cbe9829957cf9e2f4082f33
2014-10-22ArmPlatformPkg/ArmJunoPkg/AcpiTables: Updated with new ACPI 5.1 Tables & ↵Olivier Martin
Definitions Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Graeme Gregory <graeme.gregory@linaro.org> Change-Id: I4cdd9ee135535e73ebc2ae71d7b6210545653477
2014-10-22EmbeddedPkg/AcpiLib.h: Added some helper macros for ACPI 5.1Olivier Martin
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Graeme Gregory <graeme.gregory@linaro.org> Change-Id: I25f5212e6cae0dab8a4b75ab93e0d53821ee040e
2014-10-22ArmPlatformPkg/ArmJunoPkg: Added the ACPI 5.0 TablesOlivier Martin
These tables are: - Differentiated System Description Table Fields (DSDT) - Firmware ACPI Control Structure (FACS) - Fixed ACPI Description Table (FADT) - Generic Timer Description Table (GTDT) - Multiple APIC Description Table (MADT) - Secondary System Description Table Fields (SSDT) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Graeme Gregory <graeme.gregory@linaro.org> Change-Id: Ic83483fb2b1c5ebf070d01903a26a7ceba3efe83
2014-10-22ArmPlatformPkg/ArmJunoPkg: Added ACPI supportOlivier Martin
This support makes the Juno UEFI Firmware to look into the Firmware Volume for the ACPI Tables. But it does not provide the ACPI Tables. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Graeme Gregory <graeme.gregory@linaro.org> Change-Id: I7d6ec0efb0e27e217ae93a9b343eb67464482bc5
2014-10-22EmbeddedPkg: Introduced AcpiLibOlivier Martin
AcpiLib is a library to help working with ACPI Tables. In this initial implementation, the library provides: - a helper function to locate and install the ACPI Tables within a Firmware Volume - Some helper macros to initialize some ACPI structures Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Graeme Gregory <graeme.gregory@linaro.org> Change-Id: Ie2d4a579ad725025db2b4b3fac26810f1b2e6d52
2014-10-22ArmPlatformPkg: Added Juno platformOlivier Martin
Change-Id: I11176b5e6730cc7aab535affa91237d47c144803
2014-10-22ShellPkg: Increase PcdShellFileOperationSizeBrendan Jackman
This improves performance for dumb filesystem drivers Change-Id: Ic2fb664555f4d73941b0ab261af93246d8b1e6c1
2014-10-22ShellPkg/ShellProtocol.c: Execute: Don't load a new image unless necessaryBrendan Jackman
When the Environment argument to Execute is NULL, we shouldn't create a child instance of the shell. It's slow and uses masses of memory. Also it may break the claim that changes to the shell environment instigated by the Execute()d command are persistent. Change-Id: I3b177e951018098a3e7ec885d38659ecf48879f5
2014-10-22ArmPlatformPkg/ArmVExpressPkg: Add support for FV filesystems to ARM platformsBrendan Jackman
Change-Id: I8b3cbb26517ef283af07820a550862a5cb68d41f
2014-10-22MdeModulePkg: Implement EFI_FILE_PROTOCOL over Firmware VolumesBrendan Jackman
Change-Id: Icc80fc2c419a0b575de0e47ce6fd94d52d180753
2014-10-22Move BasePathLib from ShellPkg to MdeModulePkgBrendan Jackman
This library is useful to other modules than the shell - for example filesystem drivers. Change-Id: If41877bb5a363d99c8f8ba3bd68860db88b7b7f6
2014-10-22Ip4ConfigDxe: Look up 'Hostname' variable when using DHCPBrendan Jackman
Change-Id: Ide1bd1683855eff49faf18e2fc7045c0c3f6f77f
2014-10-22ArmPlatformPkg/ArmShellCmdRunAxf: Added 'runaxf' cmd to shellHarry Liebel
Use the command to load and start a ARM Executable File from mass storage. This is basically just an ELF file. The program is copied to memory and the Entrypoint is called. Control is not expected to return back to the Shell. This has only been tested on AArch64 with a limited set of AXF binaries. Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Change-Id: I4db4834101d657098b12983c4594c5080b456a73
2014-10-22RTSM: Move RTSM/FVP VExpress A15 variable storage to 256k flash blockslinaro-platform-rtsm/14.10linaro-platform-rtsmRoy Franz
Change the addresses/sizes of the variable storage areas to use 256k blocks so UEFI is compatible with both the RTSM/FVP models and QEMU. The VExpress flash has non-uniform block sizes, with most blocks being 256k and the top 4 blocks being 64k. UEFI has been using these top 64k blocks for persistent variable storage. The RTSM models the non-uniform sizes, while QEMU only supports emulating flash with uniform block sizes which results in the top 256k (the 4 64k blocks) of flash being unusable for writing in QEMU. Note that this change will require RTSM flash images to be updated, as the variable storage has moved. Currently on the A15 model is supported by QEMU, but all RTSM/FVP models are being changed to keep the simulation configurations consistent. Signed-off-by: Roy Franz <roy.franz@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22RTSM-A15_MPCore: Use Linaro default configRyan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca15-tc1.dtb) using a command line that is suitable for both Android and Ubuntu. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Conflicts: ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.dsc
2014-10-22RTSM-A15: Use Linaro default configRyan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca15-tc1.dtb) using a command line that is suitable for both Android and Ubuntu. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Conflicts: ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15.dsc
2014-10-22RTSM-A9x4: Use Linaro default configRyan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca15-tc1.dtb) using a command line that is suitable for both Android and Ubuntu. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Conflicts: ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A9x4.dsc
2014-10-22RTSM-A15_MPCore: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22RTSM-A15: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22RTSM-A9x4: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22arm: add conditionalised networking support for foundation modellinaro-platform-fvp/14.10linaro-platform-fvpLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2014-10-22arm: add conditionalised networking support for FVPLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2014-10-22arm: Add conditional inclusion of LAN91x ethernet supportLeif Lindholm
This patch adds support for including the SMSC LAN 91C111 driver support (as provided by the ARM Ltd. software models) by specifying the EDK2_ENABLE_SMSC_91X build variable. A per-platform addition to the .fdf is also required to actually include the driver, and network protocol support, in the produced image. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Conflicts: ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
2014-10-22FVP: Add support for EDK2_USE_ANDROID_CONFIG build parameterAmit Pundir
Add support to the build config to allow the user to: - set Android boot image path. - set Android ramdisk image path. - boot linux image with built-in kernel command string. This is particularly useful for automated Android build and validation systems. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22FVP: change default BDS config to mount the rootfs over virtioRyan Harkin
Using this BDS config change, the FVP platform will mount the rootfs via virtio device /dev/vda2. Linaro disk images use the 2nd partition as the rootfs. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22FVP: Add support for EDK2_OUT_DIR build parameterRyan Harkin
Add support to the build config to allow the user to specify a custom output directory to the build. This is particularly useful for automated build systems. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22tools_def: AARCH64: use CROSS_COMPILE variableAmit Pundir
Use "CROSS_COMPILE" variable in build systems instead of "AARCH64LINUXGCC_TOOLS_PATH/aarch64-linux-gnu-" to hide toolchain triplet complexity and make this build variable compatible with Android toolchains(aarch64-linux-android-) as well. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22VEA9: use Linaro default configlinaro-platform-a9/14.10linaro-platform-a9Ryan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with ATAGS using a command line that is suitable for both Android and Ubuntu. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22VEA9: default to EDK2_ARMVE_SINGLE_BINARY=1Ryan Harkin
We always build with the single binary option, so make it the default. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22VEA9: Add support for EDK2_OUT_DIR build parameterRyan Harkin
Allow the build to set the output directory using the EDK2_OUT_DIR parameter. Eg. build -a ARM -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc -t ARMLINUXGCC \ -D EDK2_ARMVE_STANDALONE=1 \ -D EDK2_OUT_DIR=Build/vea9 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22VEA9: Add single binary configRyan Harkin
Allow a single UEFI binary to be built, containing both the secure and non-secure images in one. This is achieved at build time by passing the option: -D EDK2_ARMVE_SINGLE_BINARY Eg: build -a ARM -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc \ -t ARMLINUXGCC -D EDK2_ARMVE_STANDALONE=1 -D EDK2_ARMVE_SINGLE_BINARY=1 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
2014-10-22TC2: use Linaro default configlinaro-platform-tc2/14.10linaro-platform-tc2Ryan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with device tree (v2p-ca15-tc2.dtb) using a command line that is suitable for both Android and standard linux filesystems. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>