Re: [PATCH v1 1/1] MIPS: TXx9: Convert SPI platform data to software nodes

From: Maciej W. Rozycki
Date: Tue Jan 18 2022 - 14:59:45 EST


Hi Geert,

> Took me a bit to test proper operation, as contemporary cross-toolchains
> create userland binaries that can no longer run on MIPS-II/III CPUs,
> and native development is slow and memory-constrained (dpkg OOM)...

You mean cross-toolchains included with (some) distributions, right?

I do hope so or otherwise I'd be very concerned. Myself I've been using
a self-built MIPS cross-compiler, running on POWER9, which builds MIPS I
binaries just fine, e.g.:

$ file install/usr/sysroot/{lib/ld-2.32.9000.so,usr/bin/gdbserver}
install/usr/sysroot/lib/ld-2.32.9000.so: ELF 32-bit LSB pie executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, with debug_info, not stripped
install/usr/sysroot/usr/bin/gdbserver: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 3.2.0, not stripped
$ install/usr/bin/mipsel-linux-gnu-gcc -dumpversion
11.0.0
$

(time to upgrade perhaps).

Maciej