On Tue, Dec 7, 2021 at 10:00 AM Peter Stuge peter@stuge.se wrote:
What if you build coreboot for emulation/qemu with spkmodem console? Does QEMU produce actual sound? I don't know whether QEMU has a speaker output.
To add to this, QEMU will produce tones with the spkmodem console if you add "-soundhw pcspk" to your qemu command line. I have tried it, but spkmodem-recv was unable to decode the signal. I do recall being able to get it working once on actual hardware by modifying the timing in spkmodem.c such that the baud rate was some ridiculously low number like 10 baud, and then messing with the #defines in spkmodem-recv, but I don't remember what I set those defines to.
Nicholas