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.ba...@broadcom.com>
> Sent: Wednesday, October 27, 2021 9:47 AM
> To: Marek Behún <ka...@kernel.org>
> Cc: Simon Glass <s...@chromium.org>; U-Boot Mailing List <u-
> b...@lists.denx.de>; Bharat Gooty <bharat.go...@broadcom.com>;
> Aswath Govindraju <a-govindr...@ti.com>; Bin Meng
> <bmeng...@gmail.com>; Franck LENORMAND
> <franck.lenorm...@nxp.com>; Heinrich Schuchardt
> <xypron.g...@gmx.de>; Kory Maincent <kory.mainc...@bootlin.com>;
> Michal Simek <michal.si...@xilinx.com>; Patrick Delaunay
> <patrick.delau...@foss.st.com>; Peng Fan <peng....@nxp.com>; Priyanka
> Jain <priyanka.j...@nxp.com>; Rayagonda Kokatanur
> <rayagonda.kokata...@broadcom.com>; Sean Anderson
> <sean.ander...@seco.com>
> Subject: RE: [PATCH v3 2/2] cmd: brcm: netXtreme commands
>
> Hi Marek
>
> > -----Original Message-----
> > From: Marek Behún <ka...@kernel.org>
> > Sent: Wednesday, October 27, 2021 9:36 AM
> > To: Roman Bacik <roman.ba...@broadcom.com>
> > Cc: Simon Glass <s...@chromium.org>; U-Boot Mailing List <u-
> > b...@lists.denx.de>; Bharat Gooty <bharat.go...@broadcom.com>;
> > Aswath Govindraju <a-govindr...@ti.com>; Bin Meng
> > <bmeng...@gmail.com>; Franck LENORMAND
> > <franck.lenorm...@nxp.com>; Heinrich Schuchardt
> > <xypron.g...@gmx.de>; Kory Maincent <kory.mainc...@bootlin.com>;
> > Michal Simek <michal.si...@xilinx.com>; Patrick Delaunay
> > <patrick.delau...@foss.st.com>; Peng Fan <peng....@nxp.com>;
> Priyanka
> > Jain <priyanka.j...@nxp.com>; Rayagonda Kokatanur
> > <rayagonda.kokata...@broadcom.com>; Sean Anderson
> > <sean.ander...@seco.com>
> > Subject: Re: [PATCH v3 2/2] cmd: brcm: netXtreme commands
> >
> > On Wed, 27 Oct 2021 08:05:11 -0700
> > Roman Bacik <roman.ba...@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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to