From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D9572DF716 for ; Fri, 17 Oct 2025 12:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760702890; cv=none; b=rph+guHA1BPequKeuJS55XxL3SU/xWtOjVe2U3s/frZrrxZfIQlvoJzox7Gc3UYGkIToW33hMH6lmJoUYUdwIe8y1TCWs5KpahQmVUtA9b2QY8c5Oq281e55TQ+nWdxS2pZ8h5PIBE28wAKbq+Arm1heqb8HqUUeijvPdmKby1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760702890; c=relaxed/simple; bh=pacw/ENbcv+KCNhsoYxWKd5E57eceNXFXgqAbXeIWAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tjnEqJGvQWXJBHYzGAF4FHl2FGCJuRWkveKwRah8R3ansfmq3Lua07nfPa4qw7DT0ScffJsYzhv+eE1RCzImLbL6iJujNg/4g5KhDhotWPguAXnpqYTARnXH4fmXOBzmM6M1MkO2+B7Zilj40Ypf14gcbZ+qysZBLz9y2N30LeM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aHDf+r6b; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aHDf+r6b" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-b62ed9c3e79so1259202a12.0 for ; Fri, 17 Oct 2025 05:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760702888; x=1761307688; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=D1OQBcJjNvMdiwaszp4KDFRPLfNnLBhAgYvcBECQKgE=; b=aHDf+r6bLAe2akeLxNcvR40L0o0J3ca95uI8CRwCJQ0G+EQw+IKeoKc0o3YOCU83Wt SOqcx9BSx+rWzR4i3c0uPIL+JSwNE+sq1NhjlSPV/Tb/nswX6Qzxz2fy7hBjnbDIs9Q5 aI6Wzl8OI5C7K9qIH2qke0QvI4M00QnzncCtjyxcUdbO95Ke96Bxx8/wO1cAxmOi5vTU HCW+XexCM4TzEo/0OD3DwvF6RYREDbcG05ROtCv/j3QbWc8D4FhEh3Thes2eTEGYc+jQ 37YTsSfMdC/HfVgKVw9nzZJd40m9OADp94fcm6YLMm3rygqoD193CCeH1kEyoNNj+nej kAgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760702888; x=1761307688; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=D1OQBcJjNvMdiwaszp4KDFRPLfNnLBhAgYvcBECQKgE=; b=eHlVb1nRRaxsCcCvIfULwTXty8N1i3U/xeS2GB2K4yFVoczsLeX1hrhhjeIPDgL4KW O6d64J5ORZ6gDArBqzwxMXmgR5cBFr/USM6X7kPBuVZFv7ps0zbCvHlK9z9TP1TfVgNN yKQAnSQGbjhHEF+81BsF3EQD+SDFjBVtDJUACJowsrTVKsniKAxdVKlBdqIWKCtbA2L/ gBPDISZFNxxm8dA9YelXvypTyX5GX8Kk/BOQnQdDrzN6E7mqPSot1iib+iIgtG5cmMXh 5MnUuCF4/jF7MsjNYiCqgG8AiU1Q/D4z3GHplvSHkF4h+Xw4cKjRblZER5L8IVz6gJch bBVg== X-Forwarded-Encrypted: i=1; AJvYcCW0HcgC6+ahaTwSsYs7Id3x1SYTm/FIpDuIwtLnN3O30Ji6yzP8UQwCkS7xXO0krSc56Ru26J97CqpLT6c=@vger.kernel.org X-Gm-Message-State: AOJu0Yzbvj6cXufI1KRBRW9zxBfdZV1GsKjGensotiAfPc80VGjpUYNG HjXQdATudvXROS/7a86mfC3ij/CtEw3Tk9jpxJRCMCUp94i/xaRKK3lF X-Gm-Gg: ASbGncuoTGQC7fWzFcZCcBGl85PtMqoK0NVw5EQHg0T7HrNebr7BVxSjQ7mcG0GC4gR xMIxW4CcaoDZOvTq06X1a8jLygSRYsDARMk2kgTaAOnQIaAy/WBeQOtwLRBRNG4gtbhCbTaz8WN SP/Xko36FmYCXKsYZk09nSJSS8fPRv3hMxy/goCGd982m5PHTLbZaAUE8DYTzc08AGImRnzqp7l R1aYMYxG15j+KKgjHieQYLLPdwrep5/m8+JTK1KtEtDUKz4+jB2H5Djh2ItqLj66Aj8tXE4w3tR 0BhArj+pW6FF1juRlp1U0Gj0ICAcG/mwbWWZWPIuD34RDoKgJT1nDZ43IRG+IR1Mc8aiRE6yvBx dQEV6RSHrStXCyijSJfRZ+QpfryzpD79z+HeutGcUfvzIeKcMnM6TkCSmpRFXqg== X-Google-Smtp-Source: AGHT+IFnsq6kZGk/fHm/e4FGVx4CFf8u3uhudH43GQxU6NT4qAtaZrIavqrUcVzL980LCDRQymv9AQ== X-Received: by 2002:a17:902:d50a:b0:27d:339c:4b0 with SMTP id d9443c01a7336-290cba4efb1mr43185145ad.35.1760702887862; Fri, 17 Oct 2025 05:08:07 -0700 (PDT) Received: from CNSZTL-PC.lan ([2401:b60:5:2::a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b6a228a5b5csm5822966a12.13.2025.10.17.05.08.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Oct 2025 05:08:07 -0700 (PDT) Message-ID: Date: Fri, 17 Oct 2025 20:08:03 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: rockchip: fix eMMC corruption on NanoPC-T6 with A3A444 chips To: Dragan Simic Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Grzegorz Sterniczuk , Jonas Karlman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20251017073954.130710-1-cnsztl@gmail.com> <7f0b1747-87eb-0b0b-6fb0-304811a4be21@manjaro.org> From: Tianling Shen In-Reply-To: <7f0b1747-87eb-0b0b-6fb0-304811a4be21@manjaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Dragan, On 2025/10/17 18:25, Dragan Simic wrote: > Hello Tianling, > > On Friday, October 17, 2025 09:39 CEST, Tianling Shen wrote: >> From: Grzegorz Sterniczuk >> >> Some NanoPC-T6 boards with A3A444 eMMC chips experience I/O errors and >> corruption when using HS400 mode. Downgrade to HS200 mode to ensure >> stable operation. > > Could you, please, provide more details about the troublesome eMMC > chip that gets identified as A3A444, i.e. what's the actual brand > and model? Maybe you could send a picture of it? It might also > help if you'd send the contents of "/sys/class/block/mmcblkX/device > /manfid" from your board (where "X" should equal two). Unfortunately I don't have this board nor this eMMC chip. I got the chip model from my friend, it's FORESEE FEMDNN256G-A3A44, manfid is 0x0000d6. > > I'm asking for that because I'd like to research it a bit further, > if possible, because some other eMMC chips that are also found on > the NanoPc-T6 seem to work fine in HS400 mode. [1] It may be that > the A3A444 chip has some issues with the HS400 mode on its own, > i.e. the observed issues may not be caused by the board. Yes, it should be caused by this eMMC chip. Thanks, Tianling. > > [1] https://github.com/openwrt/openwrt/issues/18844 > >> Signed-off-by: Grzegorz Sterniczuk >> Signed-off-by: Tianling Shen >> --- >> arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi >> index fafeabe9adf9..5f63f38f7326 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi >> @@ -717,8 +717,7 @@ &sdhci { >> no-sd; >> non-removable; >> max-frequency = <200000000>; >> - mmc-hs400-1_8v; >> - mmc-hs400-enhanced-strobe; >> + mmc-hs200-1_8v; >> status = "okay"; >> }; >