Age | Commit message (Collapse) | Author |
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Adding a dummy uInitrd ramdisk to NOR flash images.
The dummy ramdisk image can be passed to the kernel for systems that
don't boot using a ramdisk, but are booting using a bootloader that is
configured to expect a ramdisk by default.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The upstream UEFI code is broken when TFTP booting an EFI stubbed kernel
because UEFI assumes that it can boot the kernel using the EFI stub,
however, the EFI stub is unable to TFTP down the DTB or initrd files.
So, to get it to work, we have to allow the user to be able to tell UEFI
that they don't want to boot the kernel as an EFI application, and
therefore allow the DTB and initrd to be passed in explicitly from UEFI
config.
I build this from update with an upstream UEFI pls one patch:
ac8deed 2015-01-27 RMH: remove detection of EFI stub [Ryan Harkin]
c026931 2015-01-12 MdeModulePkg/PartitionDxe: Fixed El Torito support
For reference, the patch looks like this:
commit ac8deed8c95093b478bddd6a2cc377f94963a736
Author: Ryan Harkin <ryan.harkin@linaro.org>
Date: Tue Jan 27 18:53:28 2015 +0000
RMH: remove detection of EFI stub
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
---
ArmPlatformPkg/Bds/BootOptionSupport.c | 34
----------------------------------
1 file changed, 34 deletions(-)
diff --git a/ArmPlatformPkg/Bds/BootOptionSupport.c
b/ArmPlatformPkg/Bds/BootOptionSupport.c
index 974f220..a51d908 100644
--- a/ArmPlatformPkg/Bds/BootOptionSupport.c
+++ b/ArmPlatformPkg/Bds/BootOptionSupport.c
@@ -227,11 +227,6 @@ BootDeviceGetType (
CHAR16* FileName;
EFI_DEVICE_PATH* PrevDevicePathNode;
EFI_DEVICE_PATH* DevicePathNode;
- EFI_PHYSICAL_ADDRESS Image;
- UINTN FileSize;
- EFI_IMAGE_DOS_HEADER* DosHeader;
- UINTN PeCoffHeaderOffset;
- EFI_IMAGE_NT_HEADERS32* NtHeader;
//
// Check if the last node of the device path is a FilePath node
@@ -261,41 +256,12 @@ BootDeviceGetType (
} else if (HasFilePathEfiExtension(FileName)) {
IsEfiApp = TRUE;
} else {
- // Check if the file exist
- Status = BdsLoadImage (DevicePath, AllocateAnyPages, &Image,
&FileSize);
- if (!EFI_ERROR (Status)) {
-
- DosHeader = (EFI_IMAGE_DOS_HEADER *)(UINTN) Image;
- if (DosHeader->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
- //
- // DOS image header is present,
- // so read the PE header after the DOS image header.
- //
- PeCoffHeaderOffset = DosHeader->e_lfanew;
- } else {
- PeCoffHeaderOffset = 0;
- }
-
- //
- // Check PE/COFF image.
- //
- NtHeader = (EFI_IMAGE_NT_HEADERS32 *)(UINTN) (Image +
PeCoffHeaderOffset);
- if (NtHeader->Signature != EFI_IMAGE_NT_SIGNATURE) {
- IsEfiApp = FALSE;
- } else {
- IsEfiApp = TRUE;
- }
-
- // Free memory
- gBS->FreePages (Image, EFI_SIZE_TO_PAGES(FileSize));
- } else {
// If we did not manage to open it then ask for the type
Print(L"Is an EFI Application? ");
Status = GetHIInputBoolean (&IsEfiApp);
if (EFI_ERROR(Status)) {
return EFI_ABORTED;
}
- }
}
if (IsEfiApp) {
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
In the move to EFI stubbed kernels, we don't want the NOR Image to be
found by accident if there is not valid Image file on the test disk.
This is due to the way EFI Shell works: it will search all valid boot
devices for the file it is attempting to boot.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add the latest UEFI binaries.
These binaries revert to the upstream BDS functionality, with the
global/local FDT selection removed.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The TC2 image update requires a new base address in image.txt.
These images were build via CI job #40 and downloaded from the snapshots
server:
https://ci.linaro.org/jenkins/view/components/job/uefi/40/
http://snapshots.linaro.org/components/kernel/uefi/40
Images for A5 and TC2 were not tested, so have not been updated for this
release.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add supplied me with an updated version of Boot Monitor to fix a problem
booting UEFI with the v5.2 Versaile Express DVD.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
SITE2 and various other files in the SOFTWARE directory are redundant
and make updating the firmware take longer than it needs to, so I'm
removing them.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Updated the UEFI binaries for TC2, TC1, A9 and A5.
Taken from the CI job that built the linaro-uefi-2013.11 tag:
http://snapshots.linaro.org/components/kernel/uefi/37
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Updated the UEFI binaries for TC2, TC1, A9 and A5.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Updated the UEFI binaries for TC2, TC1 and A5.
Also updated board.txt for TC2 so that the board boots from the A7
cluster by default. This change is reflected in the UEFI binary. Old
er UEFI binaries will not work in this configuration.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
These files were used in the Linaro Firmware overlay for the 13.02
release:
https://wiki.linaro.org/ARM/VersatileExpress?action=AttachFile&do=get&target=vemsd-armlt-20130225-001.zip
The release can be found here:
http://releases.linaro.org/13.02/ubuntu/vexpress/
http://releases.linaro.org/13.02/android/vexpress/
The changes will configure u-boot on A5 and TC1, UEFI on A9 and Boot
Monitor on TC2.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
These files were used in the Linaro Firmware overlay for the 13.01
release:
https://wiki.linaro.org/ARM/VersatileExpress?action=AttachFile&do=get&target=vemsd-armlt-20130129-002.zip
The release can be found here:
http://releases.linaro.org/13.01/ubuntu/vexpress/
http://releases.linaro.org/13.01/android/vexpress/
The changes will configure u-boot on A5 and TC1, UEFI on A9 and Boot
Monitor on TC2.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
|
|
The CPUMigration patch from ARM provides
The patch can be downloaded from here:
https://silver.arm.com/download/download.tm?pv=1335158
And you will get this file:
VE050-PA-00001-r5p0-00rel0.tgz
Which contains:
./CPUmigrationPatch:
bm_v519r.axf
dbb_v110.ebf
readme.txt
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
boards/Recovery folder from Versatile Express 5.0 DVD.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
These files were used in the Linaro Firmware overlay for the 12.09
release:
https://wiki.linaro.org/ARM/VersatileExpress?action=AttachFile&do=get&target=vemsd-armlt-20120920-001.zip
The release can be found here:
http://releases.linaro.org/12.09/ubuntu/vexpress/
http://releases.linaro.org/12.09/android/vexpress/
The changes will configure u-boot on A5 and TC1, UEFI on A9 and Boot
Monitor on TC2.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
boards/Recovery folder from Versatile Express 4.0b DVD (shipped with
TC2 CoreTile)
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
boards/Recovery folder from Versatile Express 3.0 DVD
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|