public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dmitry Lifshitz <lifshitz@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] arm: omap: reset sata on boot
Date: Tue, 16 Dec 2014 08:50:17 +0200	[thread overview]
Message-ID: <548FD629.2080103@compulab.co.il> (raw)
In-Reply-To: <20141215170040.GB20704@bill-the-cat>

Hi Tom,

On 12/15/2014 07:00 PM, Tom Rini wrote:
> On Mon, Dec 15, 2014 at 04:02:58PM +0200, Dmitry Lifshitz wrote:
>
>> On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA
>> device if it is used by U-Boot.
>>
>> It happens because U-Boot does not reset SATA controller before boot.
>>
>> Reset the controller on OS boot so that Linux will have a clean state
>> to work with.
>>
>> Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
>
> To be clear, since we're using CMD_SCSI and not CMD_SATA is why we need
> this reset sequence here instead of the sata_stop() that say i.MX uses.

You are right, sata_stop() can be used here.

Unfortunately, OMAP SATA access is implemented via SCSI, so I managed to 
implement this workaround.

Regards,

Dmitry

  reply	other threads:[~2014-12-16  6:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 14:02 [U-Boot] [PATCH 0/5] arm: omap: reset sata on OS boot Dmitry Lifshitz
2014-12-15 14:02 ` [U-Boot] [PATCH 1/5] ahci: introduce ahci_reset() Dmitry Lifshitz
2014-12-15 17:00   ` Tom Rini
2015-01-07 15:12   ` [U-Boot] [U-Boot,1/5] " Tom Rini
2014-12-15 14:02 ` [U-Boot] [PATCH 2/5] ahci-plat: provide a weak scsi_bus_reset() hook Dmitry Lifshitz
2014-12-15 17:00   ` Tom Rini
2015-01-07 15:12   ` [U-Boot] [U-Boot, " Tom Rini
2014-12-15 14:02 ` [U-Boot] [PATCH 3/5] OMAP5+: sata/scsi: implement scsi_bus_reset() Dmitry Lifshitz
2014-12-15 17:00   ` Tom Rini
2015-01-07 15:12   ` [U-Boot] [U-Boot, " Tom Rini
2014-12-15 14:02 ` [U-Boot] [PATCH 4/5] arm: omap: reset sata on boot Dmitry Lifshitz
2014-12-15 17:00   ` Tom Rini
2014-12-16  6:50     ` Dmitry Lifshitz [this message]
2015-01-07 15:12   ` [U-Boot] [U-Boot,4/5] " Tom Rini
2014-12-15 14:02 ` [U-Boot] [PATCH 5/5] omap5: cm-t54: add sata support Dmitry Lifshitz
2014-12-15 17:00   ` Tom Rini
2015-01-07 15:12   ` [U-Boot] [U-Boot,5/5] " Tom Rini

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=548FD629.2080103@compulab.co.il \
    --to=lifshitz@compulab.co.il \
    --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