From: Maxime Ripard Date: Thu, 9 Nov 2017 10:36:15 +0100 Subject: [U-Boot] sunxi: SATA link timeout fix In-Reply-To: References: <59FF151D0200008100047E53@fh-dortmund.de> Message-ID: <20171109093615.lthffnbqomfe5gz5@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On Thu, Nov 09, 2017 at 02:48:18PM +0530, Jagan Teki wrote: > On Wed, Nov 8, 2017 at 5:35 PM, Peter Robinson wro= te: > > On Wed, Nov 8, 2017 at 11:32 AM, Jagan Teki = wrote: > >> On Tue, Nov 7, 2017 at 5:43 PM, Jagan Teki = wrote: > >>> On Sun, Nov 5, 2017 at 7:11 PM, Werner B=C3=B6llmann > >>> wrote: > >>>> After updating u-boot from v2016.01 to 2017.09 i got a "SATA link 0 = timeout." on my Cubietruck board. > >>>> I tracked this down to this patch. > >>>> > >>>> http://git.denx.de/?p=3Du-boot.git;a=3Dcommitdiff_plain;h=3D9fbb0c3a= a49f4604b0342cb527a6bd099f92eaeb. > >>> > >>> Look like mdelay missing while moving to board file. > >> > >> Can someone test this? > > > > I boot my Cubietruck off a SATA drive without issues with any of those > > intervening releases but it's a SSD so there would be no spin up time > > compared to spinning rust, I don't have a spare spinning disk to test > > it with though. >=20 > So w/o the mdelay work for you? I guess the point of this patch was that you need to have the delay, but the time between the two function calls might cover it, and apparently in some case doesn't. So whether it works in one particular case is entirely moot. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: