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>
- config/coreboot-novacustom-v560tu.config: switch EC from SYSTEM76_EC
to DASHARO_EC (CONFIG_EC_DASHARO_EC=y, _UPDATE=y, _UPDATE_FILE="ec.rom"),
matching the v540tu change already in this branch
- modules/dasharo-ec: strip UNTESTED_/EOL_ board name prefixes before
the board model mapping so that boards not yet promoted (e.g.
UNTESTED_nitropad-ns50) resolve correctly without a separate entry
- modules/dasharo-ec: add board model mappings for novacustom-nv4x_adl
(ns5x_adl - nv4x_adl) and nitropad-ns50 (ns5x_adl)
- modules/dasharo-ec: drop redundant sh -c wrapper from cp recipe;
Make already invokes recipe lines via the shell
- modules/dasharo-ec: replace dd seek-based padding with
truncate --size=128KiB, as suggested in review (ec.rom is always
smaller than 128 KiB)
- modules/dasharo-ec: indent ifeq variable assignments with a tab for
readability
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
- 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>