Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751941AbdHCJf7 (ORCPT ); Thu, 3 Aug 2017 05:35:59 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:37777 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751523AbdHCJf6 (ORCPT ); Thu, 3 Aug 2017 05:35:58 -0400 MIME-Version: 1.0 In-Reply-To: <18c3b93d-9db2-eb82-8232-7d141e00324e@rock-chips.com> References: <18c3b93d-9db2-eb82-8232-7d141e00324e@rock-chips.com> From: Jagan Teki Date: Thu, 3 Aug 2017 15:05:55 +0530 Message-ID: Subject: Re: rk3288: mmcblk0: error -110 sending status command, retrying To: Shawn Lin Cc: Heiko Stuebner , Jaehoon Chung , Ulf Hansson , linux-mmc@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" , linux-rockchip@lists.infradead.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1951 Lines: 59 On Thu, Aug 3, 2017 at 1:48 PM, Shawn Lin wrote: > > On 2017/8/2 19:09, Jagan Teki wrote: >> >> Hi, >> >> Did anyone observing error -110 and -84 during boot on rk3288 target? >> full log here[1] and used dts node is[2]. > > > -100 is -ETIMEDOUT and -84 is CRC error. So that seems much likely HW > relevant. Have you check the SI of SD slot? Does it means Serial Interface of SD, if yes. I've been added sdio0 for the same. &sdio0 { bus-width = <4>; disable-wp; non-removable; pinctrl-names = "default"; pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>; vmmc-supply = <&vcc_wl>; vqmmc-supply = <&vccio_wl>; status = "okay"; }; > > You don't enable UHS mode so the tuning process won't help. For UHS switch I've added vqmmc-supply vccio_sd: vccio-sd-regulator { compatible = "regulator-fixed"; regulator-name = "vccio_sd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vcc_io>; }; And the slot detecting still 50MHz and timeout still effecting. # fdisk -l [ 120.572927] mmcblk0: error -110 sending status command, retrying [ 120.579880] mmcblk0: error -110 sending status command, retrying [ 120.586707] mmcblk0: error -110 sending status command, aborting [ 120.596373] mmc_host mmc0: Regulator set non-error 0 - 3.3 V [ 120.627875] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 120.701757] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) Disk /dev/mmcblk0: 59 GB, 63483936768 bytes, 123992064 sectors 1937376 cylinders, 4 heads, 16 sectors/track Units: cylinders of 64 * 512 = 32768 bytes thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.