[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qemu-system-sh4eb build has something hinky in the ethernet



On 1/9/25 09:47, Geert Uytterhoeven wrote:

On Sun, 24 Aug 2025 at 20:40, Rob Landley <rob@landley.net> 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



Reply to: