Author Topic: TE0820: UBOOT_MACHINE for Yocto Project  (Read 1918 times)

martin

  • Active Member
  • *
  • Posts: 14
TE0820: UBOOT_MACHINE for Yocto Project
« on: October 17, 2017, 07:52:57 AM »
Currently I try to set up the TE0820 board with Yocto.
In the first step I used the predefined configurationof the ZCU102 Board (UBOOT_MACHINE = "xilinx_zynqmp_zcu102_revB_defconfig").
But now I want to switch to a own TE0820 configuration.

If I do that the u-boot-xlnx recipe give me weirded errors like "arch/arm/dts/zynqmp-ep108.dtb' failed"

Have you a predefined default configuration?

Thanks,
Martin

martin

  • Active Member
  • *
  • Posts: 14
Re: TE0820: UBOOT_MACHINE for Yocto Project
« Reply #1 on: October 17, 2017, 05:51:26 PM »
The reason for the dtb failed is fixed. It was because the subfolder arch/arm/dts was a file instead of a folder.
The reason for that was the line in the u-boot-xlnx_%.bbappend file

wrong:
Code: [Select]
WORK_SHAREDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source/arch/arm64/boot/dts/${MACHINE}"
DTB_SHAREDIR = "${WORK_SHAREDIR}/${DEVICE_TREE}"

do_configure_prepend() {
    ...
    install -Dm 0644 ${DTB_SHAREDIR} ${DTB_BUILDFOLDER}
    ...

correct:
Code: [Select]
WORK_SHAREDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source/arch/arm64/boot/dts/${MACHINE}"
DTB_SHAREDIR = "${WORK_SHAREDIR}/${DEVICE_TREE}"

do_configure_prepend() {
    ...
    install -Dm 0644 ${DTB_SHAREDIR} ${DTB_BUILDFOLDER}/${DEVICE_TREE}
    ...

Anyway, it would be nice to get a predefined default configuration as the "xilinx_zynqmp_zcu102_revB_defconfig" for the ZCU102 evaluation board.

JH

  • Hero Member
  • *****
  • Posts: 608
Re: TE0820: UBOOT_MACHINE for Yocto Project
« Reply #2 on: October 18, 2017, 09:26:54 AM »
Hi,

we use only petalinux. Template project with all settings is included into the reference project:
See subfolder /os/petalinux and:

17.2 update will be published in the next days.

br
John