Re: [PATCH 0/3] openrisc/litex: Add liteeth support

From: Stafford Horne
Date: Tue Aug 31 2021 - 09:38:27 EST


On Mon, Aug 30, 2021 at 01:41:26AM +0000, Joel Stanley wrote:
> On Mon, 30 Aug 2021 at 00:17, Stafford Horne <shorne@xxxxxxxxx> wrote:
> >
> > On Thu, Aug 26, 2021 at 10:59:43PM +0930, Joel Stanley wrote:
> > > Hello Stafford,
> > >
> > > Here are some changes so that the openrisc kernel can boot with ethernet
> > > support with the in-tree device tree.
> > >
> > > I have also updated the address of the serial device to match recent
> > > litex. I realise this may keep changing, but it does make it easier to
> > > test upstream kernels if the basics work.
> > >
> > > Joel Stanley (3):
> > > openrisc/litex: Update uart address
> > > openrisc/litex: Add ethernet device
> > > openrisc/litex: Update defconfig
> > >
> > > arch/openrisc/boot/dts/or1klitex.dts | 13 ++++++++++--
> > > arch/openrisc/configs/or1klitex_defconfig | 26 ++++++++++++++---------
> > > 2 files changed, 27 insertions(+), 12 deletions(-)
> >
> > Hi,
> >
> > These all look fine to me. Note, I have just using the autogenerated .dts file
> > created by the litex build, so I don't usually use this one other than for some
> > basic testing. I know auto generated one has it's quirks but it does work.
> >
> > It's good to have these here though.
>
> Agreed.
>
> The auto generated ones need a lot of work to be relevant outside of
> the vexriscv CPU (I tried to build for rocket, a different riscv, and
> the script blew up...).
>
> In the future it would be good to have this one support the drivers
> that are merged upstream.
>
> >
> > I will queue these after the ehternet driver is queued. Are you planning me to
> > queue the ethernet driver? Or will someone else be taking that in?
>
> I should have mentioned that the driver and bindings were merged
> through the network tree last week. You can see them in Friday's
> linux-next.

Alright, in that case I am adding them now.

-Stafford