Port-arm archive

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

Re: Olimex Lime2: problem with Ethernet awge



On Sat, Jul 20, 2019 at 08:27:34PM +0200, Manuel Bouyer wrote:
> On Sat, Jul 20, 2019 at 06:49:36PM +0200, tlaronde%polynum.com@localhost wrote:
> > Hello,
> > 
> > I'm testing a Olimex Lime2 board. The netbsd current image has support
> > and Jason Thorpe has added the specific u-boot package in pkgsrc
> > (current) (with a bunch of variants) so using the
> > u-boot-a20-olinuxino-lime2 image for u-boot and the armv7.img (as
> > explained in the online pages), everything boots.
> > 
> > You will find attached the messages (it's a custom kernel config, but I
> > have checked that this is exactly what is detected with the GENERIC one; the
> > config file OLIMEX_LIME2 is attached too for reference but GENERIC works).
> > 
> > In the messages, the only failures registered are relative to the
> > pipelines of sunxi_debe (from a very cursory look, seems to be because
> > nothing is defined in the dts/fdt) but nothing preventing from having the display
> > with X11).
> > 
> > I have one problem: the Ethernet device awge doesn't seem to function
> > correctly. Dhcpcd is unable to talk to the dhcp server; configuring
> > statically the interface, the other end doesn't answer either---the led
> > blink on the board connector but there is no answer.
> > 
> > ping doesn't work either (I have verified that the very same cable on
> > the very same other end connector does work from a NetBSD/amd64 8.0
> > with a re interface).
> > 
> > Does anybody have any clue about what can be the problem and how to try
> > to chase the culprit?
> 
> If it's a recent lime2, you need to update your u-boot to the latest package
> version. I commited a fix for this yesterday.
> Make sure you update sysutils/u-boot/, this is were the change really is.
> 
> (long version: the newer lime2 boards use a different phy - a micrel one -
>  and it needs a different timing setup. CONFIG_GMAC_TX_DELAY=4 in the
>  u-boot config file fixes it. This is what
>  sysutils/u-boot/patch-configs_A20-OLinuXino-Lime2*_defconfig do).

Thank you!

I'm really impressed by the work that have been done by you and all in
all a few number of developers, and by the dedication...

I plan to work to be able to add my share of work (if not on the kernel or arch level at
the moment).

Best regards,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index