Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZCU216 image has no static MAC address #182

Open
dangernoodle-dev opened this issue Sep 7, 2023 · 2 comments
Open

ZCU216 image has no static MAC address #182

dangernoodle-dev opened this issue Sep 7, 2023 · 2 comments

Comments

@dangernoodle-dev
Copy link

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?

@meeg
Copy link
Collaborator

meeg commented Sep 7, 2023

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://s3df.slac.stanford.edu/people/meeg/qick/bootfiles/ and copy the contents into boot:

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

@cplonski20
Copy link

Hi Meeg,

Will you be releasing a PYNQ 3.0.1 image for the ZCU216 sometime soon?

Best,
Charlie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants