1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

64 Commits

Author SHA1 Message Date
Alex Forencich
3b8643877d Support bare device name 2022-03-28 18:06:22 -07:00
Alex Forencich
cbd9d0dfc6 Expose port and scheduler block counts in IF control block; update driver model, driver, and userspace tools to handle scheduler blocks separately from ports 2022-03-28 17:23:27 -07:00
Alex Forencich
6daf1171b5 Improve ioctl implementation to support arbitrary number of regions 2022-03-26 00:24:02 -07:00
Alex Forencich
51877b2bfd Combined write and verify operation 2022-03-03 22:48:53 -08:00
Alex Forencich
d325d0df3e Minor cleanup 2022-03-03 22:48:24 -08:00
Alex Forencich
3d5395a7ca Update makefile 2022-03-03 22:46:18 -08:00
Alex Forencich
7fa621bddf Clean up types 2022-03-03 22:45:38 -08:00
Alex Forencich
e3799aa1bf Add missing dummy reads 2022-03-03 22:44:32 -08:00
Alex Forencich
d5f1da7f08 Print PCIe device ID, if available 2022-03-03 22:44:05 -08:00
Alex Forencich
137a6778da Combine interface control blocks 2022-01-15 21:53:13 -08:00
Alex Forencich
eba32ce8a5 Accept interface name and PCIe BDF when connecting to device 2022-01-08 15:32:50 -08:00
Alex Forencich
23f635f273 Clean up return code checks 2022-01-08 15:14:49 -08:00
Alex Forencich
136b0ee6ae Increase init delay for Alveo BMC 2022-01-05 22:42:36 -08:00
Alex Forencich
975ba91239 Fix register accesses 2022-01-05 19:38:46 -08:00
Alex Forencich
ce21774f06 Register space reorganization 2021-12-29 22:31:46 -08:00
Alex Forencich
23cd700a3f Refactor userspace init/teardown code 2021-12-24 13:49:41 -08:00
Joachim Foerster
2390ac9a23 utils/: Fix and enhance Makefile
Not only for typical cross-compilation build environments:

- allow to use CC definition from build environment
- ditto for PREFIX, packaging typically wants to use /usr
- use CPPFLAGS for include paths and just append
- let build environment decide about things like -Ox,
  append rest of flags to CFLAGS
- use LDFLAGS, typically set by build environment

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2021-12-15 23:29:02 -08:00
Joachim Foerster
b79487dbf3 utils/: Ignore mqnic-bmc executable
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2021-12-15 23:29:02 -08:00
Yizhou Shan
29bb1d6cb5 Add some file extentions to gitignore 2021-12-10 13:31:58 -08:00
Alex Forencich
161a25b4d5 Add more FPGA JTAG IDs 2021-12-03 00:22:29 -08:00
Alex Forencich
fca6341636 Add flash size check for Alveo boards 2021-11-18 16:23:37 -08:00
Alex Forencich
dfdf880c3a Add Stratix 10 JTAG IDs 2021-11-06 16:20:54 -07:00
Alex Forencich
df9417454e Improve messages 2021-09-13 16:18:11 -07:00
Alex Forencich
4704115974 Allow boot and reset even if flashing is not supported 2021-09-13 16:17:55 -07:00
Alex Forencich
3d64e5fc30 Retry hot reset a few times if necessary 2021-09-13 13:51:36 -07:00
Alex Forencich
5435db91cb Ensure that boot/reset are skipped if flash update fails 2021-09-13 13:51:06 -07:00
Alex Forencich
dfe0dd38f0 Print out mismatches when verify fails 2021-09-13 13:50:27 -07:00
Alex Forencich
9da588cf73 Add dummy reads for timing 2021-09-13 13:49:29 -07:00
Alex Forencich
cd9f6a9329 Use defines instead of magic numbers 2021-06-27 14:04:43 -07:00
Alex Forencich
d2fdf1a7bd Update mqnic-bmc to support Gecko BMC 2021-03-04 22:39:25 -08:00
Alex Forencich
3a503cc6aa Rename BMC-related methods 2021-03-04 19:02:59 -08:00
Alex Forencich
53df02d22c Update makefile 2021-02-01 00:00:56 -08:00
Alex Forencich
85d9ec7a87 Add mqnic-bmc tool 2021-01-31 21:32:57 -08:00
Alex Forencich
9ec0b71a1a Add firmware update utility 2020-10-04 00:56:06 -07:00
Alex Forencich
e7c0f17c32 Attempt to enable device if not connecting via driver 2020-10-04 00:42:48 -07:00
Alex Forencich
a7241bc597 Add FPGA ID code for userspace tools 2020-10-02 16:53:41 -07:00
Alex Forencich
7d561c713f Update userspace utils 2020-05-01 21:55:50 -07:00
Alex Forencich
9092e3c5cd Update mqnic-dump utility 2020-04-21 18:22:17 -07:00
Alex Forencich
7977c3003b Support accessing card via sysfs without driver loaded 2020-02-03 17:05:21 -08:00
Alex Forencich
c3eba353fb Add checks for out-of-range pointers 2020-02-03 17:02:05 -08:00
Alex Forencich
fe8fdab002 Improve error handling 2020-02-03 17:01:00 -08:00
Alex Forencich
1a739b326d Dump PHC and TDMA registers 2019-12-30 21:03:00 -08:00
Alex Forencich
f6da532b97 Read PHC stride 2019-12-30 21:02:24 -08:00
Alex Forencich
3737d85206 Use correct queue counts 2019-12-29 17:07:04 -08:00
Alex Forencich
2fa4f595ee Don't crash with a null device pointer 2019-12-04 13:37:53 -08:00
Alex Forencich
90e2f8f5d0 Check if FPGA needs reset in utilities 2019-12-04 13:37:18 -08:00
Alex Forencich
a432a8f472 Dump event queue state 2019-12-04 13:29:40 -08:00
Alex Forencich
f35d576301 Add mqnic-dump utility 2019-11-21 17:08:40 -08:00
Alex Forencich
eddd7c3b03 Update makefile 2019-11-06 16:45:44 -08:00
Alex Forencich
29d223f0ab Add mqnic_sched struct 2019-11-05 18:21:08 -08:00