Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2491593pxb; Tue, 9 Mar 2021 04:03:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNMZocZ9DLjOr+mPFpErA2Jy+XhgZScv+1FYJgGd0s9POQD8AjulGxMIYB1AowyNY2zno4 X-Received: by 2002:a50:e183:: with SMTP id k3mr3660923edl.45.1615291425162; Tue, 09 Mar 2021 04:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615291425; cv=none; d=google.com; s=arc-20160816; b=OcEwLfasj5BpV6VnHELQBZCUsz3UdjkLHuL0D7vjwehoY/0XCmweC5BPxrzdP5MhsY /KxVwzjl3DI97z3cu9QLwd8kCsLAQFXuciR+ZPzdENj47X44Z5ime3cmGUqtQwKQdByk dnWVVkMIVNjSDZAmvzUtjYFiqd/iNb8vB3ELl1WXqu7xPP1SNAv2Jwnb+4ppEgcumM0x gh5ZhF96VVblORcNVmMktzSqPJh+1hRxK6tDDFUR6eJl1I2oxlafookc7325Q77lyhDy DIrnIu60FJ8bXRx2c8JeDFbz7QVd8ofElbgUbiaq3/63Q13HGatQ86l6+e0HNIA9eBlD GlVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tNgJ/13OtvwF9T9vbyUBrplwIfPpk37A2INU8/7rV6k=; b=l2XOg+tbXiPK/jGAVmOgIenih6BodCSngfKPPTg84mKTTYmyWe5TuMRhups4z+zZO3 p35vH25boWpr8feEZN8/bKkkxheX77+dm2FMyzJTcLsnTVmQTT5BuQJN75TaumJ8+gt+ OR61BDcy4PT0gSXmm9nZHyHazuKG6dc7ZiwuYFx+0ULq9DzxzmdgW5/0jWBIuZDbqA60 Su/fcBDMG7FbjPkdhL2tRaECQu5Pn1+ByY2RMe/0v3luWB5NheeOOxaOqw0nmabbmk91 v5qcJyCSWdoeLVA+sZq2l3kERzmNKZwyxYXahrOKRgRzTlhjNSkwQ8z+SN6H+W750SBb TfLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qlMi95vQ; 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 j4si8811134ejm.600.2021.03.09.04.03.22; Tue, 09 Mar 2021 04:03:45 -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=qlMi95vQ; 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 S230319AbhCIMB6 (ORCPT + 99 others); Tue, 9 Mar 2021 07:01:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbhCIMBy (ORCPT ); Tue, 9 Mar 2021 07:01:54 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAB71C06174A; Tue, 9 Mar 2021 04:01:53 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id u4so26663201lfs.0; Tue, 09 Mar 2021 04:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tNgJ/13OtvwF9T9vbyUBrplwIfPpk37A2INU8/7rV6k=; b=qlMi95vQwcItgwgFEnUyvqFWG1fYZ1SviJ++bBW5EimlJei48ImOA/y7Ahp5y3OOHW FQQaRs4wYjP+oV8hHPayS7IJn8bLn1BIII6z9++3ERMykw2dzLEqUlJsfno6tFnyWVKh ai4hdFbNgVqQxHYM3yVKbyjuB/V/TPgTeMKRr0yGycpOojA5E/E9WDXfba/NFgfTOAGp 6Dtqlzg/BRWs/GMfus/Ovw46N2z434QPZMsGaFxkPUIK7QxqQmjF2nzD+zGGqaM78h+C 02zahWd56DZDjZXZdqppPayuoXdh0Be/c8EcYrKC79Vvuhox1AjOSysa1K43aR0Vy2W6 YkyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tNgJ/13OtvwF9T9vbyUBrplwIfPpk37A2INU8/7rV6k=; b=BYWn0N97YSnWEU1vuGHlJnnAuCtDdic/oYwRFCOUJyTvfQG7NIWjmKfb/tUHJa9Ips K8sGyYx1lBHmFD/z6FG+wzjEHocbvOgKaigicdH85l+7jLksDVh75ncxuhrfSSC3/O9f SB8hOACwz5zuJ3U/QBxQE36KH/NvAfaZBqOH03pWBAPukXE2UQq1+kKWfspfvPjsBtTr iJzYEeKQKy4V+JnKI3RAankAs86ONwTuqzhDceUrSOYkjTOat1MXAMQbFeOMrDzThwPr rZzxKINLq++XLeSflbAhw+zA2Av20fb1r0mYk1dwvhf6WXUGdoMu8QcM7go4WuZvtOSY +B4w== X-Gm-Message-State: AOAM5339SDz7hSPNiNtL0mi2785kEtjAzX3xogDxHoNMBP01wWY4l/59 qeh8ZFbRV5Lb9QBDOSah0ZmfJCHbu9cjgp8+YD8= X-Received: by 2002:ac2:520f:: with SMTP id a15mr16719769lfl.223.1615291312274; Tue, 09 Mar 2021 04:01:52 -0800 (PST) MIME-Version: 1.0 References: <1615270520-16951-1-git-send-email-dillon.minfei@gmail.com> <1615270520-16951-2-git-send-email-dillon.minfei@gmail.com> In-Reply-To: <1615270520-16951-2-git-send-email-dillon.minfei@gmail.com> From: Fabio Estevam Date: Tue, 9 Mar 2021 09:01:40 -0300 Message-ID: Subject: Re: [PATCH] ARM: dts: imx6ull: fix ubi filesystem mount failed To: dillon.minfei@gmail.com Cc: Rob Herring , Shawn Guo , Sascha Hauer , Parthiban Nallathambi , Sascha Hauer , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dillon, On Tue, Mar 9, 2021 at 3:15 AM wrote: > > 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 Reviewed-by: Fabio Estevam