Hi
I'm trying to book BE image from UEFI. I got the following error message:
"Command Error Status: Unsupported"
We've noticed that the EFI header is wrong (no 0x5A4D signature and the rest of the stuff).
This is cause since when EFI config is not enabled when CPU_BIG_ENDIAN is configured.
* Is there a pending patch which enables EFI when Big endian is configured? Are there any plans for that?
* If not, what are the needed steps in order to enable it?
Thanks,
Haim
________________________________
Haim Boot, Marvell Israel - SW Engineer
6 Hamada Street
Mordot HaCarmel Industrial Park
Yokneam, 20692, Israel
Email: hayim(a)marvell.com<mailto:hayim@marvell.com>
Office: +972.4.9091520 - OnNet: 704.1520
Fax: +972.4.9091501
Web site: http://www.marvell.com<http://www.marvell.com/>
This message may contain confidential, proprietary or legally privileged information. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone or by e-mail and delete the message from your computer.
________________________________
Hi Ard,
I am working on support for AHCI controller for my ARMv8 platform and
I decide to use PciEmulation approach. I was able to run XHCI via
PciEmulation without problems, but unfortunately with AHCI it isn't
working.
Controller is compatible with AHCI specification. It isn't
dma-coherent and I think that problem lies here.
Initialization timeouts in below part of code:
//
// Enable FIS Receive DMA engine for the first D2H FIS.
//
Offset = EFI_AHCI_PORT_START + Port * EFI_AHCI_PORT_REG_WIDTH +
EFI_AHCI_PORT_CMD;
AhciOrReg (PciIo, Offset, EFI_AHCI_PORT_CMD_FRE);
Status = AhciWaitMmioSet (
PciIo,
Offset,
EFI_AHCI_PORT_CMD_FR,
EFI_AHCI_PORT_CMD_FR,
EFI_AHCI_PORT_CMD_FR_CLEAR_TIMEOUT
);
if (EFI_ERROR (Status)) {
continue;
}
Where do you think may be problem?
Do you have any tips what should I try to do?
Thanks,
Jan
The pre-v3.0 SMBIOS entry point only has a 32-bit field to store the
address of the structure table, and so it does not make sense to attempt
to generate such an entry point if you don't have any RAM below 4 GB.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel(a)linaro.org>
---
Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 2 ++
Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc
index 581a2e02f9b8..892068f62025 100644
--- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc
+++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc
@@ -507,6 +507,8 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2)
gAmdStyxTokenSpaceGuid.PcdPsciOsSupport|TRUE
gAmdStyxTokenSpaceGuid.PcdIscpSupport|TRUE
+ # SMBIOS 3.0 only
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
[PcdsDynamicDefault.common]
gAmdStyxTokenSpaceGuid.PcdSocCoreCount|$(NUM_CORES)
diff --git a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc
index 16b6f5469ca7..32d97c017b46 100644
--- a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc
+++ b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc
@@ -519,6 +519,8 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2)
gAmdStyxTokenSpaceGuid.PcdIscpSupport|FALSE
!endif
+ # SMBIOS 3.0 only
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
[PcdsDynamicDefault.common]
gAmdStyxTokenSpaceGuid.PcdSocCoreCount|$(NUM_CORES)
--
2.7.4
This replaces the EmuVariableRuntime driver (which loses its memory at
reset) with the real VariableRuntimeDxe runtime driver backed by the
SPI flash which is accessed via the SCP.
This involves keeping a copy of the varstore contents in memory, and
keeping it in sync with the Write() and Erase() commands that are
issued via the firmware volume protocol.
Only mildly tested. Not tested yet under the OS.
Ard Biesheuvel (4):
Platforms/AMD/Styx: implement SPI flash runtime driver to back the
varstore
Platforms/AMD/Styx: reshuffle flash layout and add variable store
region
Platforms/AMD/Styx: reallocate the in-memory copy of the varstore FV
Platforms/AMD/Styx: switch to the real variable runtime driver
Platforms/AMD/Styx/AmdStyx.dec | 6 +
Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 14 +-
Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf | 10 +-
Platforms/AMD/Styx/Common/Varstore.fdf.inc | 70 +++
Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.c | 503 ++++++++++++++++++++
Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.inf | 63 +++
Platforms/AMD/Styx/Library/MemoryInitPei/MemoryInitPeiLib.c | 41 ++
Platforms/AMD/Styx/Library/MemoryInitPei/MemoryInitPeiLib.inf | 9 +
Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 15 +-
Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 10 +-
10 files changed, 729 insertions(+), 12 deletions(-)
create mode 100644 Platforms/AMD/Styx/Common/Varstore.fdf.inc
create mode 100644 Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.c
create mode 100644 Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.inf
--
2.7.4
Hi All,
I have few doubts in SATA stack.
I have seen at some places that in UEFI/EDK2, The complete ATA stack should be like:
IdeControllerDxe +
AtaAtapiPassThru +
AtaBus +
ScsiBus +
ScsiDisk +
PartitionDriver +
Fat
What is the role of "ScsiBus + ScsiDisk" in this stack?
Complete AHCI specific code is there in "AtaAtapiPassThru"? Is this code AHCI 1.3 spec compliant?
Then why ScSi bus layer is required?
Thanks and Regards,
Shaveta
From: Sami Mujawar <sami.mujawar(a)arm.com>
The generic PL011 driver has been updated to allow for UARTs on a board
having different clock sources (as is the case on Juno).
This changes the Juno code to make use of the new driver options.
The solution involves using the Baud rate and new PL011UartClkInHz PCDs
to configure the UART ports.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Alexei Fedorov <alexei.fedorov(a)arm.com>
Signed-off-by: Girish Pathak <girish.pathak(a)arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar(a)arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd(a)arm.com>
---
Platforms/ARM/Juno/ArmJuno.dsc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc
index b718794..3e17831 100644
--- a/Platforms/ARM/Juno/ArmJuno.dsc
+++ b/Platforms/ARM/Juno/ArmJuno.dsc
@@ -126,8 +126,7 @@
## PL011 - Serial Terminal
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x7FF80000
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
- gArmPlatformTokenSpaceGuid.PL011UartInteger|4
- gArmPlatformTokenSpaceGuid.PL011UartFractional|0
+ gArmPlatformTokenSpaceGuid.PL011UartClkInHz|7372800
gArmPlatformTokenSpaceGuid.PL011UartInterrupt|115
## PL031 RealTimeClock
--
2.7.0