Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751422AbaKGJos (ORCPT ); Fri, 7 Nov 2014 04:44:48 -0500 Received: from mga09.intel.com ([134.134.136.24]:10898 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbaKGJop (ORCPT ); Fri, 7 Nov 2014 04:44:45 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,691,1406617200"; d="scan'208";a="485350861" Message-ID: <1415353480.958.301.camel@sauron.fi.intel.com> Subject: Re: [RESEND PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Rodrigo Freire Cc: =?ISO-8859-1?Q?J=F6rn?= Engel , linux-mtd@lists.infradead.org, Felix Fietkau , dwmw2@infradead.org, linux-kernel@vger.kernel.org, Herton Krzesinski Date: Fri, 07 Nov 2014 11:44:40 +0200 In-Reply-To: <2124950018.4236135.1414848795831.JavaMail.zimbra@redhat.com> References: <2124950018.4236135.1414848795831.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2014-11-01 at 09:33 -0400, Rodrigo Freire wrote: > From: Felix Fietkau > > mtd: block2mtd: Ensure that block2mtd is presented timely on boot time > > Currently, a block MTD device is not presented to the system on time, in > order to start mounting the filesystems. This patch ensures that block2mtd > is presented at the right time, so filesystems can be mounted on boot time. > This issue is seen on BCM2835 (Raspberry Pi) systems when mounting JFFS2 > over block2mtd devices as the root filesystem. > This patchset also adds a MTD device name and a timeout option to the driver. > Original patchset: > https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.12/440-block2mtd_init.patch?rev=40444 > https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.12/441-block2mtd_probe.patch?rev=40444 I think you can mount jffs2 using /dev/mtdX, you do not need the block driver. -- 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/