From patchwork Mon May 14 11:25:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 912873 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dKqSmdjL"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40kz9R4bqDz9s0W for ; Mon, 14 May 2018 21:33:47 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=AB1Y0rmvQFpA8AEb6b0krKzhQtxEtPqu5sswKeJFX6s=; b=dKq SmdjLmWeb7CkMnRsD0mcDamThHWbscf+jYbE1w79t7Kq2rErOo+gtdFyob5PqXDU6T/V7KWDTsExy 8Tc5dxnnH4BXRUcwS9v+pUVSiyrLopHCqJFJ2zid5b6J67DcMZoh+UKmid9XtI/QWi7QKjZv8EMZm o1ZgNXLJPr25CKZydUxGzjQTu4KgowlkKLaWaZfqkrvryagWhQJQ1snKnpuZ034S2FmJsl5UzN0s1 IpGPLWPu60DSQQT9pjSFpy2ho8sbsfBdTsiOsQItOAqVo+vQpBvqUkBgHQsby9Ezi0AElaXUm0H2m wOtbh9vxrfFC0Bce1J9TaDlAeddGTOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIBjS-0001Zt-Pk; Mon, 14 May 2018 11:33:34 +0000 Received: from lilium.sigma-star.at ([109.75.188.150]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIBbw-00057p-Cp for linux-mtd@lists.infradead.org; Mon, 14 May 2018 11:25:50 +0000 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id E7035181A2F16; Mon, 14 May 2018 13:25:36 +0200 (CEST) From: Richard Weinberger To: linux-mtd@lists.infradead.org Subject: [PATCH 0/5] mtd-utils: Add fastmap support to ubinize Date: Mon, 14 May 2018 13:25:23 +0200 Message-Id: <20180514112528.24092-1-richard@nod.at> X-Mailer: git-send-email 2.13.6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180514_042548_607958_318E9D48 X-CRM114-Status: GOOD ( 10.51 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , linux-kernel@vger.kernel.org, goliath@sigma-star.at MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This is the userspace side of my preseeded fastmap series. ubinize can now created images with a preloaded fastmap on it. Richard Weinberger (5): Sync ubi-media.h with Linux ubinize: Don't stat image file twice libubigen: Carry image path and size in volume info libubigen: Maintain a eraseblock association table ubinize: Add fastmap support include/libubigen.h | 25 ++++- include/mtd/ubi-media.h | 158 +++++++++++++++++++++++++++++-- lib/libubigen.c | 241 ++++++++++++++++++++++++++++++++++++++++++++---- ubi-utils/ubiformat.c | 6 +- ubi-utils/ubinize.c | 120 ++++++++++++++++-------- 5 files changed, 477 insertions(+), 73 deletions(-)