From eb4edc3ef16a16652b6d5533672153915297cc49 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 25 Dec 2021 11:18:11 +0100 Subject: [PATCH] util/liveiso: Disable write protection of the intel-spi driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The intel-spi driver maps the BIOS region of the flash as an mtd device at /dev/mtdX. Since this system is intended for development purposes, disable its write protection. Change-Id: Ib73d14eb4e7df6e29433b8dfbeb77dbab4a85f08 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60375 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- util/liveiso/common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/util/liveiso/common.nix b/util/liveiso/common.nix index 2ed4af549a..d0b7ba6704 100644 --- a/util/liveiso/common.nix +++ b/util/liveiso/common.nix @@ -33,6 +33,7 @@ "console=ttyS0,115200" "console=tty0" "iomem=relaxed" + "intel-spi.writeable=1" ]; # pkgs.linuxPackages == lts # pkgs.linuxPackages_latest == stable