Skip to content

Conversation

@tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Jan 4, 2026

WiP This is PR to feed #1894.

IO/CPU speed regressions are still observable using https://github.com/Dasharo/coreboot/releases/tag/novacustom_v56x_mtl_igpu_v1.0.1-rc3

QubesOS gathered logs

dmesg traces (see timestamps with diff)
dmesg_dasharo-heads_master.txt
dmesg_dasharo-101rc3.txt

systemd analyse blame (see 1m boot time differences with diff)
systemd-analyse-blame_dasharo-heads_master.txt
systemd-analyse-blame_dasharo-101rc3.txt

Heads gathered logs

cbmem -1 (see time differences and errors)
cbmem_dasharo_heads-master.txt
cbmem_dasharo_101rc3.txt

dmesg output
dmesg-dasharo_heads-master.txt
dmesg_errors-dasharo_101rc3.txt

…nges

When the coreboot git commit changes (canary mismatch), remove and recreate
the board-specific build directories to prevent stale artifacts from causing
compilation failures.

This eliminates the need for manual `rm -rf build/x86/BOARD` before rebuilding
after coreboot canary updates in development cycles (when creating patches).

One currently still has to, eg:
echo "bogues repo url + commit hash" | sudo tee /home/user/heads/build/x86/coreboot-25.09/.canary

Current logic then:
1. Detects canary changes and triggers repository cleanup
2. Removes both Heads board directory (build/x86/BOARD) and coreboot board
   directory (build/x86/coreboot-*/BOARD) that contain stale build artifacts
3. Recreates empty board directories for the subsequent build
4. Allows patches to apply cleanly without Ada compilation errors

This ensures Ada builds work correctly after coreboot updates without manual
intervention (resync repo, apply patches, clean artifact dirs and rebuilds only what changed).

Signed-off-by: Thierry Laurion <[email protected]>
…ad-ns50 : bump to latest dasharo 1.0.1rc3 release for v56x_mtl

repro:
./docker_repro.sh make BOARD=novacustom-v540tu coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-v560tu coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-nv4x_adl coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=UNTESTED_nitropad-ns50 coreboot.save_in_oldconfig_format_in_place

TODO: seperate MSI/nv4x_adl/v56mtl/ns50 boards: only v56mtl are 1.0.1 rc3 (I shouldn't do this)

Otherwise no microcode updates, no usb boot ala ventoy without iso validation, no qubesos 4.3 support...

Signed-off-by: Thierry Laurion <[email protected]>
… against dasharo coreboot config changes in repo at config/*

repro:
meld config/coreboot-novacustom-nv4x_adl.config build/x86/coreboot-dasharo/configs/config.novacustom_nv4x_adl
meld config/coreboot-novacustom-v560tu.config build/x86/coreboot-dasharo/configs/config.novacustom_v560tu
meld config/coreboot-novacustom-v540tu.config build/x86/coreboot-dasharo/configs/config.novacustom_v540tu
./docker_repro.sh make BOARD=novacustom-v560tu coreboot.save_in_defconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-v540tu coreboot.save_in_defconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-nv4x_adl coreboot.save_in_defconfig_format_in_place

Signed-off-by: Thierry Laurion <[email protected]>
repro:
./docker_repro.sh make BOARD=novacustom-nv4x_adl coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-v560tu coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-v540tu coreboot.save_in_oldconfig_format_in_place

user@localhost:~/heads$ git diff HEAD^^ > diff
user@localhost:~/heads$ cat diff
diff --git a/config/coreboot-novacustom-nv4x_adl.config b/config/coreboot-novacustom-nv4x_adl.config
index cb6945c..579fcbd 100644
--- a/config/coreboot-novacustom-nv4x_adl.config
+++ b/config/coreboot-novacustom-nv4x_adl.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.8.0-rc4"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -128,12 +128,12 @@ CONFIG_DIMM_SPD_SIZE=512
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
 CONFIG_MAINBOARD_VENDOR="Notebook"
-CONFIG_CBFS_SIZE=0x1000000
-# CONFIG_CONSOLE_SERIAL is not set
+CONFIG_CBFS_SIZE=0xA00000
+CONFIG_CONSOLE_SERIAL=y
 CONFIG_MAX_CPUS=24
 CONFIG_ONBOARD_VGA_IS_PRIMARY=y
 # CONFIG_POST_DEVICE is not set
-# CONFIG_POST_IO is not set
+CONFIG_POST_IO=y
 CONFIG_UART_FOR_CONSOLE=0
 CONFIG_VARIANT_DIR="nv40pz"
 CONFIG_OVERRIDE_DEVICETREE="variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
@@ -153,7 +153,7 @@ CONFIG_INTEL_GMA_VBT_FILE="src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)
 # CONFIG_DISABLE_HECI1_AT_PRE_BOOT is not set
 CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0x4000
 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="NV4xPZ"
-# CONFIG_CONSOLE_POST is not set
+CONFIG_CONSOLE_POST=y
 CONFIG_FSP_FD_PATH="3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeP/Fsp.fd"
 CONFIG_MAX_SOCKET=1
 CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default"
@@ -187,6 +187,7 @@ CONFIG_PCIEXP_HOTPLUG_MEM=0xc200000
 CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x1c000000
 CONFIG_PS2K_EISAID="PNP0303"
 CONFIG_PS2M_EISAID="PNP0F13"
+CONFIG_TTYS0_BAUD=115200

 #
 # Alder Lake P (2022)
@@ -241,10 +242,10 @@ CONFIG_COREBOOT_ROMSIZE_KB=32768
 CONFIG_ROM_SIZE=0x02000000
 CONFIG_HAVE_POWER_STATE_AFTER_FAILURE=y
 CONFIG_HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
-CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
-# CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set
+# CONFIG_POWER_STATE_OFF_AFTER_FAILURE is not set
+CONFIG_POWER_STATE_ON_AFTER_FAILURE=y
 # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set
-CONFIG_MAINBOARD_POWER_FAILURE_STATE=0
+CONFIG_MAINBOARD_POWER_FAILURE_STATE=1
 # end of Mainboard

 CONFIG_SYSTEM_TYPE_LAPTOP=y
@@ -301,7 +302,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=8
 CONFIG_SOC_INTEL_UART_DEV_MAX=7
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/fsp/AlderLakeFspBinPkg/Client/AlderLakeP/Include/"
+CONFIG_FSP_HEADER_PATH="3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeP/Include/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -365,22 +366,11 @@ CONFIG_COS_MAPPED_TO_MSB=y
 CONFIG_CAR_HAS_L3_PROTECTED_WAYS=y
 CONFIG_USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI=y
 CONFIG_CPU_SUPPORTS_INTEL_TME=y
-CONFIG_TME_KEY_REGENERATION_ON_WARM_BOOT=y
+# CONFIG_TME_KEY_REGENERATION_ON_WARM_BOOT is not set
 CONFIG_CPU_SUPPORTS_PM_TIMER_EMULATION=y
 CONFIG_HAVE_HYPERTHREADING=y
 CONFIG_FSP_HYPERTHREADING=y
-CONFIG_INTEL_KEYLOCKER=y
-CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE=2
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_MAX is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_256MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_128MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_64MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_32MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_16MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_8MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_4MB is not set
-CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_2MB=y
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_0MB is not set
+# CONFIG_INTEL_KEYLOCKER is not set
 CONFIG_SOC_INTEL_COMMON_BLOCK_CSE=y
 CONFIG_SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC=y
 CONFIG_SOC_INTEL_CSE_SEND_EOP_LATE=y
@@ -579,7 +569,7 @@ CONFIG_BIOS_VENDOR="3mdeb"
 # Dasharo Configuration
 #
 CONFIG_DASHARO_PREFER_S3_SLEEP=y
-CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
+# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
 # end of Dasharo Configuration

 CONFIG_ACPI_FNKEY_GEN_SCANCODE=0
@@ -662,7 +652,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -682,7 +672,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
@@ -825,10 +815,23 @@ CONFIG_BOOTBLOCK_CONSOLE=y
 CONFIG_POSTCAR_CONSOLE=y
 CONFIG_SQUELCH_EARLY_SMP=y
 CONFIG_FIXED_UART_FOR_CONSOLE=y
+
+#
+# memory mapped, 8250-compatible
+#
+CONFIG_TTYS0_BASE=0x3f8
+# CONFIG_CONSOLE_SERIAL_921600 is not set
+# CONFIG_CONSOLE_SERIAL_460800 is not set
+# CONFIG_CONSOLE_SERIAL_230400 is not set
+CONFIG_CONSOLE_SERIAL_115200=y
+# CONFIG_CONSOLE_SERIAL_57600 is not set
+# CONFIG_CONSOLE_SERIAL_38400 is not set
+# CONFIG_CONSOLE_SERIAL_19200 is not set
+# CONFIG_CONSOLE_SERIAL_9600 is not set
+CONFIG_TTYS0_LCS=3
 # CONFIG_SPKMODEM is not set
 # CONFIG_CONSOLE_NE2K is not set
 CONFIG_CONSOLE_CBMEM=y
-# CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set
 # CONFIG_CONSOLE_SPI_FLASH is not set
 # CONFIG_CONSOLE_I2C_SMBUS is not set
 # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
@@ -844,6 +847,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
 CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
 CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
 # CONFIG_CMOS_POST is not set
+CONFIG_POST_IO_PORT=0x80
 CONFIG_HWBASE_DEBUG_CB=y
 # end of Console

diff --git a/config/coreboot-novacustom-v540tu.config b/config/coreboot-novacustom-v540tu.config
index 68ccc81..4207122 100644
--- a/config/coreboot-novacustom-v540tu.config
+++ b/config/coreboot-novacustom-v540tu.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.0.1-rc3"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -16,9 +16,8 @@ CONFIG_COMPILER_GCC=y
 # CONFIG_IWYU is not set
 # CONFIG_FMD_GENPARSER is not set
 # CONFIG_UTIL_GENPARSER is not set
-# CONFIG_OPTION_BACKEND_NONE is not set
-CONFIG_USE_OPTION_TABLE=y
-# CONFIG_STATIC_OPTION_TABLE is not set
+CONFIG_OPTION_BACKEND_NONE=y
+# CONFIG_USE_OPTION_TABLE is not set
 CONFIG_COMPRESS_RAMSTAGE_LZMA=y
 # CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
 CONFIG_SEPARATE_ROMSTAGE=y
@@ -127,13 +126,13 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Clevo"
-CONFIG_CBFS_SIZE=0x1000000
-# CONFIG_CONSOLE_SERIAL is not set
+CONFIG_MAINBOARD_VENDOR="Notebook"
+CONFIG_CBFS_SIZE=0xA00000
+CONFIG_CONSOLE_SERIAL=y
 CONFIG_MAX_CPUS=22
 CONFIG_ONBOARD_VGA_IS_PRIMARY=y
 # CONFIG_POST_DEVICE is not set
-# CONFIG_POST_IO is not set
+CONFIG_POST_IO=y
 CONFIG_UART_FOR_CONSOLE=0
 CONFIG_VARIANT_DIR="igpu"
 CONFIG_OVERRIDE_DEVICETREE="variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
@@ -153,7 +152,7 @@ CONFIG_INTEL_GMA_VBT_FILE="src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)
 # CONFIG_DISABLE_HECI1_AT_PRE_BOOT is not set
 CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0x2000
 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="V54x_6x_TU"
-# CONFIG_CONSOLE_POST is not set
+CONFIG_CONSOLE_POST=y
 CONFIG_FSP_FD_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Fsp.fd"
 CONFIG_MAX_SOCKET=1
 CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default"
@@ -187,6 +186,7 @@ CONFIG_PCIEXP_HOTPLUG_MEM=0xc200000
 CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x1c000000
 CONFIG_PS2K_EISAID="PNP0303"
 CONFIG_PS2M_EISAID="PNP0F13"
+CONFIG_TTYS0_BAUD=115200

 #
 # Alder Lake P (2022)
@@ -243,10 +243,10 @@ CONFIG_COREBOOT_ROMSIZE_KB=32768
 CONFIG_ROM_SIZE=0x02000000
 CONFIG_HAVE_POWER_STATE_AFTER_FAILURE=y
 CONFIG_HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
-CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
-# CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set
+# CONFIG_POWER_STATE_OFF_AFTER_FAILURE is not set
+CONFIG_POWER_STATE_ON_AFTER_FAILURE=y
 # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set
-CONFIG_MAINBOARD_POWER_FAILURE_STATE=0
+CONFIG_MAINBOARD_POWER_FAILURE_STATE=1
 # end of Mainboard

 CONFIG_SYSTEM_TYPE_LAPTOP=y
@@ -294,7 +294,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
+CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -667,7 +667,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -688,7 +688,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
@@ -741,7 +741,7 @@ CONFIG_DRIVERS_INTEL_PMC=y
 # CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
 # CONFIG_DRIVERS_PS2_KEYBOARD is not set
 CONFIG_DRIVERS_MC146818=y
-# CONFIG_USE_PC_CMOS_ALTCENTURY is not set
+CONFIG_USE_PC_CMOS_ALTCENTURY=y
 CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
 CONFIG_MEMORY_MAPPED_TPM=y
 CONFIG_TPM_TIS_BASE_ADDRESS=0xfed40000
@@ -832,10 +832,23 @@ CONFIG_BOOTBLOCK_CONSOLE=y
 CONFIG_POSTCAR_CONSOLE=y
 CONFIG_SQUELCH_EARLY_SMP=y
 CONFIG_FIXED_UART_FOR_CONSOLE=y
+
+#
+# memory mapped, 8250-compatible
+#
+CONFIG_TTYS0_BASE=0x3f8
+# CONFIG_CONSOLE_SERIAL_921600 is not set
+# CONFIG_CONSOLE_SERIAL_460800 is not set
+# CONFIG_CONSOLE_SERIAL_230400 is not set
+CONFIG_CONSOLE_SERIAL_115200=y
+# CONFIG_CONSOLE_SERIAL_57600 is not set
+# CONFIG_CONSOLE_SERIAL_38400 is not set
+# CONFIG_CONSOLE_SERIAL_19200 is not set
+# CONFIG_CONSOLE_SERIAL_9600 is not set
+CONFIG_TTYS0_LCS=3
 # CONFIG_SPKMODEM is not set
 # CONFIG_CONSOLE_NE2K is not set
 CONFIG_CONSOLE_CBMEM=y
-# CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set
 # CONFIG_CONSOLE_SPI_FLASH is not set
 # CONFIG_CONSOLE_I2C_SMBUS is not set
 # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
@@ -851,6 +864,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
 CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
 CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
 # CONFIG_CMOS_POST is not set
+CONFIG_POST_IO_PORT=0x80
 CONFIG_HWBASE_DEBUG_CB=y
 # end of Console

diff --git a/config/coreboot-novacustom-v560tu.config b/config/coreboot-novacustom-v560tu.config
index e1cf690..c2a6c4b 100644
--- a/config/coreboot-novacustom-v560tu.config
+++ b/config/coreboot-novacustom-v560tu.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.0.1-rc3"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -16,9 +16,8 @@ CONFIG_COMPILER_GCC=y
 # CONFIG_IWYU is not set
 # CONFIG_FMD_GENPARSER is not set
 # CONFIG_UTIL_GENPARSER is not set
-# CONFIG_OPTION_BACKEND_NONE is not set
-CONFIG_USE_OPTION_TABLE=y
-# CONFIG_STATIC_OPTION_TABLE is not set
+CONFIG_OPTION_BACKEND_NONE=y
+# CONFIG_USE_OPTION_TABLE is not set
 CONFIG_COMPRESS_RAMSTAGE_LZMA=y
 # CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
 CONFIG_SEPARATE_ROMSTAGE=y
@@ -127,13 +126,13 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Clevo"
-CONFIG_CBFS_SIZE=0x1000000
-# CONFIG_CONSOLE_SERIAL is not set
+CONFIG_MAINBOARD_VENDOR="Notebook"
+CONFIG_CBFS_SIZE=0xA00000
+CONFIG_CONSOLE_SERIAL=y
 CONFIG_MAX_CPUS=22
 CONFIG_ONBOARD_VGA_IS_PRIMARY=y
 # CONFIG_POST_DEVICE is not set
-# CONFIG_POST_IO is not set
+CONFIG_POST_IO=y
 CONFIG_UART_FOR_CONSOLE=0
 CONFIG_VARIANT_DIR="igpu"
 CONFIG_OVERRIDE_DEVICETREE="variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
@@ -153,7 +152,7 @@ CONFIG_INTEL_GMA_VBT_FILE="src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)
 # CONFIG_DISABLE_HECI1_AT_PRE_BOOT is not set
 CONFIG_PRERAM_CBMEM_CONSOLE_SIZE=0x2000
 CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="V54x_6x_TU"
-# CONFIG_CONSOLE_POST is not set
+CONFIG_CONSOLE_POST=y
 CONFIG_FSP_FD_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Fsp.fd"
 CONFIG_MAX_SOCKET=1
 CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default"
@@ -187,6 +186,7 @@ CONFIG_PCIEXP_HOTPLUG_MEM=0xc200000
 CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x1c000000
 CONFIG_PS2K_EISAID="PNP0303"
 CONFIG_PS2M_EISAID="PNP0F13"
+CONFIG_TTYS0_BAUD=115200

 #
 # Alder Lake P (2022)
@@ -243,10 +243,10 @@ CONFIG_COREBOOT_ROMSIZE_KB=32768
 CONFIG_ROM_SIZE=0x02000000
 CONFIG_HAVE_POWER_STATE_AFTER_FAILURE=y
 CONFIG_HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
-CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
-# CONFIG_POWER_STATE_ON_AFTER_FAILURE is not set
+# CONFIG_POWER_STATE_OFF_AFTER_FAILURE is not set
+CONFIG_POWER_STATE_ON_AFTER_FAILURE=y
 # CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE is not set
-CONFIG_MAINBOARD_POWER_FAILURE_STATE=0
+CONFIG_MAINBOARD_POWER_FAILURE_STATE=1
 # end of Mainboard

 CONFIG_SYSTEM_TYPE_LAPTOP=y
@@ -294,7 +294,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
+CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -583,7 +583,7 @@ CONFIG_BIOS_VENDOR="3mdeb"
 # Dasharo Configuration
 #
 CONFIG_DASHARO_PREFER_S3_SLEEP=y
-CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
+# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
 # end of Dasharo Configuration

 CONFIG_ACPI_FNKEY_GEN_SCANCODE=0
@@ -667,7 +667,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -688,7 +688,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
@@ -741,7 +741,7 @@ CONFIG_DRIVERS_INTEL_PMC=y
 # CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
 # CONFIG_DRIVERS_PS2_KEYBOARD is not set
 CONFIG_DRIVERS_MC146818=y
-# CONFIG_USE_PC_CMOS_ALTCENTURY is not set
+CONFIG_USE_PC_CMOS_ALTCENTURY=y
 CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
 CONFIG_MEMORY_MAPPED_TPM=y
 CONFIG_TPM_TIS_BASE_ADDRESS=0xfed40000
@@ -832,10 +832,23 @@ CONFIG_BOOTBLOCK_CONSOLE=y
 CONFIG_POSTCAR_CONSOLE=y
 CONFIG_SQUELCH_EARLY_SMP=y
 CONFIG_FIXED_UART_FOR_CONSOLE=y
+
+#
+# memory mapped, 8250-compatible
+#
+CONFIG_TTYS0_BASE=0x3f8
+# CONFIG_CONSOLE_SERIAL_921600 is not set
+# CONFIG_CONSOLE_SERIAL_460800 is not set
+# CONFIG_CONSOLE_SERIAL_230400 is not set
+CONFIG_CONSOLE_SERIAL_115200=y
+# CONFIG_CONSOLE_SERIAL_57600 is not set
+# CONFIG_CONSOLE_SERIAL_38400 is not set
+# CONFIG_CONSOLE_SERIAL_19200 is not set
+# CONFIG_CONSOLE_SERIAL_9600 is not set
+CONFIG_TTYS0_LCS=3
 # CONFIG_SPKMODEM is not set
 # CONFIG_CONSOLE_NE2K is not set
 CONFIG_CONSOLE_CBMEM=y
-# CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set
 # CONFIG_CONSOLE_SPI_FLASH is not set
 # CONFIG_CONSOLE_I2C_SMBUS is not set
 # CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8 is not set
@@ -851,6 +864,7 @@ CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7
 CONFIG_CONSOLE_USE_LOGLEVEL_PREFIX=y
 CONFIG_CONSOLE_USE_ANSI_ESCAPES=y
 # CONFIG_CMOS_POST is not set
+CONFIG_POST_IO_PORT=0x80
 CONFIG_HWBASE_DEBUG_CB=y
 # end of Console

Signed-off-by: Thierry Laurion <[email protected]>
… see commit log for minimal changes

TODO
- verify TPM PPI config off = ok
- verify FSP path changed at compile time working
- verify CMOS alt century

Quick changes highlight:
- CBFS size needs increment
- power state upon failure = off
- Option table set to off
- TME off (not supported anyway on those boards and not supported under coreboot AFAIK?)
- Dasahro Update mode = off
- Allocation top down enabled
- CMOS ALT century enabled
- POST off
- Serial off
- Vendor mainboard changed from Clevo to Laptop

Repro:
user@localhost:~/heads$ git diff HEAD^^ > diff
user@localhost:~/heads$ cat diff
diff --git a/config/coreboot-novacustom-nv4x_adl.config b/config/coreboot-novacustom-nv4x_adl.config
index cb6945c..42e4ff3 100644
--- a/config/coreboot-novacustom-nv4x_adl.config
+++ b/config/coreboot-novacustom-nv4x_adl.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.8.0-rc4"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -301,7 +301,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=8
 CONFIG_SOC_INTEL_UART_DEV_MAX=7
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/fsp/AlderLakeFspBinPkg/Client/AlderLakeP/Include/"
+CONFIG_FSP_HEADER_PATH="3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeP/Include/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -365,22 +365,11 @@ CONFIG_COS_MAPPED_TO_MSB=y
 CONFIG_CAR_HAS_L3_PROTECTED_WAYS=y
 CONFIG_USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI=y
 CONFIG_CPU_SUPPORTS_INTEL_TME=y
-CONFIG_TME_KEY_REGENERATION_ON_WARM_BOOT=y
+# CONFIG_TME_KEY_REGENERATION_ON_WARM_BOOT is not set
 CONFIG_CPU_SUPPORTS_PM_TIMER_EMULATION=y
 CONFIG_HAVE_HYPERTHREADING=y
 CONFIG_FSP_HYPERTHREADING=y
-CONFIG_INTEL_KEYLOCKER=y
-CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE=2
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_MAX is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_256MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_128MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_64MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_32MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_16MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_8MB is not set
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_4MB is not set
-CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_2MB=y
-# CONFIG_SOC_INTEL_COMMON_BLOCK_PRMRR_SIZE_0MB is not set
+# CONFIG_INTEL_KEYLOCKER is not set
 CONFIG_SOC_INTEL_COMMON_BLOCK_CSE=y
 CONFIG_SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC=y
 CONFIG_SOC_INTEL_CSE_SEND_EOP_LATE=y
@@ -579,7 +568,7 @@ CONFIG_BIOS_VENDOR="3mdeb"
 # Dasharo Configuration
 #
 CONFIG_DASHARO_PREFER_S3_SLEEP=y
-CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
+# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
 # end of Dasharo Configuration

 CONFIG_ACPI_FNKEY_GEN_SCANCODE=0
@@ -662,7 +651,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -682,7 +671,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
diff --git a/config/coreboot-novacustom-v540tu.config b/config/coreboot-novacustom-v540tu.config
index 68ccc81..7da2e26 100644
--- a/config/coreboot-novacustom-v540tu.config
+++ b/config/coreboot-novacustom-v540tu.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.0.1-rc3"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -16,9 +16,8 @@ CONFIG_COMPILER_GCC=y
 # CONFIG_IWYU is not set
 # CONFIG_FMD_GENPARSER is not set
 # CONFIG_UTIL_GENPARSER is not set
-# CONFIG_OPTION_BACKEND_NONE is not set
-CONFIG_USE_OPTION_TABLE=y
-# CONFIG_STATIC_OPTION_TABLE is not set
+CONFIG_OPTION_BACKEND_NONE=y
+# CONFIG_USE_OPTION_TABLE is not set
 CONFIG_COMPRESS_RAMSTAGE_LZMA=y
 # CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
 CONFIG_SEPARATE_ROMSTAGE=y
@@ -127,7 +126,7 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Clevo"
+CONFIG_MAINBOARD_VENDOR="Notebook"
 CONFIG_CBFS_SIZE=0x1000000
 # CONFIG_CONSOLE_SERIAL is not set
 CONFIG_MAX_CPUS=22
@@ -294,7 +293,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
+CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -667,7 +666,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -688,7 +687,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
@@ -741,7 +740,7 @@ CONFIG_DRIVERS_INTEL_PMC=y
 # CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
 # CONFIG_DRIVERS_PS2_KEYBOARD is not set
 CONFIG_DRIVERS_MC146818=y
-# CONFIG_USE_PC_CMOS_ALTCENTURY is not set
+CONFIG_USE_PC_CMOS_ALTCENTURY=y
 CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
 CONFIG_MEMORY_MAPPED_TPM=y
 CONFIG_TPM_TIS_BASE_ADDRESS=0xfed40000
diff --git a/config/coreboot-novacustom-v560tu.config b/config/coreboot-novacustom-v560tu.config
index e1cf690..d6fbbc8 100644
--- a/config/coreboot-novacustom-v560tu.config
+++ b/config/coreboot-novacustom-v560tu.config
@@ -6,7 +6,7 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
+CONFIG_LOCALVERSION="v1.0.1-rc3"
 CONFIG_CBFS_PREFIX="fallback"
 CONFIG_COMPILER_GCC=y
 # CONFIG_COMPILER_LLVM_CLANG is not set
@@ -16,9 +16,8 @@ CONFIG_COMPILER_GCC=y
 # CONFIG_IWYU is not set
 # CONFIG_FMD_GENPARSER is not set
 # CONFIG_UTIL_GENPARSER is not set
-# CONFIG_OPTION_BACKEND_NONE is not set
-CONFIG_USE_OPTION_TABLE=y
-# CONFIG_STATIC_OPTION_TABLE is not set
+CONFIG_OPTION_BACKEND_NONE=y
+# CONFIG_USE_OPTION_TABLE is not set
 CONFIG_COMPRESS_RAMSTAGE_LZMA=y
 # CONFIG_COMPRESS_RAMSTAGE_LZ4 is not set
 CONFIG_SEPARATE_ROMSTAGE=y
@@ -127,7 +126,7 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Clevo"
+CONFIG_MAINBOARD_VENDOR="Notebook"
 CONFIG_CBFS_SIZE=0x1000000
 # CONFIG_CONSOLE_SERIAL is not set
 CONFIG_MAX_CPUS=22
@@ -294,7 +293,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
+CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
@@ -583,7 +582,7 @@ CONFIG_BIOS_VENDOR="3mdeb"
 # Dasharo Configuration
 #
 CONFIG_DASHARO_PREFER_S3_SLEEP=y
-CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
+# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
 # end of Dasharo Configuration

 CONFIG_ACPI_FNKEY_GEN_SCANCODE=0
@@ -667,7 +666,7 @@ CONFIG_INTEL_GMA_HAVE_VBT=y
 CONFIG_INTEL_GMA_ADD_VBT=y
 # CONFIG_SOFTWARE_I2C is not set
 CONFIG_I2C_TRANSFER_TIMEOUT_US=500000
-# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set
+CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y
 # end of Devices

 #
@@ -688,7 +687,7 @@ CONFIG_BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY=y
 CONFIG_SPI_FLASH_SMM=y
 # CONFIG_SPI_FLASH_NO_FAST_READ is not set
 CONFIG_TPM_INIT_RAMSTAGE=y
-CONFIG_TPM_PPI=y
+# CONFIG_TPM_PPI is not set
 CONFIG_DRIVERS_UART=y
 CONFIG_NO_UART_ON_SUPERIO=y
 CONFIG_DRIVERS_UART_8250MEM=y
@@ -741,7 +740,7 @@ CONFIG_DRIVERS_INTEL_PMC=y
 # CONFIG_DRIVERS_NXP_UWB_SR1XX is not set
 # CONFIG_DRIVERS_PS2_KEYBOARD is not set
 CONFIG_DRIVERS_MC146818=y
-# CONFIG_USE_PC_CMOS_ALTCENTURY is not set
+CONFIG_USE_PC_CMOS_ALTCENTURY=y
 CONFIG_PC_CMOS_BASE_PORT_BANK0=0x70
 CONFIG_MEMORY_MAPPED_TPM=y
 CONFIG_TPM_TIS_BASE_ADDRESS=0xfed40000

Signed-off-by: Thierry Laurion <[email protected]>
…config FSP path wrong for v5xtu

user@localhost:~/heads$ git diff
diff --git a/config/coreboot-novacustom-v540tu.config b/config/coreboot-novacustom-v540tu.config
index 7da2e26..3eaf696 100644
--- a/config/coreboot-novacustom-v540tu.config
+++ b/config/coreboot-novacustom-v540tu.config
@@ -293,7 +293,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
+CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2
diff --git a/config/coreboot-novacustom-v560tu.config b/config/coreboot-novacustom-v560tu.config
index d6fbbc8..8774ef5 100644
--- a/config/coreboot-novacustom-v560tu.config
+++ b/config/coreboot-novacustom-v560tu.config
@@ -293,7 +293,7 @@ CONFIG_SOC_INTEL_I2C_DEV_MAX=6
 CONFIG_SOC_INTEL_UART_DEV_MAX=3
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL=0x25a
 CONFIG_SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL=0x7fff
-CONFIG_FSP_HEADER_PATH="src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/"
+CONFIG_FSP_HEADER_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/"
 CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT=0
 CONFIG_DATA_BUS_WIDTH=128
 CONFIG_DIMMS_PER_CHANNEL=2

Signed-off-by: Thierry Laurion <[email protected]>
…config MAINBOARD_VENDOR: needs to be Clevo (not Notebook) otherwise cannot internally flash

user@localhost:~/heads$ git diff
diff --git a/config/coreboot-novacustom-v540tu.config b/config/coreboot-novacustom-v540tu.config
index 3eaf696..c9c313f 100644
--- a/config/coreboot-novacustom-v540tu.config
+++ b/config/coreboot-novacustom-v540tu.config
@@ -126,7 +126,7 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Notebook"
+CONFIG_MAINBOARD_VENDOR="Clevo"
 CONFIG_CBFS_SIZE=0x1000000
 # CONFIG_CONSOLE_SERIAL is not set
 CONFIG_MAX_CPUS=22
diff --git a/config/coreboot-novacustom-v560tu.config b/config/coreboot-novacustom-v560tu.config
index 8774ef5..3853c53 100644
--- a/config/coreboot-novacustom-v560tu.config
+++ b/config/coreboot-novacustom-v560tu.config
@@ -126,7 +126,7 @@ CONFIG_DIMM_MAX=4
 CONFIG_DIMM_SPD_SIZE=1024
 CONFIG_FMDFILE=""
 # CONFIG_NO_POST is not set
-CONFIG_MAINBOARD_VENDOR="Notebook"
+CONFIG_MAINBOARD_VENDOR="Clevo"
 CONFIG_CBFS_SIZE=0x1000000
 # CONFIG_CONSOLE_SERIAL is not set
 CONFIG_MAX_CPUS=22

Signed-off-by: Thierry Laurion <[email protected]>
…tu and nv4x_adl as of now. Reverting top down=y

fix the issue for v5x and nv4x_adl

Signed-off-by: Thierry Laurion <[email protected]>
…NTURY needs to be disabled for wrong time detection config on first boot

Signed-off-by: Thierry Laurion <[email protected]>
Copilot AI review requested due to automatic review settings January 4, 2026 22:40
@tlaurion tlaurion marked this pull request as draft January 4, 2026 22:40
@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 4, 2026

@macpijan @mkopec : regressions for CPU/IO still under https://github.com/Dasharo/coreboot/releases/tag/novacustom_v56x_mtl_igpu_v1.0.1-rc3

IS there something else to be created to track related issues than #1894 ?
I would gladly help troubleshooting further. See current logs in OP.

Edit: strongly related:

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates coreboot firmware configurations and versions for NovaCustom laptop boards as part of regression testing for Dasharo 1.0.1-rc3 and nv4x_adl 1.8.0-rc4 releases. The changes address IO/CPU speed and boot time regressions reported in the linked GitHub issue.

Key Changes:

  • Updates Dasharo coreboot fork to commit 0bc84959 (from 94e5f5d5)
  • Migrates EC configuration from System76 to Dasharo EC driver across multiple boards
  • Updates firmware versions: v560tu/v540tu to v1.0.1-rc3, nv4x_adl to v1.8.0-rc4
  • Adds build directory cleaning logic to prevent stale artifacts

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
modules/coreboot Updates Dasharo coreboot commit hash and version metadata, adds TODOs about version inconsistencies
config/coreboot-novacustom-v560tu.config Updates to v1.0.1-rc3, changes vendor from Clevo to NovaCustom, migrates to Dasharo EC, adjusts memory mappings and security settings
config/coreboot-novacustom-v540tu.config Similar updates as v560tu but for V540TU board variant
config/coreboot-novacustom-nv4x_adl.config Updates to v1.8.0-rc4, migrates to Dasharo EC, updates FSP headers to RaptorLake
config/coreboot-nitropad-ns50.config Configuration updates with incorrect version string for this board
Makefile Adds aggressive board directory cleaning during submodule updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CONFIG_METEORLAKE_CAR_ENHANCED_NEM=y
CONFIG_CPU_MAX_TEMPERATURE=110
CONFIG_IOE_PCR_BASE_ADDRESS=0x60000000
CONFIG_IOE_PCR_BASE_ADDRESS=0x3fff0000000
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The IOE PCR base address has been changed from 0x60000000 to 0x3fff0000000. This is a substantial change to the I/O Expander peripheral control register base address, moving it from a 32-bit address space to a 44-bit address space. This change should be verified against the hardware specifications for Meteor Lake H platforms to ensure it matches the correct memory map, as an incorrect PCR base address could prevent proper I/O device initialization.

Suggested change
CONFIG_IOE_PCR_BASE_ADDRESS=0x3fff0000000
CONFIG_IOE_PCR_BASE_ADDRESS=0x60000000

Copilot uses AI. Check for mistakes.
#
CONFIG_DASHARO_PREFER_S3_SLEEP=y
CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Dasharo firmware update mode has been disabled on the v560tu board while remaining enabled on the v540tu board. This inconsistency between similar boards is unexpected. Both boards should likely have the same setting for firmware update functionality unless there's a specific reason for the difference. This could confuse users about which boards support firmware updates through the Dasharo mechanism.

Suggested change
# CONFIG_DASHARO_FIRMWARE_UPDATE_MODE is not set
CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y

Copilot uses AI. Check for mistakes.
# CONFIG_SPI_FLASH_NO_FAST_READ is not set
CONFIG_TPM_INIT_RAMSTAGE=y
CONFIG_TPM_PPI=y
# CONFIG_TPM_PPI is not set
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TPM PPI (Physical Presence Interface) has been disabled. This interface allows the operating system to request TPM operations that require physical presence confirmation. Disabling it may impact certain security features and TPM management capabilities in the OS, particularly for operations like clearing the TPM or changing owner authorization.

Suggested change
# CONFIG_TPM_PPI is not set
CONFIG_TPM_PPI=y

Copilot uses AI. Check for mistakes.
#
CONFIG_COREBOOT_BUILD=y
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CONFIG_LOCALVERSION is set to "novacustom_v56x_mtl_igpu_v1.0.1-rc3" which appears to be intended for a different board (v56x) rather than the ns50 NitroPad. This version string inconsistency could cause confusion and makes it appear that the wrong firmware version is running on this device. The version should match the actual hardware/board being configured.

Suggested change
CONFIG_LOCALVERSION="novacustom_v56x_mtl_igpu_v1.0.1-rc3"
CONFIG_LOCALVERSION="novacustom_ns50_mtl_igpu_v1.0.1-rc3"

Copilot uses AI. Check for mistakes.
Comment on lines +448 to +451
echo "INFO: Cleaning board-specific build directories to prevent stale artifacts" && \
rm -rf "$(build)/$(BOARD)" "$(build)/$($1_base_dir)/$(BOARD)" && \
echo "INFO: Recreating board directories" && \
mkdir -p "$(build)/$(BOARD)" "$(build)/$($1_base_dir)/$(BOARD)" && \
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Makefile now removes and recreates board directories every time submodules are updated. This aggressive cleaning approach could cause issues if other build artifacts or files exist in these directories that shouldn't be removed. The cleaning happens unconditionally even when it may not be necessary (e.g., when submodules haven't actually changed). Consider making this cleaning conditional or documenting why this aggressive approach is needed.

Copilot uses AI. Check for mistakes.
coreboot-dasharo_commit_hash := 94e5f5d5b808cf8d8fd5c70d4ef6a08a054f8986
$(eval $(call coreboot_module,dasharo,24.02.01))
coreboot-dasharo_commit_hash := 0bc84959aa7f731fa4b666e320ace20889a6af7a
$(eval $(call coreboot_module,dasharo,))
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The empty version string in the coreboot_module call will result in no version being set for the dasharo coreboot module. This could cause issues with version tracking and build identification. Consider setting an appropriate version string that reflects the RC3 release being tested.

Suggested change
$(eval $(call coreboot_module,dasharo,))
$(eval $(call coreboot_module,dasharo,1.0.1-rc3))

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not how this works @Copilot. after comma is base to reuse for coreboot crosstool building. Here, dasharo commit cannot reuse any coreboot build stack, since its 25.03 afaik. 25.09 would be available but might break things for older code. Leaving as is.

Comment on lines +94 to +98
# This is Dasharo 1.0.1 RC3 (TODO FIXME: rebased atop coreboot 25.03?)
# The NovaCustom NV4xPZ (nv40pz), V560TU and V540TU boards are based on Dasharo's coreboot fork
# This includes 3rdparty/intel-microcode 20251111
# TODO: Split dasharo fork per board.... MSI(24.12) != V56TU (25.03) != NV41x (4.21)
# TODO: This is to test v540tu/v560tu bump
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment "TODO FIXME: rebased atop coreboot 25.03?" indicates uncertainty about the coreboot base version. This should be verified and confirmed before merging. Additionally, the comment suggests splitting the dasharo fork per board since different boards are on different versions (MSI 24.12, V56TU 25.03, NV41x 4.21), but this isn't addressed in the current changes.

Suggested change
# This is Dasharo 1.0.1 RC3 (TODO FIXME: rebased atop coreboot 25.03?)
# The NovaCustom NV4xPZ (nv40pz), V560TU and V540TU boards are based on Dasharo's coreboot fork
# This includes 3rdparty/intel-microcode 20251111
# TODO: Split dasharo fork per board.... MSI(24.12) != V56TU (25.03) != NV41x (4.21)
# TODO: This is to test v540tu/v560tu bump
# Dasharo 1.0.1 RC3 fork used for NovaCustom NV4xPZ (nv40pz), V560TU and V540TU boards.
# These boards are based on Dasharo's coreboot fork and include 3rdparty/intel-microcode 20251111.
# Note: the Dasharo fork currently contains boards based on different coreboot versions
# (for example MSI 24.12, V56TU 25.03, NV41x 4.21). This module intentionally
# uses a single Dasharo fork; per-board splitting can be introduced in dedicated
# configuration if and when it is required.

Copilot uses AI. Check for mistakes.
CONFIG_GBE_BIN_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/gbe.bin"
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x200000
CONFIG_PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS=36
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x40000
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The console buffer size has been significantly reduced from 0x200000 (2MB) to 0x40000 (256KB). This 87.5% reduction could result in truncated console logs, making debugging more difficult if issues occur during boot. Given that the PR description mentions investigating IO/CPU speed regressions and boot time differences, having adequate console buffer space is important for diagnostic purposes.

Suggested change
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x40000
CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x200000

Copilot uses AI. Check for mistakes.
# CONFIG_SOFTWARE_CONNECTION_MANAGER is not set
CONFIG_SOC_INTEL_COMMON_BLOCK_VTD=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
# CONFIG_ENABLE_EARLY_DMA_PROTECTION is not set
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONFIG_ENABLE_EARLY_DMA_PROTECTION is disabled here, which removes early VT-d/IOMMU-based DMA protections that previously limited what PCIe/USB4 devices can access before the OS fully boots. On these Heads/Dasharo platforms, a malicious external DMA-capable device (e.g. Thunderbolt/PCIe) could read or modify firmware/boot secrets in memory during early boot, undermining measured-boot guarantees and enabling data theft or code tampering. Re-enable early DMA protection for this board (or provide an equivalent early IOMMU hardening path) so that all bus masters are constrained from the earliest possible stage.

Suggested change
# CONFIG_ENABLE_EARLY_DMA_PROTECTION is not set
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing Heads can do here. Related Dasharo/dasharo-issues#985

# CONFIG_SOFTWARE_CONNECTION_MANAGER is not set
CONFIG_SOC_INTEL_COMMON_BLOCK_VTD=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
# CONFIG_ENABLE_EARLY_DMA_PROTECTION is not set
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONFIG_ENABLE_EARLY_DMA_PROTECTION is disabled here, which removes early VT-d/IOMMU-based DMA protections that previously limited what PCIe/USB4 devices can access before the OS fully boots. On these Heads/Dasharo platforms, a malicious external DMA-capable device (e.g. Thunderbolt/PCIe) could read or modify firmware/boot secrets in memory during early boot, undermining measured-boot guarantees and enabling data theft or code tampering. Re-enable early DMA protection for this board (or provide an equivalent early IOMMU hardening path) so that all bus masters are constrained from the earliest possible stage.

Suggested change
# CONFIG_ENABLE_EARLY_DMA_PROTECTION is not set
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing Heads can do here. Related Dasharo/dasharo-issues#985

@tlaurion tlaurion changed the title REGRESSION TESTING for next Dasahro+Heads: v560tu/v540tu dasharo 1.0.1-rc3 / nv4x_adl 1.8.0-rc4 (ns50 partial, remove changes) REGRESSION TESTING for next Dasharo+Heads: v560tu/v540tu dasharo tsg 1.0.1-rc3 / nv4x_adl 1.8.0-rc4 (ns50 partial, todo: remove changes) Jan 4, 2026
@tlaurion tlaurion changed the title REGRESSION TESTING for next Dasharo+Heads: v560tu/v540tu dasharo tsg 1.0.1-rc3 / nv4x_adl 1.8.0-rc4 (ns50 partial, todo: remove changes) REGRESSION TESTING for next Dasharo+Heads: v560tu/v540tu dasharo tag 1.0.1-rc3 / nv4x_adl 1.8.0-rc4 (ns50 partial, todo: remove changes) Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant