Author Topic: te0720 MAC address in petalinux2020.2  (Read 71 times)

akarcher

  • Active Member
  • *
  • Posts: 4
te0720 MAC address in petalinux2020.2
« on: October 11, 2021, 11:02:07 PM »
I am trying to move my design from 2019.2 to 2020.2.
I tried with the prebuilt code, and everything seems to work correctly. I added my hardware design and built a petalinux. Now it does not seem to pick up the MAC from the FSBL, but it uses the devicetree MAC:
Any hints would be apreciated.
--------------------------------------------------------------------------------
Xilinx First Stage Boot Loader (TE modified)
Release 2020.2  Oct 11 2021-18:54:30

Device IDCODE: 23727093
Device Name: 7z020 (7)
Device Revision: 2
--------------------------------------------------------------------------------
TE0720 TE_FsblHookBeforeHandoff_Custom

SoM: TE0720-03-1C  F SC REV:05
MAC: 80 1F 12 E0 8A 3B

--------------------------------------------------------------------------------


U-Boot 2020.01 (Oct 11 2021 - 18:58:51 +0000)

CPU:   Zynq 7z020
Silicon: v3.1
DRAM:  ECC disabled 1 GiB
Flash: 0 Bytes
NAND:  0 MiB
MMC:   mmc@e0100000: 0, mmc@e0101000: 1
In:    serial@e0000000
Out:   serial@e0000000
Err:   serial@e0000000
Net:
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 0, interface rgmii-id

Warning: ethernet@e000b000 using MAC address from DT

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1763
Re: te0720 MAC address in petalinux2020.2
« Reply #1 on: October 12, 2021, 07:03:43 AM »
Hi,
you need our FSBL modification
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-fsbl.1
and also this entry for uboot:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-U-Boot

Did you overwrite "CONFIG_PREBOOT" on your design?
br
John

akarcher

  • Active Member
  • *
  • Posts: 4
Re: te0720 MAC address in petalinux2020.2
« Reply #2 on: October 12, 2021, 07:16:25 PM »
It seems the Petalinux project in the Trenz 20.2 example has the u-boot 'Enable Preboot' option set with an empty argument, which seems to overwrite the config in meta-user.
I will try unsetting the option and re-building.

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1763
Re: te0720 MAC address in petalinux2020.2
« Reply #3 on: October 13, 2021, 03:19:37 PM »
Hi,
I didn't checked again as I've generate the design, but when petalinux overwrite user setup now, than it's a bug of petalinux release. This should not happens.
br
John