Skip to content

Instantly share code, notes, and snippets.

View albert-chuang's full-sized avatar

albert-chuang

  • 02:06 (UTC +08:00)
View GitHub Profile
@albert-chuang
albert-chuang / build-coreboot-for-chromebook-c201.md
Created February 1, 2021 03:49 — forked from markwylde/build-coreboot-for-chromebook-c201.md
Build Coreboot for ARM Chromebook - C201 Veyron Speedy

These instructions will take you through the step by step process of building and flashing a custom build of the Coreboot ROM to a Chromebook C201.

This guide expects you to have a Chromebook C201, and another ARM computer with Ubuntu installed. Specifically I used the Odroid XU2. You may be able to do this on an Intel platform, using a cross compiler. See the sidenotes section for more information.

Setting up your Ubuntu

Install dependancies

Update your Ubuntu aptitude and install the dependancies we will need.

sudo apt update
@albert-chuang
albert-chuang / wdf_pnppower_event_callbacks.md
Last active March 5, 2020 01:33
WDF_PNPPOWER_EVENT_CALLBACKS structure

Debug outputs on a NUC

APCI PRT Table Dump

[    0.076942] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.077030] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.077111] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.077191] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.077270] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 10 11 12 14 15)
@albert-chuang
albert-chuang / macos_headers_issue.md
Last active November 28, 2019 06:42
macOS headers
@albert-chuang
albert-chuang / debugging_kernel.txt
Created May 9, 2019 06:37 — forked from hngouveia01/debugging_kernel.txt
Debugging kernel code line by line with Qemu and GDB
We are going to use buildroot to download, configure and compile the kernel.
First, download and uncompress buildroot: https://buildroot.org/download.html
Go to the directory and:
make qemu_x86_defconfig
make menuconfig
@albert-chuang
albert-chuang / youtube_format_references.md
Last active May 9, 2019 06:15
some youtube format references