Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature toradex am62 #893

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Feature toradex am62 #893

wants to merge 4 commits into from

Conversation

cbrake
Copy link
Contributor

@cbrake cbrake commented Jan 23, 2024

TODO:

  • - set up Toradex mirrors
  • - circular dependency when initramfs is enabled
  • - build creates a deploy-ti directory at the top level

@cbrake cbrake marked this pull request as draft January 23, 2024 15:06
@cbrake
Copy link
Contributor Author

cbrake commented Jan 23, 2024

| aarch64-yoe-linux-ld: error: unknown argument '--fix-cortex-a53-835769'
| make: Leaving directory '/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/git'
| make: *** [Makefile:1509: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31.elf] Error 1
| ERROR: oe_runmake failed
| WARNING: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427:174 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|       #1: bbfatal_log, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 174
|       #2: die, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 158
|       #3: oe_runmake, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 153
|       #4: do_compile, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 147
|       #5: main, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 187
ERROR: Task (/scratch4/yoe/yoe-distro-toradex/sources/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.10.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5461 tasks of which 5278 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 8 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 12 scratch)
NOTE:   do_package_qa: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_package: 0.0% sstate reuse(0 setscene, 16 scratch)
NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_package_write_ipk: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_create_spdx: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 5 scratch)
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 3 scratch)

Summary: 1 task failed:
  /scratch4/yoe/yoe-distro-toradex/sources/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.10.0.bb:do_compile

Suspect we need to build this with GCC vs Clang ...

@cbrake
Copy link
Contributor Author

cbrake commented Jan 23, 2024

trusted-firmware-a is now building with gcc.

Interestingly, when I added TOOLCHAIN:pn-trusted-firmware-a = "gcc", it looks like it is recompiling all the apps.

@cbrake
Copy link
Contributor Author

cbrake commented Jan 23, 2024

ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: egl [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/cairo/1.18.0/temp/log.do_configure.1008485
ERROR: Task (/scratch4/yoe/yoe-distro-toradex/sources/poky/meta/recipes-graphics/cairo/cairo_1.18.0.bb:do_configure) failed with exit code '1'

Commenting out the contents of:

https://github.com/YoeDistro/yoe-distro/blob/master/sources/meta-yoe/dynamic-layers/meta-ti/recipes-graphics/cairo/cairo_%25.bbappend

Fixed several errors, but it is still giving me one:

QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]

${TOPDIR}/sources/meta-ti/meta-ti-bsp \
${TOPDIR}/sources/meta-ti/meta-ti-extras \
${TOPDIR}/sources/meta-arm/meta-arm \
${TOPDIR}/sources/meta-arm/meta-arm-toolchain \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need the arm toolchain layer ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appears meta-ti-bsp depends on it:

ERROR: Layer 'meta-ti-bsp' depends on layer 'meta-arm', but this layer is not enabled in your configuration

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats meta-arm/meta-arm which is fine, but I am not sure if we need meta-arm/meta-arm-toolchain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from meta-arm layer.conf:

image

# Yoe Updater Supported Machines ( RPI, beaglebone, C4, SAMA5D27 for now )
INITRAMFS_IMAGE_BUNDLE = "1"
# Use yoe-initramfs-image for initramfs
INITRAMFS_IMAGE = "yoe-initramfs-image"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe disable this until initramfs/updater is sorted out.

@@ -12,6 +12,8 @@ YOE_PROFILE = "yoe-glibc-systemd-wayland"
#IMAGE_BOOT_FILES:append = " ${KERNEL_IMAGETYPE}-initramfs-${MACHINE}.bin;${KERNEL_IMAGETYPE}"
# Use default Device Tree ( LVDS )

TOOLCHAIN:pn-trusted-firmware-a = "gcc"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what error do we see with clang ? tf-a is supposed to work with clang upstream so we can report it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-llvm-ar cr /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/lib/libc.a /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/abort.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/assert.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/exit.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memchr.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memcmp.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memcpy.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memcpy_s.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memmove.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memrchr.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/memset.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/printf.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/putchar.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/puts.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/snprintf.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strchr.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strcmp.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strlcat.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strlcpy.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strlen.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strncmp.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strnlen.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strrchr.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strtok.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strtoul.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strtoll.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strtoull.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/strtol.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/libc/setjmp.o
aarch64-yoe-linux-ld -o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31.elf -z noexecstack 	 -O1 --gc-sections -z common-page-size=4096  -z max-page-size=4096 --fix-cortex-a53-843419 --fix-cortex-a53-835769 --fatal-warnings  -pie --no-dynamic-linker --sort-section=alignment -Map=/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31.map  --script /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31/bl31.ld /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/build_message.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31_context_mgmt.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31_main.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31_traps.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/interrupt_mgmt.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/runtime_svc.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/arm_gicv3_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/gic-x00.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/gicdv3_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/gicrv3_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/gicv3_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/gicv3_main.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/errata_report.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/context_mgmt.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cpu_data_array.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/spe.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/sve.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bakery_lock_normal.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_main.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_mem_protect.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_off.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_on.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_setup.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_suspend.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_system_off.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/plat_gicv3.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/plat_psci_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/sec_proxy.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/ti_sci.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_bl31_setup.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_gicv3.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_psci.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_topology.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/arm_arch_svc_setup.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/opteed_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/opteed_main.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/opteed_pm.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/std_svc_setup.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/tf_log.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/multi_console.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/pmuv3.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/plat_bl_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/plat_log_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/plat_common.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/popcountdi2.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/popcountsi2.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/xlat_tables_arch.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/xlat_tables_context.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/xlat_tables_core.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/xlat_tables_utils.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_console.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31_entrypoint.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/crash_reporting.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/ea_delegate.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/runtime_exceptions.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cpu_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/dsu_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/wa_cve_2017_5715_bpiall.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/wa_cve_2017_5715_mmu.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/context.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cpu_data.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/spinlock.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/psci_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/runtime_errata.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/platform_mp_stack.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/k3_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/opteed_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/debug.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cache_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/misc_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/platform_helpers.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cortex_a53.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/cortex_a72.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/enable_mmu.o /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/16550_console.o -L/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/lib  -lc 
aarch64-yoe-linux-ld: error: unknown argument '--fix-cortex-a53-835769'
make: *** [Makefile:1509: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31.elf] Error 1
make: Leaving directory '/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/git'
ERROR: oe_runmake failed
WARNING: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816:174 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816, line 174
	#2: die, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816, line 158
	#3: oe_runmake, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816, line 153
	#4: do_compile, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816, line 147
	#5: main, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.816, line 187

@kraj
Copy link
Contributor

kraj commented Jan 24, 2024

| aarch64-yoe-linux-ld: error: unknown argument '--fix-cortex-a53-835769'
| make: Leaving directory '/scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/git'
| make: *** [Makefile:1509: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/build/k3/lite/release/bl31/bl31.elf] Error 1
| ERROR: oe_runmake failed
| WARNING: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427:174 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|       #1: bbfatal_log, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 174
|       #2: die, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 158
|       #3: oe_runmake, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 153
|       #4: do_compile, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 147
|       #5: main, /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/trusted-firmware-a/2.9+git/temp/run.do_compile.152427, line 187
ERROR: Task (/scratch4/yoe/yoe-distro-toradex/sources/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.10.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5461 tasks of which 5278 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 8 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 12 scratch)
NOTE:   do_package_qa: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_package: 0.0% sstate reuse(0 setscene, 16 scratch)
NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_package_write_ipk: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_create_spdx: 0.0% sstate reuse(0 setscene, 6 scratch)
NOTE:   do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 5 scratch)
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 3 scratch)

Summary: 1 task failed:
  /scratch4/yoe/yoe-distro-toradex/sources/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.10.0.bb:do_compile

Suspect we need to build this with GCC vs Clang ...

I think a better fix is something like this
Freescale/meta-freescale@79bfb17

@kraj
Copy link
Contributor

kraj commented Jan 24, 2024

ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: egl [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]
ERROR: cairo-1.18.0-r0 do_configure: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /scratch4/yoe/yoe-distro-toradex/build/tmp/work/verdin_am62-yoe-linux/cairo/1.18.0/temp/log.do_configure.1008485
ERROR: Task (/scratch4/yoe/yoe-distro-toradex/sources/poky/meta/recipes-graphics/cairo/cairo_1.18.0.bb:do_configure) failed with exit code '1'

Commenting out the contents of:

https://github.com/YoeDistro/yoe-distro/blob/master/sources/meta-yoe/dynamic-layers/meta-ti/recipes-graphics/cairo/cairo_%25.bbappend

Fixed several errors, but it is still giving me one:

QA Issue: cairo: invalid PACKAGECONFIG: glesv2 [invalid-packageconfig]

see
Freescale/meta-freescale@0e478bd

@cbrake
Copy link
Contributor Author

cbrake commented Jan 24, 2024

Suspect we need to build this with GCC vs Clang ...

I think a better fix is something like this Freescale/meta-freescale@79bfb17

Yeah, looks like a similar error ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants