• Content Count

  • Joined

  • Last visited

Everything posted by nickwh

  1. Yohan, Thanks again - this definitely looks to be on the right track but I can't find a file named zynq-common.h in my project or zynq_zybo.h so I'm still stuck at the same place in my learning curve. I am booting into petalinux and I can set the MAC in the device tree blob or with an ifconfig command after boot but it would have been nice to not need to make a new image for each board - especially when the hardware exists to do it for me. Regards Nick
  2. Yohan, Thanks - there are probably several ways to change the MAC in a manualish/code manner: one nice way to do it it is set it in the project-spec/meta-user/recipes-bsp/u-boot/files/platform-top.h this file is normally almost empty with just a single include put if you locate the target of the include and copy the whole define CONFIG_EXTRA_ENV_S - note the whole define block of code is needed. Then you can edit the ethaddr= line to whatever you want - it is then set before u-boot brings up the interface so it works for bootp etc. #include <configs/platform-auto.h>
  3. I've been working on a project for the Zybo with petalinux tools 2016.4 and I want to use the MAC address in the eprom on the board so that I can easily have multiple boards using the same image. I found several hopeful posts from which I believed that I understand that I need to edit the hook.c source file used to build the fsbl. I thought that I found the correct file "<projectname>/components/plnx_workspace/fsbl/src/fsbl_hooks.c" and I modified it to include the necessary lines of code but the command petalinux-built -c fsbl did not create a different image so there was no c