Skip to content

Commit

Permalink
Revert tpm2
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu committed Feb 8, 2025
1 parent f1eab17 commit 5557e41
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 16 deletions.
2 changes: 0 additions & 2 deletions config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ disable_overscan=1
device_tree_address=0x1f0000
device_tree_end=0x200000
dtparam=sd_poll_once
dtparam=spi=on
dtparam=audio=off
dtparam=hdmi=off
dtparam=watchdog=on
dtoverlay=disable-bt
dtoverlay=disable-wifi
dtoverlay=tpm-slb9670
dtoverlay=upstream-pi4
disable_splash=1
boot_delay=0
Expand Down
3 changes: 0 additions & 3 deletions curl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ expand-output="{{fw_dir}}/overlays/disable-wifi.dtbo"
expand-url="{{fw_base_url}}/boot/overlays/disable-bt.dtbo"
expand-output="{{fw_dir}}/overlays/disable-bt.dtbo"

expand-url="{{fw_base_url}}/boot/overlays/tpm-slb9670.dtbo"
expand-output="{{fw_dir}}/overlays/tpm-slb9670.dtbo"

url="https://github.com/pftf/RPi4/releases/download/v1.37/RPi4_UEFI_Firmware_v1.37.zip"
expand-output="{{dl_dir}}/rpi_uefi.zip"

Expand Down
2 changes: 1 addition & 1 deletion mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ QemuMem=4G
KernelCommandLineExtra=
# slow cross-arch emulation requires increased timeouts
systemd.default_device_timeout_sec=180
QemuSwtpm=yes
QemuSwtpm=no # Raspberry Pi has no TPM either
Ephemeral=yes
[Validation]
Checksum=no

This file was deleted.

1 change: 0 additions & 1 deletion mkosi.images/rootfs/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ Packages=
systemd-sysv
systemd-timesyncd
tar
tpm2-tools
tree
udev
util-linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ MakeDirectories=/efi
MakeDirectories=/usr
FactoryReset=yes
CopyFiles=/usr/share/factory:/
Encrypt=tpm2
Encrypt=key-file

# This only has an effect if encryption is done build-time
#EncryptedVolume=root::cipher=xchacha20,aes-adiantum-plain64
4 changes: 2 additions & 2 deletions mkosi.profiles/disk/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ KernelModulesInitrdInclude=
/bcm2835-rng.ko
/bcm2835_wdt.ko
/bcm2711_thermal.ko
/tpm_tis_spi.ko
/vc4.ko
/v3d.ko
/dwc2.ko
Expand All @@ -61,7 +60,8 @@ KernelCommandLine=
console=ttyAMA0
ipv6.disable=1
fstab=no
systemd.tpm2_wait=1
#luks.crypttab=no
#luks.options=headless\,cipher=xchacha20\,aes-adiantum-plain64 # Does not work because cipher is harcoded in repart.c
mount.usrflags=noatime,ro
systemd.swap=no
rw
Expand Down

0 comments on commit 5557e41

Please sign in to comment.