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 change - I also built the whole project and nothing changed.
Am I modifying the wrong source file? or perhaps the wrong changes - old and new files are attached.
I am a novice in this arena so sorry if I'm making a very obvious mistake or group of mistakes.
Question
nickwh
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 change - I also built the whole project and nothing changed.
Am I modifying the wrong source file? or perhaps the wrong changes - old and new files are attached.
I am a novice in this arena so sorry if I'm making a very obvious mistake or group of mistakes.
Thanks
fsbl_hooks.c
fsbl_hooks.c.old
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.