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

Philippe Mathieu-Daudé <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <351ebd4d-8ec6-43fe-b308-a0e54801a33b__15952.9252023034$1763969799$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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.