RGMII в Linux Kernel: как упростить получение данных из FPGA - PullRequest
0 голосов
/ 04 августа 2020

У меня есть интерфейс FPGA с портом RGMII Rx Ma c процессора ARM, который имеет STMMA C IP.

enter image description here

I "just" want to dump a lot of data from the FPGA to the CPU and I don't really need the whole ethernet stack. Basically, I just want to receive data frames in the CPU and store them in memory: no management, no filter, not even CRC check, single and alone connection between the two elements, even just getting the data in a callback would be enough. If I could even not have to do anything with MDIO, that would be perfect. I fully control what the FPGA is sending.

The CPU has a ST RGMII Mac IP:

https://elixir.bootlin.com/linux/v4.4.230/source/Documentation/networking/stmmac.txt

https://elixir.bootlin.com/linux/v4.4.230/source/Documentation/devicetree/bindings/net/stmmac.txt

Какая моя лучшая стратегия взлома ядра для достижения моей цели?

...