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

Add NovaCustom V540TU and V560TU boards #1846

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ce2b051
Add NovaCustom V540TU board
mkopec Nov 14, 2024
4394052
modules/linux: add Linux 6.11.9
tlaurion Nov 22, 2024
059a60e
.circleci/config.yml nitropad-nv41 name changed -> novacustom_nv4x_adl
tlaurion Nov 22, 2024
cf02a29
config/coreboot-novacustom-v540tu.config: disable debug console
mkopec Nov 28, 2024
4a3667b
boards/novacustom-v540tu/novacustom-v540tu.config: remove unneeded de…
mkopec Nov 28, 2024
b6f5c6d
modules/coreboot: update comment about Dasharo coreboot fork
mkopec Nov 29, 2024
0cdba41
modules/coreboot: dasharo: reuse 24.02.1 toolchain
mkopec Dec 2, 2024
ad6605d
config/coreboot-novacustom-v540tu.config: set version to rc1
mkopec Nov 29, 2024
0f33949
Add NovaCustom V560TU
mkopec Nov 29, 2024
34ee256
modules/coreboot: bump dasharo fork for PRR lockdown
mkopec Dec 4, 2024
bb6c83d
modules/coreboot: add commented out patch version
mkopec Dec 4, 2024
6174b63
novacustom-v540tu: enable PR0 lockdown in SMM
mkopec Dec 9, 2024
5b44411
config/coreboot-novacustom-v540tu.config: disable serial console
mkopec Dec 9, 2024
1d7b442
novacustom-v560tu: sync to v540tu
mkopec Dec 10, 2024
ac43d5e
config/coreboot-novacustom-v5*: bump version to rc2
mkopec Dec 10, 2024
b5fe899
config/coreboot-novacustom-v5*: set ME HAP, prefer S3 sleep
mkopec Dec 10, 2024
7323fef
modules/coreboot: bump for MTL S3
mkopec Dec 10, 2024
c516918
patches/coreboot-dasharo-unreleased: add back JPEG patches
mkopec Dec 11, 2024
602e281
config/coreboot-novacustom-v5.0tu.config: add bootsplash
mkopec Dec 11, 2024
6ee05c3
CircleCI: Add v560tu missing into https://github.com/linuxboot/heads/…
tlaurion Dec 10, 2024
fffc3a8
v540tu/v560tu: remove MSRTOOL, reuse proposed changes not taken from …
tlaurion Dec 10, 2024
bf06be9
config/coreboot-novacustom-v560tu.config: reuse changes proposed unde…
tlaurion Dec 10, 2024
b984923
v560tu/v540tu board configs: adapt FLASH_OPTIONS to not overwrite GBE…
tlaurion Dec 11, 2024
a09b64d
v560tu/v540tu coreboot configs: add bootsplash, remove ME HAP bit to …
tlaurion Dec 11, 2024
f45452b
nv4x_adl/ns50 coreboot config bumped to 24.02.01 with save in old con…
tlaurion Dec 11, 2024
1dba3e9
CircleCI v560tu/v540tu: build atop x230-hotp-maximized workspace cach…
tlaurion Dec 11, 2024
f1299c1
modules/coreboot: update for HAP disable fix
mkopec Dec 18, 2024
3f8a0df
modules/coreboot: bump dasharo fork for FSP submodule fix
mkopec Dec 18, 2024
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
21 changes: 18 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ workflows:
target: novacustom_nv4x_adl
subcommand: ""
requires:
- x86-musl-cross-make
- x230-hotp-maximized

# coreboot talos_2
- build_and_persist:
Expand Down Expand Up @@ -510,14 +510,29 @@ workflows:
requires:
- librem_14

# dasharo release
# dasharo release, share 24.02.01 utils/crossgcc
- build:
name: nitropad-ns50
target: nitropad-ns50
subcommand: ""
requires:
- novacustom_nv4x_adl

- build:
name: novacustom-v560tu
target: novacustom-v560tu
subcommand: ""
requires:
- x230-hotp-maximized

- build:
name: novacustom-v540tu
target: novacustom-v540tu
subcommand: ""
requires:
- x230-hotp-maximized


# coreboot 4.11
- build:
name: UNMAINTAINED_kgpe-d16_workstation
Expand All @@ -533,7 +548,7 @@ workflows:
subcommand: ""
requires:
- librem_l1um

# coreboot 4.11
- build:
name: UNMAINTAINED_kgpe-d16_server
Expand Down
81 changes: 81 additions & 0 deletions boards/novacustom-v540tu/novacustom-v540tu.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# NovaCustom V54 MTL (integrated graphics) board configuration
# Note the FLASH_OPTIONS: '--ifd -i bios -i me -i fd'
# This excludes gbe from internal flashing, otherwise mac address would revert to '88:88:88:88:87:88' see https://github.com/linuxboot/heads/pull/1871#discussion_r1870134788
# Same options should be used when externally flashing the first time, otherwise Intel GBE region (Ethernet config blob) will be overwitten and MAC reverted to '88:88:88:88:87:88'

# Meteor Lake (Intel Gen 14) is not supposed to support s3 but coincidently does. In case s3 is broken, user must configure settings to not suspend or otherwise enable ME/CSME for s01x to work (unsupported by QubesOS when writing those lines) or use Hibernate (Not supported by QubesOS either)

export CONFIG_COREBOOT=y
export CONFIG_COREBOOT_VERSION=dasharo
export CONFIG_LINUX_VERSION=6.11.9

CONFIG_COREBOOT_CONFIG=config/coreboot-novacustom-v540tu.config
CONFIG_LINUX_CONFIG=config/linux-nitropad-x.config

#Enable DEBUG output
#export CONFIG_DEBUG_OUTPUT=y
#export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y
#Enable TPM2 pcap output under /tmp
#export CONFIG_TPM2_CAPTURE_PCAP=y

#On-demand hardware support (modules.cpio)
CONFIG_LINUX_USB=y
CONFIG_LINUX_E1000=y
CONFIG_MOBILE_TETHERING=y

#Modules packed into tools.cpio
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

#platform locking finalization (PR0)
CONFIG_IO386=y
export CONFIG_FINALIZE_PLATFORM_LOCKING=y


#Remote attestation support
# TPM2 requirements
CONFIG_TPM2_TSS=y
CONFIG_OPENSSL=y
#Remote Attestation common tools
CONFIG_POPT=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
#Nitrokey Storage admin tool (deprecated)
#CONFIG_NKSTORECLI=n
#GUI Support
#Console based Whiptail support(Console based, no FB):
#CONFIG_SLANG=y
#CONFIG_NEWT=y
#FBWhiptail based (Graphical):
CONFIG_CAIRO=y
CONFIG_FBWHIPTAIL=y
#Additional tools (tools.cpio):
#SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E)
CONFIG_DROPBEAR=y

#Runtime configuration
#Automatically boot if HOTP is valid
export CONFIG_AUTO_BOOT_TIMEOUT=5
#TPM2 requirements
export CONFIG_TPM2_TOOLS=y
export CONFIG_PRIMARY_KEY_TYPE=ecc
#TPM1 requirements
#export CONFIG_TPM=y
export CONFIG_BOOTSCRIPT=/bin/gui-init
export CONFIG_BOOT_REQ_HASH=n
export CONFIG_BOOT_REQ_ROLLBACK=n
export CONFIG_BOOT_KERNEL_ADD=""
export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
export CONFIG_BOARD_NAME="NovaCustom V540TU"
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal --ifd -i bios -i me -i fd"
export CONFIG_AUTO_BOOT_TIMEOUT=5
81 changes: 81 additions & 0 deletions boards/novacustom-v560tu/novacustom-v560tu.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# NovaCustom V54 MTL (integrated graphics) board configuration
# Note the FLASH_OPTIONS: '--ifd -i bios -i me -i fd'
# This excludes gbe from internal flashing, otherwise mac address would revert to '88:88:88:88:87:88' see https://github.com/linuxboot/heads/pull/1871#discussion_r1870134788
# Same options should be used when externally flashing the first time, otherwise Intel GBE region (Ethernet config blob) will be overwitten and MAC reverted to '88:88:88:88:87:88'

# Meteor Lake (Intel Gen 14) is not supposed to support s3 but coincidently does. In case s3 is broken, user must configure settings to not suspend or otherwise enable ME/CSME for s01x to work (unsupported by QubesOS when writing those lines) or use Hibernate (Not supported by QubesOS either)

export CONFIG_COREBOOT=y
export CONFIG_COREBOOT_VERSION=dasharo
export CONFIG_LINUX_VERSION=6.11.9

CONFIG_COREBOOT_CONFIG=config/coreboot-novacustom-v560tu.config
CONFIG_LINUX_CONFIG=config/linux-nitropad-x.config

#Enable DEBUG output
#export CONFIG_DEBUG_OUTPUT=y
#export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y
#Enable TPM2 pcap output under /tmp
#export CONFIG_TPM2_CAPTURE_PCAP=y

#On-demand hardware support (modules.cpio)
CONFIG_LINUX_USB=y
CONFIG_LINUX_E1000=y
CONFIG_MOBILE_TETHERING=y

#Modules packed into tools.cpio
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

#platform locking finalization (PR0)
CONFIG_IO386=y
export CONFIG_FINALIZE_PLATFORM_LOCKING=y


#Remote attestation support
# TPM2 requirements
CONFIG_TPM2_TSS=y
CONFIG_OPENSSL=y
#Remote Attestation common tools
CONFIG_POPT=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
#HOTP based remote attestation for supported USB Security dongle
#With/Without TPM support
CONFIG_HOTPKEY=y
#Nitrokey Storage admin tool (deprecated)
#CONFIG_NKSTORECLI=n
#GUI Support
#Console based Whiptail support(Console based, no FB):
#CONFIG_SLANG=y
#CONFIG_NEWT=y
#FBWhiptail based (Graphical):
CONFIG_CAIRO=y
CONFIG_FBWHIPTAIL=y
#Additional tools (tools.cpio):
#SSH server (requires ethernet drivers, eg: CONFIG_LINUX_E1000E)
CONFIG_DROPBEAR=y

#Runtime configuration
#Automatically boot if HOTP is valid
export CONFIG_AUTO_BOOT_TIMEOUT=5
#TPM2 requirements
export CONFIG_TPM2_TOOLS=y
export CONFIG_PRIMARY_KEY_TYPE=ecc
#TPM1 requirements
#export CONFIG_TPM=y
export CONFIG_BOOTSCRIPT=/bin/gui-init
export CONFIG_BOOT_REQ_HASH=n
export CONFIG_BOOT_REQ_ROLLBACK=n
export CONFIG_BOOT_KERNEL_ADD=""
export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
export CONFIG_BOARD_NAME="NovaCustom V540TU"
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal --ifd -i bios -i me -i fd"
export CONFIG_AUTO_BOOT_TIMEOUT=5
Loading