From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from b.ns.miles-group.at ([95.130.255.144] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bEMCH-00011C-1W for linux-mtd@lists.infradead.org; Sat, 18 Jun 2016 19:46:25 +0000 Subject: Re: [PATCH 1/2] ubi: mount partitions specified in device tree To: Hauke Mehrtens , dwmw2@infradead.org References: <1466277476-14853-1-git-send-email-hauke@hauke-m.de> <5765A14F.6020201@nod.at> <48242f26-7812-6957-6bf5-c12989b875b4@hauke-m.de> Cc: robh+dt@kernel.org, mark.rutland@arm.com, dedekind1@gmail.com, computersforpeace@gmail.com, devicetree@vger.kernel.org, linux-mtd@lists.infradead.org From: Richard Weinberger Message-ID: <5765A4F9.3050107@nod.at> Date: Sat, 18 Jun 2016 21:46:01 +0200 MIME-Version: 1.0 In-Reply-To: <48242f26-7812-6957-6bf5-c12989b875b4@hauke-m.de> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 18.06.2016 um 21:35 schrieb Hauke Mehrtens: > There are some devices on the market that are storing the root file > system in an ubi layer. > To make this work there are currently two options. > 1. patch the kernel to specify which partitions to open in the code. > 2. provide some kernel command line parameter which specifies what to open. > > I would like to specify this in device tree. What is wrong with command line parameters? If there is some parameter the UBI module misses I'll happily add it. You can also put your kernel command line into device tree. Thanks, //richard From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Subject: Re: [PATCH 1/2] ubi: mount partitions specified in device tree Date: Sat, 18 Jun 2016 21:46:01 +0200 Message-ID: <5765A4F9.3050107@nod.at> References: <1466277476-14853-1-git-send-email-hauke@hauke-m.de> <5765A14F.6020201@nod.at> <48242f26-7812-6957-6bf5-c12989b875b4@hauke-m.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48242f26-7812-6957-6bf5-c12989b875b4-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hauke Mehrtens , dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, dedekind1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Am 18.06.2016 um 21:35 schrieb Hauke Mehrtens: > There are some devices on the market that are storing the root file > system in an ubi layer. > To make this work there are currently two options. > 1. patch the kernel to specify which partitions to open in the code. > 2. provide some kernel command line parameter which specifies what to open. > > I would like to specify this in device tree. What is wrong with command line parameters? If there is some parameter the UBI module misses I'll happily add it. You can also put your kernel command line into device tree. Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html