Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Zynq FSBL

As standard option Zynq FSBL for TE modules does read and optionally display on primary UART console the MAC address that is stored on the module, this MAC Address is written to registers of the PS7 ETH Controller. If u-boot (or another second stage bootloader) does not overwrite it, then it will persist and be used in Linux (or other O/S) as well.

This is done in fsbl_hooks.c in the FsblHookBeforeHandoff function. When using TE supplied BSP's for Petalinux the FSBL code is already including this. When creating FSBL from scratch using Xilinx SDK Wizard then the hook code must be inserted manually (or the fsbl_hooks.c replaced completely). The way MAC Address is read from Hardware is module dependent, so proper files should be used.

...