515 Commits

Author SHA1 Message Date
gaspar-ilom
eeae2c62e9
Revert "T440p/W541: increase flash debug to almost maximum 0x410000"
This reverts commit ab04f70423a984d84617f33b377aece4f2e2bd0a.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-21 01:07:51 +01:00
gaspar-ilom
ab04f70423
T440p/W541: increase flash debug to almost maximum 0x410000
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-20 21:10:25 +01:00
gaspar-ilom
cae6d9f2c9
T440p/W541: enable SPI flash console debugging
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-20 20:28:59 +01:00
gaspar-ilom
90acce5d2a
Revert "use truncated ME without relocating FTPR and keep modules to try NRI depending on ME"
This reverts commit 361a7068726f2a728138a255cf16126e07c31d30.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-18 00:06:47 +01:00
gaspar-ilom
361a706872
use truncated ME without relocating FTPR and keep modules to try NRI depending on ME
apparently haswell NRI depends on some ME functionality
so we want wot try if get faster boot times with a proper ME
we still truncate unused regions as we need the space for the bios

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>

create ifd.bin from donor board

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:59:51 +01:00
gaspar-ilom
9227476afa
Revert "t440p/w541 use broadwell mrc blob"
This reverts commit 95322c66291d7e34c437f77f12cdd89707a6b0ce.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:59:04 +01:00
gaspar-ilom
95322c6629
t440p/w541 use broadwell mrc blob
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:57:30 +01:00
Thierry Laurion
170bf57032
t440p/w541: revert CBFS pre-ram console + console to defaults; have console level set to INFO instead of DEBUG
repro:
(revert last commit)
./docker_repro.sh make BOARD=t440p-maximized coreboot.modify_and_save_oldconfig_in_place (Change console level to info)
./docker_repro.sh make BOARD=w541-maximized coreboot.modify_and_save_oldconfig_in_place (Change console level to info)

---

Done: Apply Angel's minimal suggestions from https://github.com/linuxboot/heads/pull/1923#issuecomment-2719401499

If console output still truncated, TODO:
- Enable console output to SPI Flash (USB Debugging requires special dongle out of beaglebone black of RPI)

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-17 23:56:56 +01:00
gaspar-ilom
0e8e787590
Revert "tweak cbmem params to get debug output"
This reverts commit fdf5281c0a372d15bab26dcb268e8786a5874f62.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:56:56 +01:00
gaspar-ilom
fdf5281c0a
tweak cbmem params to get debug output
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 22:23:47 +01:00
Thierry Laurion
544869cf18
haswell boards: ./docker_repro.sh make BOARD=UNTESTED_XYZ-maximized coreboot.modify_and_save_oldconfig_in_place
Input for https://github.com/linuxboot/heads/pull/1923

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-12 19:26:53 +01:00
gaspar-ilom
f448e58495
use native raminit with haswell boards
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 19:26:53 +01:00
Thierry Laurion
80055417f7
Merge remote-tracking branch 'gaspar-ilom/poc_t480' into coreboot_bump_2412
Resolve conflicts for .circleci/config.yml

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-02 11:58:59 -05:00
Thierry Laurion
f20e519e05
config/coreboot-z220-cmt.config: fix changes of path for VBT (libgfxinit config blob) and resave coreboot config with coreboot.modify_and_save_oldconfig_in_place helper
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-27 16:39:41 -05:00
Thierry Laurion
d0fa045566
Merge remote-tracking branch 'osresearch/master' into coreboot_bump_2412
Merge conflict resolved

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-27 13:40:41 -05:00
gaspar-ilom
77cccad1e7
remove leftovers from libreboot's coreboot kconfig modification for flashing the thunderbolt spi externally
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 09:49:19 +01:00
gaspar-ilom
3f8317fe9a
create tb.bin blob when creating me.bin blob
automatically move into board target dir

rename blob creation file for t480 to indicate that the tb.bin is also downloaded and created

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 02:40:12 +01:00
Thierry Laurion
557ccb6499
Merge remote-tracking branch 'osresearch/master' into poc_t480
Resolve conficts too

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-26 19:08:24 -05:00
gaspar-ilom
6f2e7cbefa
disable debugging on the T480
all remaining issues do not seem to be heads but coreboot related

no debugging needed anymore, issues should be reported upstream and fixed there

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-24 14:24:03 +01:00
Thierry Laurion
e94609799a
coreboot-qemu*: fix XRES and YRES that changed by saving in oldconfig.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-20 08:53:15 -05:00
Thierry Laurion
fe1e196d8b
bump all boards from 24.02.01 to reuse libreboot's coreboot fork commit + patches of 2412 pinned commit under modules/coreboot
Repro:
- sed -i 's/24.02.01/2412/g' boards/*/*.config
- docker_repro.sh
- git status | grep boards | awk -F "/" {'print $2'} | while read board; do make BOARD=$board coreboot.save_in_oldconfig_format_in_place; done

Manually modify CircleCI board dependencies. As of now, librem + dasharo reuses 24.02.01 crossgcc buildstack, and all other coreboot dependent boards rely on 2412
- save cache switched to reuse x230-hotp-maximized since most boards depend on 2412 coreboot buildstack

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-20 08:52:53 -05:00
Filip Lewiński
da66704f6c
config/coreboot-novacustom-v540tu.config: add
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-02-19 10:30:46 +01:00
Thierry Laurion
796a6c338f
t480: remove unneeded patches from libreboot under patches/coreboot-2412, resave in oldconfig (reenables compressed fsp)
repro:

- inspect patches applicability from patch trace

if [ ! -e "/home/user/heads/build/x86/coreboot-2412/.patched" ]; then if [ -r patches/coreboot-2412.patch ]; then ( git apply --verbose --reject --binary --directory build/x86/coreboot-2412 ) < patches/coreboot-2412.patch || exit 1 ; fi && if [ -d patches/coreboot-2412 ] && [ -r patches/coreboot-2412 ] ; then for patch in patches/coreboot-2412/*.patch ; do echo "Applying patch file : $patch " ; ( git apply --verbose --reject --binary --directory build/x86/coreboot-2412 ) < $patch || exit 1 ; done ; fi && touch "/home/user/heads/build/x86/coreboot-2412/.patched"; fi
Applying patch file : patches/coreboot-2412/0001-soc-intel-skylake-configure-usb-acpi.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig...
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/chipset.cb...
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/chipset.cb cleanly.
Applying patch file : patches/coreboot-2412/0002-soc-intel-skylake-Enable-4E-4F-PNP-I-O-ports-in-boot.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/bootblock/pch.c...
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/bootblock/pch.c cleanly.
Applying patch file : patches/coreboot-2412/0003-mb-lenovo-Add-ThinkPad-T480-and-ThinkPad-T480s.patch
Checking patch build/x86/coreboot-2412/src/device/pci_rom.c...
Checking patch build/x86/coreboot-2412/src/ec/lenovo/h8/acpi/ec.asl...
Checking patch build/x86/coreboot-2412/src/ec/lenovo/h8/bluetooth.c...
Checking patch build/x86/coreboot-2412/src/ec/lenovo/h8/wwan.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Kconfig...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Kconfig.name...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Makefile.mk...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/acpi/ec.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/acpi/superio.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/bootblock.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/devicetree.cb...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/dsdt.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ec.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ec.h...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/gpio.h...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ramstage.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/data.vbt...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/gma-mainboard.ads...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/gpio.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/hda_verb.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/memory_init_params.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/data.vbt...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/gma-mainboard.ads...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/gpio.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/hda_verb.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/memory_init_params.c...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_0.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_1.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_10.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_11.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_12.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_13.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_14.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_15.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_16.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_17.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_18.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_19.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_2.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_20.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_3.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_4.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_5.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_6.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_7.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_8.bin...
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_9.bin...
Applied patch build/x86/coreboot-2412/src/device/pci_rom.c cleanly.
Applied patch build/x86/coreboot-2412/src/ec/lenovo/h8/acpi/ec.asl cleanly.
Applied patch build/x86/coreboot-2412/src/ec/lenovo/h8/bluetooth.c cleanly.
Applied patch build/x86/coreboot-2412/src/ec/lenovo/h8/wwan.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Kconfig cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Kconfig.name cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/Makefile.mk cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/acpi/ec.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/acpi/superio.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/bootblock.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/devicetree.cb cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/dsdt.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ec.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ec.h cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/gpio.h cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/ramstage.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/data.vbt cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/gma-mainboard.ads cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/gpio.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/hda_verb.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/memory_init_params.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480/overridetree.cb cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/data.vbt cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/gma-mainboard.ads cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/gpio.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/hda_verb.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/memory_init_params.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_0.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_1.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_10.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_11.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_12.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_13.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_14.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_15.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_16.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_17.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_18.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_19.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_2.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_20.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_3.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_4.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_5.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_6.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_7.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_8.bin cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/spd/spd_9.bin cleanly.
Applying patch file : patches/coreboot-2412/0004-mb-dell-Add-Optiplex-780-MT-x4x-ICH10.patch
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig.name...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Makefile.mk...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/ec.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/ich10_pci_irqs.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/superio.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/board_info.txt...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cmos.default...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cmos.layout...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cstates.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/devicetree.cb...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/dsdt.asl...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/gma-mainboard.ads...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/data.vbt...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/early_init.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/gpio.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/hda_verb.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/overridetree.cb...
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig.name cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Makefile.mk cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/ec.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/ich10_pci_irqs.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/acpi/superio.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/board_info.txt cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cmos.default cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cmos.layout cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/cstates.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/devicetree.cb cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/dsdt.asl cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/gma-mainboard.ads cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/data.vbt cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/early_init.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/gpio.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/hda_verb.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_mt/overridetree.cb cleanly.
Applying patch file : patches/coreboot-2412/0005-util-ifdtool-add-nuke-flag-all-0xFF-on-region.patch
Checking patch build/x86/coreboot-2412/util/ifdtool/ifdtool.c...
Applied patch build/x86/coreboot-2412/util/ifdtool/ifdtool.c cleanly.
Applying patch file : patches/coreboot-2412/0006-Remove-warning-for-coreboot-images-built-without-a-p.patch
Checking patch build/x86/coreboot-2412/payloads/Makefile.mk...
Applied patch build/x86/coreboot-2412/payloads/Makefile.mk cleanly.
Applying patch file : patches/coreboot-2412/0007-mb-dell-optiplex_780-Add-USFF-variant.patch
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig.name...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/data.vbt...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/early_init.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/gpio.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/hda_verb.c...
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/overridetree.cb...
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/Kconfig.name cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/data.vbt cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/early_init.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/gpio.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/hda_verb.c cleanly.
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_780/variants/780_usff/overridetree.cb cleanly.
Applying patch file : patches/coreboot-2412/0008-dell-3050micro-disable-nvme-hotplug.patch
Checking patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_3050/devicetree.cb...
Applied patch build/x86/coreboot-2412/src/mainboard/dell/optiplex_3050/devicetree.cb cleanly.
Applying patch file : patches/coreboot-2412/0009-lenovo-Add-Kconfig-option-CONFIG_LENOVO_TBFW_BIN.patch
Checking patch build/x86/coreboot-2412/src/mainboard/lenovo/Kconfig...
Applied patch build/x86/coreboot-2412/src/mainboard/lenovo/Kconfig cleanly.
Applying patch file : patches/coreboot-2412/0010-soc-intel-skylake-Don-t-compress-FSP-S.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig...
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig cleanly.
Applying patch file : patches/coreboot-2412/0011-soc-intel-pmc-Hardcoded-poweroff-after-power-fail.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/common/block/pmc/pmclib.c...
Applied patch build/x86/coreboot-2412/src/soc/intel/common/block/pmc/pmclib.c cleanly.
Applying patch file : patches/coreboot-2412/0012-ec-dasharo-Comment-EC_DASHARO_EC_FLASH_SIZE.patch
Checking patch build/x86/coreboot-2412/src/ec/dasharo/ec/Kconfig...
Applied patch build/x86/coreboot-2412/src/ec/dasharo/ec/Kconfig cleanly.
Applying patch file : patches/coreboot-2412/0013-src-intel-skylake-Disable-stack-overflow-debug-optio.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig...
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/Kconfig cleanly.
Applying patch file : patches/coreboot-2412/0014-src-intel-x4x-Disable-stack-overflow-debug.patch
Checking patch build/x86/coreboot-2412/src/northbridge/intel/x4x/Kconfig...
Applied patch build/x86/coreboot-2412/src/northbridge/intel/x4x/Kconfig cleanly.
Applying patch file : patches/coreboot-2412/85278-post-skylake-pr0.patch
Checking patch build/x86/coreboot-2412/src/soc/intel/alderlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/cannonlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/block/lpc/Makefile.mk...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/block/smm/smihandler.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/include/intelpch/lockdown.h...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/Kconfig...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/Makefile.mk...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown_lpc.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown_spi.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/denverton_ns/lpc.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/elkhartlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/jasperlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/meteorlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/pantherlake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/skylake/finalize.c...
Checking patch build/x86/coreboot-2412/src/soc/intel/tigerlake/finalize.c...
Applied patch build/x86/coreboot-2412/src/soc/intel/alderlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/cannonlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/block/lpc/Makefile.mk cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/block/smm/smihandler.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/include/intelpch/lockdown.h cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/Kconfig cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/Makefile.mk cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown_lpc.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/common/pch/lockdown/lockdown_spi.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/denverton_ns/lpc.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/elkhartlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/jasperlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/meteorlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/pantherlake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/skylake/finalize.c cleanly.
Applied patch build/x86/coreboot-2412/src/soc/intel/tigerlake/finalize.c cleanly.

- remove patches unrelated to t480, skylake etc
- clean local build cache for coreboot fork
  - remove files added per patches
    - sudo rm -rf build/x86/coreboot-2412/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480*
  - rewrite canary content so that coreboot fork si resynced
    - echo "bogus" |sudo tee build/x86/coreboot-2412/.canary
  - rebuild the board, so that coreboot fork is resynced and patches are reapplied
    - ./docker_repro.sh make BOARD=t480-hotp-maximized
  - save oldconfig changes from patches applied/removed
    - ./docker_repro.sh make BOARD=t480-maximized coreboot.modify_and_save_oldconfig_in_place

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-14 12:02:56 -05:00
Thierry Laurion
b2637cec90
t480 boards and coreboot config: rename to maximized since ifd reuses ME neutered space, confirmed
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-14 11:49:33 -05:00
Thierry Laurion
8149c30c62
t480-maximized -> t480: we are not neutering ME anymore, therefore those are not maximized boards. We have to draw the line somewhere.
- Reuse good tweeks from gaspar-ilom's provided config/coreboot-t480-maximized.config
- move config/coreboot-t480-maximized.config to config/coreboot-t480.config, delete config/coreboot-t480-maximized.config
- rename boards/t480-hotp-maximized -> boards/t480-hotp, boards/t480-maximized/t480-maximized -> boards/t480-maximized/t480
- Adapt CircleCI board naming accordingly

TODO:
- discuss need of thunderbold firmware presence in fw, that were part of @notgivenby prior work and now gone. Should it be brought back?
- Tweaks of config/coreboot-t480.config against prior commit, outside of blobs paths having change.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-12 13:11:48 -05:00
Thierry Laurion
e6d6001e97
Merge remote-tracking branch 'gaspar-ilom/t480' into poc_t480
Resolve conflicts, enable TPM2 support into board configs that was missing sorry
- remove blobs/kabylake/fetch_split_fsp.sh since unneeded if depending on full FSP from tree
  - removed fsp.fd files placed in blobs and references to it in @gaspar-ilom branch
  - removed blobs/kabylake/* altogether since unneeded
- remove patches/coreboot-24.02.01/* since we use another fork (currently modules/coreboot: t480, might be renamed to coreboot release to be reused later)
- t480 boards depend on targets/xx80_me_blobs.mk now, next commit will cleanup prior work artifacts not needed; @gaspar-ilom approach cleaner

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-12 12:46:14 -05:00
Thierry Laurion
f9ba787fd1
config/coreboot-t480.config: set CONFIG_FSP_USE_REPO=y otherwise build error
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-12 11:57:24 -05:00
gaspar-ilom
f75ddb81c3 add t480 board
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-12 00:56:17 +01:00
Thierry Laurion
002d107ec9
config/coreboot-t480.config: unset CONFIG_DISPLAY_FSP_VERSION_INFO otherwise build error
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 17:09:31 -05:00
Thierry Laurion
e62b84b4c0
config/coreboot-t480.config: add PR0, unify against nv41, save in oldconfig
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 14:09:57 -05:00
Thierry Laurion
d666b81150
config/coreboot-t480.config: Set CONFIG_FSP_FULL_FD=y so that vendorfiles exist
For repro:
- To remove all files created by patches (would error to help dev remove them manually)
  - echo "bogus" | tee build/x86/coreboot-t480/.canary
  - sudo rm -rf build/x86/coreboot-t480/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480*
  - sudo rm build/x86/libgpg-error-1.46/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-musl.h
- Remove all .canary files, outside of detected git forks to speedup local builds, rebuilding only new files with make magic
  - ./docker_repro.sh make BOARD=t480-maximized real.remove_canary_files-extract_patch_rebuild_what_changed
- Rebuild from sources: unpack archives/git clone, patch, build from source
  - ./docker_repro.sh make BOARD=t480-maximized

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 13:33:16 -05:00
Thierry Laurion
44b4d6a2ac
config/coreboot-t480.config: change Dsp_*.fd paths to non-existing files in tree as per http://web.archive.org/web/20250211155526/https://notgivenby.github.io/heads-wiki/t480-port/#coreboot-config-for-t480 : No joy building, but will dump progress for others to pickup
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 11:26:48 -05:00
Thierry Laurion
de0a1f4795
config/coreboot-t480.config: adapt from config/coreboot-librem_15v4.config and config/coreboot-novacustom-nv4x_adl.config
Then saved back in oldconfig with ./docker_repro.sh make BOARD=t480-maximized coreboot.modify_and_save_oldconfig_in_place

Notes:
- Pr0 requirements don't stick, investigate
- real quick overview of config, just rying to get thing build here

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 11:26:31 -05:00
Thierry Laurion
c44285c58e
config/linux-t480.config: use config/linux-librem_common-6.1.8.config as base
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 11:26:25 -05:00
AK Unterkontrolle
b101d312ef
Add coreboot config for T480
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-11 11:25:33 -05:00
Thierry Laurion
8381ee3a86
novacustom_nv4x_adl -> novacustom-nv4x_adl consistent NovaCustom board naming scheme from now on
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-01-24 12:07:59 -05:00
Thierry Laurion
0cb5f2faa8
BUGFIX: v560tu: unify board config, remove debug cmdline passed from coreboot to linux kernel
Note: qemu coreboot config still pass debug (non quiet, non prod board = debug)
config/coreboot-qemu-tpm1.config:173:CONFIG_LINUX_COMMAND_LINE="debug console=ttyS0,115200 console=tty"
config/coreboot-qemu-tpm2.config:170:CONFIG_LINUX_COMMAND_LINE="debug console=ttyS0,115200 console=tty"

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-01-17 16:21:17 -05:00
Michał Kopeć
de79d2a853
boards/novacustom-v540tu: remove board
Support for V54 series is not added at this time.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2025-01-15 15:13:57 +01:00
Michał Kopeć
75f0fd12d7
config/coreboot-novacustom-v5.0tu: Set correct IOE PCR base addr
As per coreboot commit 8adaae026dc055fa8b445fbe32e5146576d56c28

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2025-01-15 12:42:26 +01:00
Thierry Laurion
b8cb467dd3
novacustom boards: rename linux-nittropad-x.config -> linux-novacustom-common.config, switch back to kernel 6.1.8, save config in oldconfig
Input for https://github.com/linuxboot/heads/pull/1846

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-01-13 13:27:05 +01:00
Thierry Laurion
3687dcbb5a
config/coreboot-novacustom-v560tu.config: switch CONFIG_USE_PC_CMOS_ALTCENTURY=y to CONFIG_USE_PC_CMOS_ALTCENTURY=n otherwise in year 2070 after initial external flashing
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-01-13 13:26:59 +01:00
Thierry Laurion
f45452b736
nv4x_adl/ns50 coreboot config bumped to 24.02.01 with save in old config helper
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2024-12-18 14:10:30 +01:00
Thierry Laurion
a09b64d390
v560tu/v540tu coreboot configs: add bootsplash, remove ME HAP bit to be applied by IFDTOOL to https://github.com/linuxboot/heads/pull/1846
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2024-12-18 14:10:30 +01:00
Thierry Laurion
bf06be9017
config/coreboot-novacustom-v560tu.config: reuse changes proposed under https://github.com/linuxboot/heads/pull/1871 but not yet taken under https://github.com/linuxboot/heads/pull/1846
BOOTSPLASH section missing, as well as ME still enabled...

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2024-12-18 14:10:29 +01:00
Michał Kopeć
602e281f2f
config/coreboot-novacustom-v5.0tu.config: add bootsplash
Co-authored-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-11 18:43:39 +01:00
Michał Kopeć
b5fe89903d
config/coreboot-novacustom-v5*: set ME HAP, prefer S3 sleep
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-10 18:22:00 +01:00
Michał Kopeć
ac43d5e78b
config/coreboot-novacustom-v5*: bump version to rc2
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-10 13:10:06 +01:00
Michał Kopeć
1d7b442668
novacustom-v560tu: sync to v540tu
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-10 12:41:39 +01:00
Michał Kopeć
5b444119ca
config/coreboot-novacustom-v540tu.config: disable serial console
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-09 16:30:16 +01:00
Michał Kopeć
6174b63a12
novacustom-v540tu: enable PR0 lockdown in SMM
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-12-09 16:21:45 +01:00