Palmer, Anup, On Tue, Mar 12, 2019 at 1:55 AM Palmer Dabbelt <[email protected]> wrote: > > On Mon, 11 Mar 2019 07:33:25 PDT (-0700), [email protected] wrote: > > On Thu, Feb 14, 2019 at 7:58 AM Kevin Hilman <[email protected]> wrote: > >> > >> Kevin Hilman <[email protected]> writes: > >> > >> > Hi Anup, > >> > > >> > Anup Patel <[email protected]> writes: > >> > > >> >> This patchset adds SiFive Freedom Unleashed (FU540) support > >> >> to RISC-V U-Boot. > >> >> > >> >> The patches are based upon latest U-Boot source tree > >> >> (git://git.denx.de/u-boot.git) at commit id > >> >> dbe70c7d4e3d5c705a98d82952e05a591efd0683 > >> >> > >> >> All drivers namely: SiFive PRCI, SiFive Serial, and Cadance > >> >> MACB Ethernet work fine on actual SiFive Unleashed board and > >> >> QEMU sifive_u machine. > >> > > >> > I tested u-boot networking (DHCP, TFTP) on my desk with a gigE switch > >> > and it worked fine. Then, I moved it to a lab with a 100Mb switch, > >> > and DHCP doesn't work anymore. > >> > >> And to be clear, neither does TFTP if setting static > >> ipaddr/netmask/gatewayip etc. > > > > Sound to me a bug of the GEM driver on SiFive FU540 board. > > It looks to me like u-boot is missing a driver for the GEM clockmux in the > FU540. This is necessary to switch between the clock for 1G operation and > 100M > operation. Without this you'll just get whatever clock was set up by the > previous boot stage (or even worse, reset).
Anyone know if this is fixed in u-boot yet? I've yet to try the latest mainline u-boot, but will if if it's expected to work. Kevin _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

