Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2316738pxb; Mon, 8 Mar 2021 22:17:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0MTdNI4R9L9wASuhn0SICso278euS7ozbbws5wMdTNeyzTJvygHhxnL5o5yPgtp587NrO X-Received: by 2002:a05:6402:382:: with SMTP id o2mr2359506edv.238.1615270650912; Mon, 08 Mar 2021 22:17:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615270650; cv=none; d=google.com; s=arc-20160816; b=bxR3MMuG1P91sPC/z4D7tri48/C+WU/oNmbfngKjYu12n7U+gYyhkn9y/6R9QDSMIJ 73s7eBvJf8PWiIATH2BvCLrvfMig/B8ZawiI8yVQj0yRsLJ0S5GPbJm4S8uMFAVHa26v 6szW7mRzq/QEyuGVbQ8yIR2WskIFmxiCcapX0jONErEGPu3M10Z0vcRYzHO5TUF6IapV 0rANBh4z4j0uuP0iwtw8WQBURhdwpnBGWMgQrSCzfOUvQdXq1upUFz9XIfAVLZwlbnxE 8t5gP5MqQReyXQ/jQWFKXT3/+IstHKTjXBkv/0da4IzZbMGwUwgGYBKZR8e/7+/sHx1m bpOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=BfKik6ijF9a1daxpx/u1Qu+UYWjPOhkfxe7xX5AYUvs=; b=p0lpZRX0T0k8pyziREDDfReEdamAcf2iFQBO+ratBwO1/JeAIqFP1ozN7BnIHc6bcA nVQhK88lwUOizeZoTygH4s3GpJRqC0ztWUu1Vu7pOKEvuWSlSVY3BTm0Zt+up0RBxcwP 5ZjGIkEPogZKmJL2MkcMxmx5hlMOPCVkKRL/fJcIVj3BqgJ8AcFmMlJHh3PJVrr5Utbw b+cBzNzrFjcNQHn6xyvQ5NRGjZNk/DQJ+AgOBfnnBgQA53gQX/8WUZfgguGQHqzpLS0Q TOz9hPWpPHk+Ow8uMbqI0INOeSmW9a0CGpFyh5k5bpjm8+6cNGCHUqMHjBbYS2Xczbra YrvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="u0Hf3/NP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si5794279edw.354.2021.03.08.22.17.08; Mon, 08 Mar 2021 22:17:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="u0Hf3/NP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbhCIGPo (ORCPT + 99 others); Tue, 9 Mar 2021 01:15:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhCIGPa (ORCPT ); Tue, 9 Mar 2021 01:15:30 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B30FC06174A; Mon, 8 Mar 2021 22:15:30 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id d8so6031537plg.10; Mon, 08 Mar 2021 22:15:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BfKik6ijF9a1daxpx/u1Qu+UYWjPOhkfxe7xX5AYUvs=; b=u0Hf3/NPIUVfEZTtN/lyB5PKv3tFPsXp/CdO8J0zc5Djcmcd/GRHV1gPfkPnS2plLU 6+ircmO/UAbGat1pOeFQJ84YWhpV8R+glhY2XLrG63YTKYWGXFHuuyhJ9ADsuTjPgG/i xKmdR14WRjS7KC1HU+kcaKyEZvWzKKZE1JlfvjlMsJNwqioc0E9k7OiezwPvDK6XVaLn szV2IQ60Mz6v8fZBKIRRCLtjWdgy3saFyDE7S2vX5dF1IhnBhXSDocFG62fXI+OWnEop ef4rjDWJpZ12kwMCi+446fEY6O/b3u60Ro3OrmXFkz9ax9oNSJZcDOVE0j06+DppWYbX BDuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BfKik6ijF9a1daxpx/u1Qu+UYWjPOhkfxe7xX5AYUvs=; b=VmVO9pM6ybWokBi040VIaDsojkT1J5h42SEwcNAe1MK4KTSa82jkMZ0Zee/LQWtJGx d/8fQwtbQsOQ7vBq4Bz1MOhodL+eZdbXLFIJQvI90v4go+xH1N4F6jCP60NSNQERi6y7 mfPRKTdTNNVD6Hu9vocGcXO/gkStRQXaLq4Au9QDBOhhnWNaT6qMVZsel7EvEDRMQtoe C4L9uuo1SCjE0hiGs3XndaTGbADrmJDsBh40npZD3Q7oerbzsTq9EacGm84oDtUwD8zY HoLSQO8dfzdLr9qlMQqTDdOPjRJ7JNrKlZ3yZlZ42D82RldDiuzGMe91vgcd8UJPab5/ qlVQ== X-Gm-Message-State: AOAM533DLgGZFeLuXZna5MxCRcJ9pk4OW3ljC36XnHm6p6n1cJCUm1sg mzsSmqD06btKsszt2kByEhw= X-Received: by 2002:a17:902:f547:b029:e4:7332:c94b with SMTP id h7-20020a170902f547b02900e47332c94bmr24417069plf.69.1615270530122; Mon, 08 Mar 2021 22:15:30 -0800 (PST) Received: from fmin-OptiPlex-7060.nreal.work ([137.59.103.165]) by smtp.gmail.com with ESMTPSA id r23sm1464613pje.38.2021.03.08.22.15.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Mar 2021 22:15:29 -0800 (PST) From: dillon.minfei@gmail.com To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, parthiban@linumiz.com, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: dillon min Subject: [PATCH] ARM: dts: imx6ull: fix ubi filesystem mount failed Date: Tue, 9 Mar 2021 14:15:20 +0800 Message-Id: <1615270520-16951-2-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615270520-16951-1-git-send-email-dillon.minfei@gmail.com> References: <1615270520-16951-1-git-send-email-dillon.minfei@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: dillon min since Micron MT29F2G08ABAEAWP's ecc error management: |Description | Requirement |Minimum required ECC | 4-bit ECC per 528 bytes |Minimum ECC with internal ECC enabled | 4-bit ECC per 516 bytes (user data) + 8bytes (parity data) to avoid unnecessary overheads related to bigger ecc calculations. need choose to use fsl,use-minimum-ecc, else will run into ecc error. [ 9.449265] ubi0: scanning is finished [ 9.463968] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 513:4096, read only 22528 bytes, retry [ 9.486940] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 513:4096, read only 22528 bytes, retry [ 9.509906] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 513:4096, read only 22528 bytes, retry [ 9.532845] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 22528 bytes from PEB 513:4096, read 22528 bytes Fixes: f9ecf10cb88c ("ARM: dts: imx6ull: add MYiR MYS-6ULX SBC") Signed-off-by: dillon min --- arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts b/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts index ecbb2cc5b9ab..79cc45728cd2 100644 --- a/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts +++ b/arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts @@ -14,5 +14,6 @@ }; &gpmi { + fsl,use-minimum-ecc; status = "okay"; }; -- 2.7.4