From 04d137ffbcf30dfdec424c91f947a966b7a0077c Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 22 Apr 2023 22:10:02 -0700 Subject: [PATCH] fpga/mqnic/DK_DEV_AGF014EA: Add notes on switch settings Signed-off-by: Alex Forencich --- fpga/mqnic/DK_DEV_AGF014EA/fpga_100g/README.md | 9 +++++++++ fpga/mqnic/DK_DEV_AGF014EA/fpga_25g/README.md | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/fpga/mqnic/DK_DEV_AGF014EA/fpga_100g/README.md b/fpga/mqnic/DK_DEV_AGF014EA/fpga_100g/README.md index 5b2cb3c39..65d2724cb 100644 --- a/fpga/mqnic/DK_DEV_AGF014EA/fpga_100g/README.md +++ b/fpga/mqnic/DK_DEV_AGF014EA/fpga_100g/README.md @@ -15,4 +15,13 @@ Run make to build the driver. Ensure the headers for the running kernel are ins ## How to test +Configure DIP switches: + +* SW1: off, on, on, off (AS_NORMAL) +* SW2: all off (UART, Si52202, Si5341 all enable, select USB JTAG) +* SW3: all off (enable all I2C interfaces) +* SW4: off, on, on, off (select USB JTAG, bypass MAX10 JTAG, bypass MICTOR JTAG, enable FPGA JTAG) +* SW6: 1 on, rest off (select x16) +* SW7: off (PCIe reference clock from edge connector) + Run make program to program the DK-DEV-AGF014EA board with the Intel software. Then load the driver with insmod mqnic.ko. Check dmesg for output from driver initialization. diff --git a/fpga/mqnic/DK_DEV_AGF014EA/fpga_25g/README.md b/fpga/mqnic/DK_DEV_AGF014EA/fpga_25g/README.md index 5b2cb3c39..65d2724cb 100644 --- a/fpga/mqnic/DK_DEV_AGF014EA/fpga_25g/README.md +++ b/fpga/mqnic/DK_DEV_AGF014EA/fpga_25g/README.md @@ -15,4 +15,13 @@ Run make to build the driver. Ensure the headers for the running kernel are ins ## How to test +Configure DIP switches: + +* SW1: off, on, on, off (AS_NORMAL) +* SW2: all off (UART, Si52202, Si5341 all enable, select USB JTAG) +* SW3: all off (enable all I2C interfaces) +* SW4: off, on, on, off (select USB JTAG, bypass MAX10 JTAG, bypass MICTOR JTAG, enable FPGA JTAG) +* SW6: 1 on, rest off (select x16) +* SW7: off (PCIe reference clock from edge connector) + Run make program to program the DK-DEV-AGF014EA board with the Intel software. Then load the driver with insmod mqnic.ko. Check dmesg for output from driver initialization.