10-16-2019 06:04 AM
I'm rebulding the project from existing HDF file and created Petalinux project based on zynqMP template , but after the command :
petalinux-config --get-hw-description=<path to hdf>
when GUI started I couldn't find the option where I can change the ZCU102 devicetree by own devicetree version.
Can you advice?
10-16-2019 03:44 PM
There is no option in Petalinux to add your own device tree. The DT is created automatically using the HDF and the device tree generator in Petalinux.
There is an option in petalinux-config -> dtg settings to add a machine name. This would add the dtsi for your board.
These are seen here (minus the .dtsi)
https://github.com/Xilinx/device-tree-xlnx/tree/master/device_tree/data/kernel_dtsi/2019.1/BOARD
So for the zcu102 it would be zcu102-rev1.0
If you want to update the device tree you can do this in system-user.dtsi