RayeR wrote on 2024-02-01, 14:19:
Hm, so it would mean that F85227N eSPI to LPC bridge provides LDRQ for DMA?
That seems to be the case, based on what the Asrock person said. I have problems with this though after some research. How the bridges were explained to me by my friend, is that the lpc bus basically gets clamped into an internal message within the eSPI bus as I/O transaction. Adding that you can access registers on peripherals connected though the LPC bus directly from the cpu using defined address spaces, so long as the bios has the range open. He claims it's not really on the bridge chip to do what we are asking, the but rather the bios letting us access the ranges we need.
What he said, kind of sounds like everything else, no DMA/Bus Mastering, but maybe i misunderstood him. If all that is true and i understand correctly, then I do suspect full ISA compatibility is actually dead via eSPI LPC bridge and the microchip/intel documents were right in not supporting DMA or Bus Mastering at all. I also suspect that the chips that claim they do dma and bus mastering don't actually do it...or maybe they do and im too dumb to understand how exactly. I know the LDRQ line is a request signal that a peripheral uses to tell the host it needs to do DMA and which channel it needs, or it's driven as a reserved word asking for Bus Mastering to do DMA peripheral to peripheral. Also the SYNC field ending the DMA. So maybe the eSPI bridge eats these requests and facilitates the DMA/Bus Mastering? I don't understand how you would know about the state of a DMA transaction or a Bus Master doing their thing, or even that either were initiated/abandoned/completed if the information isn't encoded in an eSPI I/O transaction. Maybe it can support it, but intel/microchip didn't because of performance or bloat reasons? but also if that's the case how do we even know the timing and structure of such an eSPI transaction if it's not in the eSPI standard and don't have the datasheet? i guess I need a new logic analyzer and to buy a few chips to probe to gather and decipher the message, if it exists 🤣. I doubt fintek is expanding the standard to support such features, but maybe they are. They seem to be the only place claiming support for it aside from FPGA IP stuff.
Honestly I'm just a tinkerer, and while I could implement i2c or spi in c or verilog, all these ISA/LPC/eSPI protocols are over my head and I naively thought this would be an interesting beginner project to get my feet wet in motherboard buses/protocols. I knew most of the chips datasheets, board files and information would be locked behind confidentiality agreements, but i didn't expect it to be this grim. I honestly thought someone would have found that F85227N eSPI LPC datasheet leaked from russia or somewhere or even chips for sale from china. But i can't find a single reference or chip to buy and probe that doesn't require a Chinese phone number (also they are like 85 dollars a piece 🤣). 🙁
I guess my only real option is to just bite the bullet and buy a mobo with those chips and test it... i have a feeling it's going to be bad news for dma though for some reason.
RayeR wrote on 2024-02-01, 14:19:
Do they use any peripheral on the MB that needs legacy DMA? Otherwise I don't see any motivation why they should care. Is it some reliable info from engineers or marketing bla bla?
I have no idea about legacy DMA, and maybe the contact from asrock was unreliable and it's untrue. However i do know the LiveMixer was going to have an addon card (shown on level1tech) that would expand the system over PCIe + eSPI/LPC (tpm). It was more a proof of concept than a product. I think wendell's motherboard was "modified" in the same way the other motherboards are for the hack here, with the NC pin some times being the LDRQ line needs bridging but I don't have one to test (yet).
also with this NC -> LDRQ 'hack' that some motherboards can do, has anyone mentioned value for pullup the LDRQ pins need? it's a 15k - 100k ohm pull up if not connected to anything. Would be a good way to find LDRQ lines, as there *should* be more than 1 since peripherals can't share LDRQ lines. Though, some hosts have these pullups internal so not a fool proof way. Ah yeah it was talked about already, but i don't think the values were specified.
Asrock seems to be one of the ones that generally just keep industrial designs and market them in both industrial and consumer markets. So consumers get lucky with legacy features. I remember getting a brand new ddr3 asrock mobo from my dad for a birthday or Christmas, mind you this was long after floppies fell out of fashion, blurays had come out a year or so ago, and the thing still had a floppy connector and the bios was set to recognize 5 1/4" drives. We both joked and laughed at it for a good while about why anyone would be using those floppies in that day and age. funny how i'll basically do anything for a modern pc with old connectors now.