Hi, > On 29 Dec 2021, at 9:53, davis roman <[email protected]> wrote: > > I generated an internal mips toolchain built against musl and I tried > to compile u-boot but unfortunately, I'm getting "opcode not > supported" error messages. https://pastebin.com/QdcLxy69 > If instead I use the realtek provided prebuilt toolchain then u-boot > compiles successfully. https://pastebin.com/zcQ5kc20 > > I'm thinking that Realtek's toolchain has patches specific to their > SoC that have not been pushed upstream. Could this be the reason I'm > unable to compile uboot?
I’m guessing that your U-Boot config doesn’t set the correct MIPS architecture revision. The compiler error shows that you’re trying to assemble a MIPS32r1 instruction, but the compiler is targeting the original MIPS1 architecture. The Realtek toolchain may have set the default architecture to match the SoC, but the fix is to update the config to match the hardware. Regards, Anders Montonen
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55688): https://lists.yoctoproject.org/g/yocto/message/55688 Mute This Topic: https://lists.yoctoproject.org/mt/88005049/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
