From jscott at posteo.net Thu Apr 6 08:53:16 2023 From: jscott at posteo.net (John Scott) Date: Thu, 06 Apr 2023 15:53:16 +0000 Subject: Help with porting ath9k_htc to LLVM Message-ID: <488b60239ea32d5a42084eaeaa92461d7ff486f9.camel@posteo.net> 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: