From patchwork Thu Feb 11 10:38:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1439391 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23b; helo=mail-lj1-x23b.google.com; envelope-from=swupdate+bncbda3zhwu2icrbeusssaqmgqebpglbui@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=K9NbMQsE; dkim-atps=neutral Received: from mail-lj1-x23b.google.com (mail-lj1-x23b.google.com [IPv6:2a00:1450:4864:20::23b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DbtQ14DhLz9s1l for ; Thu, 11 Feb 2021 21:38:16 +1100 (AEDT) Received: by mail-lj1-x23b.google.com with SMTP id r23sf3391777ljm.1 for ; Thu, 11 Feb 2021 02:38:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613039891; cv=pass; d=google.com; s=arc-20160816; b=EGFFDkRRjagdi0EZC+eTAeZbGbrvrVyOf+7fjWG9ZqiWpwzHGZJWtNOjpPnYRdWGzZ K6TW7chItn3uKEwi7EZet6qwvYz3PQdrK59/Rm1/eBIyqdZ6JzsaWkBGeI39KNpasGtG pJinqsbVXuxvW5WvujUOHw17haUJv28hznDbTlLe7wJj7MydLf0cDN/0APPAhz0QteNe s6hynA6uN0l2R2g9nN0kYJ6xM04QQYLfLlRYwe1k2lqFDjYc/RuTiJiXQeTyRrFHU9n8 cQt2OT6Jugn8aV4+BBeOG+LNsgXVSbvAwLuPycetsAqPiNSkl+1UPUjoNDhk5ooyxcXS B4PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:message-id:date:subject:to:from :mime-version:sender:dkim-signature; bh=UGJbuBFMJzrf0FpdsrtlwErXjkqWNWS5iGqxgSaszrE=; b=nl3+FO5wAZGd0fFukNoYiRvVPn22vIyWtQ4R7oDr7ZOFOLp7FDDszNfA9j+VB/919N LfekbcSiO9wa14feAxmNheFTHpmlf7cIxQWusIX0oojlGwlw7hP2qY8z2bTaZ8u/ZXcy pMglFXdLL5ZFE2X9jeM0yfHR069Oy652S3+2G6ScD4GyUaIMpFpxFOH0Ak7T0nyVAafu aJlUZeDoL8ehblUNyMc0UBhOB3Zz8Bxyii1LnJ5O0eEGasFXi/U+BFkK+qd1AG/RM3WZ MVSlDtqxxOgmyzKtED0HvVgU1mCjXUM5foYuuj9z638dtQZP7NwVqNnxWso4ZycROcdC Suyg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of agust@denx.de) smtp.mailfrom=agust@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=UGJbuBFMJzrf0FpdsrtlwErXjkqWNWS5iGqxgSaszrE=; b=K9NbMQsEpC2HH5+j/1lnRn8NNhe9YbMQBbBAWa6JMJFuswlK4ht0YLnASwO+Q1hq/e i40k32gynuKOS99pQXTAAhbQqkBZfo0DI18+8D2675p45PiDMitMnj6vmNXl1q0PRJwF Q1HS41d2LZ35SfhWYl/2an3fwbjEBzZ3iFsjAbGvosQy6kgrL+N61dX4AMP1GCdH8sLt e5swx2naR6nfZkZr9AeEubsNJYhIX9MhlApCo7Lf9K4xqYAq0YwgCvDoWNF9O1Z03Y9/ UXsCHyGivTvQ5u6+hVKzddg2x3eW5M6o9kr2u77Fd9uZfRKeMdAlsifT32PYGQXFJr6a qhaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=UGJbuBFMJzrf0FpdsrtlwErXjkqWNWS5iGqxgSaszrE=; b=CJJx3L064oR9NTp/LOhwq56anGKMjFZxMV5/lddqQ17s9eJ70Mh+mqRJgQNzdLyRpc 77tE4aIC0j1q6SlqUZ2wE5zijddNxrDeMaYqLZHCJXB4fWewfn+TB+9k6q/9l6fSTxmw 5TKITQwMsXZSONqL5bmsgJIP60zU1Q0OyxAaHWvoWH7rit4gPZEIyLwkw5QxZwEZ8ayo ZpgwiC3jqk452w4BfUsi85r9Q9ZK/LHmXImT3AxUJLOVQAII+m6VDdmjQasfCtB7y9DY NBe/e6eZ1DHyMu3NwqnbJIyot5RrixOWgnvde04Iz9ahN994JNtpsl5RNNDWABYdg4Be CbTg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533uJOaxxWy4ig957G9FpwTgsbSppKJWiDts2yLbgDTWaJ5Q4z8K xEHMkadNIF+o97gPPbyB4Ag= X-Google-Smtp-Source: ABdhPJwaiPmLvzj+6mkqnmVDgLIhOWF+PKv1funPS0MoV+sr4zPc0vBl5R7i0/zUFjnbzHOW/syqYw== X-Received: by 2002:ac2:5a19:: with SMTP id q25mr4012160lfn.36.1613039891320; Thu, 11 Feb 2021 02:38:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:6e14:: with SMTP id j20ls313591ljc.6.gmail; Thu, 11 Feb 2021 02:38:10 -0800 (PST) X-Received: by 2002:a2e:5402:: with SMTP id i2mr4686917ljb.222.1613039890081; Thu, 11 Feb 2021 02:38:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613039890; cv=none; d=google.com; s=arc-20160816; b=VC1nbD2kk/MCmc2BuDRLS15UeE5m61JQbmCXaZHzvZSzDHNtiMPFBNRMXXDmCCbl+1 AYHQkeXoIT1iQTMyKjfoyJfHYDcuFtr2Oj06mnRmm5QW4Uk5IAwaUHn2P1KxEHJipSu5 C8AhSZEO2sbxclth/NP7c/pBt7mnMjE3GGd5MY3eSybzY4B8CUKZEks3KPQ1BxmjUD7g Z69FrOkJXluin6ryt3BwgvAg074vhqYv36g5Swg/JKdq+DQsa8rEilqMU8FTOyry8LO1 Ch5tPuMWE39auLrjgqGifFcaA1K3sHSGw8c11g7eZ58KhRQTxdlYNb7xKHmQhvbxG/7U poFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from; bh=lyy/Z3VIudnKj3pUYu19JaAM0ZLqwLo+hY3AQnAwi2Q=; b=kPp/9wDAzitYapKml9B3mFRkBI6zC0WzeLmR0XBEsrm9LXNXWnWLLukB2PBawtVPCx +Ta1nUruTQMdfOBVRh25Pb1jYvevO57L29ctTazdL8ipzL1XJW7fXvg2aLT0hzZCc4oo 3NyZz+mv6SiSgyf5BhwawryB6ltckDJpXgHd7BnLqlG4qFhS/1E3bz7AQw2fmvZ0sbQA JgNpUJ4TsgXoGJzwhg2pYKye13tE0q4enO5Z7EX0wmMdkT/D5Qc46hC8aGBxydSGE0NL TxRU/h5GuRHfoeQf9S7Eq0TMtR8q6wFU2Nd6/7IyY/Z6ix9p+6+b36h4P/9vIVKvBtCj nMtg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of agust@denx.de) smtp.mailfrom=agust@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id 28si216006lft.12.2021.02.11.02.38.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2021 02:38:09 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of agust@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DbtPr5kpKz1rtyg for ; Thu, 11 Feb 2021 11:38:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DbtPr5d3Zz1qqkj for ; Thu, 11 Feb 2021 11:38:08 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hQYPZLNbKxBy for ; Thu, 11 Feb 2021 11:38:08 +0100 (CET) X-Auth-Info: JxSVnmsReXE0Me+Wsl7TC+8GkbdH52Uzo99nIcKW43o= Received: from crub.agik.hopto.org (p5483356f.dip0.t-ipconnect.de [84.131.53.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Thu, 11 Feb 2021 11:38:08 +0100 (CET) From: Anatolij Gustschin To: swupdate@googlegroups.com Subject: [swupdate] [meta-swupdate][PATCH 0/4] Extend swupdate class to support swu image fstype Date: Thu, 11 Feb 2021 11:38:03 +0100 Message-Id: <20210211103807.9022-1-agust@denx.de> X-Mailer: git-send-email 2.17.1 X-Original-Sender: agust@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of agust@denx.de) smtp.mailfrom=agust@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Building .swu images with meta-swupdate-boards does not work when building them by devtool in installed eSDK: $ devtool build-image update-image ... ERROR: Specified recipe update-image is not an image recipe This series adds swu image fstype to swupdate class, so that it is possible to generate .swu images via normal image recipes extended by appended options. With these patches applied, the swu image building works in eSDK by "devtool build-image core-image-full-cmdline". Patch 4 is an example how an image recipe can be extended to enable .swu image generation (tested for 'wandboard' machine). Anatolij Gustschin (4): swupdate_class: prepare to use SRC_URI in image recipes swupdate_class: fix do_swuimage circular dependency swupdate_class: enable building .swu images via swu image fstype core-image: add example for .swu image generation classes/swupdate.bbclass | 44 ++++++++++++++++++- .../images/core-image-full-cmdline.bbappend | 26 +++++++++++ .../wandboard/sw-description | 43 ++++++++++++++++++ 3 files changed, 111 insertions(+), 2 deletions(-) create mode 100644 recipes-extended/images/core-image-full-cmdline.bbappend create mode 100644 recipes-extended/images/core-image-full-cmdline/wandboard/sw-description