cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
573 Views
Registered: ‎08-14-2018

dtgen system-top.dts

Jump to solution

Hi,

I am wondering if there is a way to add a user include to the system-top.dts generated by hsi::generate_target (dtgen.tcl). I am using yocto and the meta-xilinx-tools layer. I assume that system_top.dts is generated some where in the code in device-tree.tcl and base-hsi.tcl.

Are there hooks somewhere to add an include? I feel this would be preferable to adding a yocto task to patch system-top.dts that runs after do_configure.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
531 Views
Registered: ‎08-29-2014

Re: dtgen system-top.dts

Jump to solution

Hi,

There are no built-in hooks.  This wiki shows a simple bbappend to add a user dtsi.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/61669922/Customizing+Device+Trees+in+Yocto

 

View solution in original post

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
532 Views
Registered: ‎08-29-2014

Re: dtgen system-top.dts

Jump to solution

Hi,

There are no built-in hooks.  This wiki shows a simple bbappend to add a user dtsi.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/61669922/Customizing+Device+Trees+in+Yocto

 

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
518 Views
Registered: ‎08-14-2018

Re: dtgen system-top.dts

Jump to solution

Thanks for the information emill. 

0 Kudos