Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ec/system76/ec/system76_ec.c: Rework EC FW sync #577

Merged
merged 6 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
vendor: [ novacustom ]
model: [ nv4x_adl, ns5x_adl, nv4x_tgl, ns5x_tgl, v540tu, v560tu ]
model: [ nv4x_adl, ns5x_adl, nv4x_tgl, ns5x_tgl, v540tu, v560tu, v540tnx, v560tnx ]
steps:
- name: Checkout EC
uses: actions/checkout@v4
Expand All @@ -33,6 +33,7 @@ jobs:
retention-days: 30
build_novacustom:
runs-on: ubuntu-22.04
needs: build_novacustom_ec
container:
image: coreboot/coreboot-sdk:2023-11-24_2731fa619b
options: --user 1001
Expand All @@ -51,6 +52,10 @@ jobs:
fetch-depth: 0
- name: Checkout all submodules
run: git submodule update --init --recursive --checkout
- name: Obtain EC
uses: actions/download-artifact@v4
with:
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}-ec"
- name: Obtain blobs
uses: actions/checkout@v4
with:
Expand All @@ -60,6 +65,7 @@ jobs:
token: ${{ secrets.NCM_BLOBS_TOKEN }}
- name: Build Dasharo
run: |
mv ${{ matrix.vendor }}_${{ matrix.model }}_ec.rom ec.rom
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }} .config
make olddefconfig
make
Expand Down
1 change: 1 addition & 0 deletions configs/config.novacustom_ns5x_adl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CONFIG_EDK2_BOOTSPLASH_FILE="3rdparty/dasharo-blobs/novacustom/bootsplash.bmp"
CONFIG_TPM_MEASURED_BOOT=y
CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
CONFIG_EC_SYSTEM76_EC_UPDATE=y
CONFIG_HAVE_ME_BIN=y
CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G=y
CONFIG_PCIEXP_HOTPLUG_IO=0x2000
Expand Down
1 change: 1 addition & 0 deletions configs/config.novacustom_ns5x_tgl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CONFIG_TPM_MEASURED_BOOT=y
CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
CONFIG_INTEL_TME=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
CONFIG_EC_SYSTEM76_EC_UPDATE=y
CONFIG_HAVE_ME_BIN=y
CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G=y
CONFIG_PCIEXP_HOTPLUG_IO=0x2000
Expand Down
1 change: 1 addition & 0 deletions configs/config.novacustom_nv4x_adl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ CONFIG_EDK2_BOOTSPLASH_FILE="3rdparty/dasharo-blobs/novacustom/bootsplash.bmp"
CONFIG_TPM_MEASURED_BOOT=y
CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
CONFIG_EC_SYSTEM76_EC_UPDATE=y
CONFIG_HAVE_ME_BIN=y
CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G=y
CONFIG_PCIEXP_HOTPLUG_IO=0x2000
Expand Down
1 change: 1 addition & 0 deletions configs/config.novacustom_nv4x_tgl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CONFIG_TPM_MEASURED_BOOT=y
CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
CONFIG_INTEL_TME=y
CONFIG_ENABLE_EARLY_DMA_PROTECTION=y
CONFIG_EC_SYSTEM76_EC_UPDATE=y
CONFIG_HAVE_ME_BIN=y
CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G=y
CONFIG_PCIEXP_HOTPLUG_IO=0x2000
Expand Down
Loading