Skip to content

Instantly share code, notes, and snippets.

View kittywitch's full-sized avatar

Kat Inskip kittywitch

View GitHub Profile
@kittywitch
kittywitch / 0050-mb-lenovo-x270-Provide-support-for-SATA-controller.patch
Created March 9, 2026 00:00
Goes in config/coreboot/default/patches for lbmk
From aa6c1b5816b60e0a6f713e14958ba93d332060b7 Mon Sep 17 00:00:00 2001
From: Kat Inskip <kat@inskip.me>
Date: Fri, 6 Mar 2026 04:13:42 -0800
Subject: [PATCH] mb/lenovo/x270: Provide support for SATA controller
---
.../sklkbl_thinkpad/variants/x270/overridetree.cb | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/lenovo/sklkbl_thinkpad/variants/x270/overridetree.cb b/src/mainboard/lenovo/sklkbl_thinkpad/variants/x270/overridetree.cb
@kittywitch
kittywitch / libreboot-build-shell.nix
Created March 8, 2026 23:57
Libreboot lbmk shell
let
nixpkgs = builtins.fetchTarball {
name = "source";
url = "https://github.com/NixOS/nixpkgs/archive/3e362ce63e16b9572d8c2297c04f7c19ab6725a5.tar.gz";
sha256 = "sha256:03csxn73wxlqffp3sscjg2mf4a4xl62yawhaxm6dhgwchjnq1nnx";
};
pkgs = import nixpkgs {};
fhsenv = pkgs.buildFHSUserEnv {
name = "lbmk-deps";