heads/config
Jonathon Hall 2ba56d1304
modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss
Update Purism coreboot to 24.02.01-Purism-1.

Remove CFLAGS overrides when building coreboot.  These overrides break
24.02.01, which added (and needs) --param=min-pagesize=1024.  This has
happened repeatedly in the past since Heads has to duplicate coreboot's
CFLAGS if it overrides them.

Specifically, the build fails with this error:
src/commonlib/include/commonlib/endian.h:27:26: error: array subscript 1 is outside array bounds of 'void[0]' [-Werror=array-bounds=]
   27 |         *(uint8_t *)dest = val;
      |         ~~~~~~~~~~~~~~~~~^~~~~
In function 'setup_default_ebda':
cc1: note: source object is likely at address zero

That's because coreboot is attempting to write to EBDA at physical
address 0x40e, just above 1024.  That is a valid address for x86, but
it's too close to 0 by default for GCC, --param-min-pagesize=1024
allows writes to physical addresses above 1024.

coreboot shouldn't need any of the usual Heads CFLAGS overrides for
reproducibility; it is already reproducible.

Fix indentation in modules/coreboot.  Make accepted it before because
the indented lines followed a variable assignment, so they couldn't
be part of a recipe.  That assignment is now gone, so they're now
interprted as part of a recipe for the `.configured` target just above,
they should not be indented.

Add nss to flake.nix, needed as of 24.02.01.

Update Librem coreboot configs for 24.02.01-Purism-1.  Notably, the
board Kconfig changed for Mini v2 in coreboot, so this is needed for
correct builds.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
2024-06-19 12:38:45 -04:00
..
busybox.config busybox: add clear reset and cttyhack to better deal with terminal mishaps 2023-10-10 11:55:24 -04:00
coreboot-kgpe-d16_server-whiptail.config coreboot configs: unify linux console output to 'quiet loglevel=2' but for qemu/flash boards 2023-11-20 09:40:55 -05:00
coreboot-kgpe-d16_server.config coreboot configs: unify linux console output to 'quiet loglevel=2' but for qemu/flash boards 2023-11-20 09:40:55 -05:00
coreboot-kgpe-d16_workstation-usb_keyboard.config coreboot configs: unify linux console output to 'quiet loglevel=2' but for qemu/flash boards 2023-11-20 09:40:55 -05:00
coreboot-kgpe-d16_workstation.config coreboot configs: unify linux console output to 'quiet loglevel=2' but for qemu/flash boards 2023-11-20 09:40:55 -05:00
coreboot-librem_11.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_13v2.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_13v4.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_14.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_15v3.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_15v4.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_l1um_v2.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_l1um.config Expand @VAR@ placeholders in configuration files 2022-08-25 13:58:40 +03:00
coreboot-librem_mini_v2.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-librem_mini.config modules/coreboot: 24.02.01-Purism-1, remove CFLAGS overrides, needs nss 2024-06-19 12:38:45 -04:00
coreboot-nitropad-ns50.config nv41/ns50 coreboot configs: save configs with make BOARD=nitropad-n[v41|s50] coreboot.modify_and_save_oldconfig_in_place 2024-05-10 15:01:56 -04:00
coreboot-nitropad-nv41.config nv41/ns50 coreboot configs: save configs with make BOARD=nitropad-n[v41|s50] coreboot.modify_and_save_oldconfig_in_place 2024-05-10 15:01:56 -04:00
coreboot-p8z77-m_pro-tpm1.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-qemu-fbwhiptail-tpm1-hotp.config Expand @VAR@ placeholders in configuration files 2022-08-25 13:58:40 +03:00
coreboot-qemu-tpm1.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-qemu-tpm2.config WiP 4.22.01 fhd patch test + bump all 4.19 boards to 4.22.01 2024-03-25 15:14:42 -04:00
coreboot-t420-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t420.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t430-legacy-flash.config x230-legacy-flash board: fixup pointing to x230 as opposed to t430. Fix coreboot config path to bootsplash 2023-11-20 09:42:28 -05:00
coreboot-t430-legacy.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t430-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t440p.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t520-maximized.config WiP 4.22.01 fhd patch test + bump all 4.19 boards to 4.22.01 2024-03-25 15:14:42 -04:00
coreboot-t530-dgpu-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-t530-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-talos-2.config Talos-2: bring changes to a working state outside of usage of GPG key material backup as of now 2023-11-17 10:26:11 -05:00
coreboot-w530-dgpu-K1000m-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-w530-dgpu-K2000m-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-w530-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-w541.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x220-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x220.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x230-legacy-flash.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x230-legacy.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x230-maximized-fhd_edp.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-x230-maximized.config boards aimed to bump at coreboot 4.22.01: switch TPM event log format to TCG 2024-03-25 15:16:03 -04:00
coreboot-z220-cmt.config WiP 4.22.01 fhd patch test + bump all 4.19 boards to 4.22.01 2024-03-25 15:14:42 -04:00
linux-c216.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-kgpe-d16_server-whiptail.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-kgpe-d16_server.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-kgpe-d16_workstation.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-librem_common-6.1.8.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-librem_common.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-linuxboot.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-nitropad-x.config nv41/ns50 shared linux config: reenable I2C, not even sure if needed 2024-05-03 13:53:28 -04:00
linux-qemu.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-t440p.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-talos-2.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-w541.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-x230-flash.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-x230-legacy.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00
linux-x230-maximized.config linux configs: align with purism; remove TMPFS, add sysctl requirements 2024-04-01 16:15:16 -04:00