morris / abslibre

Forked from abslibre 2 years ago
Clone

6296311 pcr: libreboot-utils: Add spkmodem_recv

Authored and Committed by Denis 'GNUtoo' Carikli 2 years ago
    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>
    
        
file modified
+7 -1