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
Alex Forencich
abdb714fd9
Read timeslot count
2019-11-05 18:20:21 -08:00
Alex Forencich
21e505386a
Update mqnic-config
2019-11-05 16:51:28 -08:00
Alex Forencich
1fc15d234d
Read interface and port features in userspace code
2019-08-19 23:29:09 -07:00
Alex Forencich
7477cda192
Add port management code to userspace code
2019-08-19 16:00:29 -07:00
Alex Forencich
2f27b5f0f1
Update timespec
2019-08-08 21:40:02 -07:00
Alex Forencich
987e11f6c0
Query regs size via info ioctl
2019-07-23 18:43:58 -07:00
Alex Forencich
a862711a0a
Update perout to use timespec handling code
2019-07-22 18:06:17 -07:00
Alex Forencich
c44ffe2f92
Add timespec handling code
2019-07-22 18:00:55 -07:00
Alex Forencich
32cadd4480
Update mqnic-fw to use new code
2019-07-21 21:56:23 -07:00
Alex Forencich
1b45043965
Update makefile
2019-07-21 21:54:22 -07:00
Alex Forencich
1b147ff7c8
Add shared utility code
2019-07-21 21:53:37 -07:00
Alex Forencich
36b3dccb6a
Add mqnic-fw utility
2019-07-19 15:48:33 -07:00
Alex Forencich
578abab3de
Add mqnic-config utility
2019-07-19 15:46:56 -07:00
Alex Forencich
905651d5f8
Add PTP perout utility
2019-07-17 18:48:50 -07:00