2
0

1735 Commits

Author SHA1 Message Date
dan ad8690cb89 Merge remote-tracking branch 'pcc/fix4' 2026-08-10 20:53:21 +01:00
dan bf53297091 Merge remote-tracking branch 'pcc/fix-strip' 2026-08-10 20:52:45 +01:00
dan 8ccbf00bd6 delete pointless "event table: 0x77d6d100" output 2026-08-10 20:48:54 +01:00
dan 81222c9c7a lua script for tio to ftfpboot
I have switched from minicom to tio and this is helping
2026-08-10 20:46:02 +01:00
dan deea138392 s6-rc-up-tree improve start-service log 2026-08-10 20:42:58 +01:00
dan b25cda7826 write state and .lock in udhcp service 2026-08-10 20:42:21 +01:00
dan 912f5cdf6e delete misleading copypasta doc 2026-08-10 20:41:43 +01:00
dan e25a2d3759 Merge remote-tracking branch 'pcc/fix6' 2026-08-10 20:38:53 +01:00
dan afad526b6a think 2026-08-10 16:23:00 +01:00
dan ea0a654ead json-to-fstree expects service directory not .outputs 2026-08-10 16:23:00 +01:00
dan 12ef421fb2 dhcp lease watcher: hold .lock while copying outputs 2026-08-10 16:23:00 +01:00
dan 0ffad2df1a fix mktree when passed symlink to existing directory 2026-08-10 16:23:00 +01:00
dan 5a125fad3a make custom lua only on device not on build
this is because we don't need to, but also because the linker
flags we hardcode don't work on darwin
2026-08-05 23:32:09 +01:00
dan 497297b5a0 json-to-fstree: Accept: application/json
this is required for undercroft which will otherwise serve yaml, but
I think is not going to hurt for any other server either
2026-08-05 23:31:08 +01:00
dan fb2ec4e2c1 enable tls client certificates for outboard secrets service 2026-08-05 00:08:57 +01:00
dan 42a315383f add option to configure /etc/hosts entries 2026-08-05 00:08:28 +01:00
dan 98cbb93109 exec chronyd 2026-08-04 21:04:31 +01:00
dan 4a9c4a9a46 util-linux: disable shadow support, depends on systemd 2026-08-04 10:44:54 +01:00
dan d91277804e nwa50ax: convert from mac80211 package to kmodloader 2026-08-04 10:43:15 +01:00
dan dbe5bf15a1 fix qemu build 2026-07-29 22:00:13 +01:00
dan 10f02a11f6 update dropbear patch 2026-07-28 14:26:14 +01:00
dan 455bc7a886 remove checks for old nixpkgs versions 2026-07-28 14:11:01 +01:00
dan ee7ab4ec39 s6-linux-init remove obsolete patch
looks like it's gone upstream
2026-07-28 12:52:53 +01:00
dan 6c63e02ef6 update dropbear patch for 26.05 2026-06-04 22:03:24 +01:00
dan c212824209 Merge remote-tracking branch 'pcc/s6' 2026-05-27 13:14:33 +01:00
dan f6978f9770 Merge remote-tracking branch 'pcc/mitig' 2026-05-27 13:10:19 +01:00
dan f85d4a66ca Merge remote-tracking branch 'pcc/hrt' 2026-05-27 13:07:47 +01:00
Peter Collingbourne 0cb8383b90 Adjust kernel exploit mitigation settings on arm64
CONFIG_RANDOMIZE_BASE enables KASLR. It doesn't increase the size of the
kernel image for OpenWrt One (technically it increases .text size by 256
bytes, but that was cancelled out by alignment padding). Set this to y on
arm64. The other architectures are not modified (arm doesn't support it,
and mips only supports it for some targets).

CONFIG_ARM64_PTR_AUTH is enabled by default by the kernel and enables
pointer authentication instructions at entry and exit of most kernel
functions. However, none of our targets support pointer authentication,
so these instructions are just taking up space for no purpose. Set this
one to n, which reduces OpenWrt One kernel image size by 24KB.
2026-05-24 03:56:29 -07:00
Peter Collingbourne 01ded6eb25 Patch s6-linux-init to fix running from non-root filesystem
With #26 the s6 binaries will run from a non-root filesystem. This
exposed a bug in s6-linux-init which is now fixed upstream. Apply the fix.
2026-05-24 03:54:50 -07:00
Peter Collingbourne 3ed4e32525 Enable CONFIG_HIGH_RES_TIMERS in the default kernel config
At least on OpenWrt One, the kernel default of
CONFIG_HIGH_RES_TIMERS=n causes slow SPI NAND access speeds. See:
https://lore.kernel.org/all/CAPQLkRit9bRH2gnSpvt60evu31T=1YNFdTFH2emS6RSsY=eDJQ@mail.gmail.com/

Since this doesn't seem to be an inherently device-specific issue,
and leaving it disabled may cause other performance problems that are
difficult to debug, enable it in the default config.
2026-05-23 19:21:28 -07:00
Peter Collingbourne c80e7d33ed Stop unnecessarily removing sections from the kernel binary
We just need -S here which removes non-SHF_ALLOC sections. SHF_ALLOC
sections are generally required to be in the kernel image, and can't be
removed (in the sense of shrinking the binary) by a tool like objcopy
because that would alter the section layout which is fixed by the
linker. objcopy was "removing" these sections by replacing them with
zeros, so this wasn't reducing the size of the kernel anyway.

In particular, this command was removing the .notes section containing
the build ID which is readable from userspace via /sys/kernel/notes and
may be used for symbolization on the host.
2026-05-18 02:06:11 -07:00
dan 430ed12902 think 2026-05-11 12:23:32 +01:00
dan 8e36690ae2 Merge remote-tracking branch 'pcc/upg' 2026-05-11 12:19:17 +01:00
dan 6a390fa716 add luad (unused yet) 2026-05-11 12:19:09 +01:00
Peter Collingbourne b2a7ae4bc4 openwrt: v25.12.1 -> v25.12.3 2026-05-08 02:40:44 -07:00
dan 7e5d1ccf67 fix tests thst need overlay.nix 2026-05-05 20:51:40 +01:00
dan 93125bb09b fix fennel errors in test 2026-05-05 20:50:53 +01:00
dan 43fd9112af Merge remote-tracking branch 'pcc/fix1' 2026-05-05 14:25:43 +01:00
dan 482b60eb91 Merge remote-tracking branch 'pcc/fix5' 2026-05-05 14:18:20 +01:00
dan 875a4ae512 Merge remote-tracking branch 'pcc/fix7' 2026-05-05 14:17:32 +01:00
dan cf490e8c26 Merge remote-tracking branch 'pcc/fix9' 2026-05-05 14:15:33 +01:00
Peter Collingbourne b061e6903b anoia: Fix crash if a watched output directory does not exist 2026-05-03 20:18:29 -07:00
dan ce56c9e1f4 Merge remote-tracking branch 'pcc/fix10' 2026-05-03 13:35:23 +01:00
dan 639e924ce2 Merge remote-tracking branch 'pcc/fix11' 2026-05-03 13:31:59 +01:00
dan be882c62a6 Merge remote-tracking branch 'pcc/fix3' 2026-05-03 13:30:59 +01:00
dan ab93e0075c Merge remote-tracking branch 'pcc/fix2' 2026-05-03 13:30:27 +01:00
dan aead19df04 Merge remote-tracking branch 'pcc/fix12' 2026-05-03 13:27:02 +01:00
dan 65847bec4b Merge remote-tracking branch 'pcc/fix13' 2026-05-03 13:26:27 +01:00
dan f2ec49f9f2 Merge remote-tracking branch 'pcc/fix14' 2026-05-03 13:26:09 +01:00
Peter Collingbourne 22023812da Fix typo in sysctl name 2026-05-03 04:02:31 -07:00