On Wed, Jan 16, 2013 at 5:47 PM, Laszlo Ersek <[email protected]> wrote: > On 01/16/13 15:43, Gerd Hoffmann wrote: >> Hi, >> >> See $subject, triggered by: >> >> OvmfPkg/build.sh -t GCC44 \ >> -D SECURE_BOOT_ENABLE \ >> -D NETWORK_ENABLE \ >> -D FD_SIZE_2MB \ >> -a X64 -p OvmfPkg/OvmfPkgX64.dsc >> >> Do we need FD_SIZE_4MB? >> Other suggestions?
Nope. See below. >> >> cheers, >> Gerd >> >> ----------------- [ more complete log ] -------------------- >> >> Fd File Name:MEMFD >> >> Generate Region at Offset 0x0 >> Region Size = 0x600000 >> Region Name = FV >> >> Generating MAINFV FV >> ################ >> Generating DXEFV FV >> ######################## >> ######################################## >> ######################################## >> ######################################## >> ######################################## >> ############Return Value = 2 >> GenFv: ERROR 3000: Invalid >> the required fv image size 0x655948 exceeds the set fv image size 0x600000 > > This has been increased in svn rev 13519 most recently, but why do we > need MEMFD at all? MEMFD is a firmware volume with most OVMF code/data uncompressed. It is compressed in a single pass, and put into another FV as a single compressed firmware volume file. Increasing its size has a little impact on the size of the resulting firmware image since the blank part of the firmware volume will compress well. It does have a side effect of using more boot services memory for the firmware volume image. If it is causing you issues, feel free to submit a patch bumping it to something like 8MB. -Jordan ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
