]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/README
EmbeddedPkg/MmcDxe: Fixed MmcIdentificationMode()
[mirror_edk2.git] / OvmfPkg / README
index d6b6f8c27d53dfca707db7789a75235bbfcfffc8..51041a0551ec696b2cf17cb4b341370b827878d6 100644 (file)
@@ -60,11 +60,10 @@ http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_build_OVM
 \r
 * QEMU 0.9.1 or later is required.\r
 * Either copy, rename or symlink OVMF.FD => bios.bin\r
-* Either copy, rename or symlink OvmfVideo.rom => vgabios-cirrus.bin\r
 * Be sure to use qemu-system-x86_64, if you are using and X64 firmware.\r
   (qemu-system-x86_64 works for the IA32 firmware as well, of course.)\r
 * Use the QEMU -L parameter to specify the directory where the bios.bin\r
-  and vgabios-cirrus.bin files are located.\r
+  file is located.\r
 * Optionally you can use the QEMU -serial command to capture the\r
   OVMF debug messages.  For example: -serial file:serial.log\r
 * The EFI shell is built into OVMF builds at this time, so it should\r
@@ -116,3 +115,22 @@ To add network drivers to OVMF:
     -net nic,model=e1000,addr=3 -net nic,model=e1000,addr=4\r
     -net user,restrict=yes -net user,dhcpstart=10.0.2.10\r
 \r
+=== UNIXGCC Debug ===\r
+\r
+If you build with the UNIXGCC toolchain, then debugging will be disabled\r
+due to larger image sizes being produced by the UNIXGCC toolchain. The\r
+first choice recommendation is to use GCC44 or newer instead.\r
+\r
+If you must use UNIXGCC, then you can override the build options for\r
+particular libraries and modules in the .dsc to re-enable debugging\r
+selectively. For example:\r
+  [Components]\r
+  OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf {\r
+    <BuildOptions>\r
+      GCC:*_*_*_CC_FLAGS             = -UMDEPKG_NDEBUG\r
+  }\r
+  IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
+    <BuildOptions>\r
+      GCC:*_*_*_CC_FLAGS             = -UMDEPKG_NDEBUG\r
+  }\r
+\r