12-20-2018 05:47 AM
I work with petalinux v2018.2 on u-boot for zcu102 based board.
I have this: CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102-rev1.0" in all relevant files in build sub-directory: auto.conf, autoconf.h, .config
I only need to modify u-boot. At u-boot prompt I do:
fdt_blob = 000000007fe7d4b0
ZynqMP> fdt addr 000000007fe7d4b0
ZynqMP> fdt print
I get a tree that has different content from the one in zynqmp-zcu102-rev1.0.
Also, my modifications are not reflected after build. I've changed the model & aliases settings in that file.
Looking at "UG1144 (v2018.2) June 6, 2018", section named "Devicetree Configuration" - seems that this is only for kernel, not for u-boot.
1. Are the instructions in UG1144 applicable to u-boot?
2. What are the steps to modify dts file for u-boot? Should it be rebuilt automatically by build system or manual procedure is needed? What is the procedure?
Thank you very much
01-10-2019 07:36 AM
if you are using the petalinux, then changing the nodes in the system-user.dtsi file should be reflected in your devicetree.
01-10-2019 11:56 AM
U-boot has its own device tree base in directory u-boot-xlnx/arch/arm/dts
Check if "ftd print" dumps device tree entries from this file: u-boot-xlnx/arch/arm/dts/zynqmp-zcu102-rev1.0.dts