[PATCH v3 2/2] cmd: brcm: netXtreme commands

Roman Bacik roman.bacik at broadcom.com
Wed Oct 27 19:02:41 CEST 2021


Marek, Simon,

Thank you very much for your comments. We will remove bnxt commands and will
probe bnxt driver each boot in the next version.
Thanks,

Roman


> -----Original Message-----
> From: Roman Bacik <roman.bacik at broadcom.com>
> Sent: Wednesday, October 27, 2021 9:47 AM
> To: Marek Behún <kabel at kernel.org>
> Cc: Simon Glass <sjg at chromium.org>; U-Boot Mailing List <u-
> boot at lists.denx.de>; Bharat Gooty <bharat.gooty at broadcom.com>;
> Aswath Govindraju <a-govindraju at ti.com>; Bin Meng
> <bmeng.cn at gmail.com>; Franck LENORMAND
> <franck.lenormand at nxp.com>; Heinrich Schuchardt
> <xypron.glpk at gmx.de>; Kory Maincent <kory.maincent at bootlin.com>;
> Michal Simek <michal.simek at xilinx.com>; Patrick Delaunay
> <patrick.delaunay at foss.st.com>; Peng Fan <peng.fan at nxp.com>; Priyanka
> Jain <priyanka.jain at nxp.com>; Rayagonda Kokatanur
> <rayagonda.kokatanur at broadcom.com>; Sean Anderson
> <sean.anderson at seco.com>
> Subject: RE: [PATCH v3 2/2] cmd: brcm: netXtreme commands
>
> Hi Marek
>
> > -----Original Message-----
> > From: Marek Behún <kabel at kernel.org>
> > Sent: Wednesday, October 27, 2021 9:36 AM
> > To: Roman Bacik <roman.bacik at broadcom.com>
> > Cc: Simon Glass <sjg at chromium.org>; U-Boot Mailing List <u-
> > boot at lists.denx.de>; Bharat Gooty <bharat.gooty at broadcom.com>;
> > Aswath Govindraju <a-govindraju at ti.com>; Bin Meng
> > <bmeng.cn at gmail.com>; Franck LENORMAND
> > <franck.lenormand at nxp.com>; Heinrich Schuchardt
> > <xypron.glpk at gmx.de>; Kory Maincent <kory.maincent at bootlin.com>;
> > Michal Simek <michal.simek at xilinx.com>; Patrick Delaunay
> > <patrick.delaunay at foss.st.com>; Peng Fan <peng.fan at nxp.com>;
> Priyanka
> > Jain <priyanka.jain at nxp.com>; Rayagonda Kokatanur
> > <rayagonda.kokatanur at broadcom.com>; Sean Anderson
> > <sean.anderson at seco.com>
> > Subject: Re: [PATCH v3 2/2] cmd: brcm: netXtreme commands
> >
> > On Wed, 27 Oct 2021 08:05:11 -0700
> > Roman Bacik <roman.bacik at broadcom.com> wrote:
> >
> > > chimp_ld_secure #this command loads FW, which is necessary for PCIe to
> > > enumerate it
> > > pci enum #this command is necessary to call bnxt_bind
> >
> > Wait, so what is this firmware for? Is it firmware for the netXtreme
> > controller or for PCIe controller itself?
>
> It is FW for netXtreme controller.
>
> >
> > If it is for the ethernet controller, you should be able to determine
> > whether there is netXtreme card present on the PCI bus without loading
> > the firmware, by looking at PCI vendor / device ID.
>
> The current code fails to enumerate PCI if FW is not loaded. Loading FW
> and trying to enumerate again still fails. Only reset helps after that.
>
> >
> > In that case the firmware should be loaded when the ethernet controller
> > is requested for, i.e. the ethact env variable points to that
> > controller and a network command is executed (dhcp, tftpboot, ...).
> >
> > (The ethact variable is used to set which ethernet controller is used
> >  for network commands when there are multiple etherent controllers.)
>
> Thanks,
>
> Roman

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4206 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211027/c3d44491/attachment.bin>


More information about the U-Boot mailing list