[PATCH 1/1] commands/ubi.c: Add support for VID header offset in ubiattach
Marc Kleine-Budde
mkl at pengutronix.de
Wed Feb 13 04:00:04 EST 2013
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130213/d6ebc3e6/attachment.sig>
More information about the barebox
mailing list