From patchwork Thu Oct 24 06:09:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 3882 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 24 Oct 2024 08:08:24 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f191.google.com (mail-pg1-f191.google.com [209.85.215.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49O688Wm016662 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 24 Oct 2024 08:08:14 +0200 Received: by mail-pg1-f191.google.com with SMTP id 41be03b00d2f7-7cd9ac1fa89sf519276a12.1 for ; Wed, 23 Oct 2024 23:08:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1729750082; cv=pass; d=google.com; s=arc-20240605; b=Ryua2DuhAQEDuZ6+F1STXKecIxjVWWpcTB3AtGhBgvx29XpM89dErXgUxvPqeL7ePt Vg7vf+XbYLLI6EuRneors/zDzcKk8ETtD7mgA4bag3nujVmieipWB6t3QwBauSY/7YIq EN/P4ggX2VyY2uG4PZFTE3kUfozhthkqw8YcKoPaNFt4Aos9Xk06INHhfF35+gqN5x3g aoplpRPui0s0daRYVTWCG4Jw1mQ2iRP2wpQBxfBNu1WtG7YjZAJ9UnhsFb9vH/659O7B GHORZtvuigwWljl/8msmFZHtIuJyoyZ+UCHCkDUMleW4t/zKhljDBHpnePCxTv6hTAYg IXww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5T5vIq6P2ru5/vI2G4jvDRVqlyp9ia0Ez4NubyzltJ0=; fh=I4UebOJ9qMWdJK5SitHiMR8CuRo1tPVWMUWrNVRMyNU=; b=FG+pSABXrZ2AJOsMBC4jOImU5YIFT6XqtxpHmtKF4hmGFTiWLGWohHOxxgHJeMgfS3 na2pE1YSZSnaZv8FJNMKgxlr9bw8csHzR7DtmhKNFm9Ieq83Nf9dcYndL25b6NRRuHhz rVmumihP2BsocoYcy8PYfRuCSTnKeniFtYuenwkWn61hDHLHCsZTnY4sqoHneNNu2h1X CO1UzQFUt4WriW248mBdLUK39PesWVg9xqk5IAHmBpNCc6J4A6wRA7zmL/QrFEopTULy qAwLrpEKjHlCefj2LrJNlN8Tvkm5ot8K8v5y5mD1jLtRaXr7WD/K07Y98Qssm2hU6ycP 6U3w==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ifzABS2p; spf=pass (google.com: domain of fm-1324425-20241024060758e32dfbac87322e5003-r8l9bp@rts-flowmailer.siemens.com designates 185.136.65.226 as permitted sender) smtp.mailfrom=fm-1324425-20241024060758e32dfbac87322e5003-R8l9bP@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1729750082; x=1730354882; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5T5vIq6P2ru5/vI2G4jvDRVqlyp9ia0Ez4NubyzltJ0=; b=R08V6uQVMoJAcGUihjZTDSG7M/nXHFt9/e91TOar8oaZJxcTPLPHy8Vr+k8kd0t6ak z/V36EQgD8npnYpMb2wIRWMXIlVGkzuuSN7MR/auawEpTjOXcVV99FAhuMCmnO35zoxK rV9np4XS8lepBov0tSmZc8H/VGNXfIOidbVENoF0EtM5eEO50xj/JDlirUCpmVxgEDbZ 0NgHF0QsI/Jr9mvRG6h+aQFbxH1T/Yt9suy9iCmsy8GUJDpt9Q6i5RuhGWEyUMiofs93 8XNy4RXyNqWszcW7UJvjIwvrrBLNvTVjeEOJq55t2ZoyfWn//a06Cn/+jgJZM6Y8UxU4 K4EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729750082; x=1730354882; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5T5vIq6P2ru5/vI2G4jvDRVqlyp9ia0Ez4NubyzltJ0=; b=VgZTBOmJDwnoPoC7xZZy45jSF8L/NoeYHk3RAJdv7o7v1qL4JCAaYDHqa7jIaKdiPi GRrMizFtxp4rqfZBrDk0V689q+Hvy2UqRVo2ds3t63HiCIwPSk7ku99loR54HQnMPgn9 ADqdhPjsmNT9YAlOVnIHKLfMU3O0IgVL1Xdq/cko/qnBGc4JSb+0XaJkfXYfUKYFfSyw n2a1LdkEwmRCMoytT+h/sluOFMMo63CUeEBzBC226WUeurCce269+499qdmNEgj3QUNV 8YVlty3N+Wv9bABqCCpm+gFjD4Qr9Lr/uTR77+Sg8jIJ8kvKCD2pRcKeKElVP/1Nc8MN CTJw== X-Forwarded-Encrypted: i=2; AJvYcCVsQyBbP3Q/NcOFzj24WP2ocJXDoCgRlVA5QpX5QFPcogWcHMWlTMrIS7XfFNg8ebG2L8NWGM8=@isar-build.org X-Gm-Message-State: AOJu0YyIrAMmBj4RqFbHORifMk/nAQ/QHFmZmiREfzS5E3+0kPfIJNE2 VjaWLRKgk7Mg5uyu8gbvSABgPDnYqQWhGeOO185VGo2q6g+v9Gq2 X-Google-Smtp-Source: AGHT+IFwjqASugn7qfkwyPhPKb8+j3C/jLc3aMi/+8ZGa4H+ggIXDTjtvBvJsfrQ9lpYrwlbzrySNw== X-Received: by 2002:a17:902:ce04:b0:20b:9f8c:e9d3 with SMTP id d9443c01a7336-20fb9a57581mr10170575ad.55.1729750082332; Wed, 23 Oct 2024 23:08:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:903:2347:b0:20c:5fda:7b55 with SMTP id d9443c01a7336-20fb53aed13ls4921115ad.2.-pod-prod-08-us; Wed, 23 Oct 2024 23:08:01 -0700 (PDT) X-Received: by 2002:a05:6a20:43a9:b0:1d2:e81c:adc0 with SMTP id adf61e73a8af0-1d989d20edamr989410637.46.1729750081109; Wed, 23 Oct 2024 23:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729750081; cv=none; d=google.com; s=arc-20240605; b=fFI2N1Nhw3DGcCa+f4NDlxR7SL0Hr4ncAMiVFYMMxfCrK6jyq5DpAzo+bX6Y6L2KBb kkZ6VMh2b9qlgx4DrCVKpB3qRIIefYanxRjoUNjy9uDROBU5Hkm3OXIkuwXRhsw/lRYM 1FnjWIblyKWWqeaZQlHhgl+OT0tlQYy5sni+dYLqRjb8YsyjJTN1LTBSF0tBo5Q3T7+x 2Qx2GowF3YNGtWKQIphgqr7w4sYY9QDzIiP3Jn5+s4XMC12KZmLxzdwh2UMNXq5i1Hm2 RP6C/htHQ4DNYwa75rqbFUVnzRZ8RRO8ODwKwNUBYvHUUn2HAGa2QCY9zd58XnKnb47Z sWWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=oTY1rzTbAShx7KHCaCDyWPH1S7qXfZq9zfwNByDi74A=; fh=7w8uPGiMToa9ZVDAMG2h4OTikUm4uxVmIZ1hUqaFJ54=; b=dJy7zI6pluQAk+PToyyS6x6WDXVtk/30IZ3RWetiYUYVnKUDzmE5yHhomi2B4LW1pr tAK6YkutbMprMyf6z4+3ft+uuxDZgfyWXsULtYFNpxtVhMlvtSN6o/ah25RIKo1WjY+B CR8Vv7pdo0J3NNXUZL0hoeQAhnmTkChq15L1v+ygsF3aWMCXxVYwGOicG6by4JvaxxIb lQ6PEXl7GCSnIRDYrhFb2gp9YsORa3A6wrgY4DCaG9Ux2Q/W4SLEIvSN8TN3ePnS33Ce chLil8JO/iu3mcYQUHu+nfj+BRlP+GBNLVDj8z7juHJIV9Y/VREmhTJjaRgU1JB0rYta bWzw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ifzABS2p; spf=pass (google.com: domain of fm-1324425-20241024060758e32dfbac87322e5003-r8l9bp@rts-flowmailer.siemens.com designates 185.136.65.226 as permitted sender) smtp.mailfrom=fm-1324425-20241024060758e32dfbac87322e5003-R8l9bP@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-226.siemens.flowmailer.net (mta-65-226.siemens.flowmailer.net. [185.136.65.226]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-2e77e50ad96si26695a91.2.2024.10.23.23.08.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2024 23:08:01 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1324425-20241024060758e32dfbac87322e5003-r8l9bp@rts-flowmailer.siemens.com designates 185.136.65.226 as permitted sender) client-ip=185.136.65.226; Received: by mta-65-226.siemens.flowmailer.net with ESMTPSA id 20241024060758e32dfbac87322e5003 for ; Thu, 24 Oct 2024 08:07:59 +0200 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: cedric.hombourger@siemens.com, jan.kiszka@siemens.com, srinuvasan Subject: [PATCH v3 1/2] add new machine qemuamd64-cip and corresponding mc Date: Thu, 24 Oct 2024 11:39:02 +0530 Message-Id: <20241024060903.1407158-1-srinuvasan.a@siemens.com> In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=ifzABS2p; spf=pass (google.com: domain of fm-1324425-20241024060758e32dfbac87322e5003-r8l9bp@rts-flowmailer.siemens.com designates 185.136.65.226 as permitted sender) smtp.mailfrom=fm-1324425-20241024060758e32dfbac87322e5003-R8l9bP@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: srinuvasan The newly added machine qemuamd64-cip provides to build the kernel from the cip git repository, this would be helpful to demonstrate the kernel built from git repo rather than tarball. Moreover, these changes needed to demonstrate the support of CONFIG_LOCALVERSION_AUTO. in defconfig to automatically append the version in kernelrelease. We chose this git repo method because the repository should contain the.git folder to get the latet HEAD revision to append into the kernel release. Note: The qemuamd64 machine no longer depends on the cip kernel, use qemuamd64-cip machine to build the images with cip-kernel and updated the KERNEL_DEFCONFIG accordingly. Signed-off-by: srinuvasan --- meta-isar/conf/machine/qemuamd64-cip.conf | 8 ++++++++ meta-isar/conf/mc.conf | 1 + meta-isar/conf/multiconfig/qemuamd64-cip-bookworm.conf | 4 ++++ meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb | 4 ++-- testsuite/start_vm.py | 2 +- 5 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 meta-isar/conf/machine/qemuamd64-cip.conf create mode 100644 meta-isar/conf/multiconfig/qemuamd64-cip-bookworm.conf diff --git a/meta-isar/conf/machine/qemuamd64-cip.conf b/meta-isar/conf/machine/qemuamd64-cip.conf new file mode 100644 index 00000000..50897ddc --- /dev/null +++ b/meta-isar/conf/machine/qemuamd64-cip.conf @@ -0,0 +1,8 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens AG, 2024 +# +# SPDX-License-Identifier: MIT + +include conf/machine/qemuamd64.conf + +KERNEL_NAME = "cip" diff --git a/meta-isar/conf/mc.conf b/meta-isar/conf/mc.conf index 212d3e4d..2a7b69f3 100644 --- a/meta-isar/conf/mc.conf +++ b/meta-isar/conf/mc.conf @@ -21,6 +21,7 @@ BBMULTICONFIG = " \ qemuamd64-bullseye \ qemuamd64-sb-bullseye \ qemuamd64-bookworm \ + qemuamd64-cip-bookworm \ qemuamd64-trixie \ container-amd64-buster \ container-amd64-bullseye \ diff --git a/meta-isar/conf/multiconfig/qemuamd64-cip-bookworm.conf b/meta-isar/conf/multiconfig/qemuamd64-cip-bookworm.conf new file mode 100644 index 00000000..a6eaedd0 --- /dev/null +++ b/meta-isar/conf/multiconfig/qemuamd64-cip-bookworm.conf @@ -0,0 +1,4 @@ +# This software is a part of ISAR. + +MACHINE ?= "qemuamd64-cip" +DISTRO ?= "debian-bookworm" diff --git a/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb b/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb index 4e8fc08a..873ca7b0 100644 --- a/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb +++ b/meta-isar/recipes-kernel/linux/linux-cip_4.4.166-cip29.bb @@ -1,7 +1,7 @@ # Example recipe for building the CIP 4.4 kernel # # This software is a part of ISAR. -# Copyright (c) Siemens AG, 2018 +# Copyright (c) Siemens AG, 2024 # # SPDX-License-Identifier: MIT @@ -13,4 +13,4 @@ SRC_URI += " \ SRCREV = "af3adf9f9c633ac0e1d68487d7fad22285dda8a3" -KERNEL_DEFCONFIG:qemuamd64 = "x86_64_defconfig" +KERNEL_DEFCONFIG:qemuamd64-cip = "x86_64_defconfig" diff --git a/testsuite/start_vm.py b/testsuite/start_vm.py index 2c986344..76814ee3 100755 --- a/testsuite/start_vm.py +++ b/testsuite/start_vm.py @@ -148,7 +148,7 @@ def start_qemu(arch, build, distro, image, out, pid, enforce_pcbios): def parse_args(): parser = argparse.ArgumentParser() - arch_names = ['arm', 'arm64', 'amd64', 'amd64-sb', 'i386', 'mipsel'] + arch_names = ['arm', 'arm64', 'amd64', 'amd64-sb', 'amd64-cip', 'i386', 'mipsel'] distro_names = [ 'buster', 'bullseye',