From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C6A9C433DB for ; Tue, 9 Mar 2021 06:17:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DD0165256 for ; Tue, 9 Mar 2021 06:17:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DD0165256 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fM0lB4JdpsXnKuyrFZlcZCoBalDD6oH8DC0BhybZC94=; b=rIimFz+ZKAAJqV2KRpdfzTLMqN LqsRs8wqkAK3aIDOtBa6WPl93tzJE4LSWjI/EKIkOnMPkOQpiJu1joYyw3uZPFvsC8G7ozJyFQSkb pd1Jam7dvO+Ze/gflxctxUmvmlkWGFU36YbENpOUWw3/1zfyqXJWTd3c+YBqsa6BYh60Q/FMVpc5L GwpXl9cGoKzlmpmDhsMwBGeThhDnXnroxn0+13A6ZDzOF5a85KZZXHTe9i0fBQ0p3jjCjrlJBd8bN t8sMHt4WPDHxDGsbeL8VBbsyEcFRptu6RcsFvXsmPPR1vhoZcpOBP9WswF19Y4o7u4ACntY8IvrKK /Yp5pyuA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJVee-003rmq-BH; Tue, 09 Mar 2021 06:15:40 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJVeV-003rjZ-GG for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 06:15:33 +0000 Received: by mail-pl1-x629.google.com with SMTP id z5so6056296plg.3 for ; Mon, 08 Mar 2021 22:15:31 -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=dJ59OwdWGoz4uieO5B7lZZmnu1PV3hd13CrtLHpgvq4ht1urNcWkGzLsxsoki/eBUP Q3Rxf8YX/56boGhWXZh6CrZ6YW6dkef+hc0kNGa0kh2qtm4fTitx9NOque54Kms3mpOz qQNHfbeKHxWG+jIOd+SFlITZOvKZfZEKoP2L+2Cb/E7Bt8kyxADtsCrY+VCNgpF/qivo 63sBpzBCgAyMtcRJZ++BfJ9Qz+3LB263dNor5/cw+cw8UYPAd65pPWWmvTs3WVJNzJEk njdwQX5VAnO+Mawa2GnPZxFRTjf9pmhoqLNJYFbywKoUcGq97r5in1nDTHvexFOIe1/j 2DuA== X-Gm-Message-State: AOAM531AxuLAejBo+ebsGz2rtWi9HKPXQKqumEpVDYpQRd/OWdGV2QBE 4Rp3c1sKzN0c3J1DLjaXAnY= X-Google-Smtp-Source: ABdhPJzGD10B5aop6yRousp6OYOLYUjoTDMMOzd4qYkyWZg7Nh1emll8iDfPo8eeqoULCB+i2caZxg== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_061531_632412_BF2A5708 X-CRM114-Status: GOOD ( 12.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel