User talk:Sushhere

Running DUET with Tianocore EDK
This page briefly describes the procedure for running DUET, which is an EFI Emulation Environment running on Legacy BIOS under Tianocore version of EDK.

Before this have a look into the Wiki page "Build Emulation Environment with Tianocore EDK" which briefly explains the Build Procedure for DUET viz nothing but the VisorDemo.

DUET enables us to create an environment on a non-UEFI pre-boot system. This is achieved by creating an UEFI file image for a bootable device, and then ‘booting' that image as a legacy boot.

Since the system has to complete an entire Legacy Boot and UEFI load and install, this is not a product solution for UEFI, but it does make a good hardware test bed for developers wanting to test and evaluate their UEFI drivers and applications on real hardware.

DUET Builds under 4 different types of configurations, each of which is defined in \Sample\Platform\DUET\Build\Config.env

The four Configurations are:-


 * 1) efi32
 * 2) uefi32
 * 3) efi64
 * 4) uefi64

DUET is built by running nmake, under the path "\Sample\Platform\DUET\". But necessary things that needs for proper Build and execution is that the MASM and WINDDK(mainly for X64 Build) path's have been set correctly, prior to the Build.

Floppy
Set the EFI_BOOT_DISK Environment Variable SET EFI_BOOT_DISK=: Create the Bootable floppy disk nmake createfloppy nmake floppy

USB
Set the EFI_BOOT_DISK Environment Variable SET EFI_BOOT_DISK=:

Create Bootable USB Disk nmake createusb nmake usb

Do remember to re-plug USB Disk after createusb. The bootable disk can also be created using below commands which will create the disk with Fat32 type instead of Fat16. nmake createusb23 nmake usb32