Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3489997pxf; Mon, 29 Mar 2021 03:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE+w/2+rV10oUgx9tzesomQu0Ymik7GpsLxwqH8Y5t1kt/JZqQxxPxbR4v4OirXTmV7iE2 X-Received: by 2002:aa7:da97:: with SMTP id q23mr27408679eds.180.1617014972680; Mon, 29 Mar 2021 03:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617014972; cv=none; d=google.com; s=arc-20160816; b=Ez7xPDJya2HvmoT/8M/Go6SGoLJn9MVTs4OQVmE1O3OR/PlSH5boC5n/SQkg98AL1Y eeFOOlQnzjhH9dDFnEtHY9ob6CBpNftNFSJkHeNRsVEO8YFjJFGa8aqTiWoiowbwG3xi aSnKje0FblKV+liONxhIB18RtUr1O87q5EBcygWV3wzpvBTuOpPI5XFt/V4gaakf1PEA 49Srf8tnY4TaOGFJiwYQ29ALmoH69vj+C3TO5oTbfcGDDiBUONCMPHL5XD33lwJVHMru WHdiz061TKdneUHPfcMlOpuTym6B+KjhIbzjgIbdgSROWxf0yNrZnhYoyzQvCj0t/zuh HwGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=v1g0G1MFFHKTt8HLYqX4TJeZOn3OUxsoLyCHDfi4Kgs=; b=JlH+9FLjOb9c8Rc3I6ch7P7eURcE25wp4DoZLMA52yZdzbgsvh8CjOnbsU8xvwZfe1 w/QOCfUK5MK2DarZ2Rj8gJILTKi2Wl4shKXkCh1lr+Y8Ja5lrm/8tE7CHQ1ZRsxWM1Cu cfDbuNrD0QUq6A8nTAwHYJe8P0TaviysTxX9/aVYRYgleQ7A8aoMugK91CT0uX7kh5RV DuSETj8S6Z2PCb+bhZG1Z7ph0X20iFaRhMLNxNaJKHf8j0CMInZvmWnRIj5XmAh7G0id vZIomEsRuWRl4nmq+S1NJ9DwSmTrEAknoR2IzofSopOH4PdG3Ths4slko7zLg9sysL2X YEDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vx5XpuuC; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r27si11922857edw.299.2021.03.29.03.49.10; Mon, 29 Mar 2021 03:49:32 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=vx5XpuuC; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234306AbhC2Iil (ORCPT + 99 others); Mon, 29 Mar 2021 04:38:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:39554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234144AbhC2IXC (ORCPT ); Mon, 29 Mar 2021 04:23:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 12C3B61481; Mon, 29 Mar 2021 08:23:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617006181; bh=IdFDlIIR39il2hMS2AeD6RVlsSd/FAnv32fcqcq+/AU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vx5XpuuC61OGPQaL9lOfm3ag8ZO0t1t5ZTWcH7DXEp9Fi3L9ax6JF3E7vT918iQ5X tSjT9O6O09ypO4p8gddKEDJsWhM4Dcz1nihLNsh/IoXG6H+TUgYFLYEj3lbzy8XGrI gJkbYRlhJDyA8EXSEdR2HdPpkhoGIxChFJw+rbNA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, dillon min , Fabio Estevam , Shawn Guo , Sasha Levin Subject: [PATCH 5.10 148/221] ARM: dts: imx6ull: fix ubi filesystem mount failed Date: Mon, 29 Mar 2021 09:57:59 +0200 Message-Id: <20210329075634.107208227@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: dillon min [ Upstream commit e4817a1b6b77db538bc0141c3b138f2df803ce87 ] For NAND Ecc layout, there is a dependency from old kernel's nand driver setting and current. if old kernel use 4 bit ecc , we should use 4 bit in new kernel either. else will run into following error at filesystem mounting. So, enable fsl,use-minimum-ecc from device tree, to fix this mismatch [ 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 Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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.30.1