[U-Boot] [PATCH 2/3] net: phy: aquantia: add firmware loading support

Jeremy Gebben jgebben at sweptlaser.com
Wed Oct 24 16:24:21 UTC 2018


On Wed, Oct 24, 2018 at 3:34 AM Prabhakar Kushwaha
<prabhakar.kushwaha at nxp.com> wrote:
>
>
> > -----Original Message-----
> > From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Jeremy
> > Gebben
> > Sent: Wednesday, September 19, 2018 3:20 AM
> > To: u-boot at lists.denx.de
> > Cc: Joe Hershberger <joe.hershberger at ni.com>; Shaohui Xie
> > <Shaohui.Xie at freescale.com>; York Sun <yorksun at freescale.com>
> > Subject: [U-Boot] [PATCH 2/3] net: phy: aquantia: add firmware loading
> > support
> >
> > Aquantia phys have firmware that can be loaded automatically from storage
> > directly attached to the phy or via MDIO commands.
> > Add support for loading firmware from either a file or a raw location on an
> > MMC device.
> >
>   We  have integrated your patch series.  Now we have one AQR FW:  AQR-G3_v4.2.C-AQR.cld
> How to flash this FW on Aquantia card ?

Not sure what you are asking here.

My patches don't provide support for programming the persistent
storage attached to the aquantia phy on NXP's development boards.

To program the firmware, put the AQR-G3_v4.2.C-AQR.cld file in a
directory on a partition that uboot can read.  Then set
PHY_AQUANTIA_FW_PART to the parition code (for example "0:2")  and
PHY_AQUANTIA_FW_NAME to the full path to the firmware file (for
example "/boot/AQR-G3_v4.2.C-AQR.cld")

If you #define DEBUG in aquantia.c, you should get some output as the
code loads the file and verifies checksums.

> When my u-boot will boot, does Firmware programming process will trigger by itself or do we need to execute some command on u-boot prompt ?

Firmware programming should happen automatically when the phy is configured.

Does that help?

Jeremy


>
> --pk


More information about the U-Boot mailing list