public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* HII UEFI driver from Intel's lab training crashes
@ 2017-03-14 16:55 Nikolay Bodunov
  2017-03-15  2:19 ` Dong, Eric
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Bodunov @ 2017-03-14 16:55 UTC (permalink / raw)
  To: edk2-devel, laurie.jarlstrom

Hello

I tried to repeat creating HII UEFI driver (well-known MyWizardDriver) in
Nt32Pkg, as in Intel's July 2013 training lab 9, from Laurie Jarlstrom, but
after compilation and run under qemu-ovmf my driver craches. I cannot make
it work. Win7x64 platform.

Messages that I got in command window:
ASSERT!: [HiiDatabase] c:\fw\edk2\MdePkg\Library\BaseLib\String.c (172):
String != ((void *) 0)
Failed to execute command
           .\SecMain [c:\fw\edk2\Build\NT32IA32\DEBUG_VS2010x86\IA32]


What I tried (of course, I added [Components.IA32] in Nt32Pkg.dsc file):
1. Compile it under VS2010 and VS2015. Same results.
2. DEBUG and RELEASE versions. Same results.
3. Installed VS2010SP1. Same results (BTW, to avoid "Unresolved symbol"
messages in build process all that required is to run build in VS2010
command window, not VS2010 64-bit command window).
4. My files created during the lab and files from the lab that were already
provided by Intel. Same results.
5. EDK II source tree included in the lab materials and latest version from
github. Same results.

All .NET frameworks were removed from computer, then framework 4.0 was
installed again.

Before that, I compiled and run same driver, without real actions with HII
(templates only fron DriverWizard, from previous lesson 8). All worked
good, before I started to work with newly created HII options.

Could anyone help? I suppose it's typical error beause of some tools
settings, because I saw training video on youtube where all were worked
good on Laurie's PC.

-- 
With best regards,
Nikolay Bodunov


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HII UEFI driver from Intel's lab training crashes
  2017-03-14 16:55 HII UEFI driver from Intel's lab training crashes Nikolay Bodunov
@ 2017-03-15  2:19 ` Dong, Eric
  0 siblings, 0 replies; 2+ messages in thread
From: Dong, Eric @ 2017-03-15  2:19 UTC (permalink / raw)
  To: Nikolay Bodunov, edk2-devel@lists.01.org, Jarlstrom, Laurie

Hi Nikolay,

This error raised because the input string for StrLen function is NULL.
You can check your code to find where use the StrLen and maybe you can find the result.

Thanks,
Eric

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Nikolay Bodunov
Sent: Wednesday, March 15, 2017 12:55 AM
To: edk2-devel@lists.01.org; Jarlstrom, Laurie
Subject: [edk2] HII UEFI driver from Intel's lab training crashes

Hello

I tried to repeat creating HII UEFI driver (well-known MyWizardDriver) in Nt32Pkg, as in Intel's July 2013 training lab 9, from Laurie Jarlstrom, but after compilation and run under qemu-ovmf my driver craches. I cannot make it work. Win7x64 platform.

Messages that I got in command window:
ASSERT!: [HiiDatabase] c:\fw\edk2\MdePkg\Library\BaseLib\String.c (172):
String != ((void *) 0)
Failed to execute command
           .\SecMain [c:\fw\edk2\Build\NT32IA32\DEBUG_VS2010x86\IA32]


What I tried (of course, I added [Components.IA32] in Nt32Pkg.dsc file):
1. Compile it under VS2010 and VS2015. Same results.
2. DEBUG and RELEASE versions. Same results.
3. Installed VS2010SP1. Same results (BTW, to avoid "Unresolved symbol"
messages in build process all that required is to run build in VS2010 command window, not VS2010 64-bit command window).
4. My files created during the lab and files from the lab that were already provided by Intel. Same results.
5. EDK II source tree included in the lab materials and latest version from github. Same results.

All .NET frameworks were removed from computer, then framework 4.0 was installed again.

Before that, I compiled and run same driver, without real actions with HII (templates only fron DriverWizard, from previous lesson 8). All worked good, before I started to work with newly created HII options.

Could anyone help? I suppose it's typical error beause of some tools settings, because I saw training video on youtube where all were worked good on Laurie's PC.

--
With best regards,
Nikolay Bodunov
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-15  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 16:55 HII UEFI driver from Intel's lab training crashes Nikolay Bodunov
2017-03-15  2:19 ` Dong, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox