From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752768AbdFRKG3 (ORCPT ); Sun, 18 Jun 2017 06:06:29 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33016 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbdFRKG2 (ORCPT ); Sun, 18 Jun 2017 06:06:28 -0400 Date: Sun, 18 Jun 2017 12:06:26 +0200 From: Pavel Machek To: Richard Weinberger Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Artem Bityutskiy , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift Message-ID: <20170618100626.GC20211@amd> References: <1496418222-23483-1-git-send-email-pali.rohar@gmail.com> <1496418222-23483-3-git-send-email-pali.rohar@gmail.com> <20170605112145.GE14675@pali> <20170605112508.GF14675@pali> <79f3b92f-5be4-8d46-985d-0b38cffd6032@nod.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hOcCNbCCxyk/YU74" Content-Disposition: inline In-Reply-To: <79f3b92f-5be4-8d46-985d-0b38cffd6032@nod.at> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hOcCNbCCxyk/YU74 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >>>> Am 02.06.2017 um 17:43 schrieb Pali Roh=E1r: > >>>>> It is needed for creating emulated devices suitable for using in UB= I layer > >>>>> and with UBIFS. > >>>> > >>>> Why? > >>> > >>> ubifs depends on write size of nand. And without those parameters as > >>> specified in cover letter I'm unable to mount N900 rootfs image expor= ted > >>> via block2mtd. ubifs reject such image. > >> > >> Hmm, so you render block2mtd into a semi-NAND chip? :) > >=20 > > Probably you can call it like that. But it is still MTD device... >=20 > This is what I meant in my other mail. > You add NAND specific properties but still denote it as MTD_RAM/ROM. > I'm not sure whether this is a good idea. Can you suggest any other way for Pali to mount rootfs image on his PC? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --hOcCNbCCxyk/YU74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAllGUKIACgkQMOfwapXb+vK7ogCgjYcfUThJBj/7SABEnYyP0Lhr zhEAn1KO/5G7/HhwV/hboemb+3+bpQRP =A3EQ -----END PGP SIGNATURE----- --hOcCNbCCxyk/YU74--