From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U4vBx-00071Z-5V for barebox@lists.infradead.org; Mon, 11 Feb 2013 15:21:14 +0000 Date: Mon, 11 Feb 2013 16:21:10 +0100 From: Sascha Hauer Message-ID: <20130211152110.GF1906@pengutronix.de> References: <20130208200200.IIAE15122.toroondcbmts07-srv.bellnexxia.net@toip55-bus.srvr.bell.ca> <20130211091905.GQ1906@pengutronix.de> <20130211151452.DHP25653.toroondcbmts04-srv.bellnexxia.net@toip41-bus.srvr.bell.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130211151452.DHP25653.toroondcbmts04-srv.bellnexxia.net@toip41-bus.srvr.bell.ca> 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/1] commands/ubi.c: Add support for VID header offset in ubiattach To: Xavier Douville Cc: barebox@lists.infradead.org On Mon, Feb 11, 2013 at 10:14:50AM -0500, Xavier Douville wrote: > Hi > > Sascha Hauer wrote: > >I don't know exactly, but I suspect something is wrong on your > >board then. Normally the VID header offset should be detected > >correctly automatically. Does the kernel also need a special VID > >header offset? Have you flashed an UBI image or did you generate > >the UBI on the target directly? > > I also need to specify VID header offset 2048 to the kernel. It came configured as such from the vendor (phytec, board am335x). > I flashed an UBI image generated by ptxdist. > > If the kernel has this option, shouldn't barebox have it too? > > If you are still interested by the patch, I will format it properly, using getopt() and without line wraps. I'm interested in this patch once it's clear that this option is needed. Right now I think that the work is better invested in making this option unneeded. Jan, do you have insights why this is needed? 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