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=-8.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_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 3649FC433DB for ; Tue, 9 Mar 2021 06:16:56 +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 B8681650EC for ; Tue, 9 Mar 2021 06:16:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8681650EC 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: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:In-Reply-To:References:List-Owner; bh=aG4SEeGTA3kyX+sFkc0VDK7V2jdHU4UjAkHZII7tzkg=; b=WN7MyUOy4ZFDMQV5fpdf1XJ9+O AXpXxyVPmC0eYz37CZHWuXRZCHMvvQjbJ1H5ubkpvLP9mdldahINz2g2dDbEsApGroYDtbbZ/xnPt yrh83F5GxMY7MDrzngKG9c1l43CWQ2UI2ufiVsp99pZo5whA3DcezMIFBac749hCGS/Due3ZWGF+e 0Gt6d3mYVo55Uk5IEfMo2KsaIlwKx423RIOB9UZ5AunPiws01owCGbd3GqYsWUEoXVN9xuKKuTX8z BqgK3on9j0t4KkQGB+aR4WNEAvTTDJADZXAW2vlOJ71P1Ev16TzZYTlOHlSLgcoEPt9FVaCy41eW7 ugO4gSuw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJVeY-003rju-1g; Tue, 09 Mar 2021 06:15:34 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJVeS-003rjA-SY for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 06:15:30 +0000 Received: by mail-pj1-x1031.google.com with SMTP id kx1so325873pjb.3 for ; Mon, 08 Mar 2021 22:15:28 -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; bh=h0V3wBFl3kNZPYPG7AS8Khc2hPMWTT8SBUvX31L2qP4=; b=Qs5LsWrd8mscXEkGxyUEmjKVnRx/HBcQrekMTetDzYIcViuQKY/fbMz+sOvb0pw4ZA dawrz6PPXGlU93zcWYMTDi9PZlzTC5e1S1mv9D2SsL5wbecERkacPwo1uR4ismuLB1yb K0V1gjbmV4o1MdeeT277+pZFBHfC4iBailkNTNG8fpu1L9yjz763lzuw4eWjbvn4PBL0 h3UWFJGWOsVJaz3grWjaqo2QMLFgN99ngJEiNrAlPKZgYc4aIYLtghW4j2lsys1kfNjk oc+kwC/12+S+3fqmGPDI6zBIxVFEabpwX/eYRDRdcqyz8WbeeCMceDt5yyD6qHvsU3Qr 0WiA== 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; bh=h0V3wBFl3kNZPYPG7AS8Khc2hPMWTT8SBUvX31L2qP4=; b=uUHHw5CSlL+1LI+gCedtwNYHic3kGsIQsLi5sG20KrKonLFVbY9hb3EuvvPTADIrrH gFV/Krxy7/kpkQINf7u9Z65mHvy1EzMlCKtIf/sXsampuHlA+5UXwUHk7DuAriAq4kkO l4Jj+4iberaU5Q2uVYkWPBaaULe9xkqL1bqfK9fkNaEDf+Rlzu4r4lFGb3uak2JCCasV 3LUzO55KGXgMRWnItKNF5lKiRVqjocNWCIl0pGelsvFUtk4AzOMeeM/dMpqt4RbdKJww tjVl5Rl6ym6X8r6YP7IapNriaqBOaw8Y4VCc41kednZDAiRA6Kzw5BaeE3FxlXmF8lmT PUcg== X-Gm-Message-State: AOAM5318dgbWP1dOd7S4jQlzEMsvuWdhiuhPnVkTyvUAi6Gyr8/EsJ4D 9U6hcyqqkHgBWGH0qtzK15Q= X-Google-Smtp-Source: ABdhPJwSRZbzz+AVt8TbyDZgwFErguWWWxwNBWeXZyWZKnSGNiaqAd5Iq14Pd7UUe8zVRGp+ulGNmg== X-Received: by 2002:a17:90a:5b0b:: with SMTP id o11mr2964605pji.150.1615270527003; Mon, 08 Mar 2021 22:15:27 -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.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Mar 2021 22:15:26 -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 mount failed on MYS-6ULX-IOT board Date: Tue, 9 Mar 2021 14:15:19 +0800 Message-Id: <1615270520-16951-1-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_061529_109746_FD082BD3 X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. 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 This patch intend to fix ubi filesystem mount failed on MYS-6ULX-IOT board, from Micron MT29F2G08ABAEAWP's datasheets, we need to choose 4-bit ECC. Table 18: Error Management Details Description Requirement Minimum number of valid blocks (NVB) per LUN 2008 Total available blocks per LUN 2048 First spare area location x8: byte 2048 x16: word 1024 Bad-block mark x8: 00h x16: 0000h Minimum required ECC 4-bit ECC per 528 bytes Minimum ECC with internal ECC enabled 4-bit ECC per 516 bytes (user data) + 8 bytes (parity data) Minimum required ECC for block 0 if PROGRAM/ ERASE cycles are less than 1000 1-bit ECC per 528 bytes dillon min (1): ARM: dts: imx6ull: fix ubi filesystem mount failed arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dts | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel