I recently acquired a DMA card, and I am looking to, to the best of my ability, create a custom firmware for it. I have a LeetDMA v1.2 (looks like its a clone, but my reseller says he got it directly from the factory that supplies enigma. I'm calling BS on that personally.) It has some custom firmware on it, but it is not working. My reseller said I have to reset it to factory firmware and buy another one from him. yeaaaaaaaaaaaaaaaaah, thanks for nothing.
Anyway, I started looking into it, and it honestly looks like it would be a fun project to take on.
So far, I have grabbed the vendor ID, device ID, and config space off of an old Broadcom BCM4360 Wireless Network Adapter that I have. I changed the pcieleech_configspace.coe to contain the config space of my wifi card, and using vivado, I changed the Vendor ID and Device ID. I enabled the master abort flag in the pcileech_pcie_cfg_a7.sv file. I changed the DSN to something random.
Okay, that's about all I have done. However, a cursory glance online says that this is not enough. There seems to be *at least* two things I need to do extra:
1. I need the DSN to match my wifi card's DSN. For the life of me, I have no idea how to retrieve my wifi card's DSN.
2. I need to manually edit the pci ip core, because Vivado cannot actually make my DMA fully match my wifi card's config space.
3. ???
I feel like there are many puzzle pieces I am missing. There is mention of block 40 and 60 in the configspace of the DMA needing some special attention. There may be other things I am missing.
In the end of the day, I just got this card yesterday, and it feels like there is a lot to learn. Anyone have any pointers? How do I manually edit the pci ip core of my card, and what even is that? Once I create the firmware and flash it, how do I make sure that it is truly undetectable and good enough to fool an AC (fool it into thinking the card is actually a wifi card)? I have an AMD CPU and a crosshair vi hero motherboard. This might be something I need to take into account when creating the firmware for my card for it to work. I mention this because my reseller is telling my the DMA is not working properly on my PC because he the firmware flashed is intended to work with Intel CPUs. Sounds weird but kinda checks out. How do I make sure that the firmware flashed would work on my mobo+cpu?
Would love some guidance. If one of you is some sort of specialist in this field that is willing to offer a helping hand and can offer me their discord or something and I can ask you questions, would extremely appreciate it. Will even pay a reasonable amount for your time, depending on how involved.