aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2024-02-28 23:08:22 -0700
committerJack Sangdahl <[email protected]>2024-02-28 23:08:22 -0700
commit033abefcb0cd96950fd9b330345a76691e3324ec (patch)
treece1467941e100d12ad1bec22a1323bc93bf5a481
parent1c259b47bffb9cd343a66767e8feefed4a90193e (diff)
downloadsite-033abefcb0cd96950fd9b330345a76691e3324ec.tar.gz
site-033abefcb0cd96950fd9b330345a76691e3324ec.zip
initial
-rw-r--r--data/gentoo/laptop.jpgbin0 -> 1644796 bytes
-rw-r--r--data/gentoo/lscpu36
-rw-r--r--data/gentoo/lspci179
-rw-r--r--data/gentoo/lsusb12
-rw-r--r--extra.html4
-rw-r--r--gentoo.html173
-rw-r--r--index.html40
-rw-r--r--keyboard_qmk.html4
-rw-r--r--lfs.html4
-rw-r--r--media/PressStart2P-Regular.ttfbin116008 -> 0 bytes
10 files changed, 422 insertions, 30 deletions
diff --git a/data/gentoo/laptop.jpg b/data/gentoo/laptop.jpg
new file mode 100644
index 0000000..3e584a3
--- /dev/null
+++ b/data/gentoo/laptop.jpg
Binary files differ
diff --git a/data/gentoo/lscpu b/data/gentoo/lscpu
new file mode 100644
index 0000000..f784d92
--- /dev/null
+++ b/data/gentoo/lscpu
@@ -0,0 +1,36 @@
+Architecture: x86_64
+CPU op-mode(s): 32-bit, 64-bit
+Address sizes: 36 bits physical, 48 bits virtual
+Byte Order: Little Endian
+CPU(s): 4
+On-line CPU(s) list: 0-3
+Vendor ID: GenuineIntel
+Model name: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz
+CPU family: 6
+Model: 58
+Thread(s) per core: 2
+Core(s) per socket: 2
+Socket(s): 1
+Stepping: 9
+CPU(s) scaling MHz: 59%
+CPU max MHz: 3200.0000
+CPU min MHz: 800.0000
+BogoMIPS: 4990.24
+Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
+L1d cache: 64 KiB (2 instances)
+L1i cache: 64 KiB (2 instances)
+L2 cache: 512 KiB (2 instances)
+L3 cache: 4 MiB (1 instance)
+Vulnerability Gather data sampling: Not affected
+Vulnerability Itlb multihit: Processor vulnerable
+Vulnerability L1tf: Mitigation; PTE Inversion
+Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable
+Vulnerability Meltdown: Mitigation; PTI
+Vulnerability Mmio stale data: Unknown: No mitigations
+Vulnerability Retbleed: Not affected
+Vulnerability Spec rstack overflow: Not affected
+Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
+Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
+Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
+Vulnerability Srbds: Vulnerable: No microcode
+Vulnerability Tsx async abort: Not affected
diff --git a/data/gentoo/lspci b/data/gentoo/lspci
new file mode 100644
index 0000000..65c6114
--- /dev/null
+++ b/data/gentoo/lspci
@@ -0,0 +1,179 @@
+00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
+ Subsystem: Apple Inc. 3rd Gen Core processor DRAM Controller
+ Flags: bus master, fast devsel, latency 0
+ Capabilities: <access denied>
+ Kernel driver in use: ivb_uncore
+
+00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
+ Subsystem: Apple Inc. 3rd Gen Core processor Graphics Controller
+ Flags: bus master, fast devsel, latency 0, IRQ 29
+ Memory at a0000000 (64-bit, non-prefetchable) [size=4M]
+ Memory at 90000000 (64-bit, prefetchable) [size=256M]
+ I/O ports at 2000 [size=64]
+ Capabilities: <access denied>
+ Kernel driver in use: i915
+
+00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
+ Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
+ Flags: medium devsel, IRQ 32
+ Memory at a0600000 (64-bit, non-prefetchable) [size=64K]
+ Capabilities: <access denied>
+ Kernel driver in use: xhci_hcd
+
+00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family MEI Controller
+ Flags: bus master, fast devsel, latency 0, IRQ 30
+ Memory at a0617100 (64-bit, non-prefetchable) [size=16]
+ Capabilities: <access denied>
+ Kernel driver in use: mei_me
+
+00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller
+ Flags: medium devsel, IRQ 23
+ Memory at a0616c00 (32-bit, non-prefetchable) [size=1K]
+ Capabilities: <access denied>
+ Kernel driver in use: ehci-pci
+
+00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller
+ Flags: bus master, fast devsel, latency 0, IRQ 33
+ Memory at a0610000 (64-bit, non-prefetchable) [size=16K]
+ Capabilities: <access denied>
+ Kernel driver in use: snd_hda_intel
+
+00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1
+ Flags: fast devsel, IRQ 16
+ Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
+ I/O behind bridge: [disabled] [16-bit]
+ Memory behind bridge: a0500000-a05fffff [size=1M] [32-bit]
+ Prefetchable memory behind bridge: [disabled] [64-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
+ Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2
+ Flags: bus master, fast devsel, latency 0, IRQ 17
+ Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
+ I/O behind bridge: [disabled] [16-bit]
+ Memory behind bridge: a0400000-a04fffff [size=1M] [32-bit]
+ Prefetchable memory behind bridge: [disabled] [64-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4) (prog-if 00 [Normal decode])
+ Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5
+ Flags: bus master, fast devsel, latency 0, IRQ 16
+ Bus: primary=00, secondary=03, subordinate=99, sec-latency=0
+ I/O behind bridge: 3000-5fff [size=12K] [16-bit]
+ Memory behind bridge: a0700000-ac9fffff [size=195M] [32-bit]
+ Prefetchable memory behind bridge: aca00000-b89fffff [size=192M] [32-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller
+ Flags: bus master, medium devsel, latency 0, IRQ 22
+ Memory at a0616800 (32-bit, non-prefetchable) [size=1K]
+ Capabilities: <access denied>
+ Kernel driver in use: ehci-pci
+
+00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
+ Subsystem: Intel Corporation QS77 Express Chipset LPC Controller
+ Flags: bus master, medium devsel, latency 0
+ Capabilities: <access denied>
+ Kernel driver in use: lpc_ich
+
+00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
+ Subsystem: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
+ Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 31
+ I/O ports at 2098 [size=8]
+ I/O ports at 20bc [size=4]
+ I/O ports at 2090 [size=8]
+ I/O ports at 20b8 [size=4]
+ I/O ports at 2060 [size=32]
+ Memory at a0616000 (32-bit, non-prefetchable) [size=2K]
+ Capabilities: <access denied>
+ Kernel driver in use: ahci
+
+00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
+ Subsystem: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller
+ Flags: medium devsel, IRQ 18
+ Memory at a0617000 (64-bit, non-prefetchable) [size=256]
+ I/O ports at efa0 [size=32]
+ Kernel driver in use: i801_smbus
+
+02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n (rev 01)
+ Subsystem: Apple Inc. AirPort Extreme
+ Flags: bus master, fast devsel, latency 0, IRQ 17
+ Memory at a0400000 (64-bit, non-prefetchable) [size=16K]
+ Capabilities: <access denied>
+ Kernel driver in use: bcma-pci-bridge
+
+03:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 16
+ Bus: primary=03, secondary=04, subordinate=69, sec-latency=0
+ I/O behind bridge: 3000-4fff [size=8K] [16-bit]
+ Memory behind bridge: a0700000-a89fffff [size=131M] [32-bit]
+ Prefetchable memory behind bridge: aca00000-b49fffff [size=128M] [32-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 24
+ Bus: primary=04, secondary=05, subordinate=05, sec-latency=0
+ I/O behind bridge: [disabled] [32-bit]
+ Memory behind bridge: a0900000-a09fffff [size=1M] [32-bit]
+ Prefetchable memory behind bridge: [disabled] [64-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+04:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 25
+ Bus: primary=04, secondary=06, subordinate=36, sec-latency=0
+ I/O behind bridge: 3000-3fff [size=4K] [16-bit]
+ Memory behind bridge: a0a00000-a49fffff [size=64M] [32-bit]
+ Prefetchable memory behind bridge: aca00000-b09fffff [size=64M] [32-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+04:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 26
+ Bus: primary=04, secondary=37, subordinate=67, sec-latency=0
+ I/O behind bridge: 4000-4fff [size=4K] [16-bit]
+ Memory behind bridge: a4a00000-a89fffff [size=64M] [32-bit]
+ Prefetchable memory behind bridge: b0a00000-b49fffff [size=64M] [32-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+04:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 27
+ Bus: primary=04, secondary=68, subordinate=68, sec-latency=0
+ I/O behind bridge: [disabled] [32-bit]
+ Memory behind bridge: a0800000-a08fffff [size=1M] [32-bit]
+ Prefetchable memory behind bridge: [disabled] [64-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+04:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0, IRQ 28
+ Bus: primary=04, secondary=69, subordinate=69, sec-latency=0
+ I/O behind bridge: [disabled] [32-bit]
+ Memory behind bridge: a0700000-a07fffff [size=1M] [32-bit]
+ Prefetchable memory behind bridge: [disabled] [64-bit]
+ Capabilities: <access denied>
+ Kernel driver in use: pcieport
+
+05:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
+ Subsystem: Device 2222:1111
+ Flags: bus master, fast devsel, latency 0
+ Memory at a0900000 (32-bit, non-prefetchable) [size=256K]
+ Memory at a0940000 (32-bit, non-prefetchable) [size=4K]
+ Capabilities: <access denied>
+
diff --git a/data/gentoo/lsusb b/data/gentoo/lsusb
new file mode 100644
index 0000000..ac94bd4
--- /dev/null
+++ b/data/gentoo/lsusb
@@ -0,0 +1,12 @@
+Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
+Bus 002 Device 003: ID 0424:2513 Microchip Technology, Inc. (formerly SMSC) 2.0 Hub
+Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
+Bus 002 Device 005: ID 05ac:024c Apple, Inc. Apple Internal Keyboard / Trackpad
+Bus 002 Device 007: ID 05ac:8404 Apple, Inc. Internal Memory Card Reader
+Bus 002 Device 009: ID 05ac:821f Apple, Inc. Built-in Bluetooth 2.0+EDR HCI
+Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
+Bus 004 Device 003: ID 05ac:8510 Apple, Inc. FaceTime HD Camera (Built-in)
diff --git a/extra.html b/extra.html
new file mode 100644
index 0000000..d3c7e5e
--- /dev/null
+++ b/extra.html
@@ -0,0 +1,4 @@
+<html lang="en">
+ <body>
+ </body>
+</html>
diff --git a/gentoo.html b/gentoo.html
new file mode 100644
index 0000000..95bb38e
--- /dev/null
+++ b/gentoo.html
@@ -0,0 +1,173 @@
+<html lang="en">
+ <head>
+ <style>
+ body {
+ max-width: 65%;
+ margin: auto;
+ line-height: 1.5;
+ padding-top: 15px;
+ padding-bottom: 15px;
+ }
+ code {
+ border: 1px solid grey;
+ border-radius: 3px;
+ color: #434C5E;
+ padding: 1.5px;
+ }
+ pre {
+ background: #f4f4f4;
+ border: 1px solid #grey;
+ color: #434C5E;
+ padding-top: 20px;
+ padding-left: 20px;
+ overflow: auto;
+ }
+ img {
+ max-width: 100%;
+ height: auto;
+ width: auto\9;
+ }
+ </style>
+ </head>
+ <body>
+ <h2>Gentoo Linux on Macbook Air</h2>
+ This page covers various features, nuances, notes, etc. of my
+ Gentoo system running on a 2012 Macbook Air. This laptop was
+ initially bought as a tinkering project for $150USD. While this
+ is not the most powerful device, it is suitable for all the work
+ I encounter on a daily basis and is used as my primary system. My
+ intentions for this system are reliability and speed above all.
+ With this comes a minimal OS with very few kernel parameters
+ set, extremely fine-tuned USE flags, and a usable system that I
+ am extremely familiar with. All my configuration can be found on
+ my <a href="https://github.com/waffle87/dots/tree/xena"> github</a>.
+ <br><br>
+ <img src="data/gentoo/laptop.jpg" width="672" height="504" alt="laptop image">
+ <br><br>
+
+ <a href="#hardware_features">hardware features</a><br>
+ <a href="#kernel">kernel</a><br>
+ <a href="#bootloader">bootloader</a><br>
+ <a href="#portage">portage</a><br>
+
+ <div id="hardware_features">
+ <h3>Hardware Features</h3>
+ This is a Macbook Air 5,2 (EMC 2559) fit with the following (see <a href="data/gentoo/lspci">lspci</a>, <a href="data/gentoo/lsusb">lsusb</a>)
+ <ul>
+ <li>Intel i7 3667U at 3.2 GHz with 4 cores (<a href="data/gentoo/lscpu">lscpu</a>)</li>
+ <li>8 GB RAM </li>
+ <li>1 TB NVMe Samsung 970 SSD (used adapter)</li>
+ <li>Intel 3rd gen graphics</li>
+ <li>Broadcom BCM43224 802.11 Network Controller</li>
+ <li>Broadcom BCM2046 Bluetooth</li>
+ <li>Broadcom BCM5974 Touchpad</li>
+ <li>Keyboard with backlight</li>
+ <li>13" 1440 x 900 LCD display</li>
+ <li>2x USB 2.0, SD card reader, & Thunderbolt port</li>
+ </ul>
+ </div>
+ <div id="kernel">
+ <h3>Kernel</h3>
+ After spending many hours narrowing down kernel options enabled,
+ I have a 7.8 MB kernel image with ~4000 parameters set. Note,
+ this configuration is very hardware and user specific. I opted
+ for absolutely zero modules since I don't need any out-of-tree
+ hardware support. I also did not configure anything very drastically
+ in either direction, like extreme security, sacraficing usability, etc.
+ I chose to use <a href="https://packages.gentoo.org/packages/sys-kernel/gentoo-sources">gentoo-sources</a>
+ to provide kernel source as it contains some handy patches and is easy
+ to obtain via emerge. A base 6.7 kernel builds locally (remember, 4
+ cores) in approximately 17 minutes, which is not too much of a pain
+ when troubleshooting on bare metal. For more kernel configuration stuff,
+ see <a href="kernel.html">here</a>. MICROOOCODEEEE
+ </div>
+ <div id="bootloader">
+ <h3>Bootloader</h3>
+ Spoiler: there is none. For the duration of my time using Linux, I have used GRUB as my
+ bootloader across various systems. In my experience, it's been
+ ok, it does what it needs to, allows for extensive configuration
+ like theming and requiring a password. However, some time ago it
+ went kaput and despite manually setting the root partition in
+ <code>/boot/grub/grub.cfg</code>, it seems the incorrect value
+ was passed to the kernel at boot and the partition could not be found.
+ Every time I would reboot I would have to manually set it (which
+ is a handy trick to know nonetheless)
+ <pre>
+grub> ls
+(hd0) (hd0,gpt0) (hd0,gpt1) (hd0,gpt2)
+grub> ls (hd0,gpt1)/
+vmlinuz vmlinuz.old
+grub> root=(hd0,gpt1)
+grub> linux /boot/vmlinuz root=/dev/sda3
+grub> boot
+ </pre>
+ Since this isn't a multiboot machine or anything, I can simply omit
+ GRUB and expose the kernel image as an EFI stub. First, the
+ following kernel options must be set
+ <pre>
+CONFIG_EFI=y
+CONFIG_EFI_STUB=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="root=PARTUUID=... ro"
+ </pre>
+ The root must be set to the <code>PARTUUID</code> value
+ of the root partition. Use <code>blkid</code> to obtain this
+ Once kernel has been recompiled, copy the image to the EFI partition
+ and create a new boot entry. It is also wise to remove unneeded entries
+ to conserve space
+ <pre>
+# efibootmgr -b 1 -B
+# cp arch/x86/boot/bzImage /boot/efi/gentoo/bzImage-x.y.z.efi
+# efibootmgr -c -d /dev/sda -L "gentoo efi stub" -l "\efi\gentoo\bzImage-x.y.z.efi"
+ </pre>
+ Reboot and the bootable system should be shown in Mac's EFI program
+ </div>
+ <div id="portage">
+ <h3>Portage</h3>
+ <h4>Profile</h4>
+ When initially setting this up, I opted for a multilib system as
+ I was still using some 32-bit programs at the time. Since, I have
+ switched to a no-multilib profile. Unlike adding multilib support
+ to a 64-bit only system, going from multilib to no-multilib is
+ quite easy.
+ <pre>
+# eselect profile list
+ ...
+ [12] default/linux/amd64/17.1/no-multilib (stable)
+ ...
+# eselect profile set 12
+# emerge -auDN @world
+# emerge --depclean
+ </pre>
+ It was pleasant to see 60+ packages removed after the switch. And
+ have much reduced overhead in my system overall.
+ <h4>Compiler</h4>
+ As Clang/LLVM has become more and more stable and is able to compile all
+ packages installed, I chose to switch the default compiler, linker
+ and other bits over from GCC. This is easy enough in <code>/etc/portage/make.conf</code>.
+ <pre>
+CC="clang"
+CXX="clang++"
+AR="llvm-ar"
+NM="llvm-nm"
+RANLIB="llvm-ranlib"
+ </pre>
+ If needed, a GCC fallback environment can be made containing the
+ previous variables, then applied to certain packages which may fail
+ under Clang via adding an entry in <code>/etc/portage/package.env</code>.
+ Some advantagees of using Clang over GCC are slightly faster compilation
+ times and reduced memory usage, and potentially safer binaries overall.
+ <h4>USE Flags</h4>
+ My USE flags and related options are quite minimal. Global flags include
+ <pre>
+USE="alsa bluetooth clang dbus elogind gles2 jpeg png \
+ pulseaudio sdl udev wayland X -systemd -vulkan -nls"
+ACCEPT_LICENSE="*"
+ACCEPT_KEYWORDS="~amd64"
+ </pre>
+ For reference, some primary features used on this system are
+ Wayland, Pipewire, elogind, and OpenRC. Since no-multilib already
+ has very few things enabled, not many flags needed to be disabled.
+ </div>
+ </body>
+</html>
diff --git a/index.html b/index.html
index 323008d..c92f57a 100644
--- a/index.html
+++ b/index.html
@@ -1,38 +1,18 @@
<html lang="en">
<head>
<style>
-@font-face {
- font-family: eightBit;
- src: url(media/PressStart2P-Regular.ttf);
-}
-body {
- background: linear-gradient(-50deg, #2E3440, #3B4252, #4C566A);
- background-size: 400% 400%;
- animation: gradient 15s ease infinite;
- height: 100vh;
-}
-@keyframes gradient {
- 0% { background-position: 0% 50%; }
- 50% { background-position: 100% 50%; }
- 100% { background-position: 0% 50%; }
-}
-.text {
- font-family: eightBit;
- font-size: 150px;
- background-image: linear-gradient(to right, #88C0D0, #B48EAD);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- user-select: none;
-}
-.container {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
-}
+ body {
+ max-width: 60%;
+ margin: auto;
+ }
</style>
</head>
<body>
- <div class="container text">404</div>
+ <h2>notes corner</h2>
+ <a href="gentoo.html">gentoo on macbook air</a><br>
+ <a href="lfs.html">lfs on macbook air</a><br>
+ <a href="kernel.html">kernel configuration</a><br>
+ <a href="keyboard_qmk.html">keyboards, firmware, and similar</a><br>
+ <a href="extra.html">extra extra</a>
</body>
</html>
diff --git a/keyboard_qmk.html b/keyboard_qmk.html
new file mode 100644
index 0000000..d3c7e5e
--- /dev/null
+++ b/keyboard_qmk.html
@@ -0,0 +1,4 @@
+<html lang="en">
+ <body>
+ </body>
+</html>
diff --git a/lfs.html b/lfs.html
new file mode 100644
index 0000000..d3c7e5e
--- /dev/null
+++ b/lfs.html
@@ -0,0 +1,4 @@
+<html lang="en">
+ <body>
+ </body>
+</html>
diff --git a/media/PressStart2P-Regular.ttf b/media/PressStart2P-Regular.ttf
deleted file mode 100644
index 2442aff..0000000
--- a/media/PressStart2P-Regular.ttf
+++ /dev/null
Binary files differ