Unfortunately my living situation at the moment is sporadic. So I end up having to do things piecemeal from several different computers.
I tried that which was suggested below with some degree of success. QEMU produces spkmodem tones, which I recorded and emailed to myself; in the hope of being able to continue the work once I got home. Unfortunately once I got there, I discovered that the recording was an eclectic mix of spkmodem tones, family disputes, and the best of Australian Crawl. All conveniently loop mixed into the file I was trying to interpret.
So I set out to repeat the experiment on my local computer. Only to find that the current master branch of Coreboot fails to build the tool chain. I was following the tutorial to the letter, but received the following:
[redacted]/src/coreboot/util/genbuild_h/genbuild_h.sh: 59: -v: not found
The tool-chain then failed to build IASL:
Building IASL v20210331 for host ... failed. Check 'build-IASL/build.log'. make[1]: *** [Makefile:23: build_iasl] Error 1 make: *** [util/crossgcc/Makefile.inc:30: crossgcc-i386] Error 2
I checked the log, which states:
cp: cannot stat 'iasl': No such file or directory
On 8/12/21 7:11 am, Martin Roth via coreboot wrote:
I spoke with Phcoder (the original author) about this ages ago, and he recommended not actually playing sound with it, but using it with an audio cable between the output device and input device. I assume you'd be able to use it at a much higher speed that way.
Martin
Dec 7, 2021, 10:37 by nic.c3.14@gmail.com:
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 _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org