cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Adventurer
Adventurer
328 Views
Registered: ‎04-11-2019

How to replace ZCU102 devicetree by own one in GUI

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?

0 Kudos
Reply
1 Reply
Moderator
Moderator
285 Views
Registered: ‎09-12-2007

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

 

0 Kudos
Reply