Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: Steven Renich on April 06, 2016, 07:15:33 PM

Title: Where is fsbl_hooks.c with uboot shared memory code?
Post by: Steven Renich on April 06, 2016, 07:15:33 PM
I am running a TE0715, and would like to pass information from the FSBL to uboot as described in the "MAC Address Usage" App Note (see link below).  Where is the fsbl_hooks.c that uses shared memory to pass environment variables to uboot?

https://wiki.trenz-electronic.de/display/PD/MAC+Address+usage (https://wiki.trenz-electronic.de/display/PD/MAC+Address+usage)


Thanks,

Steven
Title: Re: Where is fsbl_hooks.c with uboot shared memory code?
Post by: JH on April 07, 2016, 08:21:18 AM
Hi Steve,

you found the modified fsbl in the hdmi reference project:

http://www.trenz-electronic.de/fileadmin/docs/Trenz_Electronic/TE0715/Reference%20Designs/2015.4/hdmi/te0715-hdmi_noprebuilt-vivado_2015.4-build_23_20160406130144.zip

or with prebuilts:

http://www.trenz-electronic.de/fileadmin/docs/Trenz_Electronic/TE0715/Reference%20Designs/2015.4/hdmi/te0715-hdmi-vivado_2015.4-build_23_20160406130149.zip

bg
John
Title: Re: Where is fsbl_hooks.c with uboot shared memory code?
Post by: Steven Renich on April 07, 2016, 08:18:21 PM
John,

I looked at the hdmi reference project and did not see the shared memory access.  All that I saw was the following TODO comment in fsbl_hooks.c at about line 185:


/********************************************************************/
// TODO
// eth_init(XPAR_PS7_ETHERNET_0_DEVICE_ID);


Is there something that I am missing?

Thanks,

Steven
Title: Re: Where is fsbl_hooks.c with uboot shared memory code?
Post by: JH on April 08, 2016, 10:26:38 AM
Hi,

sorry, my mistake! The FSBL of the hdmi project is only modified for hdmi design support.
The modifications for MAC are currently not available for the TE0715, but it will be done in the near future.

Bg
John
Title: Re: Where is fsbl_hooks.c with uboot shared memory code?
Post by: Antti Lukats on April 08, 2016, 11:29:27 AM
Quote from: Steven Renich on April 07, 2016, 08:18:21 PM
John,

I looked at the hdmi reference project and did not see the shared memory access.  All that I saw was the following TODO comment in fsbl_hooks.c at about line 185:


/********************************************************************/
// TODO
// eth_init(XPAR_PS7_ETHERNET_0_DEVICE_ID);


Is there something that I am missing?

Thanks,

Steven

the HDMI demo FSBL does only include the HDMI init and not the full u-boot ethernet mac shared memory solution. We are in the process to add the uboot and petalinux configs also into out ref design, then the FSBL would get update also.