summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-02Merge branch 'linaro-topic-arndale' into x-integSteven Kinney
2013-10-02Merge branch 'linaro-topic-a9' into x-integSteven Kinney
2013-09-26VE9: Added LAN9118 Dxe driver to the VE-A9Reece R. Pollack
This is the on board Versatile Express Ethernet controller. Signed-off-by: Reece R. Pollack <reece.pollack@linaro.org>
2013-09-18Samsung/Arndale: fixed ROM sizeRyan Harkin
ROM sizes are specified "start|size", whereas I previously thought they were "start|end" Also, the Arndale sizes were specified to run outside the binary limits. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: fix ROM sizeRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: remove #include of ArmV7ArchTimerLib.hRyan Harkin
Removed an unused #include because it made certain build configurations fail to compile. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: Fix A5 build for latest upstream changesRyan Harkin
Fixed compile errors with the Versatile Express A5 BSP when built with the latest upstream code. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: Update default kernel commandlineRyan Harkin
This patch should be squashed down for 13.06. Remove "console=tty0" from the kernel commandline as it is no longer required. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: rename PcdFdtLocalDevicePath to PcdDefaultFdtLocalDevicePathRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: use Linaro default configRyan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca5s.dtb) using a command line that is suitable for both Android and Ubuntu. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: Fix problems booting linaro kernelsRyan Harkin
I copied the A15x2 BSP to the A5s and added in the init needed specifically for A5. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: default to EDK2_ARMVE_STANDALONE=1Ryan Harkin
We always build with EDK2_ARMVE_STANDALONE=1, and building with it =0 fails anyway, so let's default to building as standalone. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: general tidyupsRyan Harkin
Use the A5 library rather than the A9 library and whatever Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: create dedicated A5 CPU libraryRyan Harkin
The A5 was using the A9 CPU library which has some TrustZone related code. So I decided to create a dedicated library for A5, which is how the other CPU types operate. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: fix memory initRyan Harkin
The A5 BSP was initialising memory in the wrong place since the BSP was updated to support the latest submissions. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA5: Add Versatile Express CTA5s BSPRyan Harkin
Add the BSP for the Versatile Express CTA5s Core Tile Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA9: use Linaro default configRyan 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>
2013-09-18Revert A9 part of "ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15"Ryan Harkin
This reverts the A9 changes from this commit: > commit 9d59a88be171f74ae08ad63b3e8d1b77a87522e8 > Author: oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> > Date: Wed May 2 20:14:55 2012 +0000 > > ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15 > > Signed-off-by: Olivier Martin <olivier.martin@arm.com> > > git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13261 6f19259b-4bc3-4df7-8a09-765794883524 Reverting this change not only fixes ATAGs boot for A9, but Device Tree boot works too. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-18VEA9: 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>
2013-09-18VEA9: allow custom output directoryRyan 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>
2013-09-18VEA9: 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>
2013-09-18Samsung/Arndale: Replaced FatPkg source package by the pre-built FatPkg binaryRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-17Samsung/Arndale: Fix compilation errorsRony Nandy
This patch fixes the build breakage issue for Arndale BSP due to the patch "ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore()"
2013-09-17Samsung/Arndale: Enable component name protocolShivamurthy Shastri
Component Name Protocol been enabled to make sure the shell commands like drivers, devtree and devices shows the device name and other features properly. Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: add ArmSmcLibNullRyan Harkin
A recent commit adds support for ArmSmcLib/ArmSmcLibNull. This mandates that each BSP includes the SMC or NULL library. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-17Samsung/Arndale: use Linaro default configRyan Harkin
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (board.dtb) using a command line suitable for Linaro Ubuntu based images. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Acked-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: Linux booting problem in presence of initrdShivamurthy Shastri
Linux was not able to boot with initrd. Resolved by increasing offset for FDT. Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: Booting UEFI and linux from eMMCRony Nandy
1. OM register comparison value changed as per the board switch configuration. 2. Removed eMMC boot partition enable code, to access user area. Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: fix RELEASE build with ARMLINUXGCCReece R. Pollack
ARMLINUXGCC RELEASE builds have more errors as warnings than debug builds, causing release builds to fail. This patch fixes the build failures by removing several uninitialised and/or unused variables. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-17Samsung/Arndale: set SD card UUID to zeroRyan Harkin
BDS depends on the UUID in the config matching the UUID on the SD card. My trick is to set the UUID in code to zero, then to zero the UUID on the SD card after running linaro-media-create. THat way, they both match and the default config works. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-17Samsung/Arndale: imgburn.sh: add parameters and defaultsRyan Harkin
Add parameters and some sensible defaults to imgburn.sh. The old imgburn.sh took 2 parameters but didn't allow the user to specify the image location. Now, the simplest command form is: ./imgburn --disk /dev/sdX However, other options exist, eg: ./imgburn.sh --disk /dev/sdX --soc 5250 --image filename.fd The default SoC is 5250. The default image is ARNDALE_EFI.fd, with the assumption that we are in uefi-next tree. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-09-17Samsung/Arndale: use EFI ShellRyan Harkin
Use EFI Shell instead of EBL shell. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2013-09-17Samsung/Arndale: update path inside imgburn.shRyan Harkin
imgburn.sh was relative to the wrong directory path. Now it has been updated to build from within the tree. Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: add build.sh helper scriptRyan Harkin
Added a script to help users build the arndale BSP. cd into the edk2 directory and run: $ ./SamsungPlatformPkg/build.sh arndale Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: Removed compiler errors for latest GCC toolchain.Shivamurthy Shastri
Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com> Signed-off-by: Leif Lindholm <leif.lindholm@arm.com> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: Auto-boot feature for ARNDALE board. Code searches for the ↵Shivamurthy Shastri
FAT filesystem available in the card and boots the kernel. The FAT filesystem can contain kernel image and DT. Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com> Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
2013-09-17Samsung/Arndale: Initial CommitRony Nandy
Signed-off-by: Rony Nandy <rony.nandy@linaro.org> Signed-off-by: Shivamurthy Shastri <shiva.murthy@samsung.com>
2013-09-04ArmPlatformPkg/patches: Updated BaseTools-Pending-Patches.patchOlivier Martin
This updated patch contains the patch: - Fixed calculation of BaseOfCode in GenFw when the first code section is aligned: Fixes the calculation of the PE/COFF header attribute .BaseOfCode. when the first ..text. section is aligned. In the current code base, the alignment of the first code section is not taken into account for the calculation of BaseOfCode. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14628 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-04ArmPlatformPkg: Update AArch64 models to match the binaries generated by the ↵Olivier Martin
AArch64 Linux kernel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14627 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-04Update edksetup.bat to check VS2012Liming Gao
Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14626 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-04Enable warningif opcode in browser.Eric Dong
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14625 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-04Enable warningif opcode in browser.Eric Dong
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14624 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-04Fixed the issue in PeiCore on Load Module At Fixed Address logicLiming Gao
Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14623 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03ShellBinPkg: Added Aarch64 Shell binariesOlivier Martin
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14622 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03ArmPkg/CpuPei: Remove unused functions from the driverRoy Franz
The ConfigureMmu() function is unused - the only call to it is commented out, and the functionality has been moved to InitMmu() in MemoryInitPeiLib.c. This change also removes the unused definitions from the file. Change-Id: Ice795bfee25c403142d0c078533f8a46d04f82e9 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Roy Franz <roy.franz@linaro.org> Signed-off-by:: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14621 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03EdkCompatibilityPkg: Fixed build for AArch64Olivier Martin
The architecture specific folders must be capitalized (first letter as a capital letter and the remaining letters in lower case) (INF spec - 2.2.4 Naming Conventions). The BaseTools only support this requirement for INF revision prior to 0x00010005 (mainly used by EdkCompatibilityPkg, EdkShellPkg, UEFI SCT). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14620 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03Enhance TPM driver to protect TPM physical presence flags.Dong Guo
Signed-off-by: Dong Guo <guo.dong@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> Reviewed-by: Ouyang, Qian <qian.ouyang@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14619 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-02ArmPkg/ArmDmaLib: Fixed the calculation of the Base Address of the BufferOlivier Martin
The former calculation 'ALIGN_VALUE(*DeviceAddress - BASE_4KB - 1,BASE_4KB)' did not return the lowest aligned address. Example: *DeviceAddress = 0xB000C001; *DeviceAddress - BASE_4KB - 1 = 0xB000B000; Aligned value = 0xB000B000 + ((0x1000 - 0xB000B000)) & 0xFFF) = 0xB000B000 ... while we where expected 0xB000C000. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14618 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-02ArmPkg/CpuDxe: Fixed calculation of the Page Table Index (Level 2 Descriptor)Olivier Martin
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14617 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-02ArmPkg/ArmLib: Change comment to match code for setting of V bit in SCTLR ↵Roy Franz
register. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Roy Franz <roy.franz@linaro.org> Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14616 6f19259b-4bc3-4df7-8a09-765794883524