socfpga: ethernet problem

Antony Pavlov antonynpavlov at gmail.com
Tue Mar 27 02:21:38 PDT 2018


On Tue, 27 Mar 2018 07:31:29 +0200
Steffen Trumtrar <s.trumtrar at pengutronix.de> wrote:

> 
> Hi,
> 
> Antony Pavlov <antonynpavlov at gmail.com> writes:
> 
> > Hi!
> >
> > Barebox for DE0-Nano-SoC succesfully starts on Terasic DE10-Nano board
> > but there is an ethernet issue.
> >
> > After `make ARCH=arm socfpga_defconfig` I see that the CONFIG_DRIVER_NET_DESIGNWARE_SOCFPGA
> > option is disabled.
> >
> >   #
> >   # Network drivers
> >   #
> >   ...
> >   CONFIG_DRIVER_NET_DESIGNWARE=y
> >   # CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
> >   # CONFIG_DRIVER_NET_DESIGNWARE_SOCFPGA is not set
> >
> > after enabling CONFIG_DRIVER_NET_DESIGNWARE_SOCFPGA I see 'Could not get sysmgr-syscon node'
> > error message:
> >
> >
> 
> Patch opportunity:
> 
> DRIVER_NET_DESIGNWARE_SOCFPGA is missing a
>     select MFD_SYSCON
> 
> and the defconfig should be regenerated with the socfpga driver instead.
> 

I made changes you suggest. Now ethernet works!

Many thanks!

Now I still have some minor issues with DE10-Nano:

  * socfpga-xload-2_defconfig does not work but socfpga-xload_defconfig does;
  * 'sleep 1' longs for 5 seconds.

I suppose that DE10-Nano is somewhat differ with DE0-Nano-SoC.

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list