public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] i.mx6q PCIE
@ 2015-01-05 17:35 Ian Molton
  2015-01-05 20:27 ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Molton @ 2015-01-05 17:35 UTC (permalink / raw)
  To: u-boot

Hi folks,

I'm attempting to bring up a custom board with an i.mx6q on it.

I've added support for PCIe and E1000 ethernet, and the PCI bus scans,
showing my card (Intel i210 chip)

The E1000 driver bombs out during init, however.

I've tried inserting code to repeatedly read the BAR for 4k (and print a
".") after bus mastering is enabled, and this manages about 70 cycles
before I no longer see serial output.

if I reset the board, I may or may not get any "." printed, and
sometimes I get completely other characters printed (perhaps serial is
losing sync?).

Anyone have any ideas ?

-Ian

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

* [U-Boot] i.mx6q PCIE
  2015-01-05 17:35 [U-Boot] i.mx6q PCIE Ian Molton
@ 2015-01-05 20:27 ` Fabio Estevam
  2015-01-05 20:30   ` York Sun
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2015-01-05 20:27 UTC (permalink / raw)
  To: u-boot

[Adding more folks on Cc]

On Mon, Jan 5, 2015 at 3:35 PM, Ian Molton <imolton@ad-holdings.co.uk> wrote:
> Hi folks,
>
> I'm attempting to bring up a custom board with an i.mx6q on it.
>
> I've added support for PCIe and E1000 ethernet, and the PCI bus scans,
> showing my card (Intel i210 chip)
>
> The E1000 driver bombs out during init, however.
>
> I've tried inserting code to repeatedly read the BAR for 4k (and print a
> ".") after bus mastering is enabled, and this manages about 70 cycles
> before I no longer see serial output.
>
> if I reset the board, I may or may not get any "." printed, and
> sometimes I get completely other characters printed (perhaps serial is
> losing sync?).
>
> Anyone have any ideas ?

York Sun has also reported issues with this driver:
http://lists.denx.de/pipermail/u-boot/2014-October/190602.html

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

* [U-Boot] i.mx6q PCIE
  2015-01-05 20:27 ` Fabio Estevam
@ 2015-01-05 20:30   ` York Sun
  2015-01-06  9:50     ` Ian Molton
  0 siblings, 1 reply; 4+ messages in thread
From: York Sun @ 2015-01-05 20:30 UTC (permalink / raw)
  To: u-boot

On 01/05/2015 12:27 PM, Fabio Estevam wrote:
> [Adding more folks on Cc]
> 
> On Mon, Jan 5, 2015 at 3:35 PM, Ian Molton <imolton@ad-holdings.co.uk> wrote:
>> Hi folks,
>>
>> I'm attempting to bring up a custom board with an i.mx6q on it.
>>
>> I've added support for PCIe and E1000 ethernet, and the PCI bus scans,
>> showing my card (Intel i210 chip)
>>
>> The E1000 driver bombs out during init, however.
>>
>> I've tried inserting code to repeatedly read the BAR for 4k (and print a
>> ".") after bus mastering is enabled, and this manages about 70 cycles
>> before I no longer see serial output.
>>
>> if I reset the board, I may or may not get any "." printed, and
>> sometimes I get completely other characters printed (perhaps serial is
>> losing sync?).
>>
>> Anyone have any ideas ?
> 
> York Sun has also reported issues with this driver:
> http://lists.denx.de/pipermail/u-boot/2014-October/190602.html
> 

To clarify, the issue I had was solved by fixing the driver, commit
76f8cdb2036bf86ec7193ed13129797f0a32d13d.

York

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

* [U-Boot] i.mx6q PCIE
  2015-01-05 20:30   ` York Sun
@ 2015-01-06  9:50     ` Ian Molton
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Molton @ 2015-01-06  9:50 UTC (permalink / raw)
  To: u-boot

This commit is already in my branch, I'm afraid.

On 05/01/15 20:30, York Sun wrote:
> On 01/05/2015 12:27 PM, Fabio Estevam wrote:
>> [Adding more folks on Cc]
>>
>> On Mon, Jan 5, 2015 at 3:35 PM, Ian Molton <imolton@ad-holdings.co.uk> wrote:
>>> Hi folks,
>>>
>>> I'm attempting to bring up a custom board with an i.mx6q on it.
>>>
>>> I've added support for PCIe and E1000 ethernet, and the PCI bus scans,
>>> showing my card (Intel i210 chip)
>>>
>>> The E1000 driver bombs out during init, however.
>>>
>>> I've tried inserting code to repeatedly read the BAR for 4k (and print a
>>> ".") after bus mastering is enabled, and this manages about 70 cycles
>>> before I no longer see serial output.
>>>
>>> if I reset the board, I may or may not get any "." printed, and
>>> sometimes I get completely other characters printed (perhaps serial is
>>> losing sync?).
>>>
>>> Anyone have any ideas ?
>> York Sun has also reported issues with this driver:
>> http://lists.denx.de/pipermail/u-boot/2014-October/190602.html
>>
> To clarify, the issue I had was solved by fixing the driver, commit
> 76f8cdb2036bf86ec7193ed13129797f0a32d13d.
>
> York
>

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

end of thread, other threads:[~2015-01-06  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 17:35 [U-Boot] i.mx6q PCIE Ian Molton
2015-01-05 20:27 ` Fabio Estevam
2015-01-05 20:30   ` York Sun
2015-01-06  9:50     ` Ian Molton

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