|
|
eb7fe6 |
From 20b1f1cbd0590aa71c6d99d35e23cf08e0707750 Mon Sep 17 00:00:00 2001
|
|
|
eb7fe6 |
From: Laszlo Ersek <lersek@redhat.com>
|
|
|
eb7fe6 |
Date: Wed, 14 Oct 2015 13:49:43 +0200
|
|
|
eb7fe6 |
Subject: ArmPlatformPkg: introduce fixed PCD for early hello message (RH only)
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
Drew has proposed that ARM|AARCH64 platform firmware (especially virtual
|
|
|
eb7fe6 |
machine firmware) print a reasonably early, simple hello message to the
|
|
|
eb7fe6 |
serial port, regardless of debug mask settings. This should inform
|
|
|
eb7fe6 |
interactive users, and provide some rough help in localizing boot
|
|
|
eb7fe6 |
problems, even with restrictive debug masks.
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
If a platform doesn't want this feature, it should stick with the default
|
|
|
eb7fe6 |
empty string.
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1270279
|
|
|
eb7fe6 |
Downstream only:
|
|
|
eb7fe6 |
<http://thread.gmane.org/gmane.comp.bios.edk2.devel/2996/focus=3433>.
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
- no changes
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
Suggested-by: Drew Jones <drjones@redhat.com>
|
|
|
eb7fe6 |
Contributed-under: TianoCore Contribution Agreement 1.0
|
|
|
eb7fe6 |
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
eb7fe6 |
(cherry picked from commit 7ce97b06421434c82095f01a1753a8c9c546cc30)
|
|
|
eb7fe6 |
---
|
|
|
eb7fe6 |
ArmPlatformPkg/ArmPlatformPkg.dec | 7 +++++++
|
|
|
eb7fe6 |
1 file changed, 7 insertions(+)
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
eb7fe6 |
index d756fd2..c265599 100644
|
|
|
eb7fe6 |
--- a/ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
eb7fe6 |
+++ b/ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
eb7fe6 |
@@ -125,6 +125,13 @@
|
|
|
eb7fe6 |
gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L""|VOID*|0x0000001B
|
|
|
eb7fe6 |
gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L""|VOID*|0x0000001C
|
|
|
eb7fe6 |
|
|
|
eb7fe6 |
+ #
|
|
|
eb7fe6 |
+ # Early hello message (ASCII string), printed to the serial port.
|
|
|
eb7fe6 |
+ # If set to the empty string, nothing is printed.
|
|
|
eb7fe6 |
+ # Otherwise, a trailing CRLF should be specified explicitly.
|
|
|
eb7fe6 |
+ #
|
|
|
eb7fe6 |
+ gArmPlatformTokenSpaceGuid.PcdEarlyHelloMessage|""|VOID*|0x00000100
|
|
|
eb7fe6 |
+
|
|
|
eb7fe6 |
[PcdsFixedAtBuild.common,PcdsDynamic.common]
|
|
|
eb7fe6 |
## PL031 RealTimeClock
|
|
|
eb7fe6 |
gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT32|0x00000024
|
|
|
eb7fe6 |
--
|
|
|
eb7fe6 |
1.8.3.1
|
|
|
eb7fe6 |
|