From: Ayman El-Khashab <ayman@elkhashab.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] trouble with u-boot and bist fail on pcie adapter
Date: Mon, 19 Oct 2009 01:21:16 -0500 [thread overview]
Message-ID: <4ADC055C.6080006@elkhashab.com> (raw)
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
next reply other threads:[~2009-10-19 6:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 6:21 Ayman El-Khashab [this message]
2009-10-19 7:35 ` [U-Boot] trouble with u-boot and bist fail on pcie adapter Wolfgang Denk
2009-10-19 16:19 ` ayman at elkhashab.com
2009-10-20 8:25 ` Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ADC055C.6080006@elkhashab.com \
--to=ayman@elkhashab.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox