summaryrefslogtreecommitdiffstats
path: root/BeagleBoardPkg
Commit message (Collapse)AuthorAgeFilesLines
* ArmPlatformPkg: Remove an unused function.oliviermartin2013-04-141-18/+0
| | | | | | | | | | | | ArmPlatformGetAdditionalSystemMemory() function wasn't used anywhere in UEFI. This patch deletes it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14270 6f19259b-4bc3-4df7-8a09-765794883524
* EmbeddedPkg: Introduced a separate SerialPortExtLib libraryoliviermartin2013-03-121-0/+1
| | | | | | | | | | | | | Formerly only the header was defined and it was expecting the SerialPortExtLib interface to be implemented by SerialPortLib if supported. This behaviour was not conform to the EDK2 framework. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14173 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Move ArmSmcLib from ArmPlatformLib to ArmPkgoliviermartin2013-03-061-0/+1
| | | | | | | | | | | A ArmSmcLib Null implementation has also been added for CPU without the ARM Security Extension (Trustzone support). Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14164 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg/BeagleBoardPkg.dsc: Removing no more valid commentoliviermartin2013-02-191-2/+0
| | | | | | | | | | | EHCI support was working on the BeagleBoard after the coherency issue in ArmPkg/DmaLib was fixed (svn rev12137). Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14135 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Fixed line endingsoliviermartin2013-01-258-850/+850
| | | | | | | | | This large code change only modifies the line endings to be CRLF to be compliant with the EDK2 coding convention document. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14088 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformStackLib: Introduced helper library to initialize ↵oliviermartin2012-09-281-0/+1
| | | | | | | | | | | | | | | | | | stacks The new functions are: - ArmPlatformStackSet(IN UINTN StackBase, IN UINTN MpId, IN UINTN PrimaryStackSize, IN UINTN SecondaryStackSize); - ArmPlatformStackSetPrimary(IN UINTN StackBase, IN UINTN MpId, IN UINTN PrimaryStackSize, IN UINTN SecondaryStackSize); - ArmPlatformStackSetSecondary(IN UINTN StackBase, IN UINTN MpId, IN UINTN PrimaryStackSize, IN UINTN SecondaryStackSize); The stack topology can be changed by implementing a new ArmPlatformStackLib Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13774 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmPlatformLib.h: Introduced ArmPlatformGetCorePosition()oliviermartin2012-09-281-0/+9
| | | | | | | | | | | | | The MP ID Register is not enough to know the position of the core in the SoC. We could have SoC with multi cluster of CPUs that do not contain the same number of CPUs. This function should return the position of the CPU in the SoC. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13770 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Added FDT support for BdsLiboliviermartin2012-09-281-0/+1
| | | | | | | | Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13768 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Replaced the build of Fat driver and EBL by the binaries of ↵oliviermartin2012-09-272-17/+20
| | | | | | | | | | Fat driver and UEFI Shell Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13758 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fixed ArmRealViewEb & BeagleBoard buildsoliviermartin2012-08-021-0/+1
| | | | | | | | Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13589 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Declared the ARM MP Core Infooliviermartin2012-07-041-0/+10
| | | | | | | | | | Registered the gArmMpCoreInfoGuid Data Hob. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13497 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg/b.bat: Updated RVCT toolchain nameoliviermartin2012-05-021-2/+2
| | | | | | | | Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13263 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Introduced 'ArmPlatformSecLib'oliviermartin2012-05-024-153/+1
| | | | | | | | | | | | | | | The function only used in Secure Firmware used to be mixed with the Non-Secure/Normal functions in ArmPlatformLib. When the Secure Firmware was not required for some platforms (eg: BeagleBoard), these functions were empty functions. This new interface has been created to clean the ArmPlatformLib interface between the SEC and PEI phases. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13260 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Renamed and Invoked earlier ArmPlatformNormalInitialize()oliviermartin2012-05-021-4/+6
| | | | | | | | | | | | | - ArmPlatformNormalInitialize() has been renamed into ArmPlatformInitialize() - Make the function be called at the early stage of the PEI phase as some platforms require their interconnects or clocks to be initialize before any access to Timers or UARTs. Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13245 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Minor changes (fixed mispelling, line endings, incorrect comments)oliviermartin2012-05-021-1/+1
| | | | | | | | Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13243 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fixed build after latest BaseTools syncupoliviermartin2012-04-131-1/+1
| | | | | | | | | | | | | | BaseTools now raises an error when a PCD is not declared in a DEC. This change: - Remove undeclared PCDs - Add PCD declaration to DEC file Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13195 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Added License.txt filesoliviermartin2012-04-121-0/+26
| | | | | | | | | | | | | License.txt is a per-project document showing the license terms used by that project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13194 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-111-0/+188
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Allowed the Secondary Cores to set the Secure/Non Secure ↵oliviermartin2012-03-261-15/+0
| | | | | | | | | | | | bits to their PPIs The GICD_IGROUPR0 is banked for each connected processor. It means the Non-Secure bits for the PPIs (Private Peripheral Interrupts) must be configured for every processor. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13135 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Added the NULL implementation of CpuExceptionHandlerLiboliviermartin2012-03-151-0/+1
| | | | | | | | | | | | | This NULL implementation should not affect the existing code flow and avoid the builds to be broken by a missing dependency. In a longer term, an implementation of CpuExceptionHandlerLib should be provided for ARM architecture. Signed-off-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13103 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBaordPkg: Removed out of date comment in FDF file about USB stackoliviermartin2012-01-111-2/+0
| | | | | | | | | The USB stack has been fixed last year (cache coherencey issue in DmaLib). USB stack has been tested on BeagleBoard-xm with rev 12923 (10/01/2012). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12924 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoard: Support bash script when 'set -u'oliviermartin2011-12-291-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12902 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoard: Allow to overwrite the default toolchainoliviermartin2011-12-291-6/+9
| | | | | | | | | | | Each OS has its own default EDK2 toolchain. This change allows to overwrite this default option. Example: On Linux the default toolchain is ARMLINUXGCC, this command line can overwrite it: TARGET_TOOLS=ARMGCC ./build.sh git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12901 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in ↵oliviermartin2011-11-081-2/+5
| | | | | | | | | | | | | | | | the path 'arm-linux-gnueabi-gcc' is the compiler attached to the ARMLINUXGCC toolchain. This compiler is available in the PATH environment variable when the Linaro's toolchain package is installed (Ubuntu distribution). If if compiler is in the path then select the ARMLINUXGCC toolchain. This change is to make easier to build UEFI on the BeagleBoard for new starters by hiding the toolchain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12673 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoard: Clean DSC and FDF filesoliviermartin2011-11-012-3/+9
| | | | | | | | BeagleBoard pass the Linaro's Linux kernel command line argument as default parameter git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12647 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Fix buildoliviermartin2011-09-291-1/+1
| | | | | | | | Was still pointing to the former FDF filename. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12478 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Replaced the original DSC/FDF files by their new versions ↵oliviermartin2011-09-285-1248/+324
| | | | | | that use the ARM Platform Framework git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12468 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Removed 'SimpleTextInOutSerial' driveroliviermartin2011-09-282-296/+294
| | | | | | | | | The BeagleBoard is now using ConSplitter. Update the Console DevicePaths to point to the Console Splitter driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12467 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Fixed Build failings/warnings/EDK2 coding conventionoliviermartin2011-09-278-56/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12458 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: The FDF file does not reserve any more the area for the ↵oliviermartin2011-09-224-32/+9
| | | | | | | | | | | | | OMAP35xxx header It is the tool BeagleBoardPkg/Tools/generate_image which will add a CH header to a the BeagleBoard FD file. The build macro EDK2_SECOND_STAGE_BOOTOLADER is not required any more. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12433 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Add Display Driver support to the BeagleBoardoliviermartin2011-09-224-8/+46
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12432 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)oliviermartin2011-09-223-20/+100
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12431 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLiboliviermartin2011-09-221-0/+1
| | | | | | | | | | | | | | This library hides where the 'XIP' Global Variable are located in the memory. It is expected the Sec/PrePi modules define the Global Variable area through the GlobalVariable HOB. The ArmPlatformGlobalVariableLib library allows access to global variables by their offsets in this region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12420 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'oliviermartin2011-09-221-5/+1
| | | | | | | | | In PrePi the StackBase is automatically calculated from the top of the memory. The information is now passed from the assembly files to the C code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12418 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Rename PcdNormal* into Pcd* PCDsoliviermartin2011-09-222-5/+5
| | | | | | | | | | | | | | The denomination 'Normal' was used to make reference to the 'Normal' or 'Non Secure' or 'Non Trusted' world. To avoid confusion, this prefix has been removed from PCDs to define the normal world. The PCDs explicitely related to the Secure/Trusted World continue to have the 'Sec' prefix. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12416 6f19259b-4bc3-4df7-8a09-765794883524
* Arm Packages: Fixed coding style/Line endings to follow EDK2 coding conventionoliviermartin2011-09-223-983/+983
| | | | | | | | | | | Arm Packages: Fixed mispelling Arm Packages: Reduced warnings all over the code git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12407 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up Rules of Platform FDFs to apply only one EFI image and Depex for ↵oliviermartin2011-09-062-32/+32
| | | | | | each driver git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12285 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define ↵oliviermartin2011-08-181-3/+5
| | | | | | | | | | | System Memory These PCDs are used by ArmPlatformPkg/Bds to know where to load the Linux kernel and its parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12171 6f19259b-4bc3-4df7-8a09-765794883524
* Omap35xxPkg/Library/RealTimeClockLib: Add RTC Supportoliviermartin2011-08-182-7/+6
| | | | | | | | | | | Omap35xxPkg/MmcHostDxe: Implement MmcHost protocol for Omap35xx BeagleBoardPkg: Use Omap35xx RTC and MmcHost drivers git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12161 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Ensure there is no pending IRQ and disable timeroliviermartin2011-07-202-2/+12
| | | | | | | | | | When the BeagleBoard UEFI is started from a 1st (or 2nd stage) boot loader it is possible there are still some pending IRQ. Clean the interrupts before starting the BeagleBoard UEFI. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12034 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Renamed ArmPlatform.h into BeagleBoard.holiviermartin2011-07-062-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11999 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Implement ArmPlatformLib and the ARM PCDs to reuse ARM ↵oliviermartin2011-07-0611-0/+1857
| | | | | | | | | | | common components on the BeagleBoard. To build the UEFI BeagleBoard firmware using this ARM framework either use ./build-next.sh or directly call the EDK2 BaseTools with BeagleBoardPkg-next.dsc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11998 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoard: Update documentationoliviermartin2011-07-061-9/+76
| | | | | | | | | - Update build instructions - Add instructions to test UEFI on qEmu either using the NOR flash or the SD card git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11997 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Introduce macro EDK2_SECOND_STAGE_BOOTOLADERoliviermartin2011-07-061-1/+4
| | | | | | | | | | | | | | | | | By setting this macro, the OMAP353x header is stripped from the UEFI firmware. Some boot loader (eg: x-loader) loads the second stage boot loader (u-boot or uefi) to a specific address and start the firmware from this address. This macro ensures the reset vector is located at the beginning of the image. To build the BeagleBoard with ./build.sh to enable this feature: ./build.sh -D EDK2_SECOND_STAGE_BOOTOLADER=1 Note: in this case, you must use BEAGLEBOARD_EFI.fd (and not BeagleBoard_EFI_flashboot.fd) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11995 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Fix buildoliviermartin2011-07-043-9/+39
| | | | | | | | | | | | BeagleBoardPkg: Switch to ArmPLatformPkg/Bds The ArmPlatformPkg/Bds is able to boot Linux. Set the default boot device for the BeagleBoardc to the SD card. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11971 6f19259b-4bc3-4df7-8a09-765794883524
* EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the ↵oliviermartin2011-06-111-1/+1
| | | | | | | | | | | | | function call The UEFI platform designer had to add '%a' to their EBL prompt PCD to print out the path in the shell. This change makes the addition of the path automatically after the platform specific value in the EBL shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11798 6f19259b-4bc3-4df7-8a09-765794883524
* BeagleBoardPkg: Fix buildoliviermartin2011-03-311-0/+1
| | | | | | | | Add missing DebugPrintErrorLevelLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11489 6f19259b-4bc3-4df7-8a09-765794883524
* Make the default toolchain for Linux CodeSourcery. andrewfish2011-02-031-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11299 6f19259b-4bc3-4df7-8a09-765794883524
* Update to match changes in the ArmPkg.andrewfish2011-02-021-2/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11294 6f19259b-4bc3-4df7-8a09-765794883524
* Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd ↵andrewfish2010-12-152-1/+9
| | | | | | half of check-in 11167. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11169 6f19259b-4bc3-4df7-8a09-765794883524