Rock64 dwc interface issues
Emmanuel Vadot
manu at bidouilliste.com
Wed Jun 24 12:53:01 UTC 2020
On Mon, 22 Jun 2020 12:10:15 -0700
Oleksandr Tymoshenko <gonzo at bluezbox.com> wrote:
> Charles (charlesr at scd-systems.net) wrote:
> > Hi gonzo,
> >
> >
> > In 100Mbit mode the interface does not respond to any arp who-is
> > requests (tcpdump). So no icmp request are send nor received the rock64.
> > Then I tried to connect the laptop directly to the rock64 (Interface to
> > interface connection 1GBit) --> Same packet lost issue as before.
> >
> > The tcpdump on dwc0 interface reports:
> >
> > IP truncated-ip - 16384 bytes missing
> >
> >
> > I also tried to replace the /boot/dtb/rockchip/rk3328-rock64.dtb against
> > the Linux version (75kb size instead 54kb size FreeBSD Version) without
> > success.
>
> Could you try this patch?
>
> https://people.freebsd.org/~gonzo/arm/patches/dwc-rk-delays.diff
>
> --
> gonzo
Hi gonzo,
Just tested this patch on rockpro64 and rock64 and this works for me.
Whatever leads me to commit
https://svnweb.freebsd.org/base?view=revision&revision=335445 seems
fixed now ?
In rk3399_set_delays you print rk3328 btw. And both printfs that shows
the delay should be under bootverbose.
With that you can commit with Reviewed by: manu :)
I don't think that it will help Charles but the code make sense and
matches the TRM.
Thanks,
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-arm
mailing list