summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
AgeCommit message (Collapse)Author
2013-06-21Merge branch 'linaro-topic-bds' into linaro-tracking-2013.06linaro-uefi-2013.06-rc6Ryan Harkin
2013-06-21ArmPlatformPkg/Bds: stop inputting more characters when string is fullRyan Harkin
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>
2013-06-17Merge branch 'linaro-topic-misc' into linaro-tracking-2013.06linaro-uefi-2013.06-rc5Ryan Harkin
2013-06-17RTSM-A15_MPCore: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-17RTSM-A15: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-17RTSM-A9x4: add EDK2_OUT_DIR supportRyan Harkin
Allow the build to specify where to put the output directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-10Merge branch 'linaro-topic-tc1' into linaro-tracking-2013.06linaro-uefi-2013.06-rc3Ryan Harkin
2013-06-10Merge branch 'linaro-topic-a5' into linaro-tracking-2013.06Ryan Harkin
2013-06-10VEA5: Fix A5 build for latest upstream changesRyan Harkin
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>
2013-06-10TC1: Fix TC1 build for latest upstream changesRyan Harkin
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>
2013-06-07Merge branch 'linaro-topic-misc' into linaro-tracking-2013.06linaro-uefi-2013.06-rc2Ryan Harkin
2013-06-07Merge branch 'linaro-topic-bds' into linaro-tracking-2013.06Ryan Harkin
2013-06-07ArmPlatformPkg: add Shutdown supportRyan Harkin
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>
2013-06-07ArmPlatformPkg/Bds: allow space in for newline in menu inputRyan Harkin
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>
2013-06-07ArmPlatformPkg/Bds: Add Reboot and Shutdown options to main menuRyan Harkin
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>
2013-06-06Merge branch 'linaro-topic-tc2' into linaro-tracking-2013.06linaro-uefi-2013.06-rc1Ryan Harkin
2013-06-06Merge branch 'linaro-topic-tc1' into linaro-tracking-2013.06Ryan Harkin
2013-06-06Merge branch 'linaro-topic-misc' into linaro-tracking-2013.06Ryan Harkin
2013-06-06Merge branch 'linaro-topic-bds' into linaro-tracking-2013.06Ryan Harkin
2013-06-06Merge branch 'linaro-topic-a9' into linaro-tracking-2013.06Ryan Harkin
2013-06-06RTSM-A15_MPCore: Use Linaro default configRyan Harkin
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>
2013-06-06RTSM-A15: Use Linaro default configRyan Harkin
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>
2013-06-06RTSM-A9x4: Use Linaro default configRyan Harkin
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>
2013-06-06ArmPlatformPkg/Bds: add local FDT configRyan Harkin
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>
2013-06-06ArmPlatformPkg/Bds: show global FDT config in main menuRyan Harkin
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>
2013-06-06ArmPlatformPkg/Bds: use letters for hard coded boot menu optionsRyan Harkin
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>
2013-06-06TC2: Update default kernel commandlineRyan Harkin
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>
2013-06-06TC2: rename PcdFdtLocalDevicePath to PcdDefaultFdtLocalDevicePathRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06TC2: use Linaro default configRyan Harkin
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>
2013-06-06TC2: Allow EDK2_SKIP_PEICORE to be specified at build timeRyan Harkin
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>
2013-06-06TC2: Add support for EDK2_OUT_DIR build parameterRyan Harkin
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>
2013-06-06TC1: Update default kernel commandlineRyan Harkin
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>
2013-06-06TC1: rename PcdFdtLocalDevicePath to PcdDefaultFdtLocalDevicePathRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06TC1: use Linaro default configRyan Harkin
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>
2013-06-06TC1: set correct architected timer frequencyRyan Harkin
It was being set to 60MHz when it should have been 600MHz. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06TC1: set refresh periodRyan Harkin
This patch fixes TC1 instablility. Setting the DRAM refresh period seems to be the cure. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06TC1: Disable Loop BufferRyan Harkin
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>
2013-06-06TC1: default to EDK2_ARMVE_STANDALONE=1Ryan Harkin
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>
2013-06-06TC1: use correct CPU type in DSC fileRyan Harkin
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>
2013-06-06TC1: fix memory initRyan Harkin
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>
2013-06-06TC1: Fix BSP for latest UEFI treeRyan Harkin
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>
2013-06-06TC1: Add Versatile Express CTA15x2 BSPRyan Harkin
Add the BSP for the Versatile Express CTA15x2 TC1 Core Tile Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06Make ".EFI" files recognizable as EFI applications.Leif Lindholm
Currently, only ".efi" files are recognized as valid ARM UEFI applications by BDS. This patch, as a temporary workaround, also makes ".EFI" files recognised.
2013-06-06VEA9: Update default kernel commandlineRyan Harkin
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>
2013-06-06VEA9: use Linaro default configRyan Harkin
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>
2013-06-06VEA5: Update default kernel commandlineRyan Harkin
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>
2013-06-06VEA9: default to EDK2_ARMVE_SINGLE_BINARY=1Ryan Harkin
We always build with the single binary option, so make it the default. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2013-06-06VEA9: default to EDK2_ARMVE_STANDALONE=1Ryan Harkin
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>
2013-06-06VEA9: allow custom output directoryRyan Harkin
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>
2013-06-06VEA9: Add single binary configRyan Harkin
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>