From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6698930164378632192 X-Received: by 2002:aa7:cb57:: with SMTP id w23mr41809058edt.291.1559716558043; Tue, 04 Jun 2019 23:35:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:cb84:: with SMTP id k4ls287917edi.0.gmail; Tue, 04 Jun 2019 23:35:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzarn7t1qfbt1kX7eAEdg8D7dRcNZoZyFxF9upoesuuY19lIyxqN5R90PDCnkWM9OHShsMn X-Received: by 2002:a50:fd89:: with SMTP id o9mr42315493edt.55.1559716557582; Tue, 04 Jun 2019 23:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559716557; cv=none; d=google.com; s=arc-20160816; b=bmIUVJNp2yhQkVY7zGDkrherTwDPYMVbd3fDuxIBlVjvCBL3r+Krwc0kDXAWvuiFp7 vDRqQS630HAcmdZJ8Tgjbn3m4LMkk0OMjklm5wQupNuqWs3KMXzgm7YC6WYOBf/L5Jpv RHfu4oD7ELPkTe46yk7/uYB8J+O3/wtQUR+mInO4XcmcboliiQC+XJoKjGG5Da3VzFWs 86d6LdbWxkaetme0GBBlaJ8uKCqGptKVp5nw0Wa+WiTWvWTzhyijEGn4GMSsQUipJAze KvNJle4XAe2XU+qBtcvWR7eILlQRonKx16mnG9YIPvojIX28QKottOC/xuEnaD9Uup7d YyaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=IGAplTW/uslGF+FyRyPW68qrpFgFmvIMsHxt7QCSK8w=; b=tJ43/DmceCl4U8j2knwSCIe4HQJICyKNnLCLGIKbkOsxuFb//tM57h+X0extTI40xn iiPPD3LoMgdCnEjE2AEHr6tWYu7WKrOLtAvslRWfR56AyF4S6WzT8BMucgVxxeo7Rf9b I5yYkWhYYvjOdhLbEr2pLrHBa6hHLXiiTNA4pYQrD4wIx+6aZkvvtD8PWSwPFKwgWOm1 l/PDEUmOtzCGm7GsCgHkQiClKfI7C6Fk4Vr3TyWM4s4trqbU2sasIZmWviS9wWBKBQHZ S1Y+e7k648byxH3c0RXo1teUvBCY8eMf1NMST0ZHHbvrpx7AgR3g3brvEYIjNRFSlyKV aSfw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id g22si870975edc.1.2019.06.04.23.35.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 23:35:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x556ZuoX006916 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 5 Jun 2019 08:35:57 +0200 Received: from [167.87.9.211] ([167.87.9.211]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x556ZtVL022709; Wed, 5 Jun 2019 08:35:55 +0200 Subject: Re: Add bmap support for wic images in ISAR To: Daniel Sangorrin , isar-users@googlegroups.com Cc: cip-dev@lists.cip-project.org References: <20190605063014.18193-1-daniel.sangorrin@toshiba.co.jp> From: Jan Kiszka Message-ID: <7f7d46c8-1ddb-1516-cc43-a12ed2e760e3@siemens.com> Date: Wed, 5 Jun 2019 08:35:55 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20190605063014.18193-1-daniel.sangorrin@toshiba.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: EGAQ3B0Jvi7/ On 05.06.19 08:30, Daniel Sangorrin wrote: > Hi, > > There are methods to enlarge partitions on first boot, but if you prefer > to have an image of fixed size (e.g. 4GB) the bmap tool is quite useful. > It dramatically reduces the time required to flash your microSDCard. There is indeed a concrete use case for that: swupdate images where you need to set static sizes for the updatable partitions. Probably worth mentioning. > > This small patch adds that functionality to ISAR. Please consider it. > > [ISAR] bmap: generate bmap for wic images > > [Note] I created the patch on top of the isar used in CIP, if it doesn't > apply on latest branch please let me know. Always base on next. We can update downstream once it's merged here or carry a backport there. So, please rebase. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux