Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-25 Thread Mark Cave-Ayland
On 25/06/2021 10:32, Finn Thain wrote: Thanks for the link and the detailed testing information. I've been trying to understand why you had to set the MAC address in the ARC firmware so I had a bit of an experiment here. The reason that you need to do this is because of the NVRAM configuration

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-25 Thread Finn Thain
On Fri, 25 Jun 2021, Mark Cave-Ayland wrote: > On 25/06/2021 05:36, Finn Thain wrote: > > > On Thu, 24 Jun 2021, Mark Cave-Ayland wrote: > > > > > Thanks for the link and the detailed testing information. I've been > > > trying to understand why you had to set the MAC address in the ARC > > >

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-24 Thread Mark Cave-Ayland
On 25/06/2021 05:36, Finn Thain wrote: On Thu, 24 Jun 2021, Mark Cave-Ayland wrote: Thanks for the link and the detailed testing information. I've been trying to understand why you had to set the MAC address in the ARC firmware so I had a bit of an experiment here. The reason that you need to

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-24 Thread Finn Thain
On Thu, 24 Jun 2021, Mark Cave-Ayland wrote: > Thanks for the link and the detailed testing information. I've been > trying to understand why you had to set the MAC address in the ARC > firmware so I had a bit of an experiment here. > > The reason that you need to do this is because of the NVRA

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-24 Thread Mark Cave-Ayland
On 18/06/2021 07:22, Finn Thain wrote: I was able to test this patch series successfully, using both "qemu-system-mipsel -M magnum" and "qemu-system-m68k -M q800". With the latter emulator I used a Linux/m68k guest and with the former I used both Linux/mips and NetBSD/arc guests. Basic dp8393x

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-17 Thread Finn Thain
Hi Mark, On Wed, 16 Jun 2021, Mark Cave-Ayland wrote: > On 16/06/2021 04:09, Finn Thain wrote: > > > With "qemu-system-mips -M magnum ..." I was able to boot both Linux > > and NetBSD. That was after commit 89ae0ff9b7 ("net/dp8393x: add PROM > > to store MAC address"). But that's not to say th

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-15 Thread Mark Cave-Ayland
On 16/06/2021 04:09, Finn Thain wrote: On Mon, 14 Jun 2021, Mark Cave-Ayland wrote: On 14/06/2021 06:36, Philippe Mathieu-Daudé wrote: Cc'ing Finn & Laurent. On 6/13/21 6:37 PM, Mark Cave-Ayland wrote: Here is the next set of patches from my attempts to boot MacOS under QEMU's Q800 machine

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-15 Thread Finn Thain
On Mon, 14 Jun 2021, Mark Cave-Ayland wrote: > On 14/06/2021 06:36, Philippe Mathieu-Daudé wrote: > > > Cc'ing Finn & Laurent. > > > > On 6/13/21 6:37 PM, Mark Cave-Ayland wrote: > > > Here is the next set of patches from my attempts to boot MacOS under > > > QEMU's Q800 machine related to the

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-14 Thread Mark Cave-Ayland
On 14/06/2021 06:36, Philippe Mathieu-Daudé wrote: Cc'ing Finn & Laurent. On 6/13/21 6:37 PM, Mark Cave-Ayland wrote: Here is the next set of patches from my attempts to boot MacOS under QEMU's Q800 machine related to the Sonic network adapter. Patches 1 and 2 sort out checkpatch and convert

Re: [PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-13 Thread Philippe Mathieu-Daudé
Cc'ing Finn & Laurent. On 6/13/21 6:37 PM, Mark Cave-Ayland wrote: > Here is the next set of patches from my attempts to boot MacOS under QEMU's > Q800 machine related to the Sonic network adapter. > > Patches 1 and 2 sort out checkpatch and convert from DPRINTF macros to > trace-events. > > Pat

[PATCH 0/5] dp8393x: fixes for MacOS toolbox ROM

2021-06-13 Thread Mark Cave-Ayland
Here is the next set of patches from my attempts to boot MacOS under QEMU's Q800 machine related to the Sonic network adapter. Patches 1 and 2 sort out checkpatch and convert from DPRINTF macros to trace-events. Patch 3 fixes the PROM checksum and MAC address storage format as found by stepping t