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

Stefan Roese sr at denx.de
Tue Sep 13 10:37:06 CEST 2011


Hi Holger,

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.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list