Skip to content

Mtl release#2082

Draft
filipleple wants to merge 5 commits intolinuxboot:masterfrom
Dasharo:mtl_release
Draft

Mtl release#2082
filipleple wants to merge 5 commits intolinuxboot:masterfrom
Dasharo:mtl_release

Conversation

@filipleple
Copy link
Copy Markdown
Contributor

@filipleple filipleple commented Apr 9, 2026

This pull request updates the build configuration for NovaCustom V540TU and V560TU boards, focusing on switching from Clevo to NovaCustom mainboard definitions, updating the build environment, and aligning with the Dasharo EC and firmware stack. The changes improve consistency, bring in newer firmware components, and update several settings for hardware compatibility and feature support.

CI Environment Update:

  • Updated the Docker image used in .circleci/config.yml jobs from tlaurion/heads-dev-env:v0.2.7 to v0.2.9 to ensure builds use the latest development environment. [1] [2] [3] [4]

Board and Mainboard Configuration:

  • Switched mainboard vendor and directory from Clevo to NovaCustom in config/coreboot-novacustom-v540tu.config, and enabled the appropriate NovaCustom board options. This aligns the configuration with the actual hardware and firmware stack. [1] [2] [3] [4]
  • Added CONFIG_DASHARO_EC=y to both boards/novacustom-v540tu/novacustom-v540tu.config and boards/novacustom-v560tu/novacustom-v560tu.config to enable Dasharo EC support. [1] [2]

Firmware and Embedded Controller:

  • Switched from System76 EC to Dasharo EC, including update support and battery thresholds, and set the EC update file.
  • Updated coreboot local version to v1.0.1, adjusted FSP paths and types, and enabled several new firmware and memory settings for improved hardware compatibility and debugging. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Feature and Peripheral Configuration:

  • Disabled bootsplash, enabled SPI flash SMM mode, and set additional device and debug options. [1] [2]
  • Added or updated several vendor and hardware support options, including PCIe, memory, and debug settings. [1] [2] [3] [4] [5]

These changes collectively modernize the firmware configuration for NovaCustom V540TU/V560TU, improve maintainability, and ensure compatibility with Dasharo EC and the latest coreboot features.

macpijan and others added 3 commits April 9, 2026 16:18
Squashed from:
tlaurion@2df1c8b
tlaurion@447d464

then, updated EC revision as per:
Dasharo/ec#82 (comment)

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Required to to build dasharo-ec module.

Need to pin SDCC version to 4.2.0 to avoid
Dasharo/dasharo-issues#1785
and be in sync with ec-sdk:
Dasharo/ec-sdk#2

Using 3.8.0 in nix toolchain (as originally used in ec-sdk)
was not feasible:
linuxboot#2062 (comment)

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
…mal changes to build Dasharo-EC

Signed-off-by: Thierry Laurion <insurgo@riseup.net>

ifeq "novacustom-v560tu" "$(BOARD)"

export CONFIG_COREBOOT_LOCALVERSION="\(coreboot+heads\) v0.9.1"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

?

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

Choose a reason for hiding this comment

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

not fixed by bumping fsp?

CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
CONFIG_LINEAR_FRAMEBUFFER=y
CONFIG_BOOTSPLASH=y
# CONFIG_BOOTSPLASH is not set
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please review config from other pr

ifeq "novacustom-v560tu" "$(BOARD)"

export CONFIG_COREBOOT_LOCALVERSION="\(coreboot+heads\) v0.9.1"
export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME="V54x_6x_TU"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

branding overrides (bootslash and site-local/config should be in dasharo fork not upstream

Copy link
Copy Markdown
Collaborator

@tlaurion tlaurion left a comment

Choose a reason for hiding this comment

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

see review, most importantly bootsplash removal, site-local override and coreboot cojfigs in oldconfig which seem still uefi release oriented.

- Remove leading tabs from ifeq variable assignments (Make parse error)
- Move post-build steps (cp, dd, touch) out of dasharo-ec_target into
  a proper Make rule; _target is now only make arguments
- Set dasharo-ec_output to ec.rom (the actual artifact, not .built)
- Add -$(BOARD) suffix to dasharo-ec_base_dir and dasharo-ec_dir so
  v540tu and v560tu maintain independent build trees and ec.rom files
- Add explicit rule to copy and zero-pad ec.rom to 128 KB
- Fix coreboot copy rule: use FORCE + cmp so the recipe always runs
  but only updates the destination (and its mtime) when content differs,
  preventing the mtime race between boards sharing coreboot_base_dir

Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
@tlaurion
Copy link
Copy Markdown
Collaborator

tlaurion commented Apr 9, 2026

Can't boot qubesos 4.3 iso from this PR nor the other (worst : kernel oops there), here cannot get anaconda.

Can you boot anything?

Also both PR have different coreboot commit and different platform names in config

PXL_20260409_214802098~2.jpg

@tlaurion
Copy link
Copy Markdown
Collaborator

tlaurion commented Apr 10, 2026

One cannot internally upgrade from heads on v540tu either since platforms strings don't match

Notebook (rom) != Clevo (smibios)

PXL_20260410_015953830.jpg

tlaurion added a commit to tlaurion/heads that referenced this pull request Apr 10, 2026
…with make BOARD=X coreboot.save_in_oldconfig_format_in_place helper

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
tlaurion added a commit to tlaurion/heads that referenced this pull request Apr 10, 2026
…with make BOARD=X coreboot.save_in_oldconfig_format_in_place helper

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
@tlaurion
Copy link
Copy Markdown
Collaborator

tlaurion commented Apr 10, 2026

@filipleple please review commit logs of https://github.com/linuxboot/heads/pull/2039/commits

One of those regression testing done in january 4th was f82d7e8


diff --git a/config/coreboot-novacustom-v540tu.config b/config/coreboot-novacustom-v540tu.config
index 25a89cc08c..c9c6776986 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 9581535533..e82a56eb2d 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

If not, we have a problem, we agreed on Clevo string back in #1913. We cannot change it otherwise internal flashing won't be possible.

@tlaurion
Copy link
Copy Markdown
Collaborator

Please diff coreboot configs vs pre_release_dasharo_101_rc3 and explain/adapt:

  • CONFIG_IFDTOOL_DISABLE_ME is not set
  • CONFIG_DASHARO_FIRMWARE_UPDATE_MODE=y
  • CONFIG_DRIVERS_GENERIC_CBFS_SERIAL=y
  • CONFIG_USE_PC_CMOS_ALTCENTURY=y
  • CONFIG_INTEL_ACM=y
  • CONFIG_MAINBOARD_VENDOR="Notebook"

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.

3 participants