From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTnns-0008HO-8z for barebox@lists.infradead.org; Mon, 03 Dec 2018 12:58:25 +0000 Date: Mon, 3 Dec 2018 13:58:11 +0100 From: Sascha Hauer Message-ID: <20181203125811.cm6mzwrjy7glrh5j@pengutronix.de> References: <1543840931.5085.22.camel@erwinrol.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1543840931.5085.22.camel@erwinrol.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: ubifs To: Erwin Rol Cc: Barebox List Hi Erwin, On Mon, Dec 03, 2018 at 01:42:11PM +0100, Erwin Rol wrote: > Hallo all, > > I want to create empty ubifs volumes, like this; > > 1) ubiformat -y -q /dev/nand0.system > 2) ubiattach /dev/nand0.system > 3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0 > > 4) .... ???? > > 5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/ > > > Is this possible with barebox? It depends on what you do in step 4. Should be something like 'ubiupdatevol' or cp /some/image /dev/nand0.system.ubi.system. But then, yes, this works. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox