cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fiedel
Explorer
Explorer
483 Views
Registered: ‎12-21-2012

No pl.dtsi after importing .hdf file in Petalinux 2018.3.

In order to ease modification of PL part, I made the axi interface from Zynq subsystem (with necessary parts like axi_dma, ...) as external, and instantiated the block design at the top level together with PL. I was running non-project mode, so I exported hardware using commands:

 

write_hwdef -file $hardwaredef -force
write_bitstream -force $bitstream
write_sysdef -hwdef $hardwaredef -bitfile $bitstream -file $sysdef -force

After I imported the .hdf file in petalinux, I didn't find pl.dtsi in ./components/plnx_workspace/device-tree/device-tree/.

Which step did I go wrong? How can I get .hdf file which can enable pl.dtsi generation?

 

0 Kudos
2 Replies
fiedel
Explorer
Explorer
419 Views
Registered: ‎12-21-2012

It seems pl.dtsi won't be created until the project is built.

0 Kudos
florentw
Moderator
Moderator
404 Views
Registered: ‎11-09-2015

HI @fiedel 

Yes, importing the hdf will not create the pl.dtsi file.

You need to run the device tree generator for this. So you can build omly the device tree or run a full build


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos