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

Xavier Douville barebox at douville.org
Mon Feb 11 10:14:50 EST 2013


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.

thanks

Xavier Douville



More information about the barebox mailing list