On Wed, 15 Jun 2011 22:10:30 -0700, Prafulla Wadaskar <prafu...@marvell.com> wrote: > > > > -----Original Message----- > > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > > On Behalf Of Philip Hands > > Sent: Wednesday, June 15, 2011 3:24 PM > > To: u-boot@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
pgpcmcz3HwzOb.pgp
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot