Age | Commit message (Collapse) | Author |
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
After updating the SCP binaries, I updated the bl1.bin and fip.bin files
to match to SCP update.
ARM Trusted Firmware is based on this tree:
https://github.com/ARM-software/arm-trusted-firmware
At this commit:
53d069c 2015-07-17 Merge pull request #337 from vwadekar/tegra-misc-fixes-v3 [danh-arm]
UEFI is based this tree:
https://git.linaro.org/landing-teams/working/arm/edk2
At this commit
410e0be 2015-07-01 tc2: update default boot config [Ryan Harkin]
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Update the SCP rom and ram files from ARM, dated 21st August.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This reverts commit 508e3163a985413eb13d4f5f84f474f163a23b05
Testing shows that reboot stops working on Android builds when testing
with the platform build's 15.07 manifest at this point:
ec72e6f 2015-07-14 15.07: update pinned manifests [Ryan Harkin]
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Bug fix release from ARM on 15th July 2015.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
UEFI config is stored in NOR flash. When writing a new board recovery
image, the user will generally not want to use old and incompatible UEFI
config.
By placing a blank image where the UEFI config resides, the first time
the user flashes a new recovery image, the config will be erased.
Subsequent reboots will not change the timestamp of blank.img, so the
NOR will remain intact for the user to keep persistent UEFI config over
reboots.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Built from this commit [1]:
e7304a1 2015-05-07 vexpress64: fvp: add DRAM configuration [Ryan Harkin]
And combined with the unmodified ARM Trusted Firmware binaries from the
0.11.3 release.
The default config matches the config in this repo at this point, with
the kernel stored in NOR flash as "norkern", the device tree as
"board.dtb" and the initrd as "ramdisk.img".
The user should write the contents of this repo to their board's uSD
card, copy over their Image, juno*.dtb files and, for Android images.
The ramdisk.img from the boot.tar.bz2 file must first be wrapped in a
u-boot header to make a uInitrd, eg:
mkimage -A arm64 -O linux -T ramdisk -n ramdisk -C none -a 0x84000000 -e 0 -n "BusyBox ramdisk" -d ramdisk.img uInitrd
Then copy uInitrd to SOFTWARE/ramdisk.img.
Rebooting the board should then allow the user to boot straight into
their image stored on the USB stick.
[1] https://git.linaro.org/landing-teams/working/arm/u-boot.git/shortlog/e7304a10325ea3e05b609f2a3b3896b9c666f1bf
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Built from this commit [1]:
2cf85ef 2015-05-15 HACK: Treat ASCII DEL (0x7f) as backspace [Ryan Harkin]
And combined with the unmodified ARM Trusted Firmware binaries from the
0.11.3 release.
The default config matches the config in this repo at this point, with
the kernel stored in NOR flash as "norkern", the device tree as
"board.dtb" and the initrd as "ramdisk.img".
The user should write the contents of this repo to their board's uSD
card, copy over their Image, juno*.dtb files and, for Android images,
the ramdisk.img from the boot.tar.bz2 file.
Rebooting the board should then allow the user to boot straight into
their image stored on the USB stick.
[1] https://git.linaro.org/landing-teams/working/arm/edk2.git/shortlog/2cf85ef817b79cccf3767682eb10e7ad616f148e
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add the bl30.bin SCP ROM taken from the 0.11.3 board recovery image from
ARM.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Instead of renaming the kernel in the filesystem to norkern, leave it as
Image and set the name stored in NOR as "norkern".
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
images.txt allows files to be saved into NOR flash with a different name
from the filename.
So for the DTB files, I rename juno.dtb or juno-r1.dtb in NOR flash as
board.dtb.
This means that the UEFI config for both Juno R0 and R1 can be the same.
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>
|
|
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>
|