Age | Commit message (Collapse) | Author |
|
|
|
If EditHIInputStr() is called, say with a MaxCmdLine of 2, the user is
currently allowed to enter 2 characters.
If the second character is a carriage return/line feed, this is
substituted with a NULL and the function returns.
If the second character is a regular character, the loop terminated and
the function returns. However, the buffer has not been NULL terminated.
This patch prevents the user from entering a regular character as the
final character and ensures that the only way out of the input is by
pressing ESC or ENTER (or equivalent).
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
|
|
Allow the build to specify where to put the output directory.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Allow the build to specify where to put the output directory.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Allow the build to specify where to put the output directory.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
|
|
|
|
Fixed compile errors with the Versatile Express A5 BSP when built with
the latest upstream code.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Fixed compile errors with the Versatile Express A15x2 BSP when built with
the latest upstream code.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
|
|
|
|
LibResetSystem was performing a cold reboot for both reboot and
shutdown.
This patch updates LibResetSystem to pass SYS_CFG_SHUTDOWN to the
microcontroller when called wit EfiResetShutdown.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Unless the buffer size has space ofr the newline, the input function
will expect only 1 character and a NULL and will return before the user
has chance to press enter.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add Reboot and Shutdown options to the main BDS menu so that users can control the platform remotely without having to physically reboot/shutdown the board.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd)
with a local device tree (v2p-ca15-tc1.dtb) using a command line that is
suitable for both Android and Ubuntu.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd)
with a local device tree (v2p-ca15-tc1.dtb) using a command line that is
suitable for both Android and Ubuntu.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd)
with a local device tree (v2p-ca15-tc1.dtb) using a command line that is
suitable for both Android and Ubuntu.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch adds a local FDT config option to each boot device.
Bds was using a global FDT config for all boot devices of Loader Type = 2.
I've added a new Loader Type = 3 that stores an device path to an FDT file this is only used for this boot device.
This change will invalidate any existing configs stored on the board due to the change in structure sizes to store the boot device configurations.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Previously, there was no way to read the global FDT config.
This patch displays the global FDT config after the boot devices in the main
menu.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The main menu in the Boot Manager numbers all the menu options.
As you add a new boot device, the hard coded menu option numbers increment.
This makes automated configuration of UEFI more complex.
This patch changes the hard coded menu options to use letters instead of
numbers. For backwards compatibility, I've left the numbering support in.
However, I've re-ordered the Ebl and Boot Manager entries, so the default
number for the Boot Manager option is now 2, not 3.
ArmPlatformPkg/Bds/BootMenu.c | 17 ++++++++++++++---
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch should be squashed down for 13.06.
Remove "console=tty0" from the kernel commandline as it is no longer required.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca15-tc2.dtb) using a command line that is suitable for both A
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The original BSP for TC2 hard codes EDK2_SKIP_PEICORE=1, but this change allows the user to over-ride the value at build time.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add support to the build config to allow the user to specify a custom output
directory to the build.
This is particularly useful for automated build systems.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch should be squashed down for 13.06.
Remove "console=tty0" from the kernel commandline as it is no longer required.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd) with a local device tree (v2p-ca15-tc1.dtb) using a command line that is suitable for both Andro
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
It was being set to 60MHz when it should have been 600MHz.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch fixes TC1 instablility. Setting the DRAM refresh period seems to be the cure.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
TC1 hardware is very unstable. Disabling the loop buffer helps improve this, but it isn't a cure.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
We always build with EDK2_ARMVE_STANDALONE=1, so we may as well make it the default.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
The DSC file has been using the wrong CPU type.
Update now uses -mcpu=cortex-a15.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Latest code tree has changed the order that things get called so we have to move the memory init to a different place
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Update the TC1 BSP so that it builds and boots on the latest UEFI tree.
Currently, this version hangs after:
Memory Init PEIM Loaded
Therefore, more work is needed.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Add the BSP for the Versatile Express CTA15x2 TC1 Core Tile
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Currently, only ".efi" files are recognized as valid ARM UEFI
applications by BDS. This patch, as a temporary workaround, also
makes ".EFI" files recognised.
|
|
This patch should be squashed down for 13.06.
Remove "console=tty0" from the kernel commandline as it is no longer required.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch updates the default config to boot the kernel (uImage, uInitrd) with ATAGS using a command line that is suitable for both Android and Ubuntu.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
This patch should be squashed down for 13.06.
Remove "console=tty0" from the kernel commandline as it is no longer required.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
We always build with the single binary option, so make it the default.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
We always build with EDK2_ARMVE_STANDALONE=1 and the non-standalone build is broken anyway, so we may as well default to the standalone build.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Allow the build to set the output directory using the EDK2_OUT_DIR
parameter.
Eg.
build -a ARM -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc
-t ARMLINUXGCC \
-D EDK2_ARMVE_STANDALONE=1 \
-D EDK2_OUT_DIR=Build/vea9
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Allow a single UEFI binary to be built, containing both the secure and
non-secure images in one.
This is achieved at build time by passing the option:
-D EDK2_ARMVE_SINGLE_BINARY
Eg:
build -a ARM -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc \
-t ARMLINUXGCC
-D EDK2_ARMVE_STANDALONE=1
-D EDK2_ARMVE_SINGLE_BINARY=1
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|