>>I think it might be easier to change code in the newer UEFI shell.
Which newer UEFI Shell code you mean?
I tried manually load HiiDatabase.efi and DevicePathDxe.efi, but after that
i got new error:
ASSERT_EFI_ERROR(Status= Device Error)
at that lines of code
Status = ShellCommandLibConstructor
hi, ARM experts:
I am studying ARM code.
I found ArmPlatformSec code had call ArmDisableInterrupts().
So, when to enable interrupts?
It seemed PEI phase did not need timer interrupt.
But DXE phase need timer interrupt to schedule tasks.
best wishes,--
I resoved that assert by additional loading Uc2OnUcThunk.efi and then Shell
started.
But now I have new question: how to load those *.efi files from Shell code?
--
Valery.
2012/10/26 Валерий Бицоев
> >>I think it might be easier to change code in the newer UEFI shell.
> Which newer UEFI Shell co
hi, ARM experts:
I have a question about gArmGlobalVariableGuid hob.
It seemed PlatformPeim would create a gArmGlobalVariableGuid hob to describe
global variable area.
Based on dsc/dec file, it seemed only pre-reserved 0x04 bytes for global
variable on the top of primary core stack.
So, who wil
Opening the file in create mode is the problem. Change this:
status = root->Open (
root,
file,
L"\\EFI\\BOOT\\FILE.TXT",
EFI_FILE_MODE_READ | EFI_FILE_MODE_WRITE |
EFI_FILE_MODE_CREATE,
0
We can run both UEFI and Legacy OpROM start in preboot, but it will bring
potential problem as device configuration will be possibly messed up, unless
the BIOS or UEFI/Legacy OpROM aware this. BlockIo protocol is used to access
storage device in preboot phase, BlockIo protocol is based on either
As far as I understand, I can enable secure memory on the simulator by setting
daughterboard.secure_memory=1. That way the model partitions SRAM and DRAM into
secure and non-secure memory and marks Boot ROM as secure memory. With that
configuration the VE memory map changes as described here
ht
2012/10/25 Gonglei (Arei)
> Hi, Bei
>
> >I have installed an UEFI OS using the config like this:
>
> >disk = [ 'file:/root/xen_img/hvm_ubuntu1010_uefi2.img,ioemu:hda,w',
> 'file:/root/ubuntu-10.10-desktop-amd64.iso,hdc:cdrom,r' ]
>
> ** **
>
> I have tried ubuntu-10.10-desktop-amd64.
This file is from the efilinux project where it resides
under the path loaders/bzimage/bzimage.h.
Signed-off-by: Jordan Justen
Cc: Matt Fleming
---
OvmfPkg/Include/IndustryStandard/LinuxBzimage.h | 164 +++
1 file changed, 164 insertions(+)
create mode 100644 OvmfPkg/Inclu
If QEMU's -kernel parameter was used, then download the
kernel from the FwCfg interface, and launch it. (See -kernel,
-initrd, -append) The application uses the LoadLinuxLib to boot
the kernel image.
Signed-off-by: Jordan Justen
---
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c |5 +
Ov
This series adds support for QEMU's -kernel option by porting
the efilinux project into OvmfPkg.
v3:
* Fix memory allocation ranges for kernel setup and initrd
* Use ramdisk_max kernel setup field properly
* Port GOP based framebuffer init from efilinux
* Cleanup unused portions of LinuxGdt.c
Signed-off-by: Jordan Justen
---
OvmfPkg/Include/Library/LoadLinuxLib.h | 212
OvmfPkg/OvmfPkg.dec|4 +
2 files changed, 216 insertions(+)
create mode 100644 OvmfPkg/Include/Library/LoadLinuxLib.h
diff --git a/OvmfPkg/Include/Library/Loa
This code is based on efilinux's bzimage support.
git://git.kernel.org/pub/scm/boot/efilinux/efilinux.git
Signed-off-by: Jordan Justen
Cc: Matt Fleming
---
OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.S | 29 +
OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.asm | 35 ++
OvmfPkg/Library/
Hi Olivier,
It looks like there is a bug in this commit (13773). The SerialPortGetControl
(OUT *Control) function must return something in its Control argument. As is,
the function just returns SUCCESS and Control has garbage, which causes ConIn
to intermittently fail.
I think the SerialPortExt
I think there are also the following cosmetic issues in TemplateSerialPortLib.c:
1. The type of SerialPortGetControl is RETURN_STATUS, but it returns
EFI_SUCCESS, it should return RETURN_SUCCESS.
2. The type of SerialPortPoll is BOOLEAN, so it should return TRUE/FALSE,
not 0.
Regar
Olivier,
This change doesn't seem quite right. If you are introducing a library
interface, then EmbeddedPkg/SerialDxe/SerialDxe.inf should have that
library listed since it uses it.
In other words, shouldn't EmbeddedPkg/SerialDxe/SerialDxe.inf have
SerialPortExtLib listed in its LibraryClasses se
On Fri, Oct 26, 2012 at 12:43 AM, Валерий Бицоев wrote:
> I resoved that assert by additional loading Uc2OnUcThunk.efi and then Shell
> started.
> But now I have new question: how to load those *.efi files from Shell code?
Maybe a .nsh script could be used to load them and then the shell?
-Jorda
Part of the PCD infrastructure is the size of the data item. There are PPI and
Protocol functions for this. And it is in the .DEC. But the EDK2 infrastructure
does provide a way to get this in a generic fashion. It does not generate a
#define for it, or provide a PcdLib.h macro.
Any plans to co
Lewis:
Do you request this macro works for all PCD types (Fixed, Patchable, Dynamic,
DynamicEx) or just for DynamicEx?
Thanks
Liming
From: Tim Lewis [mailto:tim.le...@insyde.com]
Sent: Saturday, October 27, 2012 7:34 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] no PcdGetSize macro?
I want it to work for all types here VOID * is supported. Otherwise, there is
no way to do a CopyMem from the data structure. And I would prefer to not have
the module be dependent on Dynamic or DynamicEx
From: Gao, Liming [mailto:liming@intel.com]
Sent: Friday, October 26, 2012 8:42 PM
To:
20 matches
Mail list logo