Tue, Apr 14, 2020 9:41:43 PM

This commit is contained in:
Samuel Tulach
2020-04-14 21:41:43 +02:00
parent fd0cc39239
commit c085a2c985

View File

@@ -15,19 +15,19 @@ client/efi-mapper/
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 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 Linux 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 apt install gnu-efi
```
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): 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 git clone https://github.com/SamuelTulach/efi-memory
```
Than navigate to the driver folder and compile the driver with make: Than navigate to the driver folder and compile the driver with make:
```
cd efi-memory cd efi-memory
cd driver cd driver
make 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 ## Usage
@@ -46,12 +46,12 @@ In order to use the efi-memory driver, you need to load it. First, obtain a copy
``` ```
4. Boot from the USB driver 4. Boot from the USB driver
5. An UEFI shell should start, change directory to your USB (FS0 should be the USB since we are booting from it) and list files: 5. An UEFI shell should start, change directory to your USB (FS0 should be the USB since we are booting from it) and list files:
```
FS0: FS0:
ls ls
```
6. You should see file memory.efi, if you do, load it: 6. You should see file memory.efi, if you do, load it:
```
load memory.efi load memory.efi
```
7. Now there should be a nice efi-memory ascii logo printed in your UEFI shell. If there is, the driver was loaded successfuly. If that is the case, type `exit` to start standard boot procedure 7. Now there should be a nice efi-memory ascii logo printed in your UEFI shell. If there is, the driver was loaded successfuly. If that is the case, type `exit` to start standard boot procedure