11-16-2019 04:42 PM
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?
11-17-2019 11:56 PM
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