Re: i.MX6 PCIe support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Can you please compile barebox with config PCI_DEBUG set and provide the
> output of that? Mybe with and without your change applied?

Here's the output (I also added the code to print bridge's *_BASE and
*_LIMIT values):

Good (with my change present):

imx6-pcie 1ffc000.pcie: Link up, Gen=1
pci: pci_scan_bus for bus 0
pci:  last_io = 0x00000000, last_mem = 0x01000000, last_mem_pref = 0x00000000
pci: class = 00000604, hdr_type = 00000001
pci: 00:00 [16c3:abcd]
pci: pci_scan_bus for bus 1
pci:  last_io = 0x00000000, last_mem = 0x01000000, last_mem_pref = 0x00000000
pci: class = 00000200, hdr_type = 00000000
pci: 01:00 [8086:1531]
pci: pbar0: mask=ff800000 NP memory 8388608 bytes
pci: pbar1 set bad mask
pci: pbar2: mask=ffffffe1 io 32 bytes
pci: pbar3: mask=ffffc000 NP memory 16384 bytes
pci: pbar4 set bad mask
pci: pbar5 set bad mask
pci: pci_scan_bus returning with max=02
pci: pbar0: mask=fff0000e NP memory 1048576 bytes
pci: pbar1 set bad mask
pci-16c3:abcd.0: bridge window [mem 0x10000000-0x00000000 pref]
pci-16c3:abcd.0: bridge window [mem 0x01000000-0x01800000]
pci-16c3:abcd.0: bridge window [io 0x00000000-0x00000000]

Bad (without my change present):

imx6-pcie 1ffc000.pcie: Link up, Gen=1
pci: pci_scan_bus for bus 0
pci:  last_io = 0x00000000, last_mem = 0x01000000, last_mem_pref = 0x00000000
pci: class = 00000604, hdr_type = 00000001
pci: 00:00 [16c3:abcd]
pci: pbar0: mask=fff0000e NP memory 1048576 bytes
pci: pbar1 set bad mask
pci: pci_scan_bus for bus 1
pci:  last_io = 0x00000000, last_mem = 0x01100000, last_mem_pref = 0x00000000
pci: class = 00000200, hdr_type = 00000000
pci: 01:00 [8086:1531]
pci: pbar0: mask=ff800000 NP memory 8388608 bytes
pci: pbar1 set bad mask
pci: pbar2: mask=ffffffe1 io 32 bytes
pci: pbar3: mask=ffffc000 NP memory 16384 bytes
pci: pbar4 set bad mask
pci: pbar5 set bad mask
pci: pci_scan_bus returning with max=02
pci-16c3:abcd.0: bridge window [mem 0x10000000-0x00000000 pref]
pci-16c3:abcd.0: bridge window [mem 0x01100000-0x01900000]
pci-16c3:abcd.0: bridge window [io 0x00000000-0x00000000]


Regards,
Andrey

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux