From patchwork Wed Jan 17 11:19:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 3302 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 17 Jan 2024 12:19:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f187.google.com (mail-pl1-f187.google.com [209.85.214.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 40HBJiHj032527 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 17 Jan 2024 12:19:45 +0100 Received: by mail-pl1-f187.google.com with SMTP id d9443c01a7336-1d5e247e469sf17328045ad.1 for ; Wed, 17 Jan 2024 03:19:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705490378; cv=pass; d=google.com; s=arc-20160816; b=bqLZ2xmJ/pinSw8ha++5JAZCBQOOFzFnHpPMi3tbLbo7yCY/PYQHWHEuWIcEbMWPfI xCZA6yOiVHErONvWLHhp0RVoRuOYgAx8Q027xK6GkvDUE66wqs740NQFUjkiONzFupFz IZXYwTalFDPGVt63QPNaKhFhV8gIJoEHUrIXCWTT9icmT8GvO2X8bg50gBt9hlkrKnhw r5yl+CTnW6YhGrXmTSAONR8TaHAw6/ODc7xMBZ3HVw4434yIkTI0hkFXL7Ck/xCp9UbT jWLvJqh5A6coSmpSRCP0QOhaCD0/LBuu4JVwwGgTPZtwDhGbfykcoixn09jY0DcOsuBJ 3RDw== 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:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eUbISzDabYQCXZXfZyFdw+jrOUVWLbYZFmPLDygu3/s=; fh=xxo2rOAPT4f31TY31yIWVuVlno6QMa2Pdllc3KKolm0=; b=Gv9JPsJNwxZ760+8jZb5Fn2WclCulK4TxWOB8aT61+0NaCx6uHUl9SExwsoXXRci6P dByaBEmJupxFABbIN//6AcMmi7nuUp39QiIoND8y6fo8jp5eALpK2FgcS0HKPAObhTv2 A4/x5X+fbJsyqBqHIO9bheo1ioBl76laH+o7UwT4rbGVendNvHV9JSLwIgj8IzOTNbWo btArH9IcIkNDHTzNxmU+ac+Re9j9ubV/HuTuQcirTexoAWlqq/HbfwDhip97JHRaeNiF YtdlslxiECZ9ZS067Xs1rtwRvqsWC7/wYai8kbarYVgNqwyJRdAki3b1eBZjmqYCTQEp XAlg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=fnyV4zoL; spf=pass (google.com: domain of fm-294854-20240117111935c6712bba830e32d233-nvwz7m@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-294854-20240117111935c6712bba830e32d233-nVWZ7M@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=1705490378; x=1706095178; 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=eUbISzDabYQCXZXfZyFdw+jrOUVWLbYZFmPLDygu3/s=; b=VeOlpjTn0YM5SpGt2bY/8TE2SjaPvwrFftu1jY6xCHzpgL4EJMWXewiiLXW7A3Yy0J uHstiYRn/208dfuBcZjjOepmqj7j61pGUqoc5woTiXu4YU614jyI2ntj7vx6Y5g6LlKT N1a1iApMzmlrxWPUUJgY5wWKSl+eu/QzD/+KivuNN+l+zh9ykTE+WT8fPRQ7BKQjVpLz gvWn0xsnUCuWCkq73kdXbWZMlQL5AGtUw5k+/2/OE2BR8sdDkXpFUMcmWOIMHhK8VMhs 6TucdRu1jU2bRfcxcnYGSPT/YjYm6dDcZuOp27D5SWSwuM5n73QUM9O/tMxDxcY6tV6k GVNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705490378; x=1706095178; 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=eUbISzDabYQCXZXfZyFdw+jrOUVWLbYZFmPLDygu3/s=; b=lFoWtwNFbfQS1n86Wxsjm4LE2unmWmGe5FM23ODkSiSWb8FvsqkL3mTmpluLwYNT2B 5y0F0DF92ioAihuBJVW2ycTWi0lxjkTwHQwk1GZCyED+rVJO9gjDttKyWti83erdlUUD QbQukMHWHcQ0l/G7HmJ+z9RtM44fWC7ny46hsAyfhK+41c+uF5xh4aMvl4ZugCHXd933 zPlxx0fJCaPIMF2tQceSySL15BhEtoX5TYx7jHFuiQYDpeUVWWWb8YTjJ8ntknLICnmO nQGIRKRfJAn2JT/uvY9U6qWvsvsWAAAYvfXtz/aFT0dDlDabI+uF7AG9oPlnjVVmsHs/ 67iQ== X-Gm-Message-State: AOJu0YwV+gtaVgEblrv4/Z9vJxF9PjAieX/eS430Qul3JxoLKlXebR1R 8PDNTvOdN3wSXZ5GAyJg2hw= X-Google-Smtp-Source: AGHT+IG5HbwutsB6wnMRus5ZkmkTOVixe0KrZItRTwTQ6kHjF7jvP3PmPodS+gX8u2OKR1BZFdUHag== X-Received: by 2002:a17:902:7844:b0:1d4:14f1:3aa1 with SMTP id e4-20020a170902784400b001d414f13aa1mr9472119pln.72.1705490378429; Wed, 17 Jan 2024 03:19:38 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:db0c:b0:28f:fa7d:5070 with SMTP id g12-20020a17090adb0c00b0028ffa7d5070ls350006pjv.0.-pod-prod-06-us; Wed, 17 Jan 2024 03:19:37 -0800 (PST) X-Received: by 2002:a17:90a:b902:b0:28d:19ff:5e3f with SMTP id p2-20020a17090ab90200b0028d19ff5e3fmr6079002pjr.86.1705490377196; Wed, 17 Jan 2024 03:19:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705490377; cv=none; d=google.com; s=arc-20160816; b=xUzpVZ/yB5BWaePXlIlTj91e7cfF9pp3r7pEkbyzYifsOIJBafoMIBZTVMSruTBox9 ISJ4ITlf14wSz+8ymNrRJj8tpnD6gx2SdVT1tKRlNzPfcCuEobU4aypHzXetX89JoSuV p9KBJkKZRfeNVGNCnKOb+fwRGo4Nz6FL+WDwAKAjM22tEdy/gCMI7fJ20TZNXdaz5iUU JE+GkAb+Z0TWXxmgXNRNIW8sU3rQdcAhI1cH266XGeSMIoLM3vCvuaKxwdtCxrxCtP5o I7/FuW3bh1e/4QucrL9yZOK+pIertTeBvPaCx7UCJhpgxtNev0acKsC62nn9jbbvGryf fpXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9xTTp/Ox8irDijbpOoi2iJZCANkYLvIT7i+cmlaMUdI=; fh=xxo2rOAPT4f31TY31yIWVuVlno6QMa2Pdllc3KKolm0=; b=a9jONtyHuJFDmJzyVhBGqoYqeamKKCO+DT/QguxnmLtvjfPo2X/mbnD4t18BN3ix4d YFFTFk3rR7ollB3AVKQGAQkB5PXE64ti3l5tO2G4IJFfHaBNyV1bBzEVkQRFZoEdAPkx OGFBAZG0yku1X5YCgAqAX+Onz3GVPJeRRDGzNzvbiOeQiapjuzDa5bOgWpaWN0fn8ex9 i5o+kPauFcCbfB4swBI9HpeCpxoo9ZqYhHkvZny/u4+2IahncmMq3KJejtEi+zg6hz6+ N9Dzt8TnfVbN0bsMcN9/ZiedXGc/qumirxq8Z2a+mXPmfFRgmTrjbGayv/KBeUhVm49/ x/ow== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=fnyV4zoL; spf=pass (google.com: domain of fm-294854-20240117111935c6712bba830e32d233-nvwz7m@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-294854-20240117111935c6712bba830e32d233-nVWZ7M@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id y23-20020a17090aa41700b0028ff720a0d2si71685pjp.0.2024.01.17.03.19.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2024 03:19:37 -0800 (PST) Received-SPF: pass (google.com: domain of fm-294854-20240117111935c6712bba830e32d233-nvwz7m@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240117111935c6712bba830e32d233 for ; Wed, 17 Jan 2024 12:19:35 +0100 X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Cc: Felix Moessbauer Subject: [PATCH v3 4/8] meta-isar: jh7110-u-boot-spl-tool: Rework Date: Wed, 17 Jan 2024 12:19:29 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=fnyV4zoL; spf=pass (google.com: domain of fm-294854-20240117111935c6712bba830e32d233-nvwz7m@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-294854-20240117111935c6712bba830e32d233-nVWZ7M@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Jan Kiszka Reply-To: Jan Kiszka 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=-1.2 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: Jan Kiszka Install the binary as normal tool under /usr/bin to simplify its usage. Signed-off-by: Jan Kiszka --- meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules | 2 +- ...110-u-boot-spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/{jh7110-u-boot-spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} (85%) diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules index 6a25dd36..a8b2c6b8 100644 --- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules +++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules @@ -4,7 +4,7 @@ U_BOOT_SPL_BIN := /usr/lib/u-boot/starfive-visionfive2/u-boot-spl.bin override_dh_auto_build: cp $(U_BOOT_SPL_BIN) u-boot-spl.bin - /usr/lib/jh7110-uboot-spl-tool/spl_tool -c -f u-boot-spl.bin + spl_tool -c -f u-boot-spl.bin %: dh \$@ diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb similarity index 85% rename from meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb rename to meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb index 37b52ab3..6c998029 100644 --- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb +++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.2.bb @@ -16,7 +16,7 @@ S = "${WORKDIR}/tools/spl_tool" do_prepare_build[cleandirs] += "${S}/debian" do_prepare_build(){ deb_debianize - echo "spl_tool usr/lib/jh7110-uboot-spl-tool" > ${S}/debian/${BPN}.install + echo "spl_tool usr/bin" > ${S}/debian/${BPN}.install } COMPATIBLE_MACHINE = "starfive-visionfive2"