Re: [edk2] GetTime - TimeZone

2015-09-03 Thread Andrew Fish
eZone, and Daylight come from values set via SetTime(). I would posit if the RTC stores the TimeZone and Daylight information, then it makes sense to return that info. Thanks, Andrew Fish > ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c > implementation may ne

Re: [edk2] sprintf

2015-08-27 Thread Andrew Fish
/Applications/Main/Main.inf All the drivers, and most of the edk2 code just uses: https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/PrintLib.h https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/PrintLib.h Thanks, Andrew Fish

Re: [edk2] 答复: can ovmf boot from mbr partioned disk

2015-08-16 Thread Andrew Fish
the name of the 1st stage OS loader (EFI Application). Thanks, Andrew Fish -- Rod Smith rodsm...@rodsbooks.com http://www.rodsbooks.com -- ___ edk2-devel mailing list

Re: [edk2] can ovmf boot from mbr partioned disk

2015-08-15 Thread Andrew Fish
On Aug 15, 2015, at 9:01 PM, Fanhenglong fanhengl...@huawei.com wrote: 发件人: Andrew Fish [mailto:af...@apple.com mailto:af...@apple.com] 发送时间: 2015年8月16日 11:44 收件人: Fanhenglong 抄送: edk2-devel@lists.sourceforge.net mailto:edk2-devel@lists.sourceforge.net 主题: Re: [edk2] can ovmf boot

Re: [edk2] can ovmf boot from mbr partioned disk

2015-08-15 Thread Andrew Fish
, Andrew Fish Thanks! -- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net mailto:edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists

Re: [edk2] [PATCH] BaseTools: Add GCC49LTO tool chain: GCC49 with link time optimization

2015-08-14 Thread Andrew Fish
compiler. # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. # NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf It is not a full set of intrinsics, just what is needed for the edk2 coding standard. Thanks, Andrew Fish -- dwmw2

Re: [edk2] [PATCH] BaseTools: Add GCC49LTO tool chain: GCC49 with link time optimization

2015-08-14 Thread Andrew Fish
On Aug 14, 2015, at 8:36 AM, David Woodhouse dw...@infradead.org wrote: On Fri, 2015-08-14 at 08:13 -0700, Andrew Fish wrote: https://github.com/tianocore/edk2/blob/master/MdeModulePkg/MdeModulePkg.dsc [LibraryClasses.ARM, LibraryClasses.AARCH64] # # It is not possible to prevent ARM

Re: [edk2] __executable_start

2015-08-10 Thread Andrew Fish
to their executable address. So in general things are never linked to their executable address. Thanks, Andrew Fish Thanx. On Sun, Aug 9, 2015 at 9:16 PM, Ard Biesheuvel ard.biesheu...@linaro.org mailto:ard.biesheu...@linaro.org wrote: On 9 August 2015 at 23:20, Narinder Dhillon ndhillo...@gmail.com

Re: [edk2] what is way the to check available RT services

2015-07-27 Thread Andrew Fish
Service // EFI_QUERY_VARIABLE_INFO QueryVariableInfo; } EFI_RUNTIME_SERVICES; Thanks, Andrew Fish -Param -- ___ edk2-devel mailing list edk2-devel

Re: [edk2] GetNext of Smbios protocol not working

2015-07-23 Thread Andrew Fish
already have types, that have been tested. Thanks, Andrew Fish Shubha D. Ramani shubharam...@gmail.com mailto:shubharam...@gmail.com shubharam...@yahoo.com mailto:shubharam...@yahoo.com On Thursday, July 23, 2015 3:31 PM, Andrew Fish af...@apple.com wrote: On Jul 23, 2015, at 3:13

Re: [edk2] Merging OpenSSL support

2015-07-23 Thread Andrew Fish
edk2 project changes its include path, but otherwise your good to go. Thanks, Andrew Fish So we can't just tell it to include files from the openssl/include and openssl/crypto/include/ directories? So far I've just symlinked *all* of openssl/include/internal.*.h and openssl/crypto/include

Re: [edk2] [PATCH] CryptoPkg: OpensslLib: reintroduce EFIAPI for ERR_add_error_data()

2015-07-23 Thread Andrew Fish
. Thanks, Andrew Fish -- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel

Re: [edk2] GetNext of Smbios protocol not working

2015-07-23 Thread Andrew Fish
SMBIOS structure, not the header. If you just want the header it would we be sizeof (EFI_SMBIOS_TABLE_HEADER). Sp just standard C bugs. Thanks, Andrew Fish typedef struct { EFI_SMBIOS_TYPE Type; UINT8 Length; EFI_SMBIOS_HANDLE Handle; } EFI_SMBIOS_TABLE_HEADER; My

Re: [edk2] How can I get an efi version of acpidump ?

2015-07-15 Thread Andrew Fish
is updated to support VC++. You just need to change the -t, tools target in the build command to give it a try. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish af...@apple.com mailto:af...@apple.com Thanks, Andrew Fish PS Tried to attach this stuff as files

Re: [edk2] [PATCH] BaseTools: Add GCC49LTO tool chain: GCC49 with link time optimization

2015-07-15 Thread Andrew Fish
-unused-but-set-variable Thanks, Andrew Fish Thanks, Scott -Original Message- From: Scott Duplichan [mailto:sc...@notabs.org] Sent: Wednesday, July 15, 2015 12:03 AM To: Kinney, Michael D; edk2-devel@lists.sourceforge.net Cc: Mcdaniel, Daryl Subject: RE: [edk2] [PATCH] BaseTools

Re: [edk2] Filesystem support

2015-07-15 Thread Andrew Fish
SIGNATURE_TYPE_MBR0x01 #define SIGNATURE_TYPE_GUID 0x02 Thanks, Andrew Fish I am not getting from where it is populating these values of HD(). Now on selecting FS0, I saw following prints: Shell fs0: FS0:\ ls Get RTC Year: 15 Mon: 07 Day: 15 Hour: 17 Min: 24 Sec: 59 Get

Re: [edk2] upload two drivers

2015-07-15 Thread Andrew Fish
On Jul 15, 2015, at 2:55 AM, Laszlo Ersek ler...@redhat.com wrote: On 07/14/15 23:49, Andrew Fish wrote: On Jul 14, 2015, at 2:21 PM, Laszlo Ersek ler...@redhat.com mailto:ler...@redhat.com mailto:ler...@redhat.com mailto:ler...@redhat.com wrote: On 07/14/15 20:31, S.Vieira wrote

Re: [edk2] booting linux from SD memory card

2015-07-15 Thread Andrew Fish
*Protocol, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUTEFI_HANDLE *Device ); Thanks, Andrew Fish Kindly help. Thanks regards Meenakshi Aggarwal

Re: [edk2] upload two drivers

2015-07-14 Thread Andrew Fish
the INF file), and add that new NULL library to the DSC statement for the other driver. Conceptually the build system could support this behavior, since the library constructors and entry point functions are auto-gem’ed code, but it currently does not. Thanks, Andrew Fish Laszlo Thx

Re: [edk2] [patch] NetworkPkg: Fix an error that the call function declared implicitly.

2015-07-13 Thread Andrew Fish
Why not use some abstraction like the TimerLib? Sent from my iPhone On Jul 13, 2015, at 6:55 PM, Fu, Siyuan siyuan...@intel.com wrote: Lubo, What's the DnsHeader-Identification means? Why it use the value of TSC register? Siyuan -Original Message- From: Zhang, Lubo

Re: [edk2] [patch] NetworkPkg: Fix an error that the call function declared implicitly.

2015-07-13 Thread Andrew Fish
would break an emulator. How does this code compile for both the ARM architectures? Why not use the existing library API, GetPerformanceCounter() that abstracts the implementation. Thanks Andrew Fish -Original Message- From: Fu, Siyuan Sent: Tuesday, July 14, 2015 9:55 AM To: Zhang

Re: [edk2] Read string from KeyBoard

2015-07-09 Thread Andrew Fish
use ShellPromptForResponse(), or ShellPromptForResponseHii() if you need to localize the string. Thanks, Andrew Fish -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you

Re: [edk2] edk2 build problems

2015-07-09 Thread Andrew Fish
, Andrew Fish From: tony...@hotmail.com mailto:tony...@hotmail.com To: edk2-devel@lists.sourceforge.net mailto:edk2-devel@lists.sourceforge.net Date: Fri, 10 Jul 2015 00:27:52 + Subject: Re: [edk2] edk2 build problems Hello Neeraj, Thanks for your reply. I did as you suggested and updated my

Re: [edk2] edk2 build problems

2015-07-09 Thread Andrew Fish
?)? I would not expect you could have gotten the MdePkg and MdeModulePkg from the same place and see this error? Thanks, Andrew Fish Thanks. From: tony...@hotmail.com mailto:tony...@hotmail.com To: edk2-devel@lists.sourceforge.net mailto:edk2-devel@lists.sourceforge.net Date: Fri, 10 Jul

Re: [edk2] How to use same UEFI Option ROM binary for devices with different device ID?

2015-07-08 Thread Andrew Fish
) above are removed. The remaining image handles are sorted from highest to lowest based on the Version field of the EFI_DRIVER_BINDING_PROTOCOL instance associated with each image handle. Thanks, Andrew Fish -- Thanks and Regards: Anindya Rai

Re: [edk2] [PATCH] BaseTools/GenFw: Added AArch64 page-relative relocations

2015-07-08 Thread Andrew Fish
, required for PE/COFF) headers? SectionAlignment is the alignment of sections when copied to memory. FileAlignment is the alignment in the PE/COFF file. Thanks, Andrew Fish Every PE/COFF loader needs to be modified (including the ones in GRUB and shim, for instance) to prevent such images

Re: [edk2] [PATCH] BaseTools/GCC: allow unused but set variables

2015-07-08 Thread Andrew Fish
(PcdDebugPropertyMask) DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED) != 0) { CpuDeadLoop (); } } Thanks, Andrew Fish -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support

Re: [edk2] edk2 build problems

2015-07-08 Thread Andrew Fish
are only needed for OS hosted build tools, and the emulators. Thanks, Andrew Fish I will appreciate your assistance. Thanks, Tony -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide

Re: [edk2] [PATCH] BaseTools/GCC: allow unused but set variables

2015-07-08 Thread Andrew Fish
the compilers dead strip, but behaves more like the non #if path? Thanks, Andrew Fish but in any case, perhaps we should restrict MDEPKG_NDEBUG to RELEASE builds with older (4.4, 4.5, ... ?) gcc. ... I experimented a bit now. I removed MDEPKG_NDEBUG, and watched how the size of DXEFV changed

Re: [edk2] [PATCH] BaseTools/GenFw: Added AArch64 page-relative relocations

2015-07-08 Thread Andrew Fish
of the .text section and get that space back. Thanks, Andrew Fish -- Ard. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your

Re: [edk2] [PATCH V2 3/4] Accept VT220 DEL and function keys for TTY terminal type

2015-07-07 Thread Andrew Fish
TERMINAL_CON_IN_EX_DEV_FROM_THIS(a) CR (a, TERMINAL_DEV, SimpleInputEx, TERMINAL_DEV_SIGNATURE) Thanks, Andrew Fish I do the following when the INPUT_STATE_LEFTOPENBRACKET_2 is entered: +TtyEscapeStr[0] = UnicodeChar; +TtyEscapeIndex = 1; When any additional escape sequence characters are processed

Re: [edk2] NetworkPkg\Application\Ping6 does not compile

2015-07-07 Thread Andrew Fish
Vlv2TbltDevicePkg/PlatformPkgIA32.dsc:274: ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf Vlv2TbltDevicePkg/PlatformPkgX64.dsc:274: ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf Looks like: ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf should do it. Thanks, Andrew

Re: [edk2] XHCI with ARM-v8 based platform

2015-07-06 Thread Andrew Fish
the DMA Bus Master with the DeviceAddress returned by Map(). The common buffer can now be accessed equally by the processor and the DMA bus master. Call Unmap(). Call FreeBuffer(). Thanks, Andrew Fish Regards, Thomas

Re: [edk2] XHCI with ARM-v8 based platform

2015-07-06 Thread Andrew Fish
fill this register with host address) but ARM platforms aren't. On ARM it is not just 1:1 mapping, but also cache coherency. You can’t do DMA into catchable memory. So the Map(), Flush(), Unmap(), etc. functions hide the implementation detail from the driver code. Thanks, Andrew Fish EDKII

Re: [edk2] [PATCH] BaseTools: fix a syntax error in 4 KB aligned GNU ld linker script

2015-07-02 Thread Andrew Fish
On Jul 2, 2015, at 12:03 AM, Jordan Justen jordan.l.jus...@intel.com wrote: On 2015-07-01 23:22:37, Andrew Fish wrote: On Jul 1, 2015, at 11:08 PM, Jordan Justen jordan.l.jus...@intel.com wrote: On 2015-07-01 22:35:12, Gao, Liming wrote: Ard: Good to know --script option can

Re: [edk2] Question on DSC double includes

2015-07-01 Thread Andrew Fish
it has been fixed? Thanks, Andrew Fish From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, July 01, 2015 10:25 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Question on DSC double includes On Jun 30, 2015, at 7:12 PM, Gao, Liming liming@intel.com

Re: [edk2] Question on DSC double includes

2015-06-30 Thread Andrew Fish
On Jun 30, 2015, at 7:12 PM, Gao, Liming liming@intel.com wrote: Samer: What means back to back !include? What issue is it? Could you give one sample for it? I posted an example on the mailing list of the failure a while back. Thanks, Andrew Fish Thanks Liming From: El

Re: [edk2] [MdeModulePkg][PeiCore] Looks like there may be a PEI Core bug with Temp RAM?

2015-06-30 Thread Andrew Fish
On Jun 29, 2015, at 9:56 PM, Andrew Fish af...@apple.com wrote: I was playing around in an emulator and I started to see a crash with Private-Fv[0] having bad data. I root caused the bug and it looks like if gEfiTemporaryRamSupportPpiGuid path is taken there is an assumption about

Re: [edk2] edk2-devel Digest, Vol 66, Issue 397

2015-06-30 Thread Andrew Fish
On Jun 30, 2015, at 1:20 AM, D chinni babu d.chinnib...@gmail.com wrote: HI Andrew Fish, Thanks for the quick update. Still I am not clear on few things. 1. When exactly we go for Locking or why we need it ? If your driver publishes interfaces, Protocols in UEFI speak, or contains events

Re: [edk2] Question on DSC double includes

2015-06-30 Thread Andrew Fish
And doing ‘!include’ breaks line numbers in a lot of error messages. Thanks, Andrew Fish Thanks, --Samer -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools

Re: [edk2] Question on DSC double includes

2015-06-30 Thread Andrew Fish
spec issue statement below is cleared up. Anyone can comment on the DSC spec? My reading of the specification is it does not restrict you from doing this, as it makes nesting an optional feature. From: Andrew Fish [mailto:af...@apple.com] Sent: Tuesday, June 30, 2015 1:03 PM

Re: [edk2] Question on DSC double includes

2015-06-30 Thread Andrew Fish
, after returning from the !include the line numbers in the main file are now offset, etc. Thanks, Andrew Fish Cheers, Larry Hauch Intel Corporation SSG, STO, Platform Software Infrastructure 705 5th Ave S. Suite 500 Seattle, WA 98104 Work: (206) 701-8842 From: Andrew Fish [mailto:af

[edk2] [MdeModulePkg][PeiCore] Looks like there may be a PEI Core bug with Temp RAM?

2015-06-29 Thread Andrew Fish
memory space, so I think it needs to be accounted for differently. But the HeapOffset should just calculate the offset PeiTemporaryRamBase in the TemporarayRamBase? Thanks, Andrew Fish PS I verified the correct data is at the calculated correct address. (lldb) p *(PEI_CORE_FV_HANDLE

Re: [edk2] Few doubts on code execution

2015-06-29 Thread Andrew Fish
the system. Thanks, Andrew Fish Please help to clarify these things for better understanding of UEFI. Thanks, Chinni. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you

Re: [edk2] [PATCH] BaseTools for AArch64 GCC: Ensure that the correlation .text and .data is consistent between ELF and PE-COFF so the debugger sees global variables correctly

2015-06-23 Thread Andrew Fish
there is a better way, but it would be nice to solve this XIP issue in a general way. Thanks, Andrew Fish -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software

Re: [edk2] Assertion in Linked list - help

2015-06-23 Thread Andrew Fish
be the list operation before the one that ASSERTs is the bad one. Or if the corruption is in your program it is likely between the last working call and the failing call. Thanks, Andrew Fish For my debugging I have removed the global optimization flags (Gy, Gl)? Thanks Sai

Re: [edk2] PXE with manual TFTP server and filename options

2015-06-23 Thread Andrew Fish
On Jun 22, 2015, at 11:29 PM, Radha Mohan mohun...@gmail.com wrote: On Mon, Jun 22, 2015 at 10:49 PM, Andrew Fish af...@apple.com mailto:af...@apple.com wrote: On Jun 22, 2015, at 10:26 PM, Radha Mohan mohun...@gmail.com wrote: On Mon, Jun 22, 2015 at 10:19 PM, Ye, Ting ting

Re: [edk2] [PATCH] BaseTools for AArch64 GCC: Ensure that the correlation .text and .data is consistent between ELF and PE-COFF so the debugger sees global variables correctly

2015-06-22 Thread Andrew Fish
header? I seem to remember that PE/COFF loads the PE/COFF header into executable memory, but ELF does not. So that is why the adjustment is required. This value should be discoverable by the debugger script as it is the size of the PE/COFF header, stored in the header? Thanks, Andrew Fish

Re: [edk2] How to fix (CPU address space) upper address in EDKII

2015-06-22 Thread Andrew Fish
On Jun 22, 2015, at 8:21 AM, Jeyaraman Sundararajan (jeysunda) jeysu...@cisco.com wrote: Hi Andrew My answers inline From: Andrew Fish [mailto:af...@apple.com mailto:af...@apple.com] Sent: 22 June 2015 07:35 To: edk2-devel@lists.sourceforge.net mailto:edk2-devel

Re: [edk2] PXE with manual TFTP server and filename options

2015-06-22 Thread Andrew Fish
/EfiFileLib.c Thanks, Andrew Fish Best Regards, Ye Ting -Original Message- From: Leekha Shaveta [mailto:shav...@freescale.com] Sent: Tuesday, June 23, 2015 1:15 PM To: edk2-devel@lists.sourceforge.net Cc: Olivier Martin Subject: Re: [edk2] PXE with manual TFTP server and filename

Re: [edk2] How to fix (CPU address space) upper address in EDKII

2015-06-22 Thread Andrew Fish
- 0x. Have a fake region from 0xFFFE - 0xFFE in the FD flash map. Use a post processing tool to patch the value of the last 64K of the FD into the previous 64K. Thanks, Andrew Fish Thanks Jeyaram

Re: [edk2] Assertion in Linked list - help

2015-06-19 Thread Andrew Fish
in an infinite loop, if you initialize them incorrectly or have memory corruption. Thanks, Andrew Fish Your help is so much appreciated. Thanks Sai -- ___ edk2-devel mailing

Re: [edk2] Assertion in Linked list - help

2015-06-19 Thread Andrew Fish
. LIST_ENTRY ListData; LIST_ENTRY *ListHead = ListData; LIST_ENTRY *ListEntry = ListData; InitializeListHead (ListHead); for (i=0; i2; i++) { InsertHeadList (ListHead, ListEntry); } Thanks, Andrew Fish Thanks Sai From: Andrew Fish [mailto:af...@apple.com mailto:af...@apple.com

Re: [edk2] Mapping global variables to R/W memory during In Place execution

2015-06-19 Thread Andrew Fish
with globals. You can git grep for BuildGuidHob()/GetFirstGuidHob() to see the way PI PEIMs do it. Thanks, Andrew Fish Thanks Sakar -- ___ edk2-devel mailing list edk2

Re: [edk2] [PATCH v3] MdeModulePkg: Regular expression protocol

2015-06-19 Thread Andrew Fish
: It is likely that size_t maps to UINTN assuming all the compilers support “large” objects in their 64-bit flavors. Thanks, Andrew Fish From: Andrew Fish [af...@apple.com] Sent: Friday, June 19, 2015 11:38 To: edk2-devel@lists.sourceforge.net Subject

Re: [edk2] Console for Qemu

2015-06-18 Thread Andrew Fish
/Nt32Pkg/Library/Nt32BdsLib/PlatformData.c https://svn.code.sf.net/p/edk2/code/trunk/edk2/Nt32Pkg/Library/Nt32BdsLib/PlatformData.c If I remember correctly gPlatformConsole[] is would need a device path that would include the terminal type. Thanks, Andrew Fish Thanks, Roy

Re: [edk2] [PATCH] BaseTools for AArch64 GCC: Ensure that the correlation .text and .data is consistent between ELF and PE-COFF so the debugger sees global variables correctly

2015-06-17 Thread Andrew Fish
forward. Eugene, One question. Does this make the minimum PEIM size 64K? The original reason for the 32 byte alignment in the PE/COFF images was to make PEIMs smaller, the default is 4K alignment for sections. Thanks, Andrew Fish Thanks, Eugene -Original Message- From: Ard

Re: [edk2] [Patch] BaseTools: Fixed Build Option override bugs.

2015-06-16 Thread Andrew Fish
if two of the same form are in a DSC? Thanks, Andrew Fish Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu yingke.d@intel.com --- BaseTools/Source/Python/AutoGen/AutoGen.py | 20 .../Source/Python/Workspace/WorkspaceDatabase.py | 36

Re: [edk2] AARCH64: Timer Dxe

2015-06-14 Thread Andrew Fish
On Jun 14, 2015, at 2:35 AM, Sharma Bhupesh bhupesh.sha...@freescale.com wrote: From: Andrew Fish On Jun 13, 2015, at 1:52 AM, Sharma Bhupesh bhupesh.sha...@freescale.com wrote: Hi, Can some ARM expert help me with my queries below. The overall context is that I cannot get

Re: [edk2] USB3 driver development setup suggestions.

2015-06-14 Thread Andrew Fish
/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf:24: LIBRARY_CLASS = DebugLib Thanks, Andrew Fish -- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https

Re: [edk2] AARCH64: Timer Dxe

2015-06-13 Thread Andrew Fish
)) { // // Register the Core timer tick handler with the Timer AP // gTimer-RegisterHandler (gTimer, CoreTimerTick); } Thanks, Andrew Fish if (Timeout != 0x) { if (Timeout 0) { // Create the waiting events (keystroke and 1sec timer) gBS-CreateEvent (EVT_TIMER, 0

Re: [edk2] USB3 driver development setup suggestions.

2015-06-13 Thread Andrew Fish
of the DebugLib is in use. You can also see the PCD settings, and other useful information about all the drivers. Thanks, Andrew Fish Thanks, Eric -- ___ edk2-devel

Re: [edk2] Show image BMP with UEFI

2015-06-11 Thread Andrew Fish
( IN VOID *BmpImage, IN UINTN BmpImageSize, IN OUT VOID **GopBlt, IN OUT UINTN *GopBltSize, OUT UINTN *PixelHeight, OUT UINTN *PixelWidth ) Thanks, Andrew Fish Source code of the example: http://sourceforge.net/p/syslibforuefi/code/HEAD/tree

[edk2] [ShellPkg] I think there is an issue in ls.

2015-06-10 Thread Andrew Fish
== EFI_UNSPECIFIED_TIMEZONE // This is the current path in the code Assume time is local time, and print it out else: // This is the missing path. Adjust the FileSystemTime.TimeZone for the System.TimeZone (and System.Daylight), thus display the time in local time. Thanks, Andrew Fish

Re: [edk2] [ShellPkg] I think there is an issue in ls.

2015-06-10 Thread Andrew Fish
to see what the shell did. Since the shell seemed to be doing the wrong thing I decided to at least report it to the mailing list. I’m guessing more modern filesystems probably store the time in UTC? Thanks, Andrew Fish -Jaben -Original Message- From: Andrew Fish [mailto:af

Re: [edk2] [PATCH 0/4] Add an implementation of EFI_SMART_CARD_READER_PROTOCOL

2015-06-10 Thread Andrew Fish
the loads unsigned code) and get it signed by the CA. That is exactly how UEFI Secure Boot is supposed to work. Thanks, Andrew Fish There are about 168 UEFI projects on Github today. A few dozen would be useful to have under Tiano umbrella, current BSD-only licensing issues would prevent

Re: [edk2] attention git users: a productivity boost for edk2

2015-06-09 Thread Andrew Fish
diff=ini *.fdf.inc diff=ini *.inf diff=ini (2) in your .git/config, add [diff ini] xfuncname = ^\\[[A-Za-z0-9_., ]+] Nice find! Very useful indeed. Can we check this into git to make it the default for the project? Thanks, Andrew Fish

Re: [edk2] [Patch] BaseTools: Update nasmb build rule

2015-06-09 Thread Andrew Fish
but the rules in the FDF file are generic. So this is the reason that is hard to change. If we changed the build_rule.template file then the rules in platform FDF files would all break. So this ends up being a compatibility issue with trees based on the edk2. Thanks, Andrew Fish Anyway, my suggestion

Re: [edk2] Failures building due to tool problems.

2015-06-05 Thread Andrew Fish
Try deleting Conf/.cache You can add --no-cache to the build command. I don't know what the root cause is, probably some threading issue. It would be nice if the tools would just fix this error (delete cache and rebuild it) Sent from my iPhone On Jun 5, 2015, at 8:48 AM, Roberts, Bruce

Re: [edk2] Query UEFI : PCIE Driver for Armv8 platform

2015-06-05 Thread Andrew Fish
resource types supported by PCI. I/O so the inb outb instructions on X86 (IO BAR) 32-bit Prefetch and non-Prefetch memory (Memory BAR) 64-bit Prefetch and non-Prefetch memory (Memory BAR) PCI Bus numbers. (Bus Number) Thanks, Andrew Fish Thanks and Regards, Shaveta -Original Message

Re: [edk2] getsystemtime-- help

2015-06-05 Thread Andrew Fish
On Jun 5, 2015, at 4:29 PM, Andrew Fish af...@apple.com wrote: On Jun 5, 2015, at 4:21 PM, Andrew Fish af...@apple.com mailto:af...@apple.com wrote: On Jun 5, 2015, at 4:13 PM, Saiprasad Chavali s...@marvell.com mailto:s...@marvell.com wrote: Hi Andrew

Re: [edk2] Problem with PiSmmCore Dispatcher.c

2015-06-04 Thread Andrew Fish
happy. Let me know if you have any comments/questions. Zach, You need to add: Contributed-under: TianoCore Contribution Agreement 1.0 Thanks, Andrew Fish Best Regards, Zach From: Zachary Bobroff Sent: Tuesday, June 02, 2015 6:32 PM To: edk2-devel@lists.sourceforge.net

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-04 Thread Andrew Fish
the git commands to adjust the local repository. Thanks, Andrew Fish-- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2

Re: [edk2] Query UEFI : PCIE Driver for Armv8 platform

2015-06-04 Thread Andrew Fish
the same description technique there would be less chance for error. It also seemed to us that ACPI had already solved this problem (describing resources), so why invent a new way to do it. Thanks, Andrew Fish (2) I was referring ArmJunoPkg for PCI Host Bridge implementation. And found

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
, Andrew Fish Thanks, -- Brian J. Johnson My statements are my own, are not authorized by SGI, and do not necessarily represent SGI’s positions

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
Thanks, Andrew Fish-- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
/Include/Library/TimerLib.h On a PC the PerformanceCounter is usually the TSC (CPU register) or the ACPI Timer. Thanks, Andrew Fish Thanks Sai From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 03, 2015 7:51 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
Time Services = TPL_CALLBACK If not it is a bug in the implementation of gRT-GetTime(). Thanks, Andrew Fish Thanks Sai -- ___ edk2-devel mailing list edk2-devel

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
. Thanks, Andrew Fish -- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
? Thanks, Andrew Fish Sai From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 03, 2015 7:40 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] getsystemtime-- help On Jun 3, 2015, at 7:27 PM, Saiprasad Chavali s...@marvell.com mailto:s...@marvell.com wrote: HI

Re: [edk2] Accessing SMBios' System Event Log through GPNV functions

2015-06-02 Thread Andrew Fish
, Andrew Fish Thank you very much. Tomaz -- -- ___ edk2-devel mailing list edk2-devel

Re: [edk2] Accessing SMBios' System Event Log through GPNV functions

2015-06-02 Thread Andrew Fish
On Jun 2, 2015, at 12:47 PM, Andrew Fish af...@apple.com wrote: On Jun 2, 2015, at 11:50 AM, Tomaz Fogaça tom.fog...@gmail.com mailto:tom.fog...@gmail.com wrote: Hello everyone, I'm writing this application for UEFI using the UDK and in it I'm trying to gather some information

Re: [edk2] Executing Signtool When Building Applications

2015-05-29 Thread Andrew Fish
$(OPTROM_FLAGS) $src What happens if you make OutputFile extension something other than .efi? Like .sefi?Or omit OutputFile? Thanks, Andrew Fish Your help is greatly appreciated. Thanks, Eugene

Re: [edk2] Executing Signtool When Building Applications

2015-05-29 Thread Andrew Fish
On May 29, 2015, at 1:14 PM, Andrew Fish af...@apple.com wrote: On May 29, 2015, at 9:23 AM, Cohen, Eugene eug...@hp.com mailto:eug...@hp.com wrote: Dear edk2 tools experts, We are trying to invoke Signtool to sign applications (module type UEFI_APPLICATION) in the edk2 build

Re: [edk2] [PATCH v2] BaseTools/Conf: Don't support upper case nasm extensions

2015-05-28 Thread Andrew Fish
On May 28, 2015, at 8:35 AM, Hauch, Larry larry.ha...@intel.com wrote: Hi Jordan, So if we remove .Nasm and .NASM and someone accidentally uses these in an INF file, should the build break? I vote yes. All our build servers run with a case sensitive file system. Thanks, Andrew Fish

Re: [edk2] Replacement EDK2 email list coming soon

2015-05-27 Thread Andrew Fish
On May 27, 2015, at 11:21 AM, Jordan Justen jordan.l.jus...@intel.com wrote: On 2015-05-27 10:20:09, Laszlo Ersek wrote: On 05/27/15 18:06, Andrew Fish wrote: On May 27, 2015, at 1:52 AM, Laszlo Ersek ler...@redhat.com mailto:ler...@redhat.com wrote: Access on the web looks like

Re: [edk2] Replacement EDK2 email list coming soon

2015-05-27 Thread Andrew Fish
is a centralized server, and so is the website. Thanks, Andrew Fish-- ___ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel

Re: [edk2] Replacement EDK2 email list coming soon

2015-05-26 Thread Andrew Fish
likes seeing the visual diff of the change, vs a command line diff. It would be nice to have access to this on the web, vs. having to apply the patch to branch manually. Thanks, Andrew Fish Thanks Laszlo Also, are there any plans to open up the tianocore.org http://tianocore.org/ http

Re: [edk2] Phy support

2015-05-26 Thread Andrew Fish
. Given I don’t know all the constraints it is hard for me to design the correct object module to solve your specific issue. Thanks, Andrew Fish -Bill -- ___ edk2-devel mailing

Re: [edk2] [BaseTools] Bug in DSC file parsing.

2015-05-25 Thread Andrew Fish
is simple to show the issue. My real case is much more complex and hard to work around, as it involves conditionals. Thanks, Andrew Fish Thanks, Dennis -Original Message- From: Andrew Fish [mailto:af...@apple.com] Sent: Saturday, May 23, 2015 3:26 To: edk2-devel

Re: [edk2] How can I combine HII resource section into a PE/COFF Image?

2015-05-25 Thread Andrew Fish
. There does not seem to be a tool to patch the PE/COFF for the Xcode, RVCT, ARMGCC, and ARMLINUXGCC toolchains. You can lookup RC_PATH and RC_FLAGS in: https://svn.code.sf.net/p/edk2/code/trunk/edk2/BaseTools/Conf/tools_def.template Thanks, Andrew Fish Thanks Heyi Guo

Re: [edk2] Phy support

2015-05-25 Thread Andrew Fish
/DriverDiagnostics2.h https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Protocol/DriverHealth.h https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Protocol/DriverHealth.h Thanks, Andrew Fish Regards, Bhupesh From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, May

Re: [edk2] write file in the USB Device

2015-05-22 Thread Andrew Fish
and it is used by the shell. Thanks, Andrew Fish The print with %s work...and its a debug form. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50

Re: [edk2] How to add debug agent console device to the console input/output device list ?

2015-05-22 Thread Andrew Fish
/MdeModulePkg/Include/Library/PlatformBootManagerLib.h This is an example implementation: https://svn.code.sf.net/p/edk2/code/trunk/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/ Thanks, Andrew Fish Thanks Kan

Re: [edk2] Clear WaitForKey

2015-05-22 Thread Andrew Fish
On May 22, 2015, at 8:06 AM, S.Vieira jwvsan...@outlook.com wrote: Don't worked. So i take out and put gBS-Stall() .. solved the problem. That sounds like a bug in the platform. Thanks, Andrew Fish Thx

Re: [edk2] using CryptoPkg with StdLib gives Compilation errors

2015-05-22 Thread Andrew Fish
So this is such a bad hack I feel bad mentioning it, but ….. In OpenSslsupport.h add #ifndef #define in StdLib for the conflicting define #ifndef _SYS_TYPES_H_ typedef unsigned long clock_t; #endif Any ideas ? Don’t use StdLib :) would be your other option. Thanks, Andrew Fish

[edk2] [BaseTools] Bug in DSC file parsing.

2015-05-22 Thread Andrew Fish
-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused- parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -ftrap- function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) -D BETA -D DELTA Thanks, Andrew Fish

Re: [edk2] write file in the USB Device

2015-05-22 Thread Andrew Fish
is in the way you are looking at the file you wrote? Thanks, Andrew Fish Someone help me? Status = gBS-LocateHandleBuffer(ByProtocol, gSimpleFileProtocol, NULL

Re: [edk2] Cross Platform Ideal vs. Reality / Down the Rabbit Hole

2015-05-20 Thread Andrew Fish
On May 20, 2015, at 5:06 PM, Jim Dines james.di...@logicsupply.com wrote: Hello EDK II Devs, Apologies if this isn't the best place to ask this. I've been lurking a bit and while it is mostly commits here, I have seen the occasional question from people trying to understand UEFI, and

Re: [edk2] Phy support

2015-05-20 Thread Andrew Fish
On May 19, 2015, at 10:44 PM, Meenakshi Aggarwal meenakshi.aggar...@freescale.com wrote: Hi All, Kindly help. There is no industry standard for adding PHY support. You will need to look at the driver for the MAC. Or it could be part of the chipset init code. Thanks, Andrew Fish

  1   2   3   4   5   6   7   8   9   10   >