Re: [edk2] Qestion about how to debug OVMF on QEMU

2015-05-24 Thread B Cran
On May 24, 2015 9:31 PM, "lidonglin" wrote: > > Thanks for your reply. > > This method maybe only can print some log to serial. Is there any way to control ovmf work flow like step by step debug? You can run qemu with the embedded gdb server and with a bit of setup using scripts mentioned a whil

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

2015-05-25 Thread B Cran
On May 25, 2015 10:50 AM, "Andrew Fish" wrote: > It looks like VC++ uses RC.EXE, and GCC uses objcopy. There does not seem to be a tool to patch the PE/COFF for the Xcode, RVCT, ARMGCC, and ARMLINUXGCC toolchains. I don't know if it had since been fixed but I found a few months ago that the GCC t

Re: [edk2] HII gEfiHiiPackageListProtocolGuid problem with GCC48 (VS2012x86 works)

2015-05-25 Thread B Cran
On May 25, 2015 7:49 PM, "Heyi Guo" wrote: > I got the similar issue with arm linux gcc; I googled and found you had posted the question, but I didn't see the final solution. Is there any update for this issue?. I don't think any changes have been made to fix it so it probably will still be a pro

Re: [edk2] Replacement EDK2 email list coming soon

2015-05-26 Thread B Cran
On Wed, May 13, 2015 at 11:01 AM, Peterson, Joe wrote: > Sorry for the delay in responding to this. With regard to involving the > community in a discussion of solutions, yes, there is no intention of > making this an "Intel only" thing. The posting of the list shouldn't be > seen as "this is wha

Re: [edk2] Replacement EDK2 email list coming soon

2015-07-04 Thread B Cran
> On May 4, 2015, at 2:21 PM, Peterson, Joe wrote: > > Due to community feedback, a new mailing list is being set up to replace this > one. The new list will be hosted on Lists.01.org and > should be more stable and consistent than this one. > > The host has an opt-in

Re: [edk2] Qestion about how to debug OVMF on QEMU

2015-07-06 Thread B Cran
(re-sending since I sent it from an address that’s not subscribed to edk2-devel) On Jul 6, 2015, at 12:25 PM, B Cran wrote: > On Jul 6, 2015, at 11:33 AM, Laszlo Ersek <mailto:ler...@redhat.com>> wrote: > > Hm... memories memories memories... Yes. Are you aware

Re: [edk2] OVMF Windows 8.1 boot manager failed error

2015-02-10 Thread B Cran
On Wednesday, January 28, 2015, John Smith wrote: > > dd if=/dev/zero of=ovmf.disk bs=1 count=1 seek=$(( (30 * 1024 * 1024 * > 1024) - 1)) > By the way, a simpler way is 'truncate -s30g ovmf.disk'. -- Bruce -- Dive int

[edk2] Building OVMF on OSX Yosemite (clang 6.0, xcode 6.1, darwin 14.1)

2015-02-14 Thread B Cran
Does anyone have a patch or a set of steps to allow OVMF to build under OS X Yosemite? I see there was a thread about building with newer versions of clang last year (http://sourceforge.net/p/edk2/mailman/message/32176399/) but I can't get past the _IoRead8 and _IoWrite8 unresolved symbol errors, a

Re: [edk2] Building OVMF on OSX Yosemite (clang 6.0, xcode 6.1, darwin 14.1)

2015-02-15 Thread B Cran
On Sat, Feb 14, 2015 at 1:52 PM, Andrew Fish wrote: > My patch in November never got integrated into the mainline. Try this, it > will set the toolchain to XCODE5 and everything should compile. > Reviewed-by: Bruce Cran Thanks, the problems were all due to using the wrong toolset. The only a

Re: [edk2] Building OVMF on OSX Yosemite (clang 6.0, xcode 6.1, darwin 14.1)

2015-02-15 Thread B Cran
Also, could we perhaps use 'newer' instead of 'later' in the error message? And perhaps add the version number in brackets - e.g. "OvmfPkg requires Snow Leopard (OS X 10.8) or newer". Again maybe use 'newer' in the line about Mavericks too? -- Bruce On Sun, Feb 15, 2015 at 6:36 PM, Jordan Juste

Re: [edk2] [MinnowBoard] [EDK2][MNW2]: Problem building MinnowMAX firmware 0.77 on Windows.

2015-03-02 Thread B Cran
On Monday, March 2, 2015, Gerard Bucas wrote: > > : error 000E: File/directory not found in workspace > > > c:\...\myworkspace\Vlv2BinaryPkg\X64RELEASE\IA32\PchSmbusArpDisabled.inf > > > > I do not have the “….\myworkspace\Vlv2BinaryPkg\” directory. > > This isn't really an edk2 issue - t

Re: [edk2] [MinnowBoard] [EDK2][MNW2]: Problem building MinnowMAX firmware 0.77 on Windows.

2015-03-02 Thread B Cran
On Monday, March 2, 2015, Gerard Bucas wrote: > > Any idea on what is causing this error: > > > > build... > > …\myworkspace\EdkCompatibilityPkg\Compatibility\SmmBaseHelper\SmmBaseHelper > > .inf(66): error 4000: Value of Guid [gEdkiiMemoryProfileGuid] is not found > under > > No idea - this looks

Re: [edk2] [MinnowBoard] [EDK2][MNW2]: Problem building MinnowMAX firmware 0.77 on Windows.

2015-03-04 Thread B Cran
On Wed, Mar 4, 2015 at 7:25 PM, Krau, Michael P wrote: > Our development around MinnowBoard MAX are now centered on the Open > Source community site. The BSD content for MinnowBoard MAX is being > developed from the open source repository (including the platform specific > packages – Vlv2Device

[edk2] HII gEfiHiiPackageListProtocolGuid problem with GCC48 (VS2012x86 works)

2015-03-30 Thread B Cran
I've discovered a difference in behavior between GCC48 and VS2012x86 toolchains: Calling gBS->OpenProtocol(... &gEfiHiiPackageListProtocolGuid ...) works when built with VS2012x86 but returns Unsupported with GCC48. A project that replicates the problem (built against the latest UDK2014.SP1 branch

[edk2] Bug in Boot Maintenance Manager UI (Boot Options Delete/Commit/Change)?

2015-03-31 Thread B Cran
I'm not sure if this is really a bug, but I noticed that if I delete a boot option, commit the changes and then try and delete a boot option under OVMF or on the Minnowboard MAX, I get a message "Question value mismatch with Option value! Press ENTER to continue". e.g.:select Boot Maintenance Man

Re: [edk2] HII gEfiHiiPackageListProtocolGuid problem with GCC48 (VS2012x86 works)

2015-03-31 Thread B Cran
[replying again, cc'ing edk2-devel this time] On Tue, Mar 31, 2015 at 10:26 AM, Andrew Fish wrote: > > Does you tool chain generate ELF, and then covert to PE/COFF? If so can > you objdump the sections in the ELF file (should be the .dll) and see if it > has a .hii section? > It does, and it do

Re: [edk2] Replacement EDK2 email list coming soon

2015-05-07 Thread B Cran
On Thursday, May 7, 2015, Olivier Martin wrote: > Announcing Changes Coming Soon: "5. Open Discussions" > > Let's hope in the future community feedbacks will be more taking in > account. Given that people have proposed solutions in recent months and nothing changed, I suspect more of a 'benevol

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

2015-07-11 Thread B Cran
> On Jul 11, 2015, at 11:42 PM, Jordan Justen wrote: > > It could be that the move to git will make it more feasible to have a > testing branch that could allow all patches to first be tested against > all toolchains. But, personally I'm not really sure that a separate > branch would be worth th