Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 014F2C48BF8 for ; Thu, 22 Feb 2024 10:17:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C6CE641D68; Thu, 22 Feb 2024 10:17:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mYqpigd8p2e7; Thu, 22 Feb 2024 10:17:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org AB13E41D64 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id AB13E41D64; Thu, 22 Feb 2024 10:17:47 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D30131BF3FF for ; Thu, 22 Feb 2024 10:17:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C021C41850 for ; Thu, 22 Feb 2024 10:17:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M3IO1NHSdznh for ; Thu, 22 Feb 2024 10:17:07 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::22f; helo=mail-lj1-x22f.google.com; envelope-from=dario.binacchi@amarulasolutions.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org A3F0041851 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A3F0041851 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by smtp2.osuosl.org (Postfix) with ESMTPS id A3F0041851 for ; Thu, 22 Feb 2024 10:17:06 +0000 (UTC) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d243797703so47273111fa.3 for ; Thu, 22 Feb 2024 02:17:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708597024; x=1709201824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1S2/m+MSz7PsghAJUrY2ACRGcjwbMQLHeWwcAgcrzw4=; b=JwC8/vwVzHHOMlHm4U6S056nNkbRk5COehLUzBpTkM1OQctWOQex1X6K/vW+tRXn4R qmvGJlUz6QWzNCmOIvivuFK1+iX2Zj8zKhpFkqxt5grHvGTej+y61jF9ZI2zUVoMiFHC Rti/ZyTAp7keHMUPs9Az5OATQhAR0dsaz2ubIg7uAp2ac8K8dEYbMb7+o61LMRbaQ/ey bVQE4H7KF6HUx3kd3ccQfPsMt4g938E1Gk6SCuj7NZpIZvbHg0sBS0TdXhqyX5MH8iBF 0yAtJ9b+qHZua6h6XRh8hk+GVCfVVE55uOaDNejNhgO54ZqKQTCWpnf4XMoYsxtFTJU+ xVLg== X-Gm-Message-State: AOJu0YwbwO9h1AdyUDRPnbZGA0Q5ZDLk9nLKRSyz5XLhb/I4hBq2uEak 24ksv3s/nMvzuLmHX4ABZalVH/iYjpaS2LPkqHxV/O4GulNNeuyH8b9zQVHUgRFsdnbSOK+rAKo pVu8= X-Google-Smtp-Source: AGHT+IE4l1DdEnXUTgYdeYQ/79PW6TC63LT5hGnGdwt0kLbEo4gNQRYASKHHIwTw3u0eYBf6oYeYDg== X-Received: by 2002:a2e:99c7:0:b0:2d2:3b9e:dcff with SMTP id l7-20020a2e99c7000000b002d23b9edcffmr7277943ljj.46.1708597024349; Thu, 22 Feb 2024 02:17:04 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:4f68:2b3f:b15d:b5a9]) by smtp.gmail.com with ESMTPSA id y17-20020a05600c365100b004126101915esm5619349wmq.4.2024.02.22.02.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 02:17:03 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Date: Thu, 22 Feb 2024 11:16:15 +0100 Message-ID: <20240222101617.18422-15-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240222101617.18422-1-dario.binacchi@amarulasolutions.com> References: <20240222101617.18422-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1708597024; x=1709201824; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1S2/m+MSz7PsghAJUrY2ACRGcjwbMQLHeWwcAgcrzw4=; b=b6vAv6mZYW3uk9m4es5jJePRtJ47t6/d/KnWKdfJ/HboaKKDlm/UvAJUb6oHZ8ezHi 2kySIRdLToDjplYq/gzlpI9u0m47I4WnGaGjMBsxgjp7DhDy/UBKF2JfT0ivI42ZQuZr WIW/3c3q9mW31ZwZdjFNlWESDWfMnovgXXLuo= X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=b6vAv6mZ Subject: [Buildroot] [PATCH v5 14/16] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dario Binacchi , michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Asaf Kahlon , Xuanhao Shi , James Hilliard , Thomas Petazzoni , Romain Naour , Andreas Dannenberg , Alexander Sverdlin , bryce@redpinelabs.com, Anand Gadiyar Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Recent versions of U-Boot are capable of building tiboot3.bin using Binman. In this case, let's copy it to the binaries directory. Signed-off-by: Dario Binacchi --- Changes in v5: - Replace tiboot3-*-$(TI_K3_R5_LOADER_SECTYPE)-*.bin with tiboot3-$(TI_K3_R5_LOADER_SOC)-$(TI_K3_R5_LOADER_SECTYPE)-*.bin Added in v4 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk index fdb058f3b72a..e0c4c92bd4cc 100644 --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk @@ -70,8 +70,12 @@ define TI_K3_R5_LOADER_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(TI_K3_R5_LOADER_MAKE) -C $(@D) $(TI_K3_R5_LOADER_MAKE_OPTS) endef +TI_K3_R5_LOADER_SECTYPE = $(call qstrip,$(BR2_PACKAGE_TI_K3_SECTYPE)) +TI_K3_R5_LOADER_SOC = $(call qstrip,$(BR2_PACKAGE_TI_K3_SOC)) + define TI_K3_R5_LOADER_INSTALL_IMAGES_CMDS cp $(@D)/spl/u-boot-spl.bin $(BINARIES_DIR)/r5-u-boot-spl.bin + find $(@D) -name "tiboot3-$(TI_K3_R5_LOADER_SOC)-$(TI_K3_R5_LOADER_SECTYPE)-*.bin" -type f -exec cp {} $(BINARIES_DIR)/tiboot3.bin \; endef $(eval $(kconfig-package)) -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot