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

29 Commits

Author SHA1 Message Date
Alex Forencich
45a6250e43 Update FPGA ID list and adjust part matching to handle multiple parts with the same JTAG ID
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-11-12 19:09:56 -08:00
Alex Forencich
448fa8eb4c Use SPDX
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 11:44:57 -07:00
Alex Forencich
698fd2f104 Consistent naming of library functions and structs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-24 22:51:37 -07:00
Alex Forencich
c58585036e lib/mqnic: Add mqnic_print_fw_id
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 13:37:54 -07:00
Alex Forencich
e6c18cfb68 Move fpga_id into library
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 13:36:02 -07:00
Alex Forencich
a1cd110074 Peel off common software components into a static library
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 01:45:01 -07:00
Alex Forencich
edb545ca50 utils/mqnic-fw: Fix width detection for BPI flash
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 22:00:16 -07:00
Alex Forencich
eb530475fb More expressive flash format register
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:38:01 -07:00
Alex Forencich
7be7b1cc9f utils/mqnic-fw: Confirm write and reset operations
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:17:04 -07:00
Alex Forencich
88679ef7eb utils/mqnic-fw: Add segment erase action
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:04:51 -07:00
Alex Forencich
09257457cb utils/mqnic-fw: Determine data width directly from control registers
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 16:15:11 -07:00
Alex Forencich
d9867948ec utils/mqnic-fw: Remove unused address width parameter
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 15:54:03 -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
7fa621bddf Clean up types 2022-03-03 22:45:38 -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
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
fca6341636 Add flash size check for Alveo boards 2021-11-18 16:23:37 -08: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
cd9f6a9329 Use defines instead of magic numbers 2021-06-27 14:04:43 -07:00
Alex Forencich
9ec0b71a1a Add firmware update utility 2020-10-04 00:56:06 -07:00
Alex Forencich
32cadd4480 Update mqnic-fw to use new code 2019-07-21 21:56:23 -07:00
Alex Forencich
36b3dccb6a Add mqnic-fw utility 2019-07-19 15:48:33 -07:00