From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7319440801196408832 X-Received: by 2002:a25:aa67:0:b0:dbd:be4d:7b93 with SMTP id s94-20020a25aa67000000b00dbdbe4d7b93mr8193429ybi.18.1704190113850; Tue, 02 Jan 2024 02:08:33 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:d052:0:b0:dbd:9a05:78a5 with SMTP id h79-20020a25d052000000b00dbd9a0578a5ls1374463ybg.0.-pod-prod-00-us; Tue, 02 Jan 2024 02:08:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQN4Pb0cPqPqRh88s0irMdvYeBoq4cpPawRjEAoaB1qiV3B4y5S+q745j4DK2TFML7o9Bz X-Received: by 2002:a0d:d3c7:0:b0:5d7:1940:3efd with SMTP id v190-20020a0dd3c7000000b005d719403efdmr11154804ywd.46.1704190112998; Tue, 02 Jan 2024 02:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704190112; cv=none; d=google.com; s=arc-20160816; b=ZQExKsD/velNg1sO6ZOvMQw8oqfB3Ff7u+GJ7YtCzivUtpSAhsoutUI3iyBsC0rKUQ PN7ft8veTj4jKIl6HndT8nEdn6cJsFX4k8yOkAZh5st7nZMJbOAiRtpe8JrE202SuYVO DuXOfSSO2S/J01208GEarhvYVNO2WMD01dE9RWSCo8jupDMYRI6tRVL3HWk3Xkh6K0zO vngW71y7+3hJKL5YkXIVqNQRUHJzeiVoAi1eGgAaMChON74TSYOX5ZaJ7Z7/xhGsIGmm z/XutFbOZRPPi8sBs7Bsd1njobyo4UobSVRGAzYqZO1mGdCZgw1IGTbvBqXF3AQ0+ih/ uBHg== 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=q7G0YS53QKNOj3xVv38UYCLcnvAyBdtQnFT+Xj6K8/H0jHVYcc3xuERq1L5bOpjLx9 g0y7nvHieP+vtUcnZNoG52pfJlyEUgLlAEA58WE3wHpPoeVmYQ3BljpNU545KYM5Gtjb +AAOObQ5odmYRLbjeOxTRyI3dZwIiShjGmv1wE/UO3nu6v69r6YJ5scb7nUhyipnl3DJ +8DSH0E3GRl+vn2E5ytjnyUuWc0Az/faFHaAHcGmF3/nTbnJb8z65WwqwXzU2NzoahAd gl+DvpTUPOvqvj1trC0g9S6rBbK9E9TboDgPmDmP4XchWgLG8uWXW/DOWuTgpMAssII2 I4XA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=m9cGtyov; spf=pass (google.com: domain of fm-294854-20240102100831fbf18d4fa099e9d086-4nd3xh@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-294854-20240102100831fbf18d4fa099e9d086-4ND3xh@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id q67-20020a819946000000b005c8d2a55cb5si1953722ywg.4.2024.01.02.02.08.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jan 2024 02:08:32 -0800 (PST) Received-SPF: pass (google.com: domain of fm-294854-20240102100831fbf18d4fa099e9d086-4nd3xh@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=m9cGtyov; spf=pass (google.com: domain of fm-294854-20240102100831fbf18d4fa099e9d086-4nd3xh@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-294854-20240102100831fbf18d4fa099e9d086-4ND3xh@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20240102100831fbf18d4fa099e9d086 for ; Tue, 02 Jan 2024 11:08:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=9xTTp/Ox8irDijbpOoi2iJZCANkYLvIT7i+cmlaMUdI=; b=m9cGtyovysZO6yQghgi6RWxyQDzNaIT+hYGMD3chpnGlU8Lgmzdfs5FkhdktbAuaS+Cd7v fmex6bZ5CuCPGavsQP00cgZVLBUSqwj3KmoBsNkb0gX5uFnlrgXMIn/tn0wI76k7/hK9qHE5 zc/Iy8ZLmOR8zDZ/0lVI6tiHrK6lQ=; From: Jan Kiszka To: isar-users Cc: Felix Moessbauer Subject: [PATCH 5/9] meta-isar: jh7110-u-boot-spl-tool: Rework Date: Tue, 2 Jan 2024 11:08:25 +0100 Message-Id: <16f9745a2359229bfd9fb72543678f05809602a1.1704190109.git.jan.kiszka@siemens.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-TUID: Mlu+IRo5YaT9 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" -- 2.35.3