When you run the “fpgainfo mac” command to get the MAC information in the Open FPGA Stack 2.0. Errors may occur as follows:
[DCPsupport@localhost ~]$ fpgainfo mac
Intel N6000 Acceleration Development Platform
Board Management Controller, MAX10 NIOS FW version: 1.5.0
Board Management Controller, MAX10 Build version: 1.5.0
//****** MAC ******//
Object Id : 0xEF00000
PCIe s:b:d.f : 0000:B1:00.0
Device Id : 0xBCCE
Socket Id : 0x00
Ports Num : 01
Bitstream Id : 0x5010202300BF5EB
Bitstream Version : 5.0.1
Pr Interface Id : 299f58c0-68c0-52a0-82bb-a5176d142553
Number of MACs : 255
board_n6000.c:372:print_mac_info() **ERROR** : Invalid MAC address
mac info is not supported
To work around this problem, you can program flash with the MAC address by following these steps:
Ex. MAC address = 12:34:56:78:90:ab, 8 consecutive addresses:
$ echo "78563412ab9008ff" | xxd -r -p > MAC_Address.bin
$ flash_tools/flash.sh fpgaAC erase -o 0x07FF2000 -s 4096
$ flash_tools/flash.sh fpgaAC write -o 0x07FF2000 -s 4096 ./MAC_Address.bin