From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Date: Sat, 17 Oct 2015 20:28:28 +0200 Subject: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot In-Reply-To: References: <561666CB.8070908@denx.de> <56166992.2020004@nod.at> <561683A5.6060000@denx.de> <56173C31.6010202@denx.de> <5617B37D.5050403@denx.de> Message-ID: <5622934C.9000702@nod.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 17.10.2015 um 20:07 schrieb Ezequiel Garcia: > However, I'm still seeing the same warning I had before, when my partition > is attached: > > ubi0: default fastmap pool size: 200 > ubi0: default fastmap WL pool size: 100 > ubi0: attaching mtd1 > WARNING in drivers/mtd/ubi/fastmap.c line 846 > ubi0: scanning is finished > ubi0: attached mtd1 (name "mtd=7", size 509 MiB) > ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes > ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 > ubi0: VID header offset: 512 (aligned 512), data offset: 2048 > ubi0: good PEBs: 4072, bad PEBs: 4, corrupted PEBs: 0 > ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128 > ubi0: max/mean erase counter: 5/3, WL threshold: 4096, image sequence > number: 2068197800 > ubi0: available PEBs: 3504, total reserved PEBs: 568, PEBs reserved > for bad PEB handling: 76 > > @Richard, any ideas? Do you know which of the fixes should fix that? As written on IRC, please try attaching _exactly_ the same image using Linux, boot from TFTP and disable UBI in u-boot completely. And please add debug prints to the WARN_ON(), I'd love to see which counters don't match. Thanks, //richard