If you want to build Shell, please update your target_conf as
ACTIVE_PLATFORM = ShellPkg\ShellPkg.dsc
On Wed, Jul 8, 2015 at 10:25 PM, Tony wrote:
> I am very new to uefi dev and trying to understand how the environment
> needs to be setup to bring up the uefi shell.
>
> My current e
1. The PCIR data structure contain 2 byte pointer to device id table and
the device id table is a list containing device ids which your ROM can
support.device id is a 2 byte field that's why each entry in device id
table is 2 byte wide
2 UEFI driver model, when your driver is called in "driver bin
I am planning to submit the patch soon…
>
>
>
> *From:* Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
> *Sent:* 27 May 2015 03:15
> *To:* edk2-devel@lists.sourceforge.net
> *Subject:* [edk2] TFTP client application in UEFI
>
>
>
> Hi All,
>
>
>
> I
Hi All,
Is there any open source project which has tftp client for UEFI? I am
looking for a simple UEFI application which connects to tftp server and
download the file.
any pointers will help.
-
Thanks
Neeraj
in summary
1. Change the gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel = 0x
2. run build -D -D DEBUG_ON_SERIAL_PORT
3. install com2com ( to create virtual COM ports on your laptop in case you
dont have )
4. qemu-system-x86_64.exe -bios OVMF.fd -serial COM1
On Sun, May 24, 2015 at
Hello,
We have two
UEFI i
mages in our partition, the goal is to find a particular image from two (
names could change, size could change , location could change ) and start
it.
all we know is one image is signed using a certificate issued by XYZ
company and second image is signed using a certi
Hello All,
I want to write few registers before memory init( in memory controller), I
don't think it can be done but is there "*any*" possibility it can be done(
by hook or crook) using a uefi shell application or any other way?
Experimenting on a platform without debugger.
Thanks
Neeraj
---
You mean changing tables during subsequent boot or runtime? IMHO, During
reboot, boot fw can choose which table to populate .
Neeraj
On Sep 19, 2014 11:10 AM, "Narinder Dhillon" wrote:
> Hi All,
>
> In order to add ACPI tables to UEFI, iasl compiler has to be downloaded
> from acpica.org.
> UE
One way could be to query HII variable in your applications.
On Sun, Sep 14, 2014 at 7:26 PM, J. E. wrote:
>
> How do I check if Secure Boot is enabled or disabled in an EFI app?
>
>
> --
> Want excitement?
> Manually up
t; Some server have multi PCI segment. These PCI segment are put
> above 4GB to save more memory space belowme
>
> 4GB for legacy device(some device only use 32-bit Memory Mapped IO
> space).My SMI want to access these PCI segment.
>
> But I can’t find a method to touch it
Hi,
as par SDM section 34.5.1. not sure if its a hardware limitation.
"After saving the current context of the processor, the processor
initializes its core registers to the values shown in Table 34-4. Upon
entering SMM, the PE and PG flags in control register CR0 are cleared,
which places the p
> "The earth is round and the place which may seem like the end may also be
> the beginning"
>
> ----------
>
&g
you can include SourceLevelDebugPkg for this purpose. refer to
documentation for the same.
Are you running from device or OVMF?
Neeraj
On Fri, Sep 5, 2014 at 12:37 PM, partha sarathi swain <
partha161.sili...@gmail.com> wrote:
> Hi All,
>
> I have downloaded EDK (UEDK2014) from taniacore sit
Yes, I installed nasm.
Neeraj
Did you update Conf/build_rules.txt to use nasm?
On 25.08.2014, at 14:29, chen.fan.f...@cn.fujitsu.com wrote:
> Hi,
>
> I always built OVMF successfully, but today I pull the newest edk2 code
> to build OVMF then showing building failure:
>
> ---
I faced the same issue. For time being I commented line 506 in PCI.c and
build. It builds fine. Pls look at my last post on this forum regarding
same.
Neeraj
On Aug 25, 2014 4:01 PM, "chen.fan.f...@cn.fujitsu.com" <
chen.fan.f...@cn.fujitsu.com> wrote:
> Hi,
>
> I always built OVMF successfully,
Hi Jaben,
The recent commit f056e4c18047e9a0157a915175d07afbd8b8c581(Fri Aug 22
17:02:11) is broken on GCC 4.7,
+ {
+0x20,
+L"Ethernet (802.11a <96> 5 GHz)",
+PCIBlankEntry
+ },
+ {
+0x21,
+L"Ethernet (802.11b <96> 2.4 GHz)",
+PCIBlankEntry
+ },
Reverting this push bu
Check if your UEFI oprom execution is enabled in your UEFI setup.
On Fri, Aug 1, 2014 at 4:51 PM, sushma s wrote:
> Hello,
>
> We have written a UEFI driver for PCIe card.
> The PCIe card already has legacy optrom image, which is loaded while booting
> in legacy BIOS mode. Along with this legacy
Also please check if you have an option to add a pci function(BDF) as boot
device, if so, please add the BDF and change the boot order to point to
newly added boot device as first boot device.
Thanks
Neeraj
On Wed, Mar 12, 2014 at 6:42 PM, Neeraj Ladkani wrote:
> >> I think, that
nd my driver not present.
> But after "loadpcirom" - my driver present in a "drivers" list.
>
> > 11.03.2014, 17:46, "Neeraj Ladkani" :
> > Can you try disabling SATA/RAID and other on board storage controllers ?
> there might be a possibility that BIO
evice-> ->Option Rom Execution " option
> isn't present in the BIOS settings.
> "UEFI Boot -> Enable", and all optimizations disabled, of course.
>
> i'm no idea, what i do wrong...
> Maybe reason in platform policy?
>
>
> 07.03.2014, 22:08, &qu
very basic input... sometime on specific platforms, PCIe oprom execution is
disabled by default , please check in UEFI Setup -> PCI device->
->Option Rom Execution might be disabled.
Thanks
Neeraj
On Fri, Mar 7, 2014 at 1:25 PM, Onipchuk Vladimir wrote:
>
>
> My DEBUG prints uses .
> Even i
om image, but some does. You should check what you
> report when execute efirom.
> > Igor Sharovar
> >
> > On Wed, Mar 5, 2014 at 5:54 AM, Neeraj Ladkani
> wrote:
> >> if you are trying to locate a specific protocol from your driver, it
> might not installed durin
if you are trying to locate a specific protocol from your driver, it might
not installed during boot process so it doesn't work, but when you execute
it from shell the consumed protocol might already been loaded by some other
driver so it works.
please check the protocol you are trying to locate
One main reason could be your polling functions as UEFI doesn't have
interrupts.
On Tue, Dec 24, 2013 at 5:56 PM, boot devel wrote:
> Hi,
>
> My legacy optionrom driver downloads windows boot image over PXE in few
> seconds but uefi optionrom is taking several minutes, what could be the
> r
HI Shiva,
IMHO, typically PHY init functions depends on the firmware running on
adapter card and the Option Rom running from adapter card drives the
firmware. Since you are running on ARM platform, adapter option rom might
not be supported ( check EBC). it might be a reason for your PHY init
fai
Simon,
if your data values are predefined, you can create them in formset and hide
them using supressif upon a condition.
On Sat, Sep 28, 2013 at 3:33 PM, Galla Rao wrote:
> I used it in EDKI & UDK2010 it worked for me
>
>
> On Fri, Sep 27, 2013 at 9:34 PM, Simon (Xiang) Lian-SSI <
> simon.
Hi Rafael,
if you want to just send one IPMI message and process the response, you
don't want to implement whole IPMI protocol, frame the IPMI request send it
over transport ( SSIF, KCS, IPMB ) using base protocols ( IO mapped ,
SMBUS) , and process the response.
Thanks
Neeraj
Thanks
Neeraj
System can boot either in Legacy or in UEFI mode… so platform bios can give
a option to user to choose the mode in which they want network / storage
oprom to run.
Exception of this could be a need of preboot features( e.g. CLP ) if which
might be implemented only in one mode of oprom,
On Tue,
Just curious to know if the UNI( for HII ) also need to have similar language
codes to be order to comply with spec?
#string STR_BUS_DEV_FUNC #language en-US "Bus:Dev:Func"
#language fr-FR
"*."
From: Richardson, Bria
g to 2.
Thanks,
Eric
From: Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
Sent: Thursday, August 09, 2012 9:14 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: [edk2] RouteConfig query
Hello,
I have a HII form set in my OPROM UEFI driver which has m
It could be loaded /unloaded in shell to enable/disable source debugging
feature. If enabled, you could source debugging your UEFI driver loaded in
shell. Wish it could help you.
Jeff
From: Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
Sent: Tuesday, August 28, 2012 11:34 PM
To: edk2-devel@l
Hello All,
I am able to do source debugging using WinDBG on OVMF Package. is there any
mechanism using which we can do source debugging for my option rom (UEFI
driver) built with SourceLevelDebugPkg loaded on a real system which has
production system bios ( not built with SOURCE_DEBUG_ENABLE).
.
Hello,
I have a HII form set in my OPROM UEFI driver which has many sub forms
inside, currently system bios calls RouteConfig->ExrtractConfig only once
while entering into my formset and
EFI_HII_CONFIG_ACCESS_PROTOCOL->RouteConfig every time I enter into
my subforms, are there any HII/VFR proper
is issue soon. Thanks.
>
> ** **
>
> Thanks,****
>
> Eric
>
> *From:* Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
> *Sent:* Tuesday, July 17, 2012 2:11 AM
> *To:* Gao, Liming; edk2-devel@lists.sourceforge.net
> *Subject:* Re: [edk2] Need Help on VFR question ids
>
Hello,
If you want to write small piece of code as a separate app...
1. Search using LocateHandleBuffer by providing GUID of protocol your
driver installs.
2. Once you have the handle(s), query the pciIO protocol using
HandleProtocol,
3. Do a PCI read as PciIo->Pci.Read(PciIo, EfiPciIoWidthUi
one imp thing is I am doing this as part of a oprom driver which has vfr
forms and compiled separately from system bios. can there be compatible
issues ?
Thanks
Neeraj
,
On Mon, Jul 16, 2012 at 11:43 AM, Neeraj Ladkani
wrote:
> Yes, exactly. When X.Y == 0x2, old one will show A 2 4 8,
DKII Browser driver to show your form?
> When X.Y == 0x2, old one will show A 2 4 8, but new one will show A 8 4
> 2 A 4 2, right?
>
> Thanks
> Liming
> From: Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com]
> Sent: Saturday, July 14, 2012 4:34 AM
> To: edk2-devel@lis
37 matches
Mail list logo