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 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?

A search on the Net provided messages by people having this problem with
new revision of the board.

The "solution" seems to tune the TX delay on the GMAC. Quoting:

"I rebuilt the bootloader, setting CONFIG_GMAC_TX_DELAY=4 on a u-boot
2018.09."

Is there a way to set this with the NetBSD EFI bootloader? Or has it to
go in u-boot directly---but then, will this persist? Or is there a way
to tune this in user level, for testing purposes?

TIA
-- 
        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