On Wed, Apr 26, 2023 at 05:48 PM, David Babich wrote:
Hi David,
For some reason I'm not getting any meta-xilinx mailinglist emails weird.
>
> I've been searching around to try and find the mechanism that generates the
> pl.dtsi file, but I haven't been able to pin-point it. Could someone point
> me to recipe or class that I need to look at for generating a pl.dtsi from the
> xsa? I had assumed this would be done automatically by making a bbappend to
> the external-hdf recipe to pull in my .xsa file, however I don't see a pl.dtsi
> getting generated, but I do see my .xsa getting pulled in properly.
>
pl.dtsi is generated by device-tree only if your vivado design or xsa contains
PL IP and another case is when you have custom PL IP in design.
In meta-xilinx-tools layer we have device-tree.bbappend file which inherits
xsctdt and xsctyaml bbclass. These classes will parse the xsa using HSI tool
and generate a yaml config file which will be passed to device-tree-generator
which will generate the all dtsi files.
device-tree.bbappend -> {xsctdt, xsctyaml} -> {source dtgen.tcl,, base-hsi.tcl}
-> generate yaml config file -> handoff to device-tree-xlnx repo -> generate
dts and dtsi files base on xsa.
Hope this helps you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5232):
https://lists.yoctoproject.org/g/meta-xilinx/message/5232
Mute This Topic: https://lists.yoctoproject.org/mt/98527123/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-