Help with porting ath9k_htc to LLVM

John Scott jscott at posteo.net
Thu Apr 6 08:53:16 PDT 2023


Hi,

If you haven't met me already, I'm John and I'm the current Debian maintainer of the firmware package. I don't yet have any experience with embedded electronics, but do know C pretty well and hope to further contribute to software liberation in the future.

I've created a GitHub issue for this matter as I think that would be a good place to gather information, but I would like it if some of the more knowledgeable folks on this list could give me some tips for how to proceed with an LLVM port. The backend is already there, and there's open documentation for the ISA now (which I don't totally understand), but I'm specifically wondering what the patches to the toolchain do, and whether or not the same info can be conveyed to LLVM via command-line options, say. The Binutils patch is big; maybe as a baby step we can use Binutils+Clang and dial back on Binutils later on?

If LLVM is going to require patches to support our ISA, then it would seem that the Xtensa backend is somewhat useless, but I'm hopeful that's not the case.

Thanks for your attention.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/ath9k_htc_fw/attachments/20230406/859da468/attachment.sig>


More information about the ath9k_htc_fw mailing list