News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0820: UBOOT_MACHINE for Yocto Project

Started by martin, October 17, 2017, 07:52:57 AM

Previous topic - Next topic

martin

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

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:

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:

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

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