Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp259897ybi; Tue, 2 Jul 2019 20:07:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1Ckwiqp7ftB/kSj/eeE0LWKg0eNRUcNhzT39YV2hyPtwlFKE6a2c66jVPA5O+cumBlFdJ X-Received: by 2002:a63:dc09:: with SMTP id s9mr34547703pgg.425.1562123238526; Tue, 02 Jul 2019 20:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562123238; cv=none; d=google.com; s=arc-20160816; b=esbi4EH5o0hISkIzd1Uvvf36BLpA8s0GnbS1wRpJQIMkIkWmK2mM1ieA9RV1HYScbo icj81M5sE+iKO3DejvAtYWqF51C91sAMk9MeuI+T8G41ywtHrg3g4PvVVk6FyVx8/zDG ZbisALnaZuMENVmRI4BJzD43CjaUplxEIeCQAoETWf+CWPO+0Qi8Jnxtmg/BpeTVQ75/ HPnLbklMZev5NeZ5z2Cutxcbcly9qjfhRCcjSJWfd67mePVizH3lRTq36Bb67K9kUoQ0 8jPHLhdiYT910rJC9JTGj5SfJ+wrkgPoavaFMnwKWWBOT2rKltl9iYq5Oi76E3RDQOci 8hFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:message-id:mime-version:subject :cc:to:references:in-reply-to; bh=Uh8FLQEZ/nbO7WSW7vx6vVnS6vk3FGDdS4zw3EzxLDg=; b=JoOTmr2oB7eYMGchRbYb+PTm+fhEWAFznIGQorkEcNMXQ91r35z8/VdI6bpse/E1yM SXr9eNioK/6HVlLn11dWY+6pz5QPJPHa9o3t7dd84xXjSUppYrHxoXOGehfkSHXhkH13 QsJhDAf/dowrcwR+rZnmpjBME/k4n5Reue+3USJaLxzIu61xx4aYNQpgwAt9QD1mLB0b WTVKbGsM1npK+RQpmvGvgPx4xRn9yzf/vUoa5eQztiTh1+GrBX2eFkoHSXkFBOuUs8YQ 1ZLALjha6Xf5XDqNrKNV0h22pxyTCtKWGTKahyzhZb7OaEiKrpB1qRMa1XDclp31ebEQ Xc8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si561678pjs.13.2019.07.02.20.07.01; Tue, 02 Jul 2019 20:07:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727208AbfGCDFK (ORCPT + 99 others); Tue, 2 Jul 2019 23:05:10 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:33536 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727049AbfGCDFK (ORCPT ); Tue, 2 Jul 2019 23:05:10 -0400 Received: from twhfmlp1.macronix.com (twhfm1p1.macronix.com [172.17.20.91]) by TWHMLLG3.macronix.com with ESMTP id x6333J7g046150; Wed, 3 Jul 2019 11:03:19 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from MXML06C.mxic.com.tw (mxml06c.macronix.com [172.17.14.55]) by Forcepoint Email with ESMTP id 1CBFD7CFFB98E88ECBE7; Wed, 3 Jul 2019 11:03:19 +0800 (CST) In-Reply-To: <20190627193635.29abff43@xps13> References: <1561443056-13766-1-git-send-email-masonccyang@mxic.com.tw> <1561443056-13766-2-git-send-email-masonccyang@mxic.com.tw> <20190627193635.29abff43@xps13> To: "Miquel Raynal" Cc: anders.roxell@linaro.org, bbrezillon@kernel.org, broonie@kernel.org, christophe.kerello@st.com, computersforpeace@gmail.com, devicetree@vger.kernel.org, dwmw2@infradead.org, jianxin.pan@amlogic.com, juliensu@mxic.com.tw, lee.jones@linaro.org, liang.yang@amlogic.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, paul@crapouillou.net, paul.burton@mips.com, richard@nod.at, stefan@agner.ch, vigneshr@ti.com Subject: Re: [PATCH v4 1/2] mtd: rawnand: Add Macronix Raw NAND controller MIME-Version: 1.0 X-KeepSent: 041E283A:13DCC1D9-4825842C:000C9C7C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF90 June 10, 2013 Message-ID: From: masonccyang@mxic.com.tw Date: Wed, 3 Jul 2019 11:03:21 +0800 X-MIMETrack: Serialize by Router on MXML06C/TAIWAN/MXIC(Release 9.0.1FP10 HF265|July 25, 2018) at 2019/07/03 AM 11:03:19, Serialize complete at 2019/07/03 AM 11:03:19 Content-Type: text/plain; charset="US-ASCII" X-MAIL: TWHMLLG3.macronix.com x6333J7g046150 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, > > Add a driver for Macronix raw NAND controller. > > Could you pass userspace major MTD tests and can you attach/mount/edit > a UBI/UBIFS storage? The other userspace MTD tests are passed. nandwrite, nanddump and nandtest. i.e., zynq> ./nandtest -k /dev/mtd1 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 00100000: writing...random: crng init done 005c0000: checking... Finished pass 1 successfully zynq> UBI/UBI-FS test is also passed. i.e., UBI/UBIFS storage test on mtd2 as example 1. ubiformat /dev/mtd2 2. ubiattach /dev/ubi_ctrl -m 2 3. ubimkvol /dev/ubi0 -N ubifs -m 4. mknod -m 777 /dev/ubi0 c 244 0 5. mount -t ubifs ubi0_0 /mnt/ubifs 6. copy a file to /mnt/ubifs 7. sync and power off - on cycle 8. ubiattach & mount /mnt/ubifs 9. read file and compare it with md5sum thanks & best regards, Mason CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. ===================================================================== ============================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. =====================================================================