-
-
Notifications
You must be signed in to change notification settings - Fork 22
NUC BOX v0.9.2 #879
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
Draft
filipleple
wants to merge
15
commits into
dasharo
Choose a base branch
from
nuc091
base: dasharo
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
NUC BOX v0.9.2 #879
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4486200
configs/config.novacustom_nuc_box: enable SBOM, v0.9.1-rc1
filipleple 77cab38
src/sbom/Makefile.mk: fix parallel build races
filipleple 5d4138c
mb/novacustom/nuc_box/devicetree.cb: move TPM inside domain 0
filipleple 10b2cdb
mb/novacustom/nuc_box/dsdt.asl: fixes for ghost PS/2 and USB wake
filipleple bebd678
mb/novacustom/nuc_box/acpi/sleep.asl: fix USB S3 wake
filipleple 1540e8c
mb/novacustom/nuc_box/: increase SMMSTORE size to 512K
filipleple 8af5556
mb/novacustom/nuc_box/ramstage.c: Generate SMBIOS table with ME FWSTS
filipleple 1702aca
mb/novacustom/nuc_box: enable debug SMI
filipleple 734be4f
mb/novacustom/nuc_box: Bump Energy Performance Preference to 45%
filipleple 584a316
configs/config.novacustom_nuc_box: bump to v0.9.2-rc1
filipleple 67dc003
mb/novacustom/nuc_box/: address upstream review
filipleple 695296f
build.sh: bump DASHARO_SDK up to v1.9.0
filipleple d9778a3
build.sh: Fix permissions when building with GH actions
miczyg1 4ca884d
build.sh: fix GOCACHE permissions as well
filipleple 1753fdb
security/intel/cbnt/measurement.c: unused struct field build fix
filipleple File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,30 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <intelblocks/gpio.h> | ||
|
|
||
| /* | ||
| * Enable/disable dynamic clock gating for all GPIO communities. | ||
| * Arg0 - MISCCFG_GPIO_PM_CONFIG_BITS to enable, 0 to disable. | ||
| */ | ||
| Method (PGPM, 1, Serialized) | ||
| { | ||
| For (Local0 = 0, Local0 < 6, Local0++) | ||
| { | ||
| \_SB.PCI0.CGPM (Local0, Arg0) | ||
| } | ||
| } | ||
|
|
||
| /* Method called from _PTS prior to enter sleep state */ | ||
| Method (MPTS, 1) { | ||
| Method (MPTS, 1, Serialized) { | ||
| PGPM (MISCCFG_GPIO_PM_CONFIG_BITS) | ||
| \_SB.SIO.PTS() | ||
| } | ||
|
|
||
| /* Method called from _WAK prior to wakeup */ | ||
| Method (MWAK, 1) { | ||
| Method (MWAK, 1, Serialized) { | ||
| \_SB.SIO.WAK() | ||
| PGPM (0) | ||
| If (CondRefOf (\_SB.PCI0.TXHC)) { | ||
| \_SB.TCWK (Arg0) | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -78,6 +78,17 @@ payload-swid := $(build-dir)/payload-edk2.json | |||||||||
| payload-swid-template := $(src-dir)/payload-edk2.json | ||||||||||
| endif | ||||||||||
|
|
||||||||||
| # Keep standalone "make sbom" rebuilds read-only with respect to payloads: | ||||||||||
| # use already checked-out repositories for version extraction and avoid | ||||||||||
| # re-triggering payload fetch/build targets (especially with `make -B sbom`). | ||||||||||
| ifeq ($(filter sbom,$(MAKECMDGOALS)),sbom) | ||||||||||
| payload-swid-ready-dep := $(if $(wildcard $(payload-git-dir-y)/.git),$(payload-git-dir-y)/.git,) | ||||||||||
| ipxe-swid-ready-dep := $(if $(wildcard payloads/external/iPXE/ipxe/.git),payloads/external/iPXE/ipxe/.git,) | ||||||||||
|
Comment on lines
+85
to
+86
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't
Suggested change
|
||||||||||
| else | ||||||||||
| payload-swid-ready-dep := $(CONFIG_PAYLOAD_FILE) | ||||||||||
| ipxe-swid-ready-dep := payloads/external/iPXE/ipxe/ipxe.rom | ||||||||||
| endif | ||||||||||
|
|
||||||||||
| # Add all SBOM files into the swid-files-y target. This target contains all | ||||||||||
| # .json, .ini, .uswid, .xml, .pc SBOM files that are later merged into one uSWID SBOM file. | ||||||||||
| # Some of these have an option that this Makefile generates/extracts some information from | ||||||||||
|
|
@@ -372,18 +383,18 @@ $(build-dir)/vboot.json: $(src-dir)/vboot.json $(if $(vboot-gitdir),$(vboot-gitd | |||||||||
|
|
||||||||||
| ipxe-gitdir := $(shell git -C payloads/external/iPXE/ipxe rev-parse --absolute-git-dir 2>/dev/null) | ||||||||||
|
|
||||||||||
| $(build-dir)/payload-iPXE.json: $(src-dir)/payload-iPXE.json $(if $(ipxe-gitdir),$(ipxe-gitdir)/HEAD,) | $(build-dir) | ||||||||||
| $(build-dir)/payload-iPXE.json: $(src-dir)/payload-iPXE.json $(if $(ipxe-gitdir),$(ipxe-gitdir)/HEAD,) | $(build-dir) $(ipxe-swid-ready-dep) | ||||||||||
| cp $< $@ | ||||||||||
| set -e; \ | ||||||||||
| git_tree_hash=$$(git --git-dir payloads/external/iPXE/ipxe/.git log -n 1 --format=%T); \ | ||||||||||
| git_comm_hash=$$(git --git-dir payloads/external/iPXE/ipxe/.git log -n 1 --format=%H); \ | ||||||||||
| sed -i -e "s/<colloquial_version>/$$git_tree_hash/" -e "s/<software_version>/$$git_comm_hash/" $@ | ||||||||||
|
|
||||||||||
| # Order-only dep on the .git dir ensures the payload is cloned before we try | ||||||||||
| # to read it. We do NOT depend on the payload binary ($(CONFIG_PAYLOAD_FILE)) | ||||||||||
| # because: (a) the recipe never reads the binary, only .git; (b) with make -B | ||||||||||
| # an order-only dep on the binary would still force a full payload rebuild. | ||||||||||
| $(payload-swid): $(payload-swid-template) | $(build-dir) $(payload-git-dir-y)/.git | ||||||||||
| # Build payload SBOM metadata only after the payload is ready in regular builds. | ||||||||||
| # For standalone `make sbom`, use an existing checkout only. | ||||||||||
| $(payload-swid): $(payload-swid-template) | $(build-dir) $(payload-swid-ready-dep) | ||||||||||
| cp $< $@;\ | ||||||||||
| set -e; \ | ||||||||||
| git_tree_hash=$$(git --git-dir $(payload-git-dir-y)/.git log -n 1 --format=%T);\ | ||||||||||
| git_comm_hash=$$(git --git-dir $(payload-git-dir-y)/.git log -n 1 --format=%H);\ | ||||||||||
| sed -i -e "s/<colloquial_version>/$$git_tree_hash/" -e "s/<software_version>/$$git_comm_hash/" $@; | ||||||||||
|
|
||||||||||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (CONFIG(GENERATE_SMBIOS_TABLES))didn't work for some reason?