From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Thu, 24 Apr 2014 09:46:55 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201404240946.55221.jbe@pengutronix.de> Subject: Re: [ptxdist] Where to find parameters for UBIFS creation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Ivor Kruger Hi Ivor, On Thursday 24 April 2014 07:50:19 Ivor Kruger wrote: > Hi, I want to create a ubi image from my NFS root mount folder. > > I will use mkfs.ubi. > > Where can I find the settings that ptxdist uses for creating the ubi fs > files, since these work perfect? For the correct UBI image layout run the tool "mtdinfo" on your target. $ ptxdist menuconfig Shell & Console Tools ---> = <*> mtd-utils ---> [*] ubi utils ---> [*] mtdinfo You shouldn't use the NFS root directory as the base of your UBI image. Let = ptxdist create this image instead. In the latter case ptxdist ensures the = correct owners and permissions of the files inside the UBI filesystem. If you are using the old way to create a UBI image, you can find the curren= t = parameters in the platform menu ("$ ptxdist menuconfig platform" -> image = creation options). If the new way to create a UBI image is used, you can find the settings = in "configs//config/images/.config" Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de