[admin@localhost ~]$ lspci 00:00.0 Host bridge: Intel Corporation Device a703 (rev 01) 00:01.0 PCI bridge: Intel Corporation Device a70d (rev 01) 00:02.0 VGA compatible controller: Intel Corporation Device a780 (rev 04) 00:04.0 Signal processing controller: Intel Corporation Device a71d (rev 01) 00:08.0 System peripheral: Intel Corporation Device a74f (rev 01) 00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11) 00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11) 00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH I2C Controller #0 (rev 11) 00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11) 00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11) 00:1f.0 ISA bridge: Intel Corporation Device 7a88 (rev 11) 00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11) 00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11) 00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11) 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (17) I219-LM (rev 11) 01:00.0 Processing accelerators: Intel Corporation Device bcce (rev 01) 01:00.1 Processing accelerators: Intel Corporation Device bcce 01:00.2 Processing accelerators: Intel Corporation Device bcce 01:00.3 Processing accelerators: Intel Corporation Device bcce 01:00.4 Processing accelerators: Intel Corporation Device bcce [admin@localhost ~]$ lspci 0vt Usage: lspci [] Basic display modes: -mm Produce machine-readable output (single -m for an obsolete format) -t Show bus tree Display options: -v Be verbose (-vv or -vvv for higher verbosity) -k Show kernel drivers handling each device -x Show hex-dump of the standard part of the config space -xxx Show hex-dump of the whole config space (dangerous; root only) -xxxx Show hex-dump of the 4096-byte extended config space (root only) -b Bus-centric view (addresses and IRQ's as seen by the bus) -D Always show domain numbers -P Display bridge path in addition to bus and device number -PP Display bus path in addition to bus and device number Resolving of device ID's to names: -n Show numeric ID's -nn Show both textual and numeric ID's (names & numbers) -q Query the PCI ID database for unknown ID's via DNS -qq As above, but re-query locally cached entries -Q Query the PCI ID database for all ID's via DNS Selection of devices: -s [[[[]:]]:][][.[]] Show only devices in selected slots -d []:[][:] Show only devices with specified ID's Other options: -i Use specified ID database instead of /usr/share/hwdata/pci.ids -p Look up kernel modules in a given file instead of default modules.pcimap -M Enable `bus mapping' mode (dangerous; root only) PCI access options: -A Use the specified PCI access method (see `-A help' for a list) -O = Set PCI access parameter (see `-O help' for a list) -G Enable PCI access debugging -H Use direct hardware access ( = 1 or 2) -F Read PCI configuration dump from a given file [admin@localhost ~]$ lspci -vt -[0000:00]-+-00.0 Intel Corporation Device a703 +-01.0-[01]--+-00.0 Intel Corporation Device bcce | +-00.1 Intel Corporation Device bcce | +-00.2 Intel Corporation Device bcce | +-00.3 Intel Corporation Device bcce | \-00.4 Intel Corporation Device bcce +-02.0 Intel Corporation Device a780 +-04.0 Intel Corporation Device a71d +-08.0 Intel Corporation Device a74f +-14.0 Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller +-14.2 Intel Corporation Alder Lake-S PCH Shared SRAM +-15.0 Intel Corporation Alder Lake-S PCH I2C Controller #0 +-16.0 Intel Corporation Alder Lake-S PCH HECI Controller #1 +-17.0 Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] +-1f.0 Intel Corporation Device 7a88 +-1f.3 Intel Corporation Alder Lake-S HD Audio Controller +-1f.4 Intel Corporation Alder Lake-S PCH SMBus Controller +-1f.5 Intel Corporation Alder Lake-S PCH SPI Controller \-1f.6 Intel Corporation Ethernet Connection (17) I219-LM [admin@localhost ~]$ jtagconfig bash: jtagconfig: command not found... [admin@localhost ~]$ export PATH=$PATH:/home/admin/intelFPGA/23.1std/quartus/bin [admin@localhost ~]$ jtagconfig 1) USB-BlasterII [1-1] 031050DD 10M50DA(.|ES)/10M50DC [admin@localhost ~]$ jtagconfig --setparam "USB-BlasterII" JtagClock 16M [admin@localhost ~]$ export QUARTUS_ROOTDIR=/home/admin/intelFPGA/23.1std/quartus [admin@localhost ~]$ quartus_pgm -c 1 -m jtag -o "p;/root/ofs-bmc/build_files/rev_3.14.0/AC_BMC_Max10_bootloader_0x0A+factory_retail+user_retail_3.14.0.pof" ^[[D^[[D^[[D^[[D^[[DError (213009): File name "/root/ofs-bmc/build_files/rev_3.14.0/AC_BMC_Max10_bootloader_0x0A+factory_retail+user_retail_3.14.0.pof" does not exist or can't be read [admin@localhost ~]$ [admin@localhost ~]$ quartus_pgm -c 1 -m jtag -o "p;/home/admin/otc/ofs-bmc/build_files/rev_3.15.0/AC_BMC_Max10_bootloader_0x0B+factory_retail+user_retail_3.15.0.pof" Info: ******************************************************************* Info: Running Quartus Prime Programmer Info: Version 23.1std.0 Build 991 11/28/2023 SC Standard Edition Info: Copyright (C) 2023 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and any partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details, at Info: https://fpgasoftware.intel.com/eula. Info: Processing started: Fri Apr 5 17:05:12 2024 Info: Command: quartus_pgm -c 1 -m jtag -o p;/home/admin/otc/ofs-bmc/build_files/rev_3.15.0/AC_BMC_Max10_bootloader_0x0B+factory_retail+user_retail_3.15.0.pof Info (213045): Using programming cable "USB-BlasterII [1-1]" Info (213011): Using programming file /home/admin/otc/ofs-bmc/build_files/rev_3.15.0/AC_BMC_Max10_bootloader_0x0B+factory_retail+user_retail_3.15.0.pof with checksum 0x0AF80BB3 for device 10M50DAF256@1 Info (209060): Started Programmer operation at Fri Apr 5 17:05:13 2024 Info (209017): Device 1 contains JTAG ID code 0x031050DD Info (209060): Started Programmer operation at Fri Apr 5 17:05:13 2024 Info (209016): Configuring device index 1 Info (209017): Device 1 contains JTAG ID code 0x031050DD Info (209007): Configuration succeeded -- 1 device(s) configured Info (209011): Successfully performed operation(s) Info (209061): Ended Programmer operation at Fri Apr 5 17:05:14 2024 Info (209024): Programming device 1 Info (209011): Successfully performed operation(s) Info (209061): Ended Programmer operation at Fri Apr 5 17:05:49 2024 Info: Quartus Prime Programmer was successful. 0 errors, 0 warnings Info: Peak virtual memory: 350 megabytes Info: Processing ended: Fri Apr 5 17:05:49 2024 Info: Elapsed time: 00:00:37 Info: Total CPU time (on all processors): 00:00:01 [admin@localhost ~]$ quartus_pgm -c 1 -a Info: ******************************************************************* Info: Running Quartus Prime Programmer Info: Version 23.1std.0 Build 991 11/28/2023 SC Standard Edition Info: Copyright (C) 2023 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and any partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details, at Info: https://fpgasoftware.intel.com/eula. Info: Processing started: Fri Apr 5 17:10:13 2024 Info: Command: quartus_pgm -c 1 -a Info (213045): Using programming cable "USB-BlasterII [1-1]" 1) USB-BlasterII [1-1] 031050DD 10M50DA(.|ES)/10M50DC Info: Quartus Prime Programmer was successful. 0 errors, 0 warnings Info: Peak virtual memory: 285 megabytes Info: Processing ended: Fri Apr 5 17:10:14 2024 Info: Elapsed time: 00:00:01 Info: Total CPU time (on all processors): 00:00:00 [admin@localhost ~]$ quartus_pgm -c 1 ac_flash_prog.cdf --mode=JTAG --operation=pv; Error (213009): File name "ac_flash_prog.cdf" does not exist or can't be read Error (23028): Unknown argument "ac_flash_prog.cdf". Refer to --help for legal arguments. Usage: ------ quartus_pgm [-h | --help[=] | -v] quartus_pgm -c filname.cdf --- If you want to use cdf file quartus_pgm -c -m -o [-o ...] --- If you want to use individual programming file(s) quartus_pgm -l --- to display the list of available hardware quartus_pgm -c -a --- to display the list of devices connected to the cable [admin@localhost ~]$ quartus_pgm -c 1 /home/admin/otc/ofs-bmc/flash_tools/ac_flash_prog.cdf --mode=JTAG --operation=pv; Info: ******************************************************************* Info: Running Quartus Prime Programmer Info: Version 23.1std.0 Build 991 11/28/2023 SC Standard Edition Info: Copyright (C) 2023 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and any partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details, at Info: https://fpgasoftware.intel.com/eula. Info: Processing started: Fri Apr 5 17:10:46 2024 Info: Command: quartus_pgm -c 1 /home/admin/otc/ofs-bmc/flash_tools/ac_flash_prog.cdf --mode=JTAG --operation=pv Info (213045): Using programming cable "USB-BlasterII [1-1]" Info (213011): Using programming file /home/admin/otc/ofs-bmc/flash_tools/flash_prog.sof with checksum 0x01F711A6 for device 10M50DAF256@1 Info (209060): Started Programmer operation at Fri Apr 5 17:10:51 2024 Info (209016): Configuring device index 1 Info (209017): Device 1 contains JTAG ID code 0x031050DD Info (209007): Configuration succeeded -- 1 device(s) configured Error (209062): Flash Loader IP not loaded on device 1 Error (209012): Operation failed Info (209061): Ended Programmer operation at Fri Apr 5 17:10:52 2024 Error: Quartus Prime Programmer was unsuccessful. 2 errors, 0 warnings Error: Peak virtual memory: 1938 megabytes Error: Processing ended: Fri Apr 5 17:10:52 2024 Error: Elapsed time: 00:00:06 Error: Total CPU time (on all processors): 00:00:03 [admin@localhost ~]$ cd otc/ofs-bmc/flash_tools/ [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_fpga_flash_programmer.sof Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin IMAGE at 0x4000000 Continue? [Y/n] y Continuing Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin VERSION record at 0x7ff7000 Continue? [Y/n] y Continuing Erasing: Thermal Sensors configuration at 0x7fa8000 Continue? [Y/n] y Continuing [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page0_unsigned_user1.bin Usage: flash.sh [options] ACFPGA Write AC FPGA image from PACsign-signed file (_signed/_unsigned)*(.bin/.rsu) to proper flash location Write options: -h,--help Print this help Error: file not found: '/home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page0_unsigned_user1.bin' [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page0_unsigned_factory.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_fpga_flash_programmer.sof Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page0_unsigned_factory.bin IMAGE at 0x20000 Continue? [Y/n] y Continuing Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page0_unsigned_factory.bin VERSION record at 0x7ff6000 Continue? [Y/n] y Continuing Erasing: Thermal Sensors configuration at 0x7fa4000 Continue? [Y/n] y Continuing [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_fpga_flash_programmer.sof Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin IMAGE at 0x4000000 Continue? [Y/n] y Continuing Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page1_unsigned_user1.bin VERSION record at 0x7ff7000 Continue? [Y/n] y Continuing Erasing: Thermal Sensors configuration at 0x7fa8000 Continue? [Y/n] y Continuing [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page2_unsigned_user1.bin Usage: flash.sh [options] ACFPGA Write AC FPGA image from PACsign-signed file (_signed/_unsigned)*(.bin/.rsu) to proper flash location Write options: -h,--help Print this help Error: file not found: '/home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page2_unsigned_user1.bin' [admin@localhost flash_tools]$ ./flash.sh -c 1 ACFPGA /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page2_unsigned_user2.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_fpga_flash_programmer.sof Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page2_unsigned_user2.bin IMAGE at 0x8000000 Continue? [Y/n] y Continuing Writing: /home/admin/Downloads/FIM_x8_2x1x100G/ofs_top_page2_unsigned_user2.bin VERSION record at 0x7ff8000 Continue? [Y/n] y Continuing Erasing: Thermal Sensors configuration at 0x7fac000 Continue? [Y/n] y Continuing [admin@localhost flash_tools]$ ./flash.sh ACFWUser /home/admin/otc/ofs-bmc/build_files/rev_3.15.0/AC_BMC_FW_user_retail_3.15.0.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_max10_nios_flash_pgm.sof Writing: AC_BMC_FW_user_retail_3.15.0.bin Continue? [Y/n] y Continuing [admin@localhost flash_tools]$ ./flash.sh ACFWUser /home/admin/otc/ofs-bmc/build_files/rev_3.15.0/AC_BMC_FW_factory_retail_3.15.0.bin Checking JTAG: 10M50DA, cable: 1 Programming: ./AC_max10_nios_flash_pgm.sof Writing: AC_BMC_FW_factory_retail_3.15.0.bin Continue? [Y/n] y Continuing [admin@localhost flash_tools]$