Re: ubi-utils: Moving mkpfi, pfiflash, ... to old-tools

Artem Bityutskiy
2008-02-18T15:30:46Z

On Mon, 2008-02-18 at 14:49 +0100, Frank Haverkamp wrote:
> We need the tool-chain to generate PFI files for the code-update
> process. Those pfi-files are suited to be used in streaming mode
> together with the pfiflash utility. We use the for NOR and NAND flash
> system the same pfi. Therefor the pfi format does not contain flash
> geometry information e.g. vid-hdr-offset, erase-block size.

Yeah. I tried to use the tools but they did not generate correct UBI
images. I tried to fix this and found out that the internals are too
messy to be maintainable, at least by me.

I cleaned-up what I could, made the utilities consistent, small, and
easy to maintain.

Vs. the PFI stuff, I also tried to clean-up this, but gave up after few
days, and just implemented another utility - ubinize.

I know what is PFI and I decided not to do this, because pfi =
configuration ini file + ubi images. I figured that it does not make
much sense to inroduce this additional magic format.

--
Best regards,
Artem Bityutskiy (Битюцкий Артём)