Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757393AbbBEMps (ORCPT ); Thu, 5 Feb 2015 07:45:48 -0500 Received: from mail-we0-f181.google.com ([74.125.82.181]:33054 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757259AbbBEMpq (ORCPT ); Thu, 5 Feb 2015 07:45:46 -0500 From: Pali =?utf-8?q?Roh=C3=A1r?= To: balbi@ti.com Subject: Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia Date: Thu, 5 Feb 2015 13:45:43 +0100 User-Agent: KMail/1.13.7 (Linux/3.13.0-45-generic; KDE/4.14.2; x86_64; ; ) Cc: "Greg Kroah-Hartman" , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek , Sebastian Reichel , Aaro Koskinen , Ivaylo Dimitrov References: <1422698010-2907-1-git-send-email-pali.rohar@gmail.com> <201502022007.51452@pali> <20150202191435.GT6150@saruman.tx.rr.com> In-Reply-To: <20150202191435.GT6150@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2174670.h24eDrRQ4v"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201502051345.43204@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3259 Lines: 84 --nextPart2174670.h24eDrRQ4v Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 02 February 2015 20:14:35 Felipe Balbi wrote: > On Mon, Feb 02, 2015 at 08:07:51PM +0100, Pali Roh=C3=A1r wrote: > > On Monday 02 February 2015 20:01:11 Felipe Balbi wrote: > > > Hi, > > >=20 > > > On Mon, Feb 02, 2015 at 07:58:59PM +0100, Pali Roh=C3=A1r wrote: > > > > On Monday 02 February 2015 19:54:58 Felipe Balbi wrote: > > > > > Hi, > > > > >=20 > > > > > On Sat, Jan 31, 2015 at 10:53:30AM +0100, Pali Roh=C3=A1r=20 wrote: > > > > > > This patch adds removable mass storage support to > > > > > > g_nokia gadget (for N900). It means that at runtime > > > > > > block device can be exported or unexported. So it > > > > > > does not export anything by default and thus allows > > > > > > to use MyDocs partition as before... > > > > > >=20 > > > > > > Signed-off-by: Pali Roh=C3=A1r > > > > >=20 > > > > > thanks, but no thanks. Build your own using configfs. > > > >=20 > > > > But it needs some userspace interaction right? > > > > Then its not possible for nfsboot. > > >=20 > > > oh, right... you're using nfsboot through g_nokia. Hmm, > > > sounds like you need initramfs. > >=20 > > Also compiling usb gadgets as external .ko modules is > > broken. So I cannot use configfs, when I compile g_nokia > > even if I use initramfs... >=20 > yeah, there are people working on that and some patches > already flying around for it. Meanwhile, you can make it > built-in and use initramfs to add mass_storage through > configfs to g_nokia, no issues. Sorry but nfsboot is used without initramfs. I do not need to use=20 any initramfs and I do not see reason for it because of kernel=20 usb bugs... My patch for mass storage mode in g_nokia.ko driver (which is=20 used for Nokia N900 only) fix usage of both g_nokia functions and=20 mass storage functions. Because in current state on N900 this is easy and *working*=20 solution (g_nokia static linked into zImage). So I do not see=20 reason why not to include my patch into upstream. Driver g_nokia=20 is N900 specific and all developers can benefit this patch,=20 because they would be able to use *both* usb networking and mass=20 storage mode *without* need to recompile kernel and restart n900=20 device! And please do not tell me that either usb network or mass storage=20 support is deprecated or so and nobody should not use it! This is=20 only way how to develop & debug n900 device without any other=20 Nokia (TM) equipment which is not available for non Nokias... =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart2174670.h24eDrRQ4v Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlTTZfcACgkQi/DJPQPkQ1KAlgCgvZxcAHBJQJlvlj1A/9yWxlb6 8TIAn1tfo3d3ac28nCC6XXd2LWsGTG8q =b9/W -----END PGP SIGNATURE----- --nextPart2174670.h24eDrRQ4v-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/