I don't think CSM matters and the bin I am using cannot be distributed. Does the qemu build steps matters? I ran configure --target-list=x86_64-softmmu. I traced the code and found the code hung when SMM is relocating. The code was waiting for mRebased flag be set.
Thanks, Ray > 在 2016年3月15日,下午11:19,Paolo Bonzini <pbonz...@redhat.com> 写道: > > > > On 15/03/2016 12:59, Ni, Ruiyu wrote: >>>> I'm not sure. The above command line works for me after building OVMF >>>> like this: >>>> >>>> build -p OvmfPkg/OvmfPkgIa32X64.dsc -a IA32 -a X64 -b DEBUG -t GCC49 -n 4 >>>> >>>> I'm using commit 89a8115 ("BaseTools: Support recent versions of >>>> cx_freeze.", >>>> 2016-03-15) of OVMF. >> I supplied additional flag when build: >> -D CSM_ENABLE=TRUE >> -D SMM_REQUIRE=TRUE >> I guess the second flag matters. > > I also tested with -D SMM_REQUIRE and it works. > > Can you send me your Csm16.bin file (offlist)? > > Paolo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel