UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
160 Views
Registered: ‎10-21-2015

petalinux 2019.2 dtc upgrade

Hi

I would like to share how to upgrade dtc utility

In petalinux 2019.2,  the version of dtc is 1.4.7

The dtc  causes the segmentation fault generating empty file  when  it convert /proc/device-tree into dts on petalinux installed system like this

root@ultra96v2_test:~$ dtc -I fs -O dts -o system.dts /proc/device-tree
Segmentation fault

I upgraded dtc to version 1.5.1 with the attached file to avoid the problem

The file should be extracted  under <project-dir>/project-spec/meta-user/recipes-kernel

And you should add the following to <project-dir>/project-spec/meta-user/conf/petalinuxbsp.conf

SIGGEN_UNLOCKED_RECIPES += "dtc-native"
PREFERRED_VERSION_dtc = "1.5.1"