On Tue, Aug 6, 2024 at 2:49 AM David Daniel via lists.yoctoproject.org <david.daniel=vrag...@lists.yoctoproject.org> wrote:
> Hi everybody > > I am updating my setup for a custom system and I'm getting an error now > with the kernel. Everything works until packaging of the kernel, I now > get the error that the kernel image contains relocations in .text: > > ERROR: linux-bf133-6.6.44-r0 do_package_qa: QA Issue: kernel-vmlinux: ELF > binary /boot/vmlinux-6.6.44-rt38-vrag has relocations in .text [textrel] > ERROR: linux-bf133-6.6.44-r0 do_package_qa: Fatal QA errors were found, > failing task. > ERROR: Logfile of failure stored in: > /mnt/data/yocto/bf133/build/tmp/work/bf133-vrag-linux/linux-bf133/6.6.44/temp/log.do_package_qa.417292 > ERROR: Task > (/mnt/data/yocto/bf133/meta-bf133/recipes-kernel/linux/linux-bf133_6.6.44.bb:do_package_qa) > failed with exit code '1' > > I am using the exakt same way to build the kernel as I was before when > using Nanbield. I couldn't find anything related to the kernel recipes > in the migration guides for 5.0, can anyone give me a hint? What am I > doing wrong, what am I missing? > > For completeness here is my kernel recipe: > > ---- > inherit kernel > require recipes-kernel/linux/linux-yocto.inc > > LICENSE = "GPL-2.0-only" > LIC_FILES_CHKSUM = > "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" > > SRC_URI = "\ > git:// > git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;protocol=https;tag=v6.6.44;branch=linux-6.6.y;name=kern > \ > file://0001-6.6.44-RT.patch;subdir=git;name=rtpatch \ > file://defconfig;name=config \ > file://0002-6.6.44-MSR_DE-for-booke64.patch;name=rtpatch \ > file://bf133.dts;name=dts;subdir=git/arch/${ARCH}/boot/dts/fsl \ > " > > SRC_URI_config[sha256sum] = > "9bcd116d4a1001d09e60722935b34f5c337e721c50d67b20abe6cdde4cfa16b2" > SRC_URI_dts[sha256sum] = > "abfb61598e384165e2c2e597e236d533a62465a47c18f4b44ba385210dc43a08" > SRC_URI_rtpatch[sha256sum] = > "3ac1384b690c6adae36b3ca34ae3cc05f13bcde8cde88c2408d16cfc5ac75a61" > SRC_URI_msrpatch[sha256sum] = > "e6e31c7d70e98829f90df8e8567c0b45fb8efaa37a7fc8285a4fb96602c838ba" > > KERNEL_DEVICETREE = "fsl/bf133.dtb" > > LINUX_VERSION = "6.6.44" > PV = "6.6.44" > > LINUX_KERNEL_TYPE = "rt" > LINUX_VERSION_EXTENSION = "-vrag" > > > # Override COMPATIBLE_MACHINE to include your machine in a copy of this > recipe > # file. Leaving it empty here ensures an early explicit build failure. > COMPATIBLE_MACHINE = "(bf133)" What is the cpu architecture under this machine Iirc we disable this QA error for some eg ppc64 > > > ---- > > Thanks for any hint! > > BR > Dave > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63665): https://lists.yoctoproject.org/g/yocto/message/63665 Mute This Topic: https://lists.yoctoproject.org/mt/107748225/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-