On 02/12/2013 11:52 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > 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 ...but a bit scary, too :) 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 |