Re: [PATCH] RFT: mips: implement __udivdi3

2023-09-21 Thread Linus Walleij
On Thu, Sep 21, 2023 at 3:42 PM Daniel Schwierzeck wrote: > I played around a bit and following simplified code compiles on various > MIPS32 and MIPS64 boards. (E.g. "echo CONFIG_FS_SQUASHFS=y >> > configs/malta[|64|el|64el]_defconfig && make malta[|64|el|64el]_defconfig") > > > > /* SPDX-License

Re: [PATCH] RFT: mips: implement __udivdi3

2023-09-21 Thread Daniel Schwierzeck
Hi Linus, On 9/18/23 08:11, Linus Walleij wrote: Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. This is just copied from the Linux kernel v6.6-rc1 arch/mips/include/asm/div64.h and then adjusted for U-Boot. After this squashfs compi

[PATCH] RFT: mips: implement __udivdi3

2023-09-17 Thread Linus Walleij
Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. This is just copied from the Linux kernel v6.6-rc1 arch/mips/include/asm/div64.h and then adjusted for U-Boot. After this squashfs compiles for MIPS. Cc: Daniel Schwierzeck Cc: Mauro Con