On 10/6/22 2:04 PM, Philip Balister wrote:
OK, so there is a check in device-tree.bb checking if CONFIG_DTFILE
   exists. So this fails with the bbappend you suggest since the file
doesn;t exist when the check runs.

Define your own validation routine in your bbappend.

def check_devicetree_variables(d):
    return

Just remember if you do that, you need to provide the device tree since we're no longer checking.

Also with Sandeeps' response.. now that the rel-v2022.2 branch is posted. I THINK that the zedboard (if you ALSO include meta-xilinx-tools) will generate the device-tree via XSCT.

--Mark

Philip

On 10/6/22 12:20, Philip Balister wrote:
And make this zc702 ... since meta-xilinx doesn't have anything for the
zed board.

Philip

On 10/6/22 11:31, Philip Balister wrote:
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 (#5063): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5063
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