[PATCH 1/1] commands/ubi.c: Add support for VID header offset in ubiattach

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Feb 12 17:52:25 EST 2013


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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox




More information about the barebox mailing list