What is your layer configuration? I think you forgot to enable meta-microblaze.
My BBLAYERS: BBLAYERS ?= " \ /scratch1/fray/xilinx/poky/meta \ /scratch1/fray/xilinx/poky/meta-poky \ /scratch1/fray/xilinx/poky/meta-yocto-bsp \ /scratch1/fray/xilinx/meta-openembedded/meta-oe \ /scratch1/fray/xilinx/meta-openembedded/meta-python \ /scratch1/fray/xilinx/meta-xilinx/meta-xilinx-bsp \ /scratch1/fray/xilinx/meta-xilinx/meta-microblaze \ /scratch1/fray/xilinx/meta-xilinx/meta-xilinx-standalone \ " I then build with: MACHINE=microblaze-pmu DISTRO=xilinx-standalone bitbake pmu-firmware On 1/31/21 6:59 PM, Leon Woestenberg wrote: > Hello Mark, > >> MACHINE=microblaze-pmu DISTRO=xilinx-standalone bitbake pmu-firmware >> > I experienced the same error as with meta-xilinx gatesgarth: > > build/tmp/work-shared/gcc-10.2.0-r0/ > > Applying patch additional-microblaze-multilibs.patch > patching file gcc/config/microblaze/t-microblaze > Hunk #1 FAILED at 1. > 1 out of 1 hunk FAILED -- rejects in file gcc/config/microblaze/t-microblaze > Patch additional-microblaze-multilibs.patch does not apply (enforce with -f) This requires meta-microblaze to be present. The patch should only be applying in a microblaze configuration (not arm/aarch64). Since meta-microblaze is only needed to build for microblaze, I'm not sure how to verify that meta-microblaze is available when building for microblaze targets. The default Yocto Project toolchain does NOT work for microblaze. The output is not functional. But similarly, we don't want to force patch the microblaze stuff for non-microblaze systems as I consider un-vetted (by GCC maintainers) a dangerous behavior. Part of the reason this was moved to meta-microblaze. It might be possible for me to check the layers in the standalone toolchain bbappend, and if microblaze is enabled flag an error during parsing that the configuration is not valid. --Mark > Regards, > > Leon. >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4841): https://lists.yoctoproject.org/g/meta-xilinx/message/4841 Mute This Topic: https://lists.yoctoproject.org/mt/80113688/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
