From: Ian Campbell <ijc@hellion.org.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] HACK: arndale: deinit scsi before launching Linux
Date: Thu, 09 Oct 2014 08:40:47 +0100 [thread overview]
Message-ID: <1412840447.11505.4.camel@hellion.org.uk> (raw)
In-Reply-To: <20141008081803.F16E438352D@gemini.denx.de>
On Wed, 2014-10-08 at 10:18 +0200, Wolfgang Denk wrote:
> Dear Ian Campbell,
>
> In message <1412690200-6630-2-git-send-email-ijc@hellion.org.uk> you wrote:
> > From: Ian Campbell <ian.campbell@citrix.com>
> >
> > NOT TO BE APPLIED AS IS
> >
> > Without this Linux fails to correctly init the phy (or something) and cannot
> > detect the disk.
> >
> > Even with this we can fail to detect the disk outselves on some fraction of
> > boots, so something else is clearly up too.
>
> Why does the Subject: say "scsi" when you actually mean SATA?
The patch is adding "scsi_deinit" to mirror the existing "scsi_init"
function, and the u-boot CLI command (and dev name to load etc) is
"scsi". On this platform (as with several others) it happens that scsi
is backed by a sata device, that's all.
> Note that this is a bug fix.
But as noted above and in the series cover letter (more details there)
it is not a complete one. I'm hoping the maintainers might know of a
correct fix, which probably means "correct peripheral shutdown
processs".
Ian.
> U-Boot should _always_ shut down all
> peripherals it used before booting an OS, see [1]
>
> [1] http://www.denx.de/wiki/U-Boot/DesignPrinciples
>
> Best regards,
>
> Wolfgang Denk
>
prev parent reply other threads:[~2014-10-09 7:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 13:56 [U-Boot] [PATCH RFC 0/2] u-boot: arndale: Support for SATA controller Ian Campbell
2014-10-07 13:56 ` [U-Boot] [PATCH 1/2] exynos5250/arndale: Enable SATA/AHCI support Ian Campbell
2014-10-26 7:27 ` Minkyu Kang
2014-10-29 10:34 ` Ian Campbell
2014-10-29 14:09 ` Minkyu Kang
2014-10-07 13:56 ` [U-Boot] [PATCH 2/2] HACK: arndale: deinit scsi before launching Linux Ian Campbell
2014-10-08 8:18 ` Wolfgang Denk
2014-10-09 7:40 ` Ian Campbell [this message]
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=1412840447.11505.4.camel@hellion.org.uk \
--to=ijc@hellion.org.uk \
--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