public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] trouble with u-boot and bist fail on pcie adapter
@ 2009-10-19  6:21 Ayman El-Khashab
  2009-10-19  7:35 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Ayman El-Khashab @ 2009-10-19  6:21 UTC (permalink / raw)
  To: u-boot

I am using a recent version of u-boot (git from the past couple of 
weeks) and have an LSI SAS adapter on a canyonlands board.
What I see happening is that u-boot reads the bist bit, then does 
numerous bar accesses, then sets the bist fail and latency words.
Once the bist is set to fail, the lsi adapter doesn't respond to 
anything else and so Linux fails to see it when it boots.  I've tried 
turning
off pcie support in u-boot, in that case the bist did not get written 
but Linux kernel crashed during the init of the adapter.  The LSI
adapter does work fine in a ubuntu PC, so the hardware is likely good.  
This adapter is an LSISAS2008 gen 2 pcie board.  On the
PC it uses both IO and MEM spaces.

I am unsure what to try next -- Linux should not assume any state about 
the adapter -- on the other hand, if u-boot does cause the
board to go into an unrecoverable state, there isn't much the kernel can 
do about that.  any help / suggestions / experiments would be
much appreciated.

Thanks
Ayman

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

end of thread, other threads:[~2009-10-20  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19  6:21 [U-Boot] trouble with u-boot and bist fail on pcie adapter Ayman El-Khashab
2009-10-19  7:35 ` Wolfgang Denk
2009-10-19 16:19   ` ayman at elkhashab.com
2009-10-20  8:25     ` Stefan Roese

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