From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6880180325712920576 X-Received: by 2002:ac2:5e6d:: with SMTP id a13mr108557lfr.514.1602695465186; Wed, 14 Oct 2020 10:11:05 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:ad43:: with SMTP id s3ls16056lfd.2.gmail; Wed, 14 Oct 2020 10:11:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7gPfBWOpnFyM6+k9WEKCFwirRgRcYL3G9+0k9xJrmklwYuJQo+qX3YqBUoZuozi5dMffS X-Received: by 2002:a05:6512:3485:: with SMTP id v5mr103907lfr.181.1602695462275; Wed, 14 Oct 2020 10:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602695462; cv=none; d=google.com; s=arc-20160816; b=ftH+QW1DhyKerATVD3CFf5w0IHGKNXs2UcFBYpj/ECseg5QP4Wutelu3W6uDJKiMNS ee256oZ+WAmd7OO7fFm+IGXcxq6YDa/570Ikg7tWHJIQziL6q1eFm5dUngimBQ24W87G 25bKrVuTuUUYEFkaVwQkxogR6xQZhPH6eiViTaa7+eVYrB1Wnygc3k4vbv2Y27r9I4W8 pcL09xyiOvKgvhM4FI31FG9YaOgj9w+kkeft1Ah9RecV4Bdcz2uLkf+67mh2dJYpehx4 YIdYxtbKu/4r2uuHrvEs1rX/RujjO55RNvgYMxoM+MVz3Vw7fQZ0Uj3sHs+L2ZwFw48l Jq0Q== 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:to:subject; bh=MSkF8ODkgL62MLeBwugxaYJX3hPRRca8BDSKMBW/Il8=; b=JCUcVvLakW0ZkmLaKA6czPvKjTu/Pflp5yuMX1XRYDwfb2nEkpOSKbg4CMLxh0H5MI QwUcsCjbMVyZ5gk36XVeX2+mkXwCAFlP4boXwD5dIFubBkXVtfAuuli5fMwBW4PLoKra Isr4HU6aGw16lvP7Thf8nwDn2cL1ke0b9xQ4jRpQfBmNHeUNlROfSbKM046ZuGzDDDWe uHdM6He/6zSXpNEcAcNi9rvDQnvACV7+6G1YFYagsYXRuO5VCfFRoWGVS4Z44s32Zek6 Mir9xbS+NTDwgyWUcZTUfB8oJQIt2tlI7zCFM19KY6R5bUU41pIzIIWpZ1C6/llifRCj LPmw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id i16si6002ljj.3.2020.10.14.10.11.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2020 10:11:02 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 09EHB0m7013696 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Oct 2020 19:11:00 +0200 Received: from [139.22.132.102] ([139.22.132.102]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 09EHB05J013412; Wed, 14 Oct 2020 19:11:00 +0200 Subject: Re: [PATCH v6 0/8] WIC update To: "vijaikumar....@gmail.com" , isar-users References: <20201014132729.18571-1-Vijaikumar_Kanagarajan@mentor.com> <1e2d3ac5-b976-1075-8fc9-aae9a2beccde@siemens.com> From: Jan Kiszka Message-ID: <6195a763-4ee6-06b7-9a98-6361691a7f3d@siemens.com> Date: Wed, 14 Oct 2020 19:11:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: JKSBjUz0Rotf On 14.10.20 18:48, vijaikumar....@gmail.com wrote: > > > On Wednesday, October 14, 2020 at 8:58:24 PM UTC+5:30 Jan Kiszka wrote: > > On 14.10.20 15:27, Vijai Kumar K wrote: > > Changes since v5: > > - There was an issue in rebase of v4 in P3. Fixed the conflict > properly now. > > > > Changes since v4: > > - Rebase against latest next > > > > Changes since v3: > > > > - Rebase against the latest next. Drop P4 & P5 from previous series. > > - P7 fixes the kernel update in legacy bios boot image > > - Minor documentation changes. > > > > Changes since v2: > > > > - Dropped P9 from previous series and updated oe-core to the > latest revision > > which includes that patch. > > - Some minor commit message & API changelog changes. > > > > Changes since RFC(v1): > > > > - P9 commit is upstreamed and replaced with the version from OE-core. > > - P10: Lot of downstream projects tend to use /boot mountpoints > for bootloader/EFI > > partitions. Added RECIPE-API-CHANGELOG entry to warn user about > potential issues > > that might arise when doing so with latest wic. > > > > > > > > Vijai Kumar K (8): > > wic: Update to the latest wic from openembedded core > > wic/plugins: Fix wic plugins to work with the latest wic > > wic-img: Satisfy the quirks of latest wic > > wic_fakeroot: Handle standalone pseudo invocations > > meta-isar/conf: Add provision to debug WIC > > debian-common: Add tar as a dependency for wic > > Fix legacy bios boot partition > > meta-isar/canned-wks: Remove unwanted /boot mountpoint > > > > RECIPE-API-CHANGELOG.md | 26 + > > meta-isar/conf/local.conf.sample | 3 + > > .../lib/wic/canned-wks/common-isar.wks.inc | 2 +- > > .../scripts/lib/wic/canned-wks/hikey.wks | 2 +- > > .../lib/wic/canned-wks/sdimage-efi.wks | 2 +- > > meta/classes/wic-img.bbclass | 18 +- > > meta/conf/distro/debian-common.conf | 3 +- > > .../wic/plugins/source/bootimg-efi-isar.py | 2 +- > > .../wic/plugins/source/bootimg-pcbios-isar.py | 40 +- > > .../lib/wic/plugins/source/rootfs-u-boot.py | 2 +- > > scripts/lib/scriptpath.py | 32 ++ > > scripts/lib/wic/__init__.py | 14 +- > > scripts/lib/wic/canned-wks/common.wks.inc | 2 +- > > .../directdisk-bootloader-config.cfg | 8 +- > > .../lib/wic/canned-wks/efi-bootdisk.wks.in > | 3 + > > scripts/lib/wic/canned-wks/mkhybridiso.wks | 2 +- > > scripts/lib/wic/canned-wks/qemuriscv.wks | 3 + > > .../lib/wic/canned-wks/qemux86-directdisk.wks | 2 +- > > .../lib/wic/canned-wks/sdimage-bootpart.wks | 4 +- > > .../lib/wic/canned-wks/systemd-bootdisk.wks | 4 +- > > scripts/lib/wic/engine.py | 421 +++++++++++++++- > > scripts/lib/wic/filemap.py | 170 ++++--- > > scripts/lib/wic/help.py | 401 ++++++++++++++-- > > scripts/lib/wic/ksparser.py | 121 +++-- > > scripts/lib/wic/{utils => }/misc.py | 100 ++-- > > scripts/lib/wic/partition.py | 234 ++++----- > > scripts/lib/wic/pluginbase.py | 36 +- > > scripts/lib/wic/plugins/imager/direct.py | 175 ++++--- > > .../wic/plugins/source/bootimg-biosplusefi.py | 213 +++++++++ > > scripts/lib/wic/plugins/source/bootimg-efi.py | 171 +++++-- > > .../wic/plugins/source/bootimg-partition.py | 153 ++++-- > > .../lib/wic/plugins/source/bootimg-pcbios.py | 91 ++-- > > scripts/lib/wic/plugins/source/fsimage.py | 56 --- > > .../wic/plugins/source/isoimage-isohybrid.py | 185 +++---- > > scripts/lib/wic/plugins/source/rawcopy.py | 44 +- > > scripts/lib/wic/plugins/source/rootfs.py | 159 ++++-- > > scripts/lib/wic/utils/__init__.py | 0 > > scripts/lib/wic/utils/runner.py | 114 ----- > > scripts/wic | 452 +++++++++++++----- > > scripts/wic_fakeroot | 5 + > > 40 files changed, 2433 insertions(+), 1042 deletions(-) > > create mode 100644 scripts/lib/scriptpath.py > > create mode 100644 scripts/lib/wic/canned-wks/efi-bootdisk.wks.in > > > create mode 100644 scripts/lib/wic/canned-wks/qemuriscv.wks > > rename scripts/lib/wic/{utils => }/misc.py (70%) > > create mode 100644 > scripts/lib/wic/plugins/source/bootimg-biosplusefi.py > > delete mode 100644 scripts/lib/wic/plugins/source/fsimage.py > > delete mode 100644 scripts/lib/wic/utils/__init__.py > > delete mode 100644 scripts/lib/wic/utils/runner.py > > > > Issue still present here - did you check against the STM32 case? > > > STM32 is a different issue. From the log I found this issue too. I am > going through wic codebase and debugging the STM32 case. I got the yocto > setup and things work > fine there. Using that as a reference. Great, thank in advance! Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux