Return-Path: Received: from ch-zrh-72-201.trenka.ch ([93.188.72.201]:57016 "EHLO mail.o2s.ch" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753730Ab0FNP6h (ORCPT ); Mon, 14 Jun 2010 11:58:37 -0400 From: David =?iso-8859-1?q?Lanzend=F6rfer?= Subject: Re: MSM NAND - Subpage size reading Date: Mon, 14 Jun 2010 17:58:32 +0200 References: <201005301843.03629.david.lanzendoerfer@o2s.ch> <20100601165758.GB610@huya.qualcomm.com> <201006012205.47125.david.lanzendoerfer@o2s.ch> In-Reply-To: <201006012205.47125.david.lanzendoerfer@o2s.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7219477.Bsl9RXnGSs"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201006141758.36089.david.lanzendoerfer@o2s.ch> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: linux-arm-msm@vger.kernel.org --nextPart7219477.Bsl9RXnGSs Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi. When I do for example the following thing: root@htcdream ~ # ubiformat /dev/mtd3 -f shr-fso2-demo-image-eglibc-ipk--20= 100613-htcdream.rootfs.ubifs -s 2048 ubiformat: mtd3 (nand), size 70778880 bytes (67.5 MiB), 540 eraseblocks of = 131072 bytes (128.0 KiB), min. I/O size 2048 bytes libscan: scanning eraseblock 0 -- 0 % complete libmtd: error!: cannot rea= d 64 bytes from mtd3 (eraseblock 0, offset 0) error 22 (Invalid argument) ubiformat: error!: failed to scan mtd3 (/dev/mtd3) Or just: root@htcdream ~ # ubiformat /dev/mtd3 -s 2KiB=20 ubiformat: mtd3 (nand), size 70778880 bytes (67.5 MiB), 540 eraseblocks of = 131072 bytes (128.0 KiB), min. I/O size 2048 bytes libscan: scanning eraseblock 0 -- 0 % complete libmtd: error!: cannot rea= d 64 bytes from mtd3 (eraseblock 0, offset 0) error 22 (Invalid argument) ubiformat: error!: failed to scan mtd3 (/dev/mtd3) I can extract the following error by dmesg: [12521.267852] msm_nand_read_oob: unsupported ops->len, 64 I saw the following post: http://patchwork.ozlabs.org/patch/50601/ This was the solution for our kind of problem. But our driver seems to be deplaced and in consquence of this, it does not = draw benefit of the full NAND framework power. Please correct me if I'm wrong. But I do not have ANY clou, how I could pro= pagate the disablement of subpage size capability for this driver. Best regards leviathan --nextPart7219477.Bsl9RXnGSs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkwWUawACgkQAeZw77btGjpRCQCgifJ6CrhnPDvrfhk3l/b1zjXS /0oAn2FWPbteACl/lSLu/IuAVd03/ir4 =+Kun -----END PGP SIGNATURE----- --nextPart7219477.Bsl9RXnGSs--