Hi all,
When I use generic BDS & boot manager, I found there's no highlight
string. It's hard to distinguish which item I'm selecting.
How to enable highlight string when the terminal type is TTYTERMTYPE?
Best Regards
Haojian
The BaseMemoryLib has switch to use BaseMemoryLibOptDxe at OPP, but
the flash module is device attributes and have to be alignment accessed.
so we change the flash related drivers to use generic BaseMemoryLib which
is alignment access.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo(a)linaro.org>
---
Platforms/Hisilicon/D05/D05.dsc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Platforms/Hisilicon/D05/D05.dsc b/Platforms/Hisilicon/D05/D05.dsc
index 6c4beef..84aa127 100644
--- a/Platforms/Hisilicon/D05/D05.dsc
+++ b/Platforms/Hisilicon/D05/D05.dsc
@@ -494,6 +494,7 @@
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
<LibraryClasses>
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
}
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
@@ -608,7 +609,10 @@
OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
!ifdef $(FDT_ENABLE)
- OpenPlatformPkg/Chips/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf
+ OpenPlatformPkg/Chips/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf {
+ <LibraryClasses>
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
+ }
!endif #$(FDT_ENABLE)
#PCIe Support
--
1.9.1
The images not from FV are treated as 3rd party images,
and will be dispatched after EndOfDxe event due to
EDK2 commit 8be37a5cee, so we signal a EndOfDxe event
or the bootloader application will not be executed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo(a)linaro.org>
---
Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 2 ++
Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 +
2 files changed, 3 insertions(+)
diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
index e6aaf61..58f44fe 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
@@ -157,6 +157,8 @@ PlatformBdsInit (
VOID
)
{
+ //Signal EndofDxe Event
+ EfiEventGroupSignal(&gEfiEndOfDxeEventGroupGuid);
}
diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
index 236e314..baceb57 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
@@ -67,6 +67,7 @@
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
[Guids]
+ gEfiEndOfDxeEventGroupGuid
gEfiFileInfoGuid
gEfiFileSystemInfoGuid
gEfiFileSystemVolumeLabelInfoIdGuid
--
1.9.1
Hi,
I send v5 of PciEmulation, which base on NonDiscoverablePciDeviceDxe driver:
[PATCH v3 0/5] MdeModulePkg: add support for non-discoverable devices
This version addresses all comments from previous one, details can be
found in the changelog.
Code is also available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp…
Tested on XHCI and SDHCI. New board should be available for us on
Monday.
I'm looking forward to your review.
Best regards,
Marcin
Changelog
v4 -> v5
* Fix gMarvellTokenSpaceGuid.PcdPciEXhci
* Add comments in the driver and remove outdated one
* Add DEV_ENABLED macro
* Replace PCI_E with PCIE prefix
* Add 'm' prefix to A70x0PlatDescTemplate
* Improve printing on errors
v3 -> v4
* Remove Pcd string parsing
* Add HW description structure
* Rewrite driver
* Adjust documentation
v2 -> v3
* Use static globals for PCD-related variables
* Check with 'if' in runtime if they are correct
* Return error on each kind of failure
* Don't use arrays of DmaTypes/DevTypes for registering
NonDiscoverableDevices
* Remove redundant protocols, includes, libraries
* Add reviewed-by in patches 2-6
v1 -> v2
* Move to NonDiscoverablePciDeviceDxe
Jan Dąbroś (3):
Platforms/Marvell: Enable PciEmulation driver for Armada70x0 platform
Platforms/Marvell: Enable USB stack for Armada70x0 platform
Platforms/Marvell: Enable SATA stack for Armada70x0 platform
Marcin Wojtas (3):
Platforms/Marvell: Add PciEmulation driver
Platforms/Marvell: Enable two xHCI ports for Armada70x0 board
Platforms/Marvell: Enable SATA port for Armada70x0 board
.../Marvell/PortingGuide/PciEmulation.txt | 31 +++
Platforms/Marvell/Armada/Armada.dsc.inc | 19 ++
Platforms/Marvell/Armada/Armada70x0.dsc | 7 +
Platforms/Marvell/Armada/Armada70x0.fdf | 18 ++
Platforms/Marvell/Marvell.dec | 5 +
Platforms/Marvell/PciEmulation/PciEmulation.c | 230 +++++++++++++++++++++
Platforms/Marvell/PciEmulation/PciEmulation.inf | 61 ++++++
7 files changed, 371 insertions(+)
create mode 100644 Documentation/Marvell/PortingGuide/PciEmulation.txt
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.c
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.inf
--
1.8.3.1
Hi,
I send v4 of PciEmulation, which base on NonDiscoverablePciDeviceDxe driver:
[PATCH v3 0/5] MdeModulePkg: add support for non-discoverable devices
Because I was forced to adapt registration of the devices after yesterday's
patchset from Ard, I didn't want to add another string-based PCD (with mem
region size), so basically entire PciEmulation was re-written. String
parsing removed and added Armada 70x0 XHCI/AHCI/SDHCI description in a
static structure.
This allowed to clean init sequence and use single PCD per interface type.
Code is also available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp…
Tested on XHCI and SDHCI. New board is still on it's way, so we have to
wait for AHCI verification.
I'm looking forward to your review.
Best regards,
Marcin
Changelog
v3 -> v4
* Remove Pcd string parsing
* Add HW description structure
* Rewrite driver
* Adjust documentation
v2 -> v3
* Use static globals for PCD-related variables
* Check with 'if' in runtime if they are correct
* Return error on each kind of failure
* Don't use arrays of DmaTypes/DevTypes for registering
NonDiscoverableDevices
* Remove redundant protocols, includes, libraries
* Add reviewed-by in patches 2-6
v1 -> v2
* Move to NonDiscoverablePciDeviceDxe
Jan Dąbroś (3):
Platforms/Marvell: Enable PciEmulation driver for Armada70x0 platform
Platforms/Marvell: Enable USB stack for Armada70x0 platform
Platforms/Marvell: Enable SATA stack for Armada70x0 platform
Marcin Wojtas (3):
Platforms/Marvell: Add PciEmulation driver
Platforms/Marvell: Enable two xHCI ports for Armada70x0 board
Platforms/Marvell: Enable SATA port for Armada70x0 board
.../Marvell/PortingGuide/PciEmulation.txt | 31 +++
Platforms/Marvell/Armada/Armada.dsc.inc | 19 ++
Platforms/Marvell/Armada/Armada70x0.dsc | 7 +
Platforms/Marvell/Armada/Armada70x0.fdf | 18 ++
Platforms/Marvell/Marvell.dec | 5 +
Platforms/Marvell/PciEmulation/PciEmulation.c | 221 +++++++++++++++++++++
Platforms/Marvell/PciEmulation/PciEmulation.inf | 61 ++++++
7 files changed, 362 insertions(+)
create mode 100644 Documentation/Marvell/PortingGuide/PciEmulation.txt
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.c
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.inf
--
1.8.3.1