summaryrefslogtreecommitdiff
path: root/pcr/libreboot-utils/PKGBUILD
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-07 00:04:48 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-07 00:16:05 +0200
commit629631128e1f9adcd6aae5b064190a99d4f0b829 (patch)
tree8862b2014905ff8b8c07f86bd97748e9f0041e41 /pcr/libreboot-utils/PKGBUILD
parentde474fc049b8ea9dc9e9756ca73b26d4be31aadf (diff)
downloadabslibre-629631128e1f9adcd6aae5b064190a99d4f0b829.tar.gz
abslibre-629631128e1f9adcd6aae5b064190a99d4f0b829.tar.bz2
abslibre-629631128e1f9adcd6aae5b064190a99d4f0b829.zip
pcr: libreboot-utils: Add spkmodem_recv
When building Coreboot or Libreboot with CONFIG_SPKMODEM, the boot messages data is encoded as sound and sent to the sound card. To receive them you can record them with another computer (and ideally you need an audio cable for that and to make sure that the volume is not too low or not too high), and you can then decode them in real time with a command similar to that one: parec --channels=1 --rate=48000 --format=s16le | spkmodem-recv This also works with grub spkmodem console output. Note that the messages speed is relatively slow, so if you build Coreboot or Libreboot with that option, your boot might take a long time (like 30min for instance) if you have a lot of messages. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/libreboot-utils/PKGBUILD')
-rw-r--r--pcr/libreboot-utils/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD
index 2da67582b..f5a183b60 100644
--- a/pcr/libreboot-utils/PKGBUILD
+++ b/pcr/libreboot-utils/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
pkgname=libreboot-utils
-pkgrel=6
+pkgrel=7
_upstream_ver=20211122
pkgver=4.15.libreboot${_upstream_ver}
pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)"
@@ -74,6 +74,9 @@ build() {
# Build nvramtool.
make -C nvramtool
+
+ # Build spkmodem_recv.
+ make -C spkmodem_recv
}
package() {
@@ -102,4 +105,7 @@ package() {
# Install nvramtool.
make -C nvramtool install DESTDIR="${pkgdir}" PREFIX=/usr
+
+ # Install spkmodem_recv.
+ make -C spkmodem_recv install PREFIX="${pkgdir}/usr"
}