Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp667577ybb; Wed, 25 Mar 2020 07:23:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtBJOHZF59KpBNKqHMCaSmOgDo4uaF9tlYZe3jPhrMzt5OVK6zjBauSJHWFfmA50mXgIgxb X-Received: by 2002:a9d:30c7:: with SMTP id r7mr2535900otg.289.1585146237896; Wed, 25 Mar 2020 07:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585146237; cv=none; d=google.com; s=arc-20160816; b=MBaMT7wwkrLNxiz3G2n30VLqRLT6Jncbi3lGw5czmTnfEttFIESLKYD+CeJFWMZVK1 MYpK7DeBaP3vDfaTRKT89Q/vWjSOOmJL0mWXmawA33dI0xsCxX++uxIVKivneTaAmqUi uWo1R19sBRHJzzgDOEAN535OiC5cPMXDhrr1VCUpSo99zLe1cq+JyTz7LzHvLltfk0CN vyGozOI4I2myqk8OCL9pcrF0kAjOoxz6qHHrsqzY5l1HbuFePkxLCspJg/gk1wYTDeYz Ykl0lwel1ASrkW6Jl8k9zRXkCqbeqpILPPqVPtbo7wjynGyXfclg/FAIQ6YiduXCDQ7k FKcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NR2RALCfd8rSS/oDIEHAtXd82vJW7Hsk6ulYdw+wc04=; b=VhF9a/i7vYs7LLsNkp4dmiFbHI42AzgJLHLw8e5uQfMGcN5nTb2VCHuRxMPlpSYIrq yE28xiZt7tzRtURY0Ook5r6vzl5UMWq1x7Do6ewKe3xfOQPy6bvzF/5gkWHnGlDHxXHt ME2bF4H3PgROFh8iB705vuYbnSA3cNWPl/XiOJDcz2qbdO9gvXJneh3iGxMi8hVGZ83O P0k7RQHcIbDk9of44KwuLG0d0jO1x2EHJz5GENKIFsmrp1PLiWPPg24ofEb2w1w7jQEW c4LiagtcX6KMMXygg5zZlK78KwtsgZsDuUs6iPv6g4PmKq2Jot2CMLzVnf81ZQ2UiKgX fvRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="fhol/5lM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si15005713ots.150.2020.03.25.07.23.45; Wed, 25 Mar 2020 07:23:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="fhol/5lM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727720AbgCYOXO (ORCPT + 99 others); Wed, 25 Mar 2020 10:23:14 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34876 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727683AbgCYOXN (ORCPT ); Wed, 25 Mar 2020 10:23:13 -0400 Received: by mail-wr1-f66.google.com with SMTP id d5so3375990wrn.2 for ; Wed, 25 Mar 2020 07:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=NR2RALCfd8rSS/oDIEHAtXd82vJW7Hsk6ulYdw+wc04=; b=fhol/5lM5IvZRvcSRcYglAhotMmsx+h7Mdx0iKzllcDwdCj0ONi8mneAd+IQViE4PP Ez/ELSeS5qVugsR0bopiA1WCjg32V8+5lqXuGfSLDIvvMLqBE02nB7zH+PW3U9VVGF0e A9nkhBGwhElsFWlPPMYvfy2INjM71FPl54tNoXiZ6ct73rcmb/oKJtaFXKlX09dmcw2Z YqknhxJwJtM6WF8DysisY4HcJn5V2aL9h67yq6Do/iYlqsWapzDIyW27+WBjUrnXOrPp ekTS+j9OlYylXYSa+c2b0Nbxwj//rcF3QpIqfrnOADMtui8QXENj/1Zcp3L0bjavMmpr adog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=NR2RALCfd8rSS/oDIEHAtXd82vJW7Hsk6ulYdw+wc04=; b=K4C9kTlXLgX6X1aQ4K0u/HHw5hfOUew2EWs0XYFZJdvifSJhAIr9IdsupHLHLC0PzZ qm3s+Aq2993neXJs9l6NYjjZwG8e0OKUk+GqlJC2QOatU2gGKJBBXHUW+NFfwLG0GrhJ fwbPSfQmAAMy/NwUDEmsHTlQxYBBH/2HV6hlXSIz1YUY7l5WodzhYFn93lZ6eLSWHYz8 bQsbFdEF379zOMKFn04PTrv8eudw7TzJYKr0jCpHUXjP28+6Pi240oOe1/Qcf6ztWpsA rLB3p1K7sFXui4/wAHVX318Gx+P3Vs9nlzMUozzBCvPC4/OUpedYR8KDNT5zx9lv5IRg cNfA== X-Gm-Message-State: ANhLgQ1QtGaHrtpf9exLafaBjrXLcq5lsAN3PskoaNgaoneEVwNmPYb6 bfGrHoXLCn+H2ia4IuqVrJlQzg== X-Received: by 2002:adf:dd86:: with SMTP id x6mr3688680wrl.169.1585146189020; Wed, 25 Mar 2020 07:23:09 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id k18sm33137543wru.94.2020.03.25.07.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 07:23:08 -0700 (PDT) Date: Wed, 25 Mar 2020 15:23:06 +0100 From: LABBE Corentin To: Jon Hunter Cc: Nicolas Chauvet , Thierry Reding , Prashant Gaikwad , pdeschrijver@nvidia.com, Michael Turquette , sboyd@kernel.org, axboe@kernel.dk, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: tegra124-jetson-tk1: sata doesnt work since 5.2 Message-ID: <20200325142306.GB27961@Red> References: <20200319074401.GA4116@Red> <20200325134003.GA27961@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 02:00:25PM +0000, Jon Hunter wrote: > > On 25/03/2020 13:40, LABBE Corentin wrote: > > On Thu, Mar 19, 2020 at 08:55:38AM +0100, Nicolas Chauvet wrote: > >> Le jeu. 19 mars 2020 ? 08:44, LABBE Corentin a ?crit : > >>> > >>> Hello > >>> > >>> sata doesnt work on tegra124-jetson-tk1 on next and master and at least since 5.2 (but 5.1 works). > >>> [ 0.492810] +5V_SATA: supplied by +5V_SYS > >>> [ 0.493230] +12V_SATA: supplied by +VDD_MUX > >>> [ 2.088675] tegra-ahci 70027000.sata: 70027000.sata supply ahci not found, using dummy regulator > >>> [ 2.097643] tegra-ahci 70027000.sata: 70027000.sata supply phy not found, using dummy regulator > >>> [ 3.314776] tegra-ahci 70027000.sata: 70027000.sata supply ahci not found, using dummy regulator > >>> [ 3.323658] tegra-ahci 70027000.sata: 70027000.sata supply phy not found, using dummy regulator > >>> [ 5.236964] tegra-ahci 70027000.sata: 70027000.sata supply ahci not found, using dummy regulator > >>> [ 5.245867] tegra-ahci 70027000.sata: 70027000.sata supply phy not found, using dummy regulator > >>> [ 5.254706] tegra-ahci 70027000.sata: 70027000.sata supply target not found, using dummy regulator > >>> [ 5.310270] phy phy-sata.6: phy poweron failed --> -110 > >>> [ 5.315604] tegra-ahci 70027000.sata: failed to power on AHCI controller: -110 > >>> [ 5.323022] tegra-ahci: probe of 70027000.sata failed with error -110 > >>> [ 35.694269] +5V_SATA: disabling > >>> [ 35.697438] +12V_SATA: disabling > >> > >> It looks strange, because (on same device) , I have sata working as > >> appropriate, but ethernet fails with me. > >> https://bugzilla.kernel.org/show_bug.cgi?id=206217 > >> > >> It might worth to have another report. > >> > > > > Hello > > > > Mine has ethernet works well. But I hit many problem with it and older kernel. > > Perhaps the 5.1.21, were I am stuck, does not have it. > > > > Anyway, the tegra of kerneci has the same SATA problem. > > https://storage.kernelci.org/next/master/next-20200325/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-baylibre/boot-tegra124-jetson-tk1.txt > > > > Maintainers, any idea on this sata issue ? > > I have checked our bootlogs for v5.6-rc7 and don't see the issue with > either the tegra_defconfig or the multi_v7_defconfig. I am wondering if > this could be due a difference in the bootloader version. Currently we > are testing with a v2019.07 u-boot bootloader. Looks like the kernelci > board is using an older u-boot. Obviously it should still work, but > would be good to know if the reason why were are not seeing this is > because of the bootloader. > > Another thing to check would be the pll_e clock frequency on a working > build and non-working build to see if there is a difference in the pll > frequency that is causing this. > > Cheers > Jon > Hello My uboot is 2016.01-rc4-00002-g3861d78, so a bit old. I have a mainline uboot build for this tegra, but still didnt find a clear way to update it. Did you have a good documentation on how to update it ? If possible some clear uboot commands to update it via tftp. Thanks Regards