From 708e983bbf9ee428c165ca0bd3dd6db17f76dafa Mon Sep 17 00:00:00 2001 From: Samuel Tulach Date: Tue, 14 Apr 2020 21:31:35 +0200 Subject: [PATCH] Tue, Apr 14, 2020 9:31:35 PM --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e13c71..d128dd6 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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 \ No newline at end of file