[U-Boot] pci command does not show Wifi card

Marek Vasut marex at denx.de
Mon Aug 11 23:39:46 CEST 2014


On Monday, August 11, 2014 at 11:16:28 PM, Fabio Estevam wrote:
> On Mon, Aug 11, 2014 at 5:55 PM, Fabio Estevam <festevam at gmail.com> wrote:
> > Hi,
> > 
> > On a mx6qsabresd I can see U-boot to detect my Wifi card on boot:
> > 
> > U-Boot 2014.07-16451-g7496820-dirty (Aug 11 2014 - 17:43:44)
> > 
> > CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
> > Reset cause: POR
> > Board: MX6-SabreSD
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
> > 
> >   00:01.0     - 16c3:abcd - Bridge device
> >   
> >    01:00.0    - 8086:08b1 - Network controller
> > 
> > However when the 'pci' command is used I get:
> > 
> > => pci
> > Scanning PCI devices on bus 0
> > BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
> > _____________________________________________________________
> > 00.00.00   0x16c3     0xabcd     Bridge device           0x04
> > 00.01.00   0x16c3     0xabcd     Bridge device           0x04
> > 
> > Bridge device is listed twice and the network controller does not show
> > up.
> > 
> > Is this is a bug within common/cmd_pci.c ?
> 
> Looks like I need to pass the bus number to the pci command to see the
> wifi card:
> 
> => pci 1
> Scanning PCI devices on bus 1
> BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
> _____________________________________________________________
> 01.00.00   0x8086     0x08b1     Network controller      0x80

Right, RTFM ;-)

Best regards,
Marek Vasut


More information about the U-Boot mailing list