openquantumhardware / qick

QICK: Quantum Instrumentation Control Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZCU216 image has no static MAC address

dangernoodle-dev opened this issue · comments

Every time the ZCU216 is rebooted the MAC address changes. My fix is to put at static ip address in the /etc/network/interfaces.d/eth0 file via

auto eth0
iface eth0 inet dhcp
    hwaddress ether 00:11:22:33:44:55

...

But this is a bit clumsy and maybe there's a way to fix the auto MAC detection?

Yes, this is a known bug (see https://support.xilinx.com/s/question/0D52E00006x0pCJSAY/zcu216-mac-address-at-different-eeprom-offset-0x2f-instead-of-0x20?language=en_US), and what you're doing is the correct workaround.

This problem happens on our PYNQ 2.7 image for ZCU216 and the Xilinx PYNQ 3.0.1 image for ZCU111. We expect that the next round of SD images (our 3.0.1 image for ZCU216, and the Xilinx 3.1 image for ZCU111) will not have this bug.

It is possible to fix the autodetection: download the appropriate "bootfiles" tarball from https://www.slac.stanford.edu/~meeg/qick/bootfiles/ and copy the contents into boot:

tar -xzf bootfiles_v2pt7_ZCU216.tar.gz
sudo cp bootfiles_v2pt7_ZCU216/* /boot