public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philip Hands <phil@hands.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] OpenRD Ultimate SATA & SD
Date: Thu, 16 Jun 2011 11:19:20 +0100	[thread overview]
Message-ID: <87oc1yw02f.fsf@poker.hands.com> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D19FAE66D2C@SC-VEXCH4.marvell.com>

On Wed, 15 Jun 2011 22:10:30 -0700, Prafulla Wadaskar <prafulla@marvell.com> wrote:
> 
> 
> > -----Original Message-----
> > From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
> > On Behalf Of Philip Hands
> > Sent: Wednesday, June 15, 2011 3:24 PM
> > To: u-boot at lists.denx.de
> > Subject: [U-Boot] OpenRD Ultimate SATA & SD
> > 
> > Hi,
> 
> Hi Phil
> Thanks for the feedback.
> 
> > 
> > I've been trying to get a version of u-boot for OpenRD Ultimate that is
> > willing to boot from all of NAND, USB, SD and SATA, and find that SD &
> > SATA is still not possible with -rc1 as packaged for Debian (and it
> > seems that nothing in the subsequent work in the master git would help,
> > but if people tell me that it does, I'll give that a try).
> 
> I don't know which u-boot version you are referring? Once packed with board or one from u-boot.git.

What I'm using is very close to this:

  http://anonscm.debian.org/gitweb/?p=collab-maint/u-boot.git;a=summary

which is, as mentioned, the upstream (i.e. as available from denx.de)
with debian patches added, the main effect of the patches being that one
can then build them as a package -- this used to make more of a
difference when we had a diff aimed at the OpenRD, but as you can see
that was dropped by Clint on 2011-05-21 when it was merged into the
upstream tree:

  Drop openrd-client-and-ultimate.diff (merged).

I've since pulled from git://git.denx.de/u-boot.git, and rebased the
Debian stuff, with my tiny patch added, as seen here:

  http://git.hands.com/u-boot

the Debian build system applies the quilt patches (that are in
./debian/patches) so to see what actually gets built, see:

  http://git.hands.com/?p=u-boot.git;a=shortlog;h=refs/heads/patch-queue/master

which has a commit for each of those patches, as applied, tacked on
after the master branch.

Just to make sure it's not been fixed somehow, I've just recompiled that
without the last "fil-sata-kludge.diff" patch applied (my IRC nick is
'fil' BTW) and now it has now reverted to telling me this:

=-=-=-=-
Marvell>> ide reset

Reset IDE: ide_preinit failed
=-=-=-=-

so that diff is required to make SATA work in the setup I have on the
OpenRD Ultimate (internal SATA, no eSATA).

> For other one, u-boot.git (mainlined) SATA is functional, SD not yet
> supported.

OK, so as I said, SATA only works for me if I disable the probing of the
second SATA port in ide_preinit, as described here:

  http://git.hands.com/?p=u-boot.git;a=commit;h=142f614593c4738fdd9c466d33eb41ef16b6a6b1

As for SD, well, it claims to initialise:

Marvell>> mmc init
SDHC found. Card desciption is:
Manufacturer:       0x1e, OEM "AB"
Product name:       "USD  ", revision 1.0
Serial number:      93331321
Manufacturing date: 8/2010
CRC:                0x00, b0 = 0
mmc1 is available

and then in the past, doing any reading would make it lock up, but I
notice that the version I just built actually lets me boot from SD, so
it might be unsupported, but it works some of the time, at least.

I'll see if I can narrow down when it works for me, or not.

Cheers, Phil.
-- 
|)|  Philip Hands [+44 (0)20 8530 9560]    http://www.hands.com/
|-|  HANDS.COM Ltd.                    http://www.uk.debian.org/
|(|  10 Onslow Gardens, South Woodford, London  E18 1NE  ENGLAND
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110616/66eb553c/attachment.pgp 

  reply	other threads:[~2011-06-16 10:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  9:54 [U-Boot] OpenRD Ultimate SATA & SD Philip Hands
2011-06-16  5:10 ` Prafulla Wadaskar
2011-06-16 10:19   ` Philip Hands [this message]
2011-06-16 12:18     ` Alexei Ozhigov
2011-06-16 20:03       ` Philip Hands
2011-06-17  7:47         ` Prafulla Wadaskar
2011-06-17  8:29           ` Alexei Ozhigov
2011-06-18  5:52             ` Albert ARIBAUD
2011-06-20  9:30               ` Alexei Ozhigov
2011-07-02  6:26                 ` Albert ARIBAUD
2011-08-10 13:18         ` Philip Hands

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=87oc1yw02f.fsf@poker.hands.com \
    --to=phil@hands.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