[meta-xilinx] Generation of psu_init files
Martin Siegumfeldt
mns at gomspace.com
Fri Jun 15 05:49:20 PDT 2018
Thanks again for responding Luca.
Relating to zcu102, it turns out related to the integration of init files - I was originally overwriting the 'new' header file 'arch/arm/include/asm/arch-zynqmp/psu_init_gpl.h'. However, simply adding the Vivado exported header file to 'board/xilinx/zynqmp/zynqmp-zcu102-rev1.0/psu_init_gpl.h' and overwriting the associated existing 'psu_init_gpl.c' yields the SPL generation to succeed.
Thanks,
Martin
________________________________
From: Luca Ceresoli <luca at lucaceresoli.net>
Sent: Thursday, June 14, 2018 11:16:21 PM
To: Martin Siegumfeldt; meta-xilinx at yoctoproject.org
Cc: Michal Simek
Subject: Re: [meta-xilinx] Generation of psu_init files
Hi Martin,
On 14/06/2018 21:40, Martin Siegumfeldt wrote:
> Thanks Luca,
>
>
> Michal, Manju I appreciate if you could provide some insight into the
> plan forward here. On the zcu102 board we are seeing a much improved
> QSPI NOR / UBI stack from what is planned to go into the Sumo release.
> Unfortunately we can not integrate the init code for our custom board as
> exported by any current Vivado version. Is this new structure exported
> by an upcoming Vivado release, or how do you expect us to handle this?
Strange. I just tried to build the xilinx_zynqmp_zcu106_revA_defconfig
config on a mainline U-Boot (v2018.07-rc1-132-g606fddd76c7a), using the
psu_init_gpl files from [0] and they built fine. I tried both the latest
files (2018.2) and the 2017.1 version.
I tried also on current u-boot-xlnx master, it works too.
This is expected since the "new format" is nothing but the "old format",
which I would rather call the "format produced by Vivado", stripped down
of unneeded things such as comments, unused function definitions etc.
Can you give some more detail on what you are doing and what happens?
What error message do you obtain? Which version of U-Boot? Can you
provide your psu_ini_gpl.* files? Your defconfig?
[0] https://github.com/Xilinx/hdf-examples
Regards,
--
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20180615/ce44fb60/attachment.html>
More information about the meta-xilinx
mailing list