Problems with building PYNQ image for zcu102

PYNQ version: 3.0.1
Board: ZCU102
Xilinx Tool: 2022.1

By using the image_from_prebuilt.sh under /sdbuild/scripts, I have built an image to boot the board successfully but there are some problems remained:

  1. I need to stop the auto boot process and run setenv bootargs "root=/dev/xxxx rw" before boot. How can I modify the image generated process and can auto boot without interrupting it. If I didn’t interrupt it, it will fail and give error like “ZynqMP Please append a correct “root=” boot option”
  2. I found this board use a random MAC address, how can I use a static MAC address? and which MAC address I can I use?
  3. When I run ifconfig, the output looks like following. Does it mean the ethernet module didn’t work?

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 372 bytes 34878 (34.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 372 bytes 34878 (34.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Appreciate any useful advice!!!

1 Like