public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] pci command does not show Wifi card
@ 2014-08-11 20:55 Fabio Estevam
  2014-08-11 21:16 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2014-08-11 20:55 UTC (permalink / raw)
  To: u-boot

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 ?

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] pci command does not show Wifi card
  2014-08-11 20:55 [U-Boot] pci command does not show Wifi card Fabio Estevam
@ 2014-08-11 21:16 ` Fabio Estevam
  2014-08-11 21:39   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2014-08-11 21:16 UTC (permalink / raw)
  To: u-boot

On Mon, Aug 11, 2014 at 5:55 PM, Fabio Estevam <festevam@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] pci command does not show Wifi card
  2014-08-11 21:16 ` Fabio Estevam
@ 2014-08-11 21:39   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2014-08-11 21:39 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-11 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 20:55 [U-Boot] pci command does not show Wifi card Fabio Estevam
2014-08-11 21:16 ` Fabio Estevam
2014-08-11 21:39   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox