Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: blsmith_g3 on May 03, 2018, 08:38:53 PM

Title: TE0720 MAC Address issue
Post by: blsmith_g3 on May 03, 2018, 08:38:53 PM
I have a TE0720-7s board and the TE0703-5 board, I am trying to get the MAC Address set from the EEPROM, but I have a few issues:
1. When I build (petalinux-build) and run my fsbl it does not seem to pull in the te_fsbl_hooks.c
2. even when I use the prebuilt fsbl (prebuilt/software/te0720_7s/zynq_fsbl.elf) the MAC address is not carried from FSBL into uboot, I assumed this would work.
3. How do I build the FSBL that is compiled in prebuilt/software/te0720_7s/zynq_fsbl.elf ? I cannot create/rebuild it...

Thanks
Title: Re: TE0720 MAC Address issue
Post by: JH on May 04, 2018, 12:58:48 PM
Hi,
which reference design did you used?

For 2017.4 MAC access is implement, generate all files by yourself:
FSBL and Uboot changes for eeprom mac:FSBL is included as template, follow instruction of design flow, or to use on ther project:
br
John
Title: Re: TE0720 MAC Address issue
Post by: blsmith_g3 on May 04, 2018, 05:32:15 PM
I used the 2017.1 test_board as the starting point. I've visited those pages countless times but I have zero idea what anyone means by "Add te_fsbl_config.h, te_fsbl_hooks.h te_fsbl_hooks.c, and includ into fsbl_hooks.c" how do you do this correctly? I have found the te_* files but cannot for the life of me figure out how to make petalinux build those into the FSBL it generates.

Also, I'd like to be able to build WITHOUT the TE:: tcl scripts. Once I figure out how to build the FSBL I think I'll be moving to a straight yocto build system and do away with petalinux if possible.
Title: Re: TE0720 MAC Address issue
Post by: JH on May 04, 2018, 08:51:21 PM
Hi,

on 2017.1 reference design, it didn't work because Uboot changes are missing. That's one of the reasons I start with wiki documentation, to get a change history of the designs.

As you can see on the last answer with links to wiki, 2 changes are necessary :
You must use TE Scriptsonly one time for project generation. All other steps can be done without TE script. This is all described on Xilinx documentation.
br
John