From ca28255db8f18dbcd2db077fb18a6075792ad41c Mon Sep 17 00:00:00 2001
From: Nicholas Chin <nic.c3.14@gmail.com>
Date: Sun, 17 Dec 2023 18:02:29 -0700
Subject: [PATCH] README.md: Add instructions for relaxing memory permissions

As this utility requires access to /dev/mem, the default protections of
Linux and OpenBSD must be relaxed to allow this. Make a note of this in
the instructions.
---
 util/dell-flash-unlock/README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/dell-flash-unlock/README.md b/util/dell-flash-unlock/README.md
index 7d9b4b85..fd000efc 100644
--- a/util/dell-flash-unlock/README.md
+++ b/util/dell-flash-unlock/README.md
@@ -8,6 +8,8 @@ E6400, which mainly seem to be the Latitude and Precision lines starting from
 around 2008 (E6400 era).
 
 ## TL;DR
+On Linux, ensure you are booting with the `iomem=relaxed` kernel parameter.
+On OpenBSD, ensure you are booting with securelevel set to -1.
 Run `make` to compile the utility, and then run `sudo ./dell_flash_unlock` and
 follow the directions it outputs.
 
-- 
GitLab