From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 12 Oct 2011 11:39:51 +0200 Subject: [U-Boot] [PATCH] UBI: init eba tables before wl when attaching a device In-Reply-To: <1318244899-17131-1-git-send-email-holger.brunck@keymile.com> References: <1318244899-17131-1-git-send-email-holger.brunck@keymile.com> Message-ID: <201110121139.51710.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 Monday 10 October 2011 13:08:19 Holger Brunck wrote: > This fixes that u-boot gets stuck when a bitflip was detected > during "ubi part ". If a bitflip was detected UBI tries > to copy the PEB to a different place. This needs that the eba table > are initialized, but this was done after the wear levelling worker > detects the bitflip. So changes the initialisation of these two > tasks in u-boot. > > This is a u-boot specific patch and not needed in the linux layer, > because due to commit 1b1f9a9d00447d > UBI: Ensure that "background thread" operations are really executed > we schedule these tasks in place and not as in linux after the inital > task which schedule this new task is finished. Applied to u-boot-ubi/master. Thanks. 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