From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 13 Sep 2011 10:37:06 +0200 Subject: [U-Boot] UBI problems on current u-boot In-Reply-To: <4E6F1522.4040201@keymile.com> References: <4E60DAF8.2090907@keymile.com> <201109130939.45132.sr@denx.de> <4E6F1522.4040201@keymile.com> Message-ID: <201109131037.07173.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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