From 51b9eb251bdc3d58f83b12483eadb07eaf64e99e Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 23 Nov 2023 00:51:38 -0800 Subject: [PATCH] fpga/mqnic/ZCU106: Add notes for boot mode selection on ZCU106 Signed-off-by: Alex Forencich --- fpga/mqnic/ZCU106/fpga_pcie/README.md | 4 ++++ fpga/mqnic/ZCU106/fpga_zynqmp/README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/fpga/mqnic/ZCU106/fpga_pcie/README.md b/fpga/mqnic/ZCU106/fpga_pcie/README.md index bfb78b3da..4835b48e5 100644 --- a/fpga/mqnic/ZCU106/fpga_pcie/README.md +++ b/fpga/mqnic/ZCU106/fpga_pcie/README.md @@ -21,4 +21,8 @@ On the host system, run `make` in `modules/mqnic` to build the driver. Ensure t ### Testing +Configure DIP switches: + +* SW6 4-1: on, on, on, on (mode 0b0000, JTAG boot) + Run `make program` to program the board with Vivado. Then, reboot the machine to re-enumerate the PCIe bus. Finally, load the driver on the host system with `insmod mqnic.ko`. Check `dmesg` for output from driver initialization, and run `mqnic-dump -d /dev/mqnic0` to dump the internal state. diff --git a/fpga/mqnic/ZCU106/fpga_zynqmp/README.md b/fpga/mqnic/ZCU106/fpga_zynqmp/README.md index 428f8f851..2dceaa931 100644 --- a/fpga/mqnic/ZCU106/fpga_zynqmp/README.md +++ b/fpga/mqnic/ZCU106/fpga_zynqmp/README.md @@ -46,6 +46,10 @@ Then change into sub-directory `ps/petalinux/` and build the PetaLinux project. ### Testing +Configure DIP switches: + +* SW6 4-1: off, off, off, on (mode 0b1110, SD boot) + Copy the following, resulting files of building the PetaLinux project onto an SDcard suitable for then booting the ZCU106 in SDcard boot mode. ps/petalinux/images/linux/: