On 10/4/22 21:24, Mark Hatle wrote:


On 10/4/22 8:08 PM, Mark Hatle wrote:


On 10/4/22 4:02 PM, Philip Balister wrote:
ANy tips on clearing this message?

device-tree was skipped: CONFIG_DTFILE or SYSTEM_DTFILE is not defined.

What does meta-xilinx expect in these variable?

You need a device tree in order to build.  If you aren't going to use
meta-xilinx-tools (which uses xsct and an xsa file) to generate it, then you
need your own file.

Put the path to the device tree in either variable.

CONFIG_DTFILE is the device tree file for the configuration (in a multiconfig)

SYSTEM_DTFILE is the device tree file for the whole system (in a multiconfig)

If you aren't using multiconfig, then either variable works.

There is a good chance that there is a zynq-zed.dts/dtb file located in the kernel source, u-boot source or similar.  You need to find it, extract it and
tell the system to use it.

Forgot to add, some boards can also define the device-tree themselves. The meta-som (kria) board does just this.

Unfortunately the code hasn't been published yet to github.. but essentially the bbappend looks something like:


device-tree.bbappend:

SRC_URI:append:<machine> = " git://github.com/Xilinx/u-boot-xlnx.git;protocol=https;branch=xlnx_rebase_v2022.01;destsuffix=u-boot-xlnx;name=uboot"
SRCREV_uboot = "...."

CONFIG_DTFILE = "zynqmp-sck-kr-g-revA.dts"

do_configure:append:<machine>() {
     cp ${WORKDIR}/u-boot-xlnx/arch/arm/dts/${dts} ${DT_FILES_PATH}
}


If the DTS/DTB is available in a repository (or as a download) do something similar.

Thanks Mark, I am going to try this with a zedboard. Hopefully the in tree device tree for this board is good.

Philip




Philip













-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5059): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5059
Mute This Topic: https://lists.yoctoproject.org/mt/94123413/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to