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

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 11 10:21:10 EST 2013


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 |



More information about the barebox mailing list