From mboxrd@z Thu Jan 1 00:00:00 1970 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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 11000C48BC4 for ; Sat, 17 Feb 2024 16:03:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D408983AC0; Sat, 17 Feb 2024 16:03:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4xGlSDZAqpJE; Sat, 17 Feb 2024 16:03:43 +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 smtp1.osuosl.org CF43983EB0 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id CF43983EB0; Sat, 17 Feb 2024 16:03:42 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 110C01BF5A3 for ; Sat, 17 Feb 2024 16:03:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id F311A60BE4 for ; Sat, 17 Feb 2024 16:03:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8SevMzjB14AN for ; Sat, 17 Feb 2024 16:03:17 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::531; helo=mail-ed1-x531.google.com; envelope-from=dario.binacchi@amarulasolutions.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 16F2D60BB8 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 16F2D60BB8 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by smtp3.osuosl.org (Postfix) with ESMTPS id 16F2D60BB8 for ; Sat, 17 Feb 2024 16:03:17 +0000 (UTC) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-563c595f968so3165804a12.0 for ; Sat, 17 Feb 2024 08:03:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708185795; x=1708790595; 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=ijTF5t3xs34aImrstSqjnLSTb/6NmtXh+1hJ+Y0Ju20=; b=g1p0wwT/UO+k9d4UuZoH46fNwEzvhltT261dPRwotKa1GhRQjDmu2PwelLNtvTaUZb mLzpqfnNDhQMEEE62jJZPPEkqfNEmC7uambYNkxtJH5jf99vQBWsU68uP3egYA/KhreO lE7RKAgEuhvsSvA9lXfJxYVLZ2ZWlqxLlvH7mLQPOxjlVDP0WcnsYEjbuUAwZEzj62h5 Q2JJ8jcSGpuaVodBqFK7oTRQLUddb8xOjzKAmrhb7CGvkvmWgNN3P1qRstuNtrYcpSUk 6VYtq6u4q2tYPQkhKKwact7Rn6J8+4qEl3qBNMyiyQreKzQ5kw6buK1pjQywibkr83pC q8NQ== X-Gm-Message-State: AOJu0YzKZxkBAqC09VQzNjyhUTOOE/ENEEz3cZg0DsM/PWyXJQJXJa42 AjVHf+uf21xQB2V6RUEyZlafvALLEZJLdXfrUYE0megqEr1MID9Y5FSrvqOtEUhnin5/gvjA0GR PH74= X-Google-Smtp-Source: AGHT+IFbfjHKqXSD77+rH+P9O71TwB5wrVog9JmTydRXOZcALye7W/gXzgZF9MEaL8el2gigE4t+gQ== X-Received: by 2002:a05:6402:b04:b0:564:2a5b:93bc with SMTP id bm4-20020a0564020b0400b005642a5b93bcmr988947edb.17.1708185794866; Sat, 17 Feb 2024 08:03:14 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-5-96-195.retail.telecomitalia.it. [87.5.96.195]) by smtp.gmail.com with ESMTPSA id dj13-20020a05640231ad00b0055f0b3ec5d8sm973414edb.36.2024.02.17.08.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 08:03:14 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Date: Sat, 17 Feb 2024 17:02:37 +0100 Message-ID: <20240217160244.1320482-14-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240217160244.1320482-1-dario.binacchi@amarulasolutions.com> References: <20240217160244.1320482-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=1708185795; x=1708790595; 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=ijTF5t3xs34aImrstSqjnLSTb/6NmtXh+1hJ+Y0Ju20=; b=PuTOxZIZXC3GGZrjk6NBCI/S3I7RNHMGNbIJFnupPY8H2wC2bifCW8kII0bdix0Xzl lX43UvDuP1HKE6QchHrwfgG+iji4FQNlAQcBsJa/yfRWrRjsYEtfe8uy3yycfqahgN6v Aslb/yakFkRX1xfq8kjvm4YofbhjtjmeyCxUg= X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=PuTOxZIZ Subject: [Buildroot] [PATCH v4 13/20] boot/ti-k3-r5-loader: set binman environment 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 version of U-Boot use binman to provide a mechanism for building images, from simple SPL + U-Boot combinations, to more complex arrangements with many parts. The patch set the BINMAN_INDIRS environment variable to provide the directory to search for binary blobs and select the packages required by binman. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v4: - Drop the BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option Changes in v2: - Change commit message - Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option - Select packages required by binman if BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled Signed-off-by: Dario Binacchi --- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 0ffcb8235f2e..2a10024aedaa 100644 --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk @@ -39,7 +39,13 @@ TI_K3_R5_LOADER_DEPENDENCIES = \ host-pkgconf \ $(BR2_MAKE_HOST_DEPENDENCY) \ host-arm-gnu-toolchain \ - host-openssl + host-openssl \ + host-python-attrs \ + host-python-jsonschema \ + host-python-jsonschema-specifications \ + host-python-pyyaml \ + host-python-referencing \ + host-python-rpds-py TI_K3_R5_LOADER_MAKE = $(BR2_MAKE) TI_K3_R5_LOADER_MAKE_ENV = $(TARGET_MAKE_ENV) @@ -49,6 +55,10 @@ TI_K3_R5_LOADER_KCONFIG_DEPENDENCIES = \ $(BR2_BISON_HOST_DEPENDENCY) \ $(BR2_FLEX_HOST_DEPENDENCY) +ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) +TI_K3_R5_LOADER_DEPENDENCIES += host-python-pylibfdt +endif + ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG),y) TI_K3_R5_LOADER_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG))_defconfig else ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG),y) @@ -58,6 +68,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \ CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \ ARCH=arm \ HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \ + BINMAN_INDIRS=$(BINARIES_DIR) \ HOSTLDFLAGS="$(HOST_LDFLAGS)" define TI_K3_R5_LOADER_BUILD_CMDS -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot