Skip to content

Instantly share code, notes, and snippets.

@hanetzer
hanetzer / $ cat config ;
Created September 8, 2019 21:36
$ cat config ;
$ cat config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.0.10 Kernel Configuration
#
#
# Compiler: aarch64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.05-git-00928-g9152387703-dirty) 8.3.0
#
CONFIG_CC_IS_GCC=y
@grahamc
grahamc / nixos-on-dell-9560.org
Last active December 1, 2017 22:02
NixOS on a Dell 15" 9560 with the 4K screen.
[clever@amd-nixos:~/apps/arcane-chat]$ nix-build simple-test.nix -o simple-test && cat simple-test
these derivations will be built:
/nix/store/nvz99fh10gz7lp89162vygqjbbg06s7i-filename.drv
building path(s) ‘/nix/store/w539y2s8hnn93kf1qdnskbj9xig1rqcv-filename’
/nix/store/w539y2s8hnn93kf1qdnskbj9xig1rqcv-filename
#!/nix/store/a6gkm5vdylpjnsp9wzcb0c7kz11a3pak-bash-4.3-p46/bin/bash
patchelf --interpreter "/nix/store/54k2pd57hqs7bz6dam7aw05slry9zzhh-glibc-2.24/lib/ld-linux-x86-64.so.2" --set-rpath /nix/store/pm42jf0nl5ak4xzixvsxarsc6401lxas-zlib-1.2.8/lib $1
@jcs
jcs / asus c201.md
Last active April 17, 2024 17:44
Disabling SPI write protection, reflashing, and unbricking an Asus Chromebook C201

####Disabling SPI write protection

Put the Chromebook in developer-mode:

  • With machine powered off, hold down Esc and Refresh(F3) while hitting power button
  • At warning prompt, hit Control+D, then Enter at prompt about enabling developer mode
  • Machine will format itself

Now remove the write-protect screw to enable flashrom to flash new Coreboot/Libreboot.

Flip powered-off machine over and remove 8 philips-head screws. 2 are located under rubber feet.