Age | Commit message (Collapse) | Author |
|
Added the marker file containing the MD5SUMs for the latest
motherboard and SCP firmware from ARM with ARMLT modifications.
This file was generated using this command:
$ find . -name "*" -type f | grep -v -e .git -e juno-0.11.7-linaro1 | sort | xargs md5sum > juno-0.11.7-linaro1
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Update the ARM-TF binaries after adding the SCP binaries. Also updated the BL33 binaries used to generate the FIP.
These binaries came from the output of the CI job #55:
http://snapshots.linaro.org/member-builds/armlt-platforms/55/juno-latest-oe-uefi.zip
That build shows the following info about what was built:
commit repo
------- ---------------------
2f86163 uefi/edk2
fa3170b model-scripts
8713ece u-boot
e26c4f5 build-scripts
f3974ea arm-tf
d36d7da recovery
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Fix line endings on a few files that we have modified.
The board firmware usually has DOS endings, so make the files
consistent.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Using AUTO for the address of startup.nsh sometimes causes the board to
have to erase the whole of NOR flash when some file sizes change.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Added startup.nsh.
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>
|
|
Added the marker file containing the MD5SUMs for the latest
motherboard and SCP firmware from ARM with ARMLT modifications.
This file was generated using this command:
$ find . -name "*" -type f | grep -v -e .git -e juno-0.11.6-linaro1 | sort | xargs md5sum > juno-0.11.6-linaro1
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
startup.nsh can be used by UEFI Shell to auto-start a kernel. The
example startup.nsh included is configured to start up a Linaro kernel
with the ARM Development Platform Software releases.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add the SCP binaries for release 1.11.0.
With the updated BL30, we need an updated FIP. When I update the FIP, I
always update with the matching BL1 built at the same time.
This was built with ARM Trusted Firmware at this commit id:
4266228 2015-11-09 Merge pull request #425 from achingupta/ag/tf-issues#332
I have also updated to the latest UEFI and U-Boot binaries. With EDK2 at this commit id:
9ed6f7e 2015-11-06 ArmPkg/BdsLib: Increase fallback tftp buffer size
And U-Boot at this commit id:
8db0d73 2015-10-29 HACK: vexpress64: add reset support
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The file blank.img resides in NOR flash in the same location as the
U-Boot and UEFI config.
Rename it to BOOTENV so that users reading the list if images can tell
what it is.
I didn't rename the file from blank.img because I also want it to be
clear that the file is blank. Doig "touch blank.img" will erase NOR
flash on the next reboot.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Added the marker file containing the MD5SUMs for the latest
motherboard and SCP firmware from ARM with ARMLT modifications.
This file was generated using this command:
$ find . -name "*" -type f | grep -v -e .git -e juno-0.11.5-linaro1 | sort | xargs md5sum > juno-0.11.5-linaro1
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add the U-Boot and UEFI binaries used to create the fip.bin so that
other users can create their own FIP without having to build components
unless they need to.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Update the ARM Trusted Firmware binaries, built with the updated
bl30.bin and the latest UEFI and U-Boot binaries.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch adds the updated SCP firmware from ARM that matches the
updated motherboard firmware for the 15.10 release.
This update is backwards compatible with the previous version and adds
System suspend functionality. Kernel patches are needed to take
advantage of System suspend.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch adds the new motherboard firmware (the files under the MB
sub-directory) released by ARM for the 15.10 release.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Added the marker file containing the MD5SUMs for the initial drop of
0.11.4 firmware with ARMLT modifications.
This file was generated using this command:
$ find . -name "*" -type f | grep -v -e .git -e juno-0.11.4-linaro1 | sort | xargs md5sum > juno-0.11.4-linaro1
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Added the marker file containing the MD5SUMs for the initial drop of
0.11.3 firmware with ARMLT modifications.
This file was generated using this command:
$ find . -name "*" -type f | grep -v -e .git -e juno-0.11.3-linaro1 | sort | xargs md5sum > juno-0.11.3-linaro1
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>
|
|
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>
|
|
Some users were having problems fitting larger kernels into our NOR
Flash layout.
The larger kernel was overlapping with the .dtb files, so I have moved
them up in NOR Flash to make more space for the kernel.
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>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Some users were having problems fitting larger kernels into our NOR
Flash layout.
The larger kernel was overlapping with the juno.dtb, so I have moved
juno.dtb up in NOR Flash to make more space for the kernel.
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>
|