[U-Boot] [PATCH v7 00/15] SiFive FU540 Support

Anup Patel anup at brainfault.org
Tue Feb 12 02:57:46 UTC 2019


On Mon, Feb 11, 2019 at 9:07 PM Andreas Schwab <schwab at suse.de> wrote:
>
> On Feb 11 2019, Anup Patel <Anup.Patel at wdc.com> wrote:
>
> > 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.
>
> Looks like the MACB driver cannot find the correct MAC address.  That
> makes it rather awkward for network boot.
>
> Warning: ethernet at 10090000 (eth0) using random MAC address - 0e:14:15:06:ae:e4

This is because we don't have place to put U-Boot environment
variables as of now on Unleashed board. This will be solved once
we have SPI driver and SPI_MMC driver for Unleased board.

In future, we will be saving "ethaddr" environment variable on
SPI_MMC so U-Boot will pick MAC address at boot-time from
SPI_MMC. Once this is achieved, the above warning will go away.

Regards,
Anup


More information about the U-Boot mailing list