Re: qemu-system-sh4eb build has something hinky in the ethernet
Philippe Mathieu-Daudé <[email protected]> Mon, 24 Nov 2025 08:18:58 +0100
| Newsgroups | gmane.linux.debian.ports.ia64 |
|---|---|
| Message-ID | <351ebd4d-8ec6-43fe-b308-a0e54801a33b__29606.1345770553$1763969808$gmane$org@linaro.org> |
On 1/9/25 09:47, Geert Uytterhoeven wrote: > On Sun, 24 Aug 2025 at 20:40, Rob Landley <[email protected]> wrote: >> Anyway, this works fine on little endian, but the qemu-system-sh4eb >> build has something hinky in the ethernet, I haven't tackled it myself >> because I don't know whether the device emulation or the driver is >> what's missing an endian swap. (I don't want to fix it the "wrong way", > > That is using sh_eth, right? > > Last time I tried booting a big-endian ARM kernel on R-Car M2-W, > the Linux kernel booted fine, except for Ethernet. So sh_eth is definitely > not big-endian clean. qemu-system-sh4{eb} only emulates the R2D+ board, which AFAIK provides ethernet via a RTL8139 over PCI. While old, RTL8139 is very tested and expected to have endianness well handled. > > [*] I didn't have a big-endian userspace. > > Gr{oetje,eeting}s, > > Geert >