ufrisk / MemProcFS

MemProcFS
GNU Affero General Public License v3.0
2.81k stars 352 forks source link

Windows 10 - FPGA - Unable to locate valid DTB #205

Closed dolitex closed 10 months ago

dolitex commented 10 months ago

Hello, first of all I just wanted to thank you for such amazing work on this and other related modules!

Recently I've acquired a LeetDMA board, which seems to be working fine and to be properly flashed, but when trying to use it with MemProcFS I've gotten stuck with a DTB error: Command: MemProcFS.exe -device FPGA -printf -memmap mmap.txt -v -vv Result:

DEVICE: FPGA: ScreamerM2 PCIe gen2 x1 [300,25,500] [v4.12,0400] [ASYNC,NORM]

----- FPGA DEVICE CONFIG REGISTERS: CORE-READ-ONLY     SIZE: 40 BYTES -----
0000    89 ab 00 00 28 00 00 00  04 0c 04 00 00 00 00 00   ....(...........
0010    7b 31 26 29 18 00 00 00  7d 31 26 29 18 00 00 00   {1&)....}1&)....
0020    00 00 02 00 ff ff ff ff                            ........

----- FPGA DEVICE CONFIG REGISTERS: CORE-READ-WRITE    SIZE: 30 BYTES -----
0000    cd ef 04 00 1e 00 00 00  a0 86 01 00 00 00 00 00   ................
0010    ee 10 07 00 ee 10 66 06  02 3c 00 00 7f 00         ......f..<.. .

----- FPGA DEVICE CONFIG REGISTERS: PCIE-READ-ONLY     SIZE: 48 BYTES -----
0000    01 23 00 00 30 00 00 00  04 00 16 08 7c 00 00 00   .#..0.......|...
0010    00 00 00 00 00 01 00 00  10 28 00 00 00 00 40 00   .........(....@.
0020    12 10 00 00 01 7f 00 00  00 00 01 88 00 00 00 00   ..... ..........

----- FPGA DEVICE CONFIG REGISTERS: PCIE-READ-WRITE    SIZE: 88 BYTES -----
0000    45 67 10 f0 58 00 00 00  35 0a 00 01 01 00 00 00   Eg..X...5.......
0010    00 00 00 ff 01 80 48 00  00 00 00 0e 00 00 00 00   ......H.........
0020    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0050    00 00 00 00 24 f4 00 00                            ....$...

----- PCIe CORE Dynamic Reconfiguration Port (DRP)  SIZE: 0x100 BYTES -----
0000    00 01 00 01 00 02 01 00  10 00 94 02 00 06 f0 00   ................
0010    ff ff 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0020    00 00 00 00 00 00 00 00  00 00 00 48 00 00 00 00   ...........H....
0030    00 00 09 04 30 00 22 4c  02 00 00 00 00 03 00 00   ....0."L........
0040    02 a1 03 ff 01 00 1f fd  7f ff 09 ff 01 20 01 68   ........ .... .h
0050    00 05 01 7c 11 9c 00 00  00 00 00 00 00 00 00 00   ...|............
0060    00 00 10 7c 00 02 48 21  00 68 3d 68 00 23 00 00   ...|..H!.h=h.#..
0070    00 00 00 00 00 00 00 00  00 00 00 00 00 15 00 01   ................
0080    00 01 00 00 00 01 00 00  00 01 00 00 00 01 00 00   ................
0090    00 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................
00a0    00 00 00 00 00 00 00 00  00 02 00 00 12 34 10 18   .............4..
00b0    00 0b 00 01 00 11 00 00  00 00 00 00 00 01 00 00   ................
00c0    00 28 00 41 ff ff ff ff  00 e0 00 00 80 08 00 22   .(.A..........."
00d0    07 ff 03 52 02 48 00 08  00 40 0e 84 fa ac 00 00   ...R.H...@......
00e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

----- PCIe CONFIGURATION SPACE (no user set values) SIZE: 0x200 BYTES -----
0000    9e 10 6e 03 00 01 10 00  15 00 00 04 10 00 00 00   ..n.............
0010    00 00 80 fc 00 00 00 00  00 00 00 00 00 00 00 00   ................
0020    00 00 00 00 00 00 00 00  00 00 00 00 61 14 03 00   ............a...
0030    00 00 00 00 48 00 00 00  00 00 00 00 ff 01 00 00   ....H...........
0040    00 00 00 00 00 00 00 00  01 68 23 7a 08 00 00 00   .........h#z....
0050    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0060    00 00 00 00 00 00 00 00  05 7c 80 00 00 00 00 00   .........|......
0070    00 00 00 00 00 00 00 00  00 00 00 00 10 00 02 00   ................
0080    22 83 68 00 10 28 00 00  12 f4 03 00 40 00 12 10   ".h..(......@...
0090    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00a0    02 00 00 00 00 00 00 00  00 00 00 00 02 00 00 00   ................
00b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0100    01 00 01 00 00 00 00 00  00 00 40 00 30 20 46 00   ..........@.0 F.
0110    00 00 00 00 00 a0 00 00  80 00 00 00 00 00 00 00   ................
0120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

----- PCIe SHADOW CONFIGURATION SPACE (only user set values) SIZE: 0x1000 BYTES -----
0000    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0010    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0020    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0050    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0060    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0070    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0080    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0090    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0200    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0210    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0220    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0230    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0240    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0250    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0260    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0270    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0280    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0290    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
02f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0300    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0310    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0320    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0330    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0340    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0350    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0360    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0370    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0380    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0390    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
03f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0400    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0410    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0420    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0430    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0440    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0450    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0460    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0470    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0480    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0490    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
04f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0500    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0510    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0520    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0530    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0540    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0550    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0560    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0570    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0580    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0590    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
05f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0600    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0610    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0620    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0630    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0640    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0650    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0660    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0670    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0680    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0690    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
06f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0700    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0710    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0720    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0730    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0740    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0750    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0760    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0770    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0780    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0790    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
07f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0800    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0810    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0820    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0830    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0840    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0850    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0860    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0870    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0880    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0890    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
08f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0900    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0910    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0920    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0930    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0940    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0950    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0960    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0970    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0980    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0990    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
09f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0a90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0aa0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ab0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ac0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ad0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ae0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0af0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0b90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ba0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0bb0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0bc0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0bd0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0be0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0bf0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0c90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ca0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0cb0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0cc0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0cd0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ce0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0cf0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0d90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0da0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0db0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0dc0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0dd0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0de0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0df0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0e90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ea0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0eb0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ec0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ed0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ee0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ef0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f00    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f10    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f20    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f30    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f40    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f50    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f60    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f70    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f80    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0f90    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0fa0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0fb0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0fc0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0fd0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0fe0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0ff0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

LcMemMap_AddRange: 0000000000000000-000000000009ffff -> 0000000000000000
LcMemMap_AddRange: 0000000000100000-000000ffffffefff -> 0000000000100000
LeechCore v2.16.0: Open Device: fpga
LcMemMap_AddRange: 0000000000001000-000000000009ffff -> 0000000000001000
LcMemMap_AddRange: 0000000000100000-0000000009dfffff -> 0000000000100000
LcMemMap_AddRange: 000000000a000000-000000000a1fffff -> 000000000a000000
LcMemMap_AddRange: 000000000a20f000-000000000affffff -> 000000000a20f000
LcMemMap_AddRange: 000000000b020000-00000000b6b19fff -> 000000000b020000
LcMemMap_AddRange: 00000000badff000-00000000bbffffff -> 00000000badff000
LcMemMap_AddRange: 0000000100000000-000000081e2fffff -> 0000000100000000
[CORE]     Initialization Failed. Unable to locate valid DTB. #2
VmmProc: Unable to auto-identify operating system.
         Specify PageDirectoryBase (DTB/CR3) in -dtb option if value if known.
         If arm64 dump, specify architecture: -arch arm64
[CORE]     Failed to initialize.

[CORE]     SHUTDOWN COMPLETED (000001E28B961040).
[CORE]       TIME: 2023-08-24 19:48:47 UTC.
[CORE]       RUNTIME: 0s.

The mmap.txt file was created using RAMMap and has the following content:

0000         1000 -        a0000
0001       100000 -      9e00000
0002      a000000 -      a200000
0003      a20f000 -      b000000
0004      b020000 -     b6b1a000
0005     badff000 -     bc000000
0006    100000000 -    81e300000

My system runs on Windows 10 22H2 with AMD Ryzen 5 5600, 32GB RAM, I've made sure the VT is disabled on the BIOS (no IOMMU option for me there), both Dokany and FTD3XX.dll are also installed. I've tried multiple fixes I saw on closed issues on this github, but until now none seem to work, for pretty much every try I've also cold-booted the PC. Dumps from PCILeech also seem to not work, returns 100% pages failed.

Any help is very appreciated, just spent good money on the board and am hoping to getting it to work with everything lol. If any more information becomes necessary (e.g dumps), I can provide with no problems. Thank you!

EDIT: I've done probes to check the pages read percentage, it doesn't look good either. All of them failed 100% pages, with -memmap (file listed above), algo=1 and 2 being tested, but with same results. Result: C:\PATH\PCILeech>pcileech.exe probe -device fpga://algo=2 -memmap mmap.txt

 Memory Map:
 START              END               #PAGES
 Current Action: Probing Memory
 Access Mode:    Normal
 Progress:       33251 / 33251 (100%)
 Speed:          93 MB/s
 Address:        0x000000081E300000
 Pages read:     0 / 8512256 (0%)
 Pages failed:   8512256 (100%)
Memory Probe: Completed.
ufrisk commented 10 months ago

Hi, don't use probe. It's super aggressive and if you use it chances are that DMA even if it would work would stop working until you power off the computer and start it again.

On a freshly booted computer (not restarted) you may try: pcileech.exe display -min 0x1000 -device fpga://algo=1 -v

Is the above working?

dolitex commented 10 months ago

Hey, thanks for the fast reply! Ok, good to know about the probe. Gonna be more conservative about using it.

I've ran the command you provided, here is the result on a freshly booted PC:

C:\PATH\PCILeech>pcileech.exe display -min 0x1000 -device fpga://algo=1 -v

DEVICE: FPGA: ScreamerM2 PCIe gen2 x1 [300,25,500] [v4.12,0400] [ASYNC,TINY]
Memory Display: Failed reading memory at address: 0x0000000000001000.
ufrisk commented 10 months ago

If you run it against a freshly booted (not rebooted) system which is also unlocked (i.e. you're logged in) it's clear that DMA is not working.

This may be due to multiple things:

If the error persists please contact your seller. None of the LeetDMA sellers sponsor my project with a single cent any more. They just wish to leave me with the support tab. The LeetDMA seller at enigma-x1.com used to but nowdays everyone seems to purchase their boards off AliExpress or similar and they just wish to leave me with the support tab without giving anything back to the project.

dolitex commented 10 months ago

Hey ufrisk, sorry for the late reply.

After talking with the LeetDMA guys, we came to a conclusion that it was probably because of my motherboard, which was a cheap HP prebuilt (bought on budget and went upgrading). After doing some research, that looked like a possible cause indeed. After testing with a new and better motherboard, the card started working as intended, aswell as PCILeech.

Sorry for opening an issue caused by my side, but at the time I had no idea it could be my hardware. Thank you again for the attetion, have a great day!

ufrisk commented 10 months ago

Nice to see the issue resolved itself. Best wishes with your DMA projects.