From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6880180325712920576 X-Received: by 2002:adf:fdc7:: with SMTP id i7mr3203790wrs.198.1602750525771; Thu, 15 Oct 2020 01:28:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:2506:: with SMTP id l6ls1050892wml.3.canary-gmail; Thu, 15 Oct 2020 01:28:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8ana3/aDM0MIhlZzdUTZ+trMEJDowzqhOsxKSugk0jt7wvtyoTTWbzQ117QWAGk28s2KT X-Received: by 2002:a1c:4856:: with SMTP id v83mr2906674wma.118.1602750524662; Thu, 15 Oct 2020 01:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602750524; cv=none; d=google.com; s=arc-20160816; b=lPTVhkiHGn1HHKV3rqC18kifmI92ZNZAb24IqqE491VLcX3j20I7Sdu9xg53D5z/Vp n/MnmKZ/x7Pk+rh0LO+aKEX9k9bTknE8jF3dtADxDRdnLlPMfqRSSJIWBe2+zXLOd9Ti JaHePy/Vy6chvuNDpNjySrdPSbbg3YGOTQb00iDMORnvBO9ofGTeZKHVjLtvDwRAM4l2 ir7TVS38mwH1c5nZtwq1pnjQBQNf8Vt9i/d/+7Gr+vrgXmuXk98Ak3L1T3yjvikBF0h9 Nx0VgMdq1l42FCqgmVKRv1xL++f6cjvRVtYNJqFzxTvvl2+A1/Wk7dC9MJyQrFMpBSFb iuLQ== 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:references:to:from:subject; bh=7zDgd345nzwaIL/hwbL+R8f/dSHd/wJ/fHsMvQE/8MI=; b=EmDvjvbo3c55KO+Ac2+/tdmRlfTnYFcZ+QogjwHIFEM0xmoDX0XCgh2LFPpZHEh8NL 7GLM8M6dcOKUiF4MIl5Qni/uf36ampmfnR8rVFMasLB2nUN43KQbFlWpK9OgOBhuU8Jz WTy4dYQX85xULGW93PbUGVUPaQddfR79MuDpvazS1kXDktwjPUWgT+WJrR0x10ki1Wbe WX+rK/0B7XhQ+uRWxEa6a7Z0hgGa3owlHfx9zwb3k8eDyxJAJppaGCSt1RA/j1ZdNgEN gTCq65Psm3TnUJKlmrJlm5pFHUywfXACN+Ulw1m2LpjvAd0YWpsbOIWJrckUUkCHP9+t LWnQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 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 david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id 72si56222wme.1.2020.10.15.01.28.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2020 01:28:44 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 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 david.siemens.de (8.15.2/8.15.2) with ESMTPS id 09F8ShcK018108 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Oct 2020 10:28:43 +0200 Received: from [167.87.42.243] ([167.87.42.243]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 09F8Sf9Q011581; Thu, 15 Oct 2020 10:28:42 +0200 Subject: Re: [PATCH v6 0/8] WIC update From: Jan Kiszka To: "vijaikumar....@gmail.com" , isar-users References: <20201014132729.18571-1-Vijaikumar_Kanagarajan@mentor.com> <1e2d3ac5-b976-1075-8fc9-aae9a2beccde@siemens.com> <6195a763-4ee6-06b7-9a98-6361691a7f3d@siemens.com> Message-ID: <8989021a-c864-e4f3-6a2a-3d0c18de6889@siemens.com> Date: Thu, 15 Oct 2020 10:28:41 +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: <6195a763-4ee6-06b7-9a98-6361691a7f3d@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: KPBoRE19DHRt On 14.10.20 19:11, [ext] Jan Kiszka wrote: > 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 > Problem resolved by changing my patches, will send an update soon. The WIC series is now fine. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux