oliviermartin
0b6b57c4d7
BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in 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
2011-11-08 18:30:26 +00:00
oliviermartin
89a9f54f80
BeagleBoard: Clean DSC and FDF files
...
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
2011-11-01 23:46:18 +00:00
oliviermartin
839864b216
BeagleBoardPkg: Fix build
...
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
2011-09-29 20:40:00 +00:00
oliviermartin
0bade1054d
BeagleBoardPkg: Replaced the original DSC/FDF files by their new versions that use the ARM Platform Framework
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12468 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-28 18:59:32 +00:00
oliviermartin
e78b4e13b1
BeagleBoardPkg: Removed 'SimpleTextInOutSerial' driver
...
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
2011-09-28 18:55:40 +00:00
oliviermartin
886f97c86b
ARM Packages: Fixed Build failings/warnings/EDK2 coding convention
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12458 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-27 16:42:47 +00:00
oliviermartin
0641c5405c
BeagleBoardPkg: The FDF file does not reserve any more the area for the 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
2011-09-22 23:25:39 +00:00
oliviermartin
3d15d6c424
BeagleBoardPkg: Add Display Driver support to the BeagleBoard
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12432 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-22 23:24:54 +00:00
oliviermartin
efe5f1a232
BeagleBoardPkg: Set paddings following the BeagleBoard revision (A, B, xM, etc)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12431 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-22 23:23:54 +00:00
oliviermartin
8fc38a3f50
ArmPlatformPkg: Introduce ArmPlatformGlobalVariableLib
...
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
2011-09-22 23:11:03 +00:00
oliviermartin
c524ffbb67
ArmPlatformPkg/PrePi: Removed the dependency on 'PcdCPUCoresNonSecStackBase'
...
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
2011-09-22 23:07:55 +00:00
oliviermartin
f92b93c9a3
ARM Packages: Rename PcdNormal* into Pcd* PCDs
...
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
2011-09-22 23:06:31 +00:00
oliviermartin
11c20f4e06
Arm Packages: Fixed coding style/Line endings to follow EDK2 coding convention
...
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
2011-09-22 22:53:54 +00:00
oliviermartin
6740ea74e2
Clean up Rules of Platform FDFs to apply only one EFI image and Depex for each driver
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12285 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-06 18:41:55 +00:00
oliviermartin
8c454d9800
BeagleBoardPkg: Use gArmTokenSpaceGuid.PcdSystemMemoryBase/Size to define 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
2011-08-18 21:15:50 +00:00
oliviermartin
5ec65e96b2
Omap35xxPkg/Library/RealTimeClockLib: Add RTC Support
...
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
2011-08-18 10:02:15 +00:00
oliviermartin
2d08d17d65
BeagleBoardPkg: Ensure there is no pending IRQ and disable timer
...
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
2011-07-20 15:13:06 +00:00
oliviermartin
da22bd6171
BeagleBoardPkg: Renamed ArmPlatform.h into BeagleBoard.h
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11999 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 20:18:02 +00:00
oliviermartin
7f21c4a227
BeagleBoardPkg: Implement ArmPlatformLib and the ARM PCDs to reuse ARM 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
2011-07-06 20:08:28 +00:00
oliviermartin
803f94eef9
BeagleBoard: Update documentation
...
- 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
2011-07-06 18:25:47 +00:00
oliviermartin
63cea7c188
BeagleBoardPkg: Introduce macro EDK2_SECOND_STAGE_BOOTOLADER
...
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
2011-07-06 16:46:44 +00:00
oliviermartin
60884a0ae3
BeagleBoardPkg: Fix build
...
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
2011-07-04 13:43:58 +00:00
oliviermartin
e6b3b50834
EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the 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
2011-06-11 11:28:59 +00:00
oliviermartin
4e7b7318c0
BeagleBoardPkg: Fix build
...
Add missing DebugPrintErrorLevelLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11489 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31 12:59:00 +00:00
andrewfish
b739d70ee5
Make the default toolchain for Linux CodeSourcery.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11299 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-03 18:30:58 +00:00
andrewfish
6111eb8555
Update to match changes in the ArmPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11294 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-02 22:37:37 +00:00
andrewfish
63ca740217
Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd half of check-in 11167.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11169 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 01:06:20 +00:00
andrewfish
785e597795
Move away from 0x40 block size (worked around a DXE core bug assuming the FV header fit in a block) of the FV to 1 byte. This makes more sense as the FV is shadowed from FLASH into RAM by HW so it is never on top of a real block device.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11136 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 19:58:48 +00:00
andrewfish
6638a865ed
Older tools rounded down the size of the FV, and the new tools round up. Our main FV region is not a multiple of the block size, but it is set to fill the space. Probably need to move to a block size of 1 at some point.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11129 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-07 22:44:08 +00:00
andrewfish
f3e699088b
Update example symbol command to dump out gdb load commands if you compile with gcc or RVCT commands if you compile with other compilers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10859 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-08 17:58:18 +00:00
andrewfish
934309d58e
Add a temp BasePeCoffLib that deals with MOVT instruction. At this point we don't know how the PE/COFF spec will change, but we can merge the real change into the MdePkg when the PE/COFF spec is updated and remove this library. To be clear I made up the PE/COFF relocation extension for these relocations, but as long as the tools match it all works.... Mainly doing this to support gcc.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10762 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-31 01:50:35 +00:00
andrewfish
685f8c7600
Fix more InitializeDebugAgent API change bugs. GDB stub was not turned on in example platforms.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10687 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23 15:25:32 +00:00
andrewfish
7c137cae5a
Fix the build break in two open source packages caused by check in 10660.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10686 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23 02:37:28 +00:00
andrewfish
81bc205daf
Clean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions and make OMAP DMA lib about channel programming only.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10555 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-29 00:21:30 +00:00
andrewfish
076c05050d
Set the default compilers arch flags for these packages
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10552 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 22:37:55 +00:00
andrewfish
9e04898b6d
Remove references to a package that does not exist.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10545 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-27 23:12:27 +00:00
andrewfish
b830c1dfc0
Fix grammer in comment
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10507 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 20:31:03 +00:00
andrewfish
d3f55de3fd
Add in OmapDmaLib instance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10470 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-08 19:42:38 +00:00
andrewfish
2a9fe5409d
Add ReadyToBoot signal to BDS.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10453 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-30 23:07:56 +00:00
andrewfish
8c6151f2ba
Updated MMC/SD Card driver to support hot add and remove of the media (SD Cards) and enable write protect of SD Cards. Had to update pads for WP bit as it was not being programmed as a GPIO. I also changed some of the PAD #defins as there were only really 3 states, so OR things in the table in the .c file did not make a lot of sense.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10450 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-30 19:43:11 +00:00
hhtian
1ebd6c1145
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10445 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 12:24:22 +00:00
andrewfish
d39eb83cc5
Add some ldm/vldm optimized CopyMem routines. Add performance macros to BDS
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10388 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 22:04:35 +00:00
andrewfish
d02b28d736
Change to a NEON compatible CPU Arch (ARMv7 is NEON optional) and add performance lib stuff to measure boot time. Also add an example performace lib dumper as an example EBL command.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10387 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 17:48:09 +00:00
andrewfish
2ed3c9ccf8
Enable NEON (SIMD instructions) via coprocessor register so CopyMem/SetMem can use VLDM and friends if you want.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10386 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 17:40:27 +00:00
andrewfish
e89e593c57
Checked in some things from my working copy that break the build. Remove the unneeded things so the build works.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10374 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-14 22:08:16 +00:00
andrewfish
5b792f1abf
Add a PE/COFF extra action lib that DEBUG prints the debugger command to load symbols. Turn off DXE Core DEBUG print on load and use this new library in its place.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10373 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-14 21:52:26 +00:00
andrewfish
319dd74716
Fix stray info in checkin
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10370 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 22:46:21 +00:00
andrewfish
9d1d7243f0
Try out performance infrastructure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10368 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 22:28:43 +00:00
andrewfish
b1c5bd5211
Cleaning up thing Beagle in Omap35xx. Partial checkin as I'm getting errors out of svn for doing a svn mv.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10362 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 18:23:42 +00:00
andrewfish
7e3538510f
Fix build break. Was fixing Beagle names in Omap35xx package and missed a few.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10361 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 17:39:52 +00:00