From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 8.mo5.mail-out.ovh.net ([178.32.116.78] helo=mo5.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U5OjG-0000WO-2j for barebox@lists.infradead.org; Tue, 12 Feb 2013 22:53:35 +0000 Received: from mail624.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo5.mail-out.ovh.net (Postfix) with SMTP id 548A1FFB414 for ; Wed, 13 Feb 2013 00:04:03 +0100 (CET) Date: Tue, 12 Feb 2013 23:52:25 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20130212225225.GG19322@game.jcrosoft.org> 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> <511AC702.8030606@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <511AC702.8030606@pengutronix.de> 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: Marc Kleine-Budde Cc: barebox@lists.infradead.org, Xavier Douville On 23:49 Tue 12 Feb , Marc Kleine-Budde wrote: > On 02/11/2013 04:14 PM, 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. > > Why don't you configure ptxdist to generate an image with the correct > VID header offset? Some time you want to flash the same UBI on different NAND so this is usefull Best Regards, J. > > Marc > > -- > Pengutronix e.K. | Marc Kleine-Budde | > Industrial Linux Solutions | Phone: +49-231-2826-924 | > Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | > Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox