On 10/6/2022 10:20 AM, Philip Balister via lists.yoctoproject.org wrote:
And make this zc702 ... since meta-xilinx doesn't have anything for
the zed board.
[Sandeep]: We do have zendboard dtsi in meta-xilinx-vendor layer for
2022.2 and later release you need to backport this to 2022.1 if required.
If you use zc702 board dtsi for zedboard it might not work as expected.
https://github.com/Xilinx/meta-xilinx/blob/rel-v2022.2/meta-xilinx-vendor/dynamic-layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend#L7
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 (#5061):
https://lists.yoctoproject.org/g/meta-xilinx/message/5061
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]]
-=-=-=-=-=-=-=-=-=-=-=-