Conversation
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>
site-local/config
Outdated
|
|
||
| ifeq "novacustom-v560tu" "$(BOARD)" | ||
|
|
||
| export CONFIG_COREBOOT_LOCALVERSION="\(coreboot+heads\) v0.9.1" |
| 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 |
There was a problem hiding this comment.
not fixed by bumping fsp?
| CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y | ||
| CONFIG_LINEAR_FRAMEBUFFER=y | ||
| CONFIG_BOOTSPLASH=y | ||
| # CONFIG_BOOTSPLASH is not set |
There was a problem hiding this comment.
please review config from other pr
site-local/config
Outdated
| ifeq "novacustom-v560tu" "$(BOARD)" | ||
|
|
||
| export CONFIG_COREBOOT_LOCALVERSION="\(coreboot+heads\) v0.9.1" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME="V54x_6x_TU" |
There was a problem hiding this comment.
branding overrides (bootslash and site-local/config should be in dasharo fork not upstream
tlaurion
left a comment
There was a problem hiding this comment.
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>
…with make BOARD=X coreboot.save_in_oldconfig_format_in_place helper Signed-off-by: Thierry Laurion <insurgo@riseup.net>
…with make BOARD=X coreboot.save_in_oldconfig_format_in_place helper Signed-off-by: Thierry Laurion <insurgo@riseup.net>
|
@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 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. |
|
Please diff coreboot configs vs pre_release_dasharo_101_rc3 and explain/adapt:
|
|
@tlaurion yes I managed to successfully flash, run, and boot Qubes OS (on v56) and DTS (both v56 and v54). Though, I've gone the Ignore everything and just boot route, haven't yet tested reownership and TOTP/HOTP. I didn't run into the flashing issue since I was flashing from our EDK2 release, where we'd switched from I'm not sure if there's any problem settling for the Since I have the core of the release done, that's building and booting both platforms from the new revision including a successful EC update on both, I'll now get to inspecting the minute config differences and looking for anything I'm missing from #2039. Thank you for being proactive and helping out. UPDATE:
|
…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 <insurgo@riseup.net>
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
…g (Improve performance by lowering the EPP value from the power-on default of 0xb3 (70%) to 0x73 (45%). Lower value = higher performance.) Test fix for Dasharo/dasharo-issues#1711 related: - linuxboot#2039 - Dasharo/dasharo-issues#1711 - linuxboot#1894 Signed-off-by: Thierry Laurion <insurgo@riseup.net>
…nreleased The coreboot module for NovaCustom MTL boards was renamed from 'dasharo' to 'dasharo_v56'. The Heads patch system resolves patch directories as <module_name>[-<patch_version>], so with module coreboot-dasharo_v56 and patch_version=unreleased the expected path is patches/coreboot-dasharo_v56-unreleased/. Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
|
@tlaurion I've minimized the diff of the configs. Currently, the boards build and boot. I've also applied the split into multiple EDIT: looks like the CI fails are caused by CI cache invalidation exposing pre-existing problems, not by actual bugs in this PR, so ignoring them |
pushed additional 3 commits to account for changes under #2039. nv4x_adl does't build local for me still |
|
Also trying to build, and accumulate workspace caches so rebuilds of heads do not take forever and abuse circleci free tier compute time, since number of coreboot forks exploded in recent years but now buildstacks are also tag specific mostly per board variant and cannot reuse coreboot upstream release tarballs.... Will see if new approach works under last commit under #2039 which attempts to combine buildstack per tag shared to build boards. per arch and then save_cache. Will see. |


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:
.circleci/config.ymljobs fromtlaurion/heads-dev-env:v0.2.7tov0.2.9to ensure builds use the latest development environment. [1] [2] [3] [4]Board and Mainboard Configuration:
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]CONFIG_DASHARO_EC=yto bothboards/novacustom-v540tu/novacustom-v540tu.configandboards/novacustom-v560tu/novacustom-v560tu.configto enable Dasharo EC support. [1] [2]Firmware and Embedded Controller:
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:
These changes collectively modernize the firmware configuration for NovaCustom V540TU/V560TU, improve maintainability, and ensure compatibility with Dasharo EC and the latest coreboot features.