-
-
Notifications
You must be signed in to change notification settings - Fork 211
boards: Add Star Labs Heads targets #2164
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
Open
Sean-StarLabs
wants to merge
25
commits into
linuxboot:master
Choose a base branch
from
StarLabsLtd:agent/starlabs-lite-adl
base: master
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.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f90e742
coreboot: Add Star Labs 26.07
Sean-StarLabs e1e2ef3
boards: Add Star Labs common configuration
Sean-StarLabs 72cce96
boards: Add StarLite Mk V
Sean-StarLabs fbd5788
boards: Add Star Labs compact profiles
Sean-StarLabs a1b6d1e
boards: Add Star Labs QEMU gate
Sean-StarLabs 830cd86
boards: Add StarBook MTL
Sean-StarLabs d0ccf50
boards: Add StarBook ADL
Sean-StarLabs 284230f
boards: Add StarBook ADL-N
Sean-StarLabs 9a9b9ee
boards: Add StarBook RPL
Sean-StarLabs 34e6c7e
boards: Add StarBook TGL
Sean-StarLabs e838858
boards: Add LabTop CML
Sean-StarLabs 4da05a1
boards: Add ADL Horizon
Sean-StarLabs 7d68198
boards: Add Byte ADL
Sean-StarLabs a327131
boards: Add Byte TWL
Sean-StarLabs 9246ce1
boards: Add StarFighter MTL
Sean-StarLabs 78f2106
boards: Add StarFighter RPL
Sean-StarLabs 49a2f0a
initrd: Load USB keyboards before early prompts
Sean-StarLabs 94167c9
initrd: Support /boot on root filesystems
Sean-StarLabs e63a6de
coreboot: restore SPI protection before lockdown
Sean-StarLabs 759db97
coreboot: honor configured ME default
Sean-StarLabs 2bb31b4
starlabs: make compact profiles self-contained
Sean-StarLabs 2e22940
initrd: normalize root filesystem boot paths
Sean-StarLabs fc43b8c
config: Save Star Labs coreboot oldconfigs
tlaurion 307cab9
config: Disable coreboot SBOM for Star Labs boards
Sean-StarLabs 8781293
boards: Address Star Labs review feedback
Sean-StarLabs 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Common Star Labs Heads configuration. | ||
| export CONFIG_COREBOOT=y | ||
| export CONFIG_COREBOOT_VERSION=starlabs_2607 | ||
| export CONFIG_LINUX_VERSION=6.1.8 | ||
|
|
||
| CONFIG_LINUX_CONFIG=config/linux-starlabs-common.config | ||
|
|
||
| CONFIG_LINUX_USB=y | ||
| CONFIG_LINUX_E1000=y | ||
| CONFIG_MOBILE_TETHERING=y | ||
|
|
||
| CONFIG_CRYPTSETUP2=y | ||
| CONFIG_FLASHPROG=y | ||
| CONFIG_FLASHTOOLS=y | ||
| CONFIG_GPG2=y | ||
| CONFIG_KEXEC=y | ||
| CONFIG_UTIL_LINUX=y | ||
| CONFIG_LVM2=y | ||
| CONFIG_MBEDTLS=y | ||
| CONFIG_PCIUTILS=y | ||
|
|
||
| CONFIG_TPM2_TSS=y | ||
| CONFIG_OPENSSL=y | ||
| CONFIG_POPT=y | ||
| CONFIG_QRENCODE=y | ||
| CONFIG_TPMTOTP=y | ||
| CONFIG_HOTPKEY=y | ||
|
|
||
| CONFIG_CAIRO=y | ||
| CONFIG_FBWHIPTAIL=y | ||
|
|
||
| export CONFIG_AUTO_BOOT_TIMEOUT=5 | ||
| export CONFIG_TPM2_TOOLS=y | ||
| export CONFIG_PRIMARY_KEY_TYPE=ecc | ||
| export CONFIG_DEBUG_OUTPUT=n | ||
| export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=n | ||
| export CONFIG_TPM2_CAPTURE_PCAP=n | ||
| export CONFIG_QUIET_MODE=y | ||
| export CONFIG_BOOTSCRIPT=/bin/gui-init.sh | ||
| export CONFIG_BOOT_REQ_HASH=n | ||
| export CONFIG_BOOT_REQ_ROLLBACK=n | ||
| export CONFIG_BOOT_KERNEL_ADD="" | ||
| export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash" | ||
| export CONFIG_KEYBOARD_KEYMAP="/usr/lib/kbd/keymaps/i386/qwerty/us.map" |
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Space-constrained Intel boards retain the deferred platform lock. | ||
| include $(pwd)/boards/starlabs/compact.config | ||
|
|
||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_APM_CNT=0xb2 | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_APM_STS=0xb3 | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_CODE=0xcb |
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 |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Space-constrained physical Star Labs boards retain the graphical Heads UI, | ||
| # GPG verification, TPM2 tools, flash tools, USB storage, and kexec. | ||
| include $(pwd)/boards/starlabs/physical.config | ||
|
|
||
| # Omit encrypted-storage, enrollment, filesystem-maintenance, networking, and | ||
| # tools that do not fit alongside recovery and measured boot. | ||
| CONFIG_BUSYBOX_COMPACT=y | ||
| CONFIG_CRYPTSETUP2=n | ||
| CONFIG_LVM2=n | ||
| CONFIG_TPMTOTP=n | ||
| CONFIG_HOTPKEY=n | ||
| CONFIG_QRENCODE=n | ||
| CONFIG_MOBILE_TETHERING=n | ||
| CONFIG_MBEDTLS=n | ||
| CONFIG_PCIUTILS=n | ||
| CONFIG_PCIUTILS_LIB_ONLY=y | ||
| CONFIG_POPT=n | ||
| CONFIG_UTIL_LINUX=n | ||
| CONFIG_EXFATPROGS=n | ||
| CONFIG_E2FSPROGS=n | ||
| CONFIG_KBD=n | ||
| CONFIG_KBD_LOADKEYS=n | ||
| CONFIG_LINUX_E1000=n |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| include $(pwd)/boards/starlabs/physical.config | ||
|
|
||
| CONFIG_IO386=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING=y | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_APM_CNT=0xb2 | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_APM_STS=0xb3 | ||
| export CONFIG_FINALIZE_PLATFORM_LOCKING_CODE=0xcb |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/common.config | ||
|
|
||
| # Keep the descriptor, ME, EC, SMMSTORE and per-unit data out of internal updates. | ||
| export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal --fmap -i COREBOOT" |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/compact-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_adl_horizon.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarBook Horizon" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook\ Horizon | ||
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| include $(pwd)/boards/starlabs/compact-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_byte_adl.config | ||
| export CONFIG_BOARD_NAME="Star Labs Byte Mk II" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=Byte | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y |
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| include $(pwd)/boards/starlabs/compact-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_byte_twl.config | ||
| export CONFIG_BOARD_NAME="Star Labs Byte Mk III" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=Byte | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_labtop_cml.config | ||
| export CONFIG_BOARD_NAME="Star Labs LabTop Mk IV" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=LabTop |
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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Star Labs StarLite Mk V (Lite ADL). | ||
| # Initial installation and recovery require an external SPI programmer. | ||
| # https://support.starlabs.systems/hc/star-labs/articles/starlite-mk-v-installingrecovering-firmware-with-external-programmer | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_lite_adl.config | ||
|
|
||
| export CONFIG_BOARD_NAME="Star Labs StarLite Mk V" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarLite | ||
| export CONFIG_USB_KEYBOARD_REQUIRED=y | ||
|
|
||
| # The fixed COREBOOT region cannot contain the full Heads package set. | ||
| CONFIG_CRYPTSETUP2=n | ||
| CONFIG_LVM2=n | ||
| CONFIG_MOBILE_TETHERING=n | ||
| CONFIG_POPT=n | ||
| CONFIG_UTIL_LINUX=n | ||
| CONFIG_EXFATPROGS=n | ||
| CONFIG_E2FSPROGS=n | ||
| CONFIG_KBD=n | ||
| CONFIG_KBD_LOADKEYS=n | ||
| CONFIG_LINUX_E1000=n |
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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Star Labs software gate. This uses the same coreboot fork, Linux kernel, | ||
| # userspace, graphical UI, and TPM2 stack as the physical targets. | ||
| include $(pwd)/boards/starlabs/common.config | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_qemu.config | ||
| CONFIG_LINUX_CONFIG=config/linux-qemu.config | ||
| CONFIG_MOBILE_TETHERING=n | ||
|
|
||
| export CONFIG_BOARD_NAME=qemu-starlabs | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=starlabs_qemu | ||
| export CONFIG_BOOT_RECOVERY_SERIAL="/dev/ttyS0" | ||
| export CONFIG_BOOT_KERNEL_ADD="console=ttyS0 console=tty systemd.zram=0 debug" | ||
|
|
||
| BOARD_TARGETS := qemu |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starbook_adl.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarBook Mk VI (Alder Lake)" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook |
4 changes: 4 additions & 0 deletions
4
boards/starlabs_starbook_adl_n/starlabs_starbook_adl_n.config
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/compact-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starbook_adl_n.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarBook Mk VII (Alder Lake-N)" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # StarBook Mk VII (Meteor Lake) proof board. | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
|
|
||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starbook_mtl.config | ||
|
|
||
| export CONFIG_BOARD_NAME="Star Labs StarBook Mk VII (Meteor Lake)" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starbook_rpl.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarBook Mk VI (Raptor Lake)" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook |
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/compact-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starbook_tgl.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarBook Mk V" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarBook |
4 changes: 4 additions & 0 deletions
4
boards/starlabs_starfighter_mtl/starlabs_starfighter_mtl.config
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starfighter_mtl.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarFighter Mk II" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarFighter |
4 changes: 4 additions & 0 deletions
4
boards/starlabs_starfighter_rpl/starlabs_starfighter_rpl.config
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| include $(pwd)/boards/starlabs/physical-intel.config | ||
| CONFIG_COREBOOT_CONFIG=config/coreboot-starlabs_starfighter_rpl.config | ||
| export CONFIG_BOARD_NAME="Star Labs StarFighter Mk I" | ||
| export CONFIG_COREBOOT_SMBIOS_PRODUCT_NAME=StarFighter |
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.
"\ " wanted across all board configs for SMBIOS_PRODUCT_NAME override?