[U-Boot] UBI problems on current u-boot

Holger Brunck holger.brunck at keymile.com
Tue Sep 13 17:31:22 CEST 2011


Hi Stefan

On 09/13/2011 10:37 AM, Stefan Roese wrote:
> On Tuesday 13 September 2011 10:32:34 Holger Brunck wrote:
>>>> But this patch is not
>>>> easy to port onto u-boot because previously undergoing changes in the
>>>> kernels ubi layer...
>>>
>>> Correct. UBI has undergone many changes since the integration into U-Boot
>>> back in the end of 2008 (nearly 3 years ago now). Perhaps the best would
>>> be to re- synch with the latest Linux UBI version. But this sounds like
>>> quite a lot of work as well...
>>
>> if found a way to port only this patch.
> 
> Good. :)
> 
>> But I had to do some changes to 
>> it. E.g. exchange the constants for errors with numeric values as present
>> in u-boots ubi version. And remove setting of the constants
>> (MOVE_TARGET_RD_ERR) values which are not evaluated in u-boots ubi
>> version. This fixes my problem. Should I post this patch?
> 
> Yes, please do.
> 

argh, I realized that in my working branch I had your patch "UBI: Ensure that
"background thread" operations are really executed" was still reverted. And
after removing this revert, I had the same problems as before...

So there is another problem present and I currently don't find the reason why...

Regards
Holger




More information about the U-Boot mailing list