Commit Graph

53 Commits (1b9d35c10d5ba08291cdba4a1160dbf227d7db62)
 

Author SHA1 Message Date
Adam Joseph 1b9d35c10d flashrom: append -chromebook to pname and $out/bin-name when forChromebook==true
Adam Joseph 9ff6fba57c ectool: remove redundant EXTRA_CFLAGS
Adam Joseph 9e592c9751 ectool: make boardName a non-package argument
Adam Joseph 30ac75903b src/util/ectool/: init
Adam Joseph c40ed36e6b src/util/flashrom: move from src/flashrom
Adam Joseph 709bb2104d src/plat/*: allow to override hostPlatform
Adam Joseph 0bdf6e9355 src/plat/*: pass `lib` as a parameter instead of reimporting it
Adam Joseph ed0d745ca4 kgpe: add missing `mkdir` and path component
Adam Joseph d90863f36b coreboot: use python3
Adam Joseph 2bf7048655 README.md: fix typo
Adam Joseph 400ca67b14 README.md: fix link
Adam Joseph 98ff0a6132 README.md: current plans
Adam Joseph a0ba72a30a README.md: mention nvramtool
Adam Joseph 364ab1d34d README.md: shout out to PrawnOS
Adam Joseph f0eef409de README.md: mention google's flashrom-wp chromebook fork
Adam Joseph 576e50fc85 flashrom: add option for google chromebook fork
Adam Joseph 6243fa9245 src/coreboot: expose src attr in passthru.src
Adam Joseph 018e75000a optionally build nvramtool, put it and the .layout files in the initramfs
Adam Joseph 7a93f3a128 update coreboot-toolchain to deal with changes in nixpkgs 21.11
Adam Joseph 427d6beaae update nixpkgs to 21.11
Adam Joseph bceb4820f4 factor out lib as an optional argument
Adam Joseph 5fa23513f9 factor out pkgsFun as an optional argument
Adam Joseph 7fa5116288 doc/owner-controlled.md: mention debian and gnuk
Adam Joseph ece2e5c052 add links
Adam Joseph 8eaa402ba1 doc/platform/kevin/notes.md: mention CONFIG_INITRAMFS_SOURCE issue
Adam Joseph b8729694c2 doc/platform/am1i/notes.md: mention iommu situation
Adam Joseph 0bf512385d coreboot: add linux-command-line parameter for CONFIG_LINUX_COMMAND_LINE
Adam Joseph 184d2421b2 kgpe: include microcode updates for 63xx cpus
Adam Joseph 9658f9f551 kgpe/coreboot.config: remove extraneous CONFIG_LOCALVERSION
Adam Joseph 1732d9c14e src/coreboot: add console-loglevel parameter
Adam Joseph 040bcdbd79 docs: add platform-specific notes for each platform
Adam Joseph 44caf3407c src/kernel: use 5.10.148 on all platforms
This commit bumps the kgpe and am1i platforms to 5.10.148 for the
pre-kexec() kernel, so all platforms now use the same version.
Adam Joseph 8c8c0017ca em100: fix meta.maintainers
Adam Joseph a180b832e7 kgpe: flashrom.layout no longer needed
Since a6cd35, ownerboot includes a patch to flashrom which allows
nested (but non-overlapping) fmap regions, so the flashrom.layout
file is no longer necessary.
Adam Joseph 1a0e0922ac ok, then care about science
Adam Joseph 2c6a837b48 src/kevin/atf: roll back ~9months to fix suspend-to-ram
ATF v1.6 on gru-kevin causes the laptop to reset itself instead of
waking up from suspend-to-ram.  The cause of this problem is
something in the ~835 commits prior to the v1.6 release.

For now, let's simply use an older commit from upstream;
suspend-to-ram is pretty important for laptops.

TODO: git bisect and revert only the commits that cause this problem.
Adam Joseph 4a2a89d88a src/kernel: bump non-gru-kevin kernels for Linux wifi RCE
This bumps the kernel version on non-gru-kevin to 5.10.148, which
has fixes for the notorious Linux kernel wifi RCE exploits:
CVE-2022-41674, CVE-2022-42719, and CVE-2022-42720.
Adam Joseph b70f108dce platform/kevin: bump kernel to version with wifi RCE fixes
This bumps the kernel version on gru-kevin to 5.10.148, which has
fixes for the notorious Linux kernel wifi RCE exploits:
CVE-2022-41674, CVE-2022-42719, and CVE-2022-42720.

On all other platforms the ownerboot kernel is used only to kexec()
another long-lived kernel, and is therefore built without wifi
support and not vulnerable.

The gru-kevin laptop cannot use kexec() due to unfixable bugs in
mid-2010s versions of ARM's GICv3.

In some cases this bug can be worked around by having the
pre-kexec() kernel not fully initialize the GIC:

  https://lore.kernel.org/lkml/20180921195954.21574-1-marc.zyngier@arm.com/

Unfortunately this workaround leaves the gru-kevin's screen in a
glitchy state post-kexec() which makes the laptop mostly unusable.
Adam Joseph a6cd353a3e src/flashrom: allow nested regions
Adam Joseph 5ed3f4cf89 src/flashrom/0001...patch: reformat for git-am
Adam Joseph bd0335d03a doc/owner-controlled.md: format heading
Adam Joseph ef770e025e doc: remove unfinished footnote (mispush)
Adam Joseph c898388050 userspace: fix ordering typo
Adam Joseph e43f31656d userspace: overhaul
Adam Joseph 4711bd6676 userspace: remember to runHook
Adam Joseph 549cd6add0 initramfs: pass module list as a nix expression rather than a file
Adam Joseph 4c202a6d12 platform/kevin: factor out modules_{no}insmod as a let-block
Adam Joseph 4d5bfd8c48 eliminate CONFIG_LOCALVERSION; it adds complexity
Adam Joseph c15d149350 move userspace to top level to facilitate overriding
Adam Joseph ffdfb0fe19 initramfs: produce a single file in /nix/store rather than a directory