Tue, Apr 14, 2020 9:31:35 PM

This commit is contained in:
Samuel Tulach
2020-04-14 21:31:35 +02:00
parent 7eb8bfba60
commit 708e983bbf

View File

@@ -14,11 +14,11 @@ client/efi-mapper/
## Compiling
Compiling any of the example client programs is pretty simple. Open the solution file in Visual Studio and compile the project with it's default settings.
Compiling the driver is also pretty simple. First you need a working Linux install (or you can use subsystem for Windows) and install gnu-efi (commands for Ubuntu 18.04):
Compiling the driver is also pretty simple. First you need a working Linux install (or you can use Linux subsystem for Windows) and install gnu-efi (commands for Ubuntu 18.04):
apt install gnu-efi
That's all you need to install. Package manager (in the example apt) should install all the depencies for you. Once the installation is complete, clone this repo (make sure you have git installed):
That's all you need to install. Package manager (in the example apt) should take care of all the depencies for you. Once the installation is complete, clone this repo (make sure you have git installed):
git clone https://github.com/SamuelTulach/efi-memory
@@ -28,4 +28,18 @@ Than navigate to the driver folder and compile the driver with make:
cd driver
make
If the compile was successful, you should now see memory.efi in the driver folder.
If the compile was successful, you should now see memory.efi in the driver folder.
## Usage
In order to use the efi-memory driver, you need to load it. First, obtain a copy of memory.efi ([compile it](https://github.com/SamuelTulach/efi-memory#compiling) or [download it from release section](https://github.com/SamuelTulach/efi-memory/releases)) and a copy of [EDK2 efi shell](https://github.com/tianocore/edk2/releases). Now follow these steps:
1. Extract downloaded efi shell and rename file Shell.efi (should be in folder UefiShell/X64) to bootx64.efi
2. Format some USB driver to FAT32
3. Create following folder structure:
USB:.
│ memory.efi
└───EFI
└───Boot
bootx64.efi