From patchwork Mon Mar 4 15:32:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3037 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A9CFC3FA2C for ; Mon, 4 Mar 2024 16:34:11 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-559555e38b0sf5071324a12.3 for ; Mon, 04 Mar 2024 07:34:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566451; cv=pass; d=google.com; s=arc-20160816; b=FlpJCHKSDa2yC2rWqVDD+D80e6xrw7SzquiAVhK9bGnG3iUPVp+vjISjygCrMVjGYQ FwXdQ/nNfAvuFyQWm5XCkkLAu8q/Xfm1+ocQOzr0fyvPQ1WANPbL2Xv1+DoIGsyEDsBw h+LxY+2Y9MGerRXJgSB+jDBZwjHgXzGuFchrJi9G3n96ArNlX0fcAK2ITZk9SyHA4wwW NVi3wWuoJDum+tWaoFClpoX1vPDOg0RZYJl3jKtT8PVy7TjYzXy0shjjXs4OJf30s0U0 rI/D3lqQ2D3jfTUHehi1lq0PQ0tQxB/k0GORs+5ku4dlF16QzW6FHOyB0UxDwoiJcrQP jHUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=QAznjUixbDJOLzLWaT/yLIrjzYIC2Y5T8a+NBzFYaIE=; fh=4e4c7Y7ECU8PK8mAIJ6xVlt/BoLi27m5uhBTKvntLP0=; b=x48O86PFc66DT8rGICeIl/PZiCvWf73Ec8wrwmKPbEjvY6kgJXKLksQDm+BFpVLnnv ruNovZMKYh468hFdbjNvPmcP81p9VrZ7/q/RFYP2G+WIJA85HNbaGyumAWc/qufKkrNq MRHGelrO9xluoURdbDyEkS11uEMaHq/Uy/PPR85HtCanSwuHFSrvpcaPPhpungrChNOG /5uYdGjIaNkgKrjKM9hzVEjVtjq6H5dwbuCe1KWFD2H0S+ymWrzrcrqTDDsaZbZx7hRB KqJhz7kCMwcAlIxOD1GBqVgOZG1IPajF8Rc3Q4YvMiEk8hZvusIxaf+X4yFDvQ53nthN sliQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n+4+6k0S; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566451; x=1710171251; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QAznjUixbDJOLzLWaT/yLIrjzYIC2Y5T8a+NBzFYaIE=; b=AoYajAfO8Q6C5hypk1j5Hl8/GPuluZXuR+X/pCJoZ7ZxNZpRMuMGo+bOIlS8BBqyoj e80Jl3OxvGG7jeJc3WrDcFYaCp0UOfySxIq3mv0BjsB4ML1VUhIE2r61vRGN49/XbudK IYIH6W5Fs/V0yuQFA+R5Rcf4Pb0LzxJ7hXBG0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566451; x=1710171251; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=QAznjUixbDJOLzLWaT/yLIrjzYIC2Y5T8a+NBzFYaIE=; b=jxlGIWM6cB/AsYmAXlL3OS/nWtVYmk+Dg8qLoS7/Eq89QF1bmv6kIl5NbAVQxxLZO/ aIgn0cIG85vK8eXS4AgZVy4lloK8bFXzUl9g6Vegh9J0O1ZsPJ+Wfa2wJW0qkfiAcYE/ 0AwUiilAXcdlnR9ztyBs3TQgXbOSFLiEatTw0as4noXpF6ZJITGKmnDPH4eTvRFwt6Nu v8Oo3kg10/ZvOAJWqcNryFQBwuyj62G+WaeX6TSI34dL7olOzlrjXxdpcwB5HtaSP3H8 sJHdii1RLdXbmmPRU2EEJRpqP9Ql/luDxOanJbQQnZYuakErDYFYVvd/cZkNryvBjcoi JTTA== X-Forwarded-Encrypted: i=2; AJvYcCUyv/+sr+UKK8BabqOygG5IdxvWNTByuaSmLZ0eunC7llZui4q9VeWC76Pmk1TNI6X3xwIwc6K3OnIpwLVZRSfvKcYgEvb80I66miL7omL9vAcVRBGxCjLunrKyIw== X-Gm-Message-State: AOJu0YyAK8ZFF4tE0fPWGw/pnEvYt10KqAB/fMEdoVpJI4fNU4eNw5Yi oE04uzkYkabQSeQED1wsvx58A1Jvan56KIklbkwg+hhGoBc/OHDdUPM1i4Jd2cjuDg== X-Google-Smtp-Source: AGHT+IGUKZq2EoP2VNol/9/6s4KK/9PcumryxS2Z/z4UKHtjNc2+KEFhJWNASQ5KKNxznEKLSM9o3A== X-Received: by 2002:a05:6402:2150:b0:564:54c6:6903 with SMTP id bq16-20020a056402215000b0056454c66903mr5944351edb.7.1709566451229; Mon, 04 Mar 2024 07:34:11 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:388e:b0:566:e926:59de with SMTP id fd14-20020a056402388e00b00566e92659dels85010edb.2.-pod-prod-05-eu; Mon, 04 Mar 2024 07:34:10 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVJV2M+up6f5j+V1qXJdyH3HVXkZhMWW4f6CTyd6INf+lUEz12JjBUWopLodevVCFwaSl0Rzq9jTEDXIsB8Cx+qDsYbAARsNPW/Dp5oESi/V2IK X-Received: by 2002:a17:906:c411:b0:a44:e3c:c4dd with SMTP id u17-20020a170906c41100b00a440e3cc4ddmr6343218ejz.48.1709566449694; Mon, 04 Mar 2024 07:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566449; cv=none; d=google.com; s=arc-20160816; b=fuObP9MEMNakZN645hhpSUS3SrfVfOrBfki3j9+8VcApozGtOAKToCgnmb1TWJFY4u 8sqOwYh0kinav+5I1xvpJPcF1u6OWvhUqt3iaD1qn7x2WzvuY1D3IsRZRLb5U0zssllT fqihujKWHYXBBlzMD8zrfK7qQBcD96sM3Ib439vKs4yZYLKJUm37cTmPYoYcx2WeUFvw WuApJbGxmvFROv5w98h+FZxUrOKRTSn02zCL4n73rmlFemsNpziW18qqfMBiQ5x/R8/7 SawwEjeN28sIEJFbYAb+RKyet08oxIktSQINFrb0b9cKf1Hwvf/bb5QqpQmbhBLuwvQu X1pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YgYiCkyWSz9+UM98pKugQP9FQ92RtBJP5LG6O8oNnAc=; fh=glZD7WGJmmLGECy0SR/g3u0t7v0byTb/muoJyLnEzGg=; b=0CYyXj+t0Rp+faJxnYMY3714xDYR3xYUK+8sc7A6t+d8lKmzV5k0vv6yypvYfiDygO UvjhYJZMBzIN6Pt7q8EKful+ym6kheX3axl04DNvthqfA0T/Xhtpca924Qec8Mf/rK6s 3J16w9soNYe9hzx8lDBs9q2SvoT6PvukcJ8hjHgdlNjcNuenTEwLGnULXwz0p9ns9LTN lKpnixF+BeSyVqtBH9GiXj+lwi9I2lal/1CybRlZYljaHfUm0akNKLbwEcxLr+PBZZSG vR213ViRoDcoI8qgO8Q6gPuFpwgj2RU9pw6zwFjvxPM/wdBGdWgTRVpd5l8tLdxFQKCI QJ0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n+4+6k0S; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h4-20020a170906590400b00a45042f453dsor1025922ejq.11.2024.03.04.07.34.09 for (Google Transport Security); Mon, 04 Mar 2024 07:34:09 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCU4gCVIUDUWsZqLyYZ03LovFGjD2u2y/qtUIMkD5ABqB4N6WFXIqEwyvZx41JGgEmnvyqJb1OD9r13x49C1GPdr+5B3x11kaZYgp9MXhJR9qbg4 X-Received: by 2002:a17:906:8d6:b0:a44:3056:1ed0 with SMTP id o22-20020a17090608d600b00a4430561ed0mr6183859eje.62.1709566449438; Mon, 04 Mar 2024 07:34:09 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:09 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 01/22] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Date: Mon, 4 Mar 2024 16:32:32 +0100 Message-ID: <20240304153253.732708-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=n+4+6k0S; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Using PLATFORM=k3 can leads to a runtime boot crash on some K3 SoC (e.g. j721e) because the optee flavor is missing. We could use BR2_TARGET_OPTEE_OS_PLATFORM=k3 and BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR=am62x but we actually can use BR2_TARGET_OPTEE_OS_PLATFORM=k3-am62x as explained in the optee-os Makefile [1]: # If $(PLATFORM) is defined and contains a hyphen, parse it as # $(PLATFORM)-$(PLATFORM_FLAVOR) for convenience This is how meta-ti set the optee-os platform: meta-ti]$ git grep OPTEEMACHINE meta-ti-bsp/conf/machine/am437x-hs-evm.conf:OPTEEMACHINE = "ti-am43xx" meta-ti-bsp/conf/machine/am57xx-hs-evm.conf:OPTEEMACHINE = "ti-am57xx" meta-ti-bsp/conf/machine/beagleplay.conf:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf:OPTEEMACHINE = "ti-dra7xx" meta-ti-bsp/conf/machine/include/am62axx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am62pxx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am62xx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am64xx.inc:OPTEEMACHINE = "k3-am64x" meta-ti-bsp/conf/machine/include/am65xx.inc:OPTEEMACHINE = "k3-am65x" meta-ti-bsp/conf/machine/include/j7200.inc:OPTEEMACHINE = "k3-j721e" meta-ti-bsp/conf/machine/include/j721e.inc:OPTEEMACHINE = "k3-j721e" meta-ti-bsp/conf/machine/include/j721s2.inc:OPTEEMACHINE = "k3-j784s4" meta-ti-bsp/conf/machine/include/j722s.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/j784s4.inc:OPTEEMACHINE = "k3-j784s4" meta-ti uses the OPTEEMACHINE to set optee-os platform [2]. [1] https://github.com/OP-TEE/optee_os/blob/4.0.0/Makefile#L37 [2] https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-security/optee/optee-os.inc?h=4.0.3#n23 Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v6: - Update commit message Changes in v5 - Drop BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR option Added in v4 configs/ti_am62x_sk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index f88252a89c68..c3ad555a8184 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -21,7 +21,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_PLATFORM="k3" +BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" BR2_TARGET_TI_K3_IMAGE_GEN=y BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y BR2_TARGET_TI_K3_R5_LOADER=y From patchwork Mon Mar 4 15:32:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3038 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C9FEB3F1F3 for ; Mon, 4 Mar 2024 16:34:13 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-5134e56c6c8sf198909e87.3 for ; Mon, 04 Mar 2024 07:34:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566453; cv=pass; d=google.com; s=arc-20160816; b=u6nqpGhckuwzMbr5WGfrZTFwlFnOoZY/t4EK1y897MbVmpSlKElnP5YoVbw/83c2Uj 4Zp554aXzLfr/2yPL0KxGIVqEojsLIIWtdNGV0EPYUS/njCbcvbaGlJO+lLerZ4xvejQ 3+QOjlvcv5loxwxbrCSgZB90WGThRAEhysFZSx84djm0TAfv/ms8U/Vfuf4INb4LhmZa 0rUIIDhpwG+JaaL11/OdQTny69qY9B1IWBbYNKMIbo+nehtOGwteor1F+dVSJV0Z67yB pa814N2Kq1LnYkmu0d0BfrEc0uUjiJuOMLbv976RYADv9ZeZBDw7RafSIB6gTt9KqOzc qPvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Lj73AY9lY7Q57ycrh18idgOoJbKO7CWGDwk8ev9UtEU=; fh=Us47KxIRMEHl9sai4iQ9PVa8SbphAEpyRtowshYyUxE=; b=Yk4EXIYOS0TcZI85pdQ6XcAJDYkm1hHVbt/grq8q6Sa58tplTGVo6zqV9drHStCQiO jmPgrZ1VJtPJincNP/B/4ufRWVajUP5y0kch8h031A5Ns9XR/z02GiTaa3aPI+B26KrN Q+zwOD0JUJ2zLxsBv2T6tU9n6dC8ctHjfASU5V/7FFsAiIeKOwlueSEK14vuksx8Cbv7 tSvnV1VMkwliW69aJEQBN/hEiA8O8UdIdT67POcKI9jMi/klqAyCvz9wonk0PtZkW8hG Nd2zWrPdVUciweVehXDwrjkSI56Gi7eRvRgCgc+sLl4sNmSjr+WgDKmFALHkh7L71v9+ xrMg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jH94Yoi8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566453; x=1710171253; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lj73AY9lY7Q57ycrh18idgOoJbKO7CWGDwk8ev9UtEU=; b=ovTMWbYoJ1JujNJd4ZhqjeI9M1r/Wsi/DJGVP7a+IhZnZ3FVYf7AUaHdYQ6KiE5r2v gOnHiMu1NToLg33v5noThYcGblfEX9CihBz4IdLrh3ejTRsIlXOAzV47j4ZFsBYuY6A+ lNZIOkDYBPhQuE0PSbczbLiR7CdvLgqKJcodo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566453; x=1710171253; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=Lj73AY9lY7Q57ycrh18idgOoJbKO7CWGDwk8ev9UtEU=; b=iL9Ij0RiHAYIdgmyUngUNEb+byZrKzfG/wB0Ehv0O9MGWrA3Kush3GivAHDI/7XT96 cDz6IshnbNPVCAq4m8g5obJ5IqcnIuBYhiLixTPn9cEgQ5GpDzikOdwKBxUBfD+SQQBQ rsTdz3E/TcIJ27wDKMK/grvOLJTvkb01OSasgIZ/sAub8y5nycjbFdqXMoznfzQjFw3c thIqvi1g+CjfjQCvIUE5vGuDQk6o24bo2noVHEBEPjxtlx705dQeqcAzUl5Dmg3sqVJP VajE524SsoSExjqPTBh6h4OoJZ6UW9hdAwVOc7ETfw+fvX7n/akienGWLeFWCzDK9qd0 UHlw== X-Forwarded-Encrypted: i=2; AJvYcCUo55s59Ik7xYBA282LuT4ZDn97uxkHh9YNP5lBteXgz9bsuXfaKDM2xTUjHBfLGjZxZpVvmIWvjq7doquE5mKN98gvcVsOEhCKaKyBqJ6bsmQBO0tXs5v2KvI5cg== X-Gm-Message-State: AOJu0Yw6nwQBKNj6ymoXJ6UfU99737unMp5IL/CLWQ7lqnOuXlSVlszQ uQE+OW63+vsrJuavtW4ZoEDEEhDoeOtOuKS1dD7UlTPcd6yKcNGmrMeJy+LpH6YSCw== X-Google-Smtp-Source: AGHT+IFI+Crtd7iXkG8la0/YJ98DfUPxnqT9kC6sRuLnPqiTkaO6FWXzp320nTlxvv80LLvR1vsKHw== X-Received: by 2002:a19:f603:0:b0:513:2137:a231 with SMTP id x3-20020a19f603000000b005132137a231mr5615246lfe.67.1709566452886; Mon, 04 Mar 2024 07:34:12 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:5e66:0:b0:513:33be:93bb with SMTP id a6-20020ac25e66000000b0051333be93bbls350370lfr.2.-pod-prod-03-eu; Mon, 04 Mar 2024 07:34:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVYCuF15FA/xJhszxWn98PToPDI9woMvLt9h0DT4Ue4yur57PW3OoMVtvQwczYmrO6XmimVJlz5MIkDBavA+9gfcnB7ycSowusVVo2g88QZBBiw X-Received: by 2002:a05:6512:39d0:b0:513:1c07:3be1 with SMTP id k16-20020a05651239d000b005131c073be1mr7199051lfu.4.1709566450940; Mon, 04 Mar 2024 07:34:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566450; cv=none; d=google.com; s=arc-20160816; b=sYH2uUIUzhwzVTk1fYKoos6xSY2vgfGN3XMVcSyuUXK53qyvObG4bkkzy48Nbfx7tH L5S3Akk385Ig19T+4rS17+xPBbB8onLHtrfqGF99hO2OktIt1GL2m0SuRLitmjkbjZZR /Q8WbZUCceOYIDqsMw053Pcb5JSI8/r8+Gnc1S0kh5/8j4kU4XbsMsXqr2hXqbz0MxHf Tt7MEWpusrPeu/hwl7plNTTFL9Q4L+VQLj7davSH6yrBngewmYpXLS/8s8GJBK+ka5z2 PSubRE8ba7mrRLmpFoRqG81XhIkIogqj3l7+gb3ijy1ysRa2jYQEI0tkmzsdgstb4ri2 OkIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wECPWhW1zoUwEYbDf+8pXLp9fMG95JWQuFsDvL0KuYQ=; fh=5TCNOWJ8CuX14PwhUVUwb+5ie7WzEZLhualu9vU0o2k=; b=o4C1kHIgrwN5m4cE4MGvVGlfnvamh/xT2i8pXny845CJj0tUwKE2XkWtBR9eqVMxAP tuidM7rb4/f5KBjSD4w0QxIcRVMing4WUyq6Srmj0w8GvxEy7IrVc//UadY7Aiptvdxx dhP5GPoJ/ipltetvH/H6kTLJPRu3kNgH8NYrcyxUPjAQZix6kyl9b66OzcE5spMtHnBg WKZck3/xQzRpqPqzbvgjYXffYbMrDnKfSL8qqxMDQGuoh5pM6r/KL5QQAvjp2LOkTdmD O4ZO4f9qDpsmE8wl8DTDpZaJS9txpgKhO3cAYmHl5bPVoJtFTNH22cVTeoyMKEqi6eWx YCJQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jH94Yoi8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f19-20020a17090624d300b00a441cb39f0bsor3045815ejb.1.2024.03.04.07.34.10 for (Google Transport Security); Mon, 04 Mar 2024 07:34:10 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCV1G6HN9fpMMW0AcJgCKS1yo7buFnQd/FF2Z8NtlhRFpqtGLQECuXc0mJgljEnJa1CDvPooVkWA0teDuzWEZq2lMBzKGRmvYgWI1TE39OC6pOM9 X-Received: by 2002:a17:906:e28a:b0:a45:524c:2565 with SMTP id gg10-20020a170906e28a00b00a45524c2565mr1802947ejb.45.1709566450535; Mon, 04 Mar 2024 07:34:10 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:10 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 02/22] configs/ti_am64x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Date: Mon, 4 Mar 2024 16:32:33 +0100 Message-ID: <20240304153253.732708-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jH94Yoi8; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Using PLATFORM=k3 can leads to a runtime boot crash on some K3 SoC (e.g. j721e) because the optee flavor is missing. We could use BR2_TARGET_OPTEE_OS_PLATFORM=k3 and BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR=am64x but we actually can use BR2_TARGET_OPTEE_OS_PLATFORM=k3-am64x as explained in the optee-os Makefile [1]: # If $(PLATFORM) is defined and contains a hyphen, parse it as # $(PLATFORM)-$(PLATFORM_FLAVOR) for convenience This is how meta-ti set the optee-os platform: meta-ti]$ git grep OPTEEMACHINE meta-ti-bsp/conf/machine/am437x-hs-evm.conf:OPTEEMACHINE = "ti-am43xx" meta-ti-bsp/conf/machine/am57xx-hs-evm.conf:OPTEEMACHINE = "ti-am57xx" meta-ti-bsp/conf/machine/beagleplay.conf:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf:OPTEEMACHINE = "ti-dra7xx" meta-ti-bsp/conf/machine/include/am62axx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am62pxx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am62xx.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/am64xx.inc:OPTEEMACHINE = "k3-am64x" meta-ti-bsp/conf/machine/include/am65xx.inc:OPTEEMACHINE = "k3-am65x" meta-ti-bsp/conf/machine/include/j7200.inc:OPTEEMACHINE = "k3-j721e" meta-ti-bsp/conf/machine/include/j721e.inc:OPTEEMACHINE = "k3-j721e" meta-ti-bsp/conf/machine/include/j721s2.inc:OPTEEMACHINE = "k3-j784s4" meta-ti-bsp/conf/machine/include/j722s.inc:OPTEEMACHINE = "k3-am62x" meta-ti-bsp/conf/machine/include/j784s4.inc:OPTEEMACHINE = "k3-j784s4" meta-ti uses the OPTEEMACHINE to set optee-os platform [2]. [1] https://github.com/OP-TEE/optee_os/blob/4.0.0/Makefile#L37 [2] https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-security/optee/optee-os.inc?h=4.0.3#n23 Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v6: - Update commit message Changes in v5: - Drop BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR option Added in v4 configs/ti_am64x_sk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 4bfd31f0c8d3..097175bd8f39 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -21,7 +21,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_PLATFORM="k3" +BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" BR2_TARGET_TI_K3_IMAGE_GEN=y BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X=y BR2_TARGET_TI_K3_R5_LOADER=y From patchwork Mon Mar 4 15:32:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3039 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A989F414AD for ; Mon, 4 Mar 2024 16:34:14 +0100 (CET) Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2d33a42c1f9sf24208351fa.2 for ; Mon, 04 Mar 2024 07:34:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566454; cv=pass; d=google.com; s=arc-20160816; b=NG7Nz8TW3+KZedjnmwIw8TyAL1rpUA8Y+UjxKb1P0kCo+bvwvR6j8y8F9iUFkWesxr HlYeZ1uABIRH7zwXBvrB4zy5sPgTxffBvhzGpr6J8p8eOEyleDmyvKAsvuLFFKrXKpRJ GDpcg4UWLZftIUmzgbcPUA8XCV+ZstdxVMmwdJakE+0tps2vLWybI1nT6qdPfQMo69JX 7Q9kW//ufS6ihIaUULgkZsBjaWv5O9dHyj3KHmUNYa7ecqba7k9fZvSfHd/vWVOGItzw ZtNQue0S1JNy0GMoVC0KgZeibKra9Cf0n/bJ+8PDyhf4fEqPlNtn0TgqlKXrUP00Kyr6 NXVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4tvha96Ho0e22gb24P2WGGt5TG81raypbqt6asKnpoA=; fh=jx4eTucUo4pCn9fJ4lTzzpQn+jq4Sq9AC+BVAzi6/fs=; b=PHFry2F27NmNyIU8QBuXBLDENl4TM4VjdrThO0cDuiu9EPekMLGhLtr2TxUUCNnYjr JFaqX7twzWN0g66OdmacrbrW6jtv1Vunnjvr/Rp9YQ4lYj14McC0s0uic/ba9J2mvhCK 3eVBUznYbITqOfSSita/8O2dvwekusC+Y02Jn5tc0DgqNfX+eK1pkkdJMzrQzYfUqoAF c5Sy9nf6AlgGEfaaBiyAF+ZeEi3wnh+W3hr3QLYQpInip56qJrXppEfQqdolI2bqxhkC QLKHgC6cOhMj4iPfCeqtfY584U9hTPIVPoO4TfHvy0Iup28H+WoG/GhpkKRWleJopwlN 8yvg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BVXzSyNt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566454; x=1710171254; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4tvha96Ho0e22gb24P2WGGt5TG81raypbqt6asKnpoA=; b=UW1rGsbfZgonl1ynYSC4ukDN0GnS7+tTzzIBshflta+A2qtBY97+2iNhBlnIGRoAf1 WMqpQe80To2RzUZI6U0vxUtwM6XHGpyaYEKXdm/BI2cZcPT9zhTq81YR7wxNul+Gk6vR /T2JDfxG9jkOkfJGMIyo2rCc+lw283DQ2X2FI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566454; x=1710171254; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=4tvha96Ho0e22gb24P2WGGt5TG81raypbqt6asKnpoA=; b=lawBvtgPD4wopx42un+R/F/erpjfzFfzKJxNVUMXGFtAUFdHvvkyMrYJMt/XaAUD96 QMR6699306IBxUJA3T/DFNQM4AJrZEE1rOk6nOJTErYW1mY6BUbFpGrlOIGtvF327OQ4 F8XfqSputALIYSVmtPe+Xr6l6Zclo8EC3em7Ly8tw2wUspJOJL6ukAKWT27dICZzxGBv i/bx22wxG/cHxjkQUCoO88PifUPTJXx0anB1AJ1br6A7my2G/us+RMIBEVv9hfT1i7e1 /o7t35wIuWfq/ZehtV0wxeECL/aDtiq+9zz+sFH+j1k1XZYRscoFxRkqyLXrBmRKBQxT jaXQ== X-Forwarded-Encrypted: i=2; AJvYcCVyHMqo3EGAePxT+QIvb/b9RHJkJMbylpzFQHxqWJqRVcmYMmbf7n3mEhdoR4ML8saPOzRC2tPcGCbahU7Ik6BCuI7U459IX+xX1Ws3BHeKZdPwao1/d9cfBgOs+Q== X-Gm-Message-State: AOJu0YwRbKnXdTztH91oUD7FJbsOHVZrf45WeN2U2KcDcI/c1vmHlnuP RDx4s3/A6SshpAewsjA0pRtlzVlZ0pMiEBbg2RfcRZWKoH+IuFhhrglkHxFXC3E/Tw== X-Google-Smtp-Source: AGHT+IGW5mBaOiwgrS7AWVPmqx1aD5e2CWSSTakZLDfeoNedqN4eEMVcL/99IB4Gco0kYGlCU6j7aQ== X-Received: by 2002:a05:6512:318b:b0:513:39a0:1fec with SMTP id i11-20020a056512318b00b0051339a01fecmr5358444lfe.66.1709566453678; Mon, 04 Mar 2024 07:34:13 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5419:b0:562:89a5:7978 with SMTP id ev25-20020a056402541900b0056289a57978ls2575039edb.1.-pod-prod-02-eu; Mon, 04 Mar 2024 07:34:12 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVKiWEY9Rsj4HTYcwKkLrAPJ/leian7906SZsVuOl1cDTqmd80u2TRcdGzSahvMBaTZWQizPulS2clmL02qVDmW8X/uJkikP1jY0j7sI6aot2zy X-Received: by 2002:a17:906:eb17:b0:a45:9b1:f4b0 with SMTP id mb23-20020a170906eb1700b00a4509b1f4b0mr3211414ejb.40.1709566451999; Mon, 04 Mar 2024 07:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566451; cv=none; d=google.com; s=arc-20160816; b=eP3kaTU21m9+31s4fhG3nDtKCIXzD76xzXry9ocr/mCQkgTVZISPOPuG7OOLzMMBSJ Ptvbp9hriRdgigWs8JjmxmLgz/IhYomtfS3nP37nGco16+tsdyVVQDpNxHHGF7qAn7Uq K19ZipgxjvuTuMMyixgm59uTs1QIidOpdLUOspLPrz0oFRIz5MdwVf5IOBkkW+8+dAmf Y8tN/Mm5qplUgrHsOxHEXlMPdP4o11MYQ2GGxBidpcimQXP44CE3IpCLKTwXRA/gU9qA cwbtZJpAAp4LLv73UTXsB4GdFrAKFJeKFoUT6ovi87n0sGNijGJu4PXMtTmPZWFrPDtY 5C6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Js6re1cNZnkdKlpxuJ10eiMtCKJbntgPb35mWC0eE5c=; fh=WRwDe+BCrxtbhv55/xluacB00ROiE/5bTx8QgeHp14g=; b=FA98bDlwbR+cyivyQhBPH+GpKZ0I+ypFGvGQZPmrF5ZXYnfdYmjwQjyfYonfFlP/M3 +jfVKgSrrcIm5KEXVS2y4ev/lBYo2YqB5uv38xIisAx1Ztxo+J7N/w1UM7vC2C3rFKUg mTbP6G01Fn+foDoTIeMTKy4neHJQHeHHwlhOfT7bgPkp2s/I+6TF2+X2dGzqujUb+G3e 3QbXxc0VKeHrfICAPjr5/7mhCpjy7fp+dVmJwEu5p1I3EzYvOCrUQCBkRU9YiwTfRozR G/fMGK9/WtAMqdt3TDvaNwa/YS+ZDB7pNWFy4dwked4CPDeJFX/EWeKXfcamEn2BjyuQ vpXQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BVXzSyNt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id n17-20020a170906119100b00a4301a3832csor3240602eja.16.2024.03.04.07.34.11 for (Google Transport Security); Mon, 04 Mar 2024 07:34:11 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCWgGbNX8OzTQxyF3zvhzKvFUd5d81kU6RUdE3lb9zpW6ATY+hghvjgVNxaE/mrknTYgKxPyplf24Kaf7frwheAF7r1OgixHKGOmgK2ZwwcpfbKP X-Received: by 2002:a17:906:2548:b0:a43:7ea2:a289 with SMTP id j8-20020a170906254800b00a437ea2a289mr5804681ejb.55.1709566451758; Mon, 04 Mar 2024 07:34:11 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:11 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 03/22] configs/ti_am62x_sk_defconfig: explicitly set the ti-k3-r5-loader version Date: Mon, 4 Mar 2024 16:32:34 +0100 Message-ID: <20240304153253.732708-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BVXzSyNt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 4b8fddb060fb ("configs/ti_am62x_sk: new defconfig") forgot to specify the ti-k3-r5-loader, so do that now. When the defconfig was added, the default version was 2022.10, so use it. Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- no changes since v4 Added in v4 configs/ti_am62x_sk_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index c3ad555a8184..a129e216d25b 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -25,6 +25,8 @@ BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" BR2_TARGET_TI_K3_IMAGE_GEN=y BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y BR2_TARGET_TI_K3_R5_LOADER=y +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y From patchwork Mon Mar 4 15:32:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3040 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 018CC414AE for ; Mon, 4 Mar 2024 16:34:14 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-566fbaeb401sf1515268a12.1 for ; Mon, 04 Mar 2024 07:34:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566454; cv=pass; d=google.com; s=arc-20160816; b=hiWXFdvuiIlEkFHE4a27o3pih6OlUVTxVU5zbw8WjUQTickVn63Afh5J2nJcR/dfpo bvOzMrd561gZ5EFZBUQyAC4bzP00QADvUrSlpEtsq/OuYxz40dGk0POqzWmgaYDFNJF7 Rx9uoQozVmPlWn/IGcOQ4fu6Ihn0h69y6l61fktvUPlYzKifwgmLkhzyHRTsKCAKni67 edJ1JWWtIRAnMDgyQuMSSvr29jnZ91K1c3qCud/DLO92yAo8d9qyE2UQw0mJef0dbzrZ YnTbK9XoC5umd5Qi6mdLxK1Obl6OmxNDJEyTLsZKRp9IyuVjD23lsnPF0TISHhsRzi6H hMYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XFTWLSyMrgaeYl1gGeYzqk44gLZbh7cgHVRLHcKrQfI=; fh=ryIOteqSE6L3l8nqK1juAfSdKMfO+4Q2Nsv/aG0vIjY=; b=lzRQ+KjEtXGBq4F4UGFVGHtNre34iwgiezH/W6qAtl0P2n1l+dkRbt6M1z8IWxGh/f l9H+udOYhKfRjJhM1daEbdamhZfkbFyL1s9GH1wa48poMtBjGE7BGv8lRfX3Rahj9to1 xFZL69JUosm0Y9epSLqJlZX27mBPo0JeVOgl2exeaOFFe4QXs100J6qzpyDMVka17EMY xhOAuyjfyc7JLMZWATgzgrWjTcdAOMho7GORwuxCiZ3GLdhTuNB95XINGnVnFhgZHgVQ zSjdceJdnkGq6Qoc80aLOzJhL6LN+2RWufZaTMLxQaYEqxdLoIf1CMSN1x/Bv3D9x1SW flLQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iETTcucE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566454; x=1710171254; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=XFTWLSyMrgaeYl1gGeYzqk44gLZbh7cgHVRLHcKrQfI=; b=VCOU7boFB5G14xJTV/jCuFX3N/aWv2NTF5GbNbfntfaqVWPeyo9BgdSDc4xruu+qP5 CNYDdDLESHbsA6AJRgNaMKSXemJ0V5AMKB6rOhfm1dAURM/wtFQncK1CK/yEkNeEWPsZ 942LxREGx9Ii18dc8IZrMnOl2vyfxELbTXMOM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566454; x=1710171254; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=XFTWLSyMrgaeYl1gGeYzqk44gLZbh7cgHVRLHcKrQfI=; b=Y1Xfz7tzGz7YbOsecgKLhGR02bOYcWcErEcZ8nOtGLCrIWmyv/ns1C2elPPfBOXBsS ySZFJBQLmi0DJx5jt73s/xj9OgulgSlnJSTM8ME3kfC21V3r3d7P6slhdSdtDQQe85q/ i3rVFf5gc+lOesYpk99LsN7JxR9MTetR+/VljwiY7+UzvamZGbse/upznWMnW4TAKlTl ntnV6vE6agST7TVR0ddw8WdLXrr5xxbRHS9of84yHcnG2e4Nd/+rql7+6UMemyoJfLyy aZ+feXJASW0i3Dan//XARJpsCo2Kjfd2Mk/xCk0B8EwIEQZWi3NlJGgTZsH9WIbg3tua 46Bg== X-Forwarded-Encrypted: i=2; AJvYcCWmYr4nlPhBp9WrcLSbn7qzfHE5I6UVN9QnZgyq5LKup4FigIxIBPjpZ5E5gtYiJhhg2BsUSMH2aaE/LLR6vdn+Sb7QH+u/6eVvcnO2lfoWL4zoCQqPmnT2mfC/Nw== X-Gm-Message-State: AOJu0Yy3FBxqLiE9XB/EWzIMwPkPokB8X2o/C2UPk0Y+dhgjCNO+eaZo 5pRyN4BdEfMNvX91JLH8fluZuN5asp+7PHITnesvPVAgRoIt4ir607Zu2Cmt31U9vw== X-Google-Smtp-Source: AGHT+IEJQCgC0X8hzAsOmVr2IzonlIWERTn1An+LLfZxued48yOofmSgOxhIY0ABp2YjO/iaqQSw4g== X-Received: by 2002:a05:6402:b6e:b0:567:6a67:664e with SMTP id cb14-20020a0564020b6e00b005676a67664emr1084360edb.34.1709566454724; Mon, 04 Mar 2024 07:34:14 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f26:b0:567:5bca:8f2e with SMTP id i38-20020a0564020f2600b005675bca8f2els289635eda.0.-pod-prod-06-eu; Mon, 04 Mar 2024 07:34:13 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU7dpBZUQxMlSs7R9V2jRqKOtP8lCFrU1VqAf0iJT6gXk/65ihuEChbiKhkT9Sq9E1LjvnR6SNWJt6nosze2B7YPJBUzCzX3UjpnYK6zX8C8nTh X-Received: by 2002:a17:906:f88a:b0:a45:8b31:cdb2 with SMTP id lg10-20020a170906f88a00b00a458b31cdb2mr432585ejb.76.1709566453190; Mon, 04 Mar 2024 07:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566453; cv=none; d=google.com; s=arc-20160816; b=qMvD4LjPmAxuxaMFGyZi2T3Ap0QXCZ/jAHO9D89OpqGMHdiJZTilVFF6UeOtT54Ezm mmpJFYneurobjjy99QLe/wKVQDL+/LURDea79Li2Z0PkhDfn5Ey49XDaEXeXzRfZJaec W8gyiihxuaTqNKF7uISsLUXfS6Vc6joodPTeoiA6GUdSHD358PVDGGetv3jneS/Sjyex 03rcn08v9VWzflY/7PdmA7lAZRG3XJw6ssFQDDNP4BkvZEvq2XYcVoy+NvzSAz3iOZ2Y bPjJySNbtKiE5fC+VeSvgt1Vcna030h+HQTn0j2bvGRbvz2DunLA0u5+LN37mzIydphu Y2hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Y0ukM1ysdi9ISjJrZMGotHcNyrgvpCD8kyvBew01Sr8=; fh=V5shKX1WiieSdk98Ig64Yc3pq7tSwJ+Wt0GDHs2fAGg=; b=cc3TVQqncdW07HpXWyEB2EbB3ZBbml93yLE1ok36+TA5l1NHZGXbERIc0r5IkNMlZ3 v4es1A8cHcayNo5klXVHw/IJAxVc1u+xDRRsWk2nALuVGuzM5mn2KnjU19ODFdzDTAJp J+VdskPl9V7xAhNzaKGeSITsDQGCwfD/TylCmoSGBYrKWXcpiWtGNdQqhxapIj7rTHv1 6AUdKDaLIDHRFq2v6xQmbexxZRCVAtdSYM2RqcpXRGZhhSsIm7sTImsoK4RX7fUPe1Q+ 0uKGZZYQWRb5YIGuZLOnKEXu2KwKJWtcfZHCfcXpGeFtvdCO4TrLsR55L6A0l3wOvGKa DeWQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iETTcucE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id si29-20020a170906cedd00b00a431cb3428csor3417064ejb.20.2024.03.04.07.34.13 for (Google Transport Security); Mon, 04 Mar 2024 07:34:13 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCUY2Be4YDA3sPDDxfXYgSJhQnI7EvhcZRPqojHV7afJP4XCfmSwN6Wsrf/mWVVHX1rtLKcCXDRVI3TmcLkMf2kARGD1nX9q8XTAgyNXvndDd5Ax X-Received: by 2002:a17:906:714f:b0:a3f:20b9:2b68 with SMTP id z15-20020a170906714f00b00a3f20b92b68mr6562371ejj.10.1709566452928; Mon, 04 Mar 2024 07:34:12 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:12 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 04/22] configs/ti_am64x_sk_defconfig: explicitly set the ti-k3-r5-loader version Date: Mon, 4 Mar 2024 16:32:35 +0100 Message-ID: <20240304153253.732708-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iETTcucE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 6b2329bb80 ("configs/ti_am64x_sk: new defconfig") forgot to specify the ti-k3-r5-loader, so do that now. When the defconfig was added, the default version was 2022.10, so use it. Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- no changes since v4 Added in v4 configs/ti_am64x_sk_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 097175bd8f39..26195194c7d6 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -25,6 +25,8 @@ BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" BR2_TARGET_TI_K3_IMAGE_GEN=y BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X=y BR2_TARGET_TI_K3_R5_LOADER=y +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y From patchwork Mon Mar 4 15:32:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3041 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8BD573FA2C for ; Mon, 4 Mar 2024 16:34:16 +0100 (CET) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-5131bf5d244sf3587418e87.3 for ; Mon, 04 Mar 2024 07:34:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566456; cv=pass; d=google.com; s=arc-20160816; b=1CpIlsN96b9xsjLDcyiVwtWAAccxGdfc9zYlMuFSEKZe9ZCuwHm/jj1F7gWTm6XoUp ydfRHy6fKFRfpFdTpqXLmq5heg2svA/Q5eGAUyokaWEQUCqoKS/s0XLLp/lY9apeSLMB JI4JkfDgC3f4hhmzZl9OzgQzLJitccadJFZKU1f7DkhdIpvAG3LmOixNJ7XyUj48wLx9 /4yKs8+7NYEBIaJdeJJ4ogYs1NsisIOj4aGIv7hMiX77tMCpOc9m79eWvsYARJssfRO0 Tfj9i8DzYnF4Dh/zwEOYUV0s23f7wD6Mowyz/KLGsrHvfScflXBGZAqQc8vFeP1zcbhB XC4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=z8e7hb1DieBR0X5vyULxTq7hZbeHbaOQZe/7WdvUEeE=; fh=4hJe3zhUL33o62S5+AXvMb7GEhOyF5BB6AsIhNwwQvk=; b=txUd4J9XsloFQhisBWvwmXB3m8VH2QM+GlLlgWrNvCsv/gppLtq1fGvxLaW0T5ScAX +4Uv13Vc1KSBrCNyu0ei+3epx2hCHkSMuzDqeQh0DB8rvZYcl7u0zbr9dkjmxIxI6zDt 47M8REIXuhYzgq33cM2zxKc2i9JajnsE+dwBgApqSVeFwEH0yo2sMW3bxnxzdfHhFf9P zlKKPaZRvof1uU2TnxCFQMb67kiUaQehzSJDdcanBDgVD9/vlw7oSoFU+JFHT9zQ+nNd EhQRLMnILO0CFNcF8FFoooVm1MEm0aWWcSJyAF1TvbtxDSQ0B3dFcy10IIhBNxC+xYxd HgJQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=id39ZQYu; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566456; x=1710171256; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=z8e7hb1DieBR0X5vyULxTq7hZbeHbaOQZe/7WdvUEeE=; b=jjva8AfeobWKLse6cqGJ45mWekJpGjh5PBhTh/FJ1oeLTaQTJd1jvJxBUKxJ6ndN68 dDAIYgOmbVF45MK4gW7FpHJp30AKiycwBlOcx87BiI0OzhnSd71rDK3BSt8vfUxD0hyU CKdq4BgWCwcZxwApJWZKLvd3bfbe7ZBDa3R48= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566456; x=1710171256; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=z8e7hb1DieBR0X5vyULxTq7hZbeHbaOQZe/7WdvUEeE=; b=OR3DhQLkbfzCcWwNtgXsAB60U5/rsq9pWrVDxsfJEDfgTGb0UJid3P7S1qQUNNDnhx IPN46X81LuP0iG5lv3P/Ep3xSXRCfJhtcrfMEeM3v2FYCRjWfOnxsiFNnhVPS0+vHiXO AY+PrFf96NnuDfdVrrLvwWwjeYPJmPDdieX3C7HfjgSxelMLCTJYEThYEWvL93otBX/2 UPSwcxC9py7a2xk8ko7jWsZ5JCnxxUfKoGSue5crL5aGQ87HrkItnSBpNJ0JyoP/qUiz t3ZHzCl+hyxOj1Fbv0/hIUayoFt7NwoWV2T0ti2pAMzE0cu+oQnaDBPGd1ODVYXav+J1 yyYg== X-Forwarded-Encrypted: i=2; AJvYcCWbILq9DymYB6N8IoDcKPDPMEkNk1v82vYT1seuav4GpLJoS15BtfJgLIs3gYlgTF4tBBEWWzZUfZvgJmKVC2LuGKpuGWU8PWUjA2XpkbTFEvOLeQOfo/X677Hn7g== X-Gm-Message-State: AOJu0YyP48SADpbcfe6WE9j5nbRZGK0uMXpB4s2K0y6MGd4VxjzDupPI fdmjpTvSY7z3ZEDAe4pL4k/59fktkXy1ANrmaxW/4FR0hBkeBHbK5p6SCUCTclZIAw== X-Google-Smtp-Source: AGHT+IHPAuMuUxXOvEkbomIGZ19h7UJ8tvhSmlGTjhVJNURUr5YhIhta9Yz4+EOT8I0730MvVX5CLA== X-Received: by 2002:ac2:5054:0:b0:513:2cb2:53a1 with SMTP id a20-20020ac25054000000b005132cb253a1mr6171420lfm.53.1709566455998; Mon, 04 Mar 2024 07:34:15 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:566:295a:fd3e with SMTP id b5-20020a0564021f0500b00566295afd3els560151edb.1.-pod-prod-04-eu; Mon, 04 Mar 2024 07:34:14 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUBWUXBspKkpSPiOG8EnBYVREtgtvtDHuXB/dI2M5zER4cMhkdGsD3f4bft72ja1H5pRkZX+bG9Llw/hYD1TBMz8UI4a/0h259pXz+Ell3asZ+y X-Received: by 2002:a17:906:f911:b0:a44:7bbe:d774 with SMTP id lc17-20020a170906f91100b00a447bbed774mr6322807ejb.9.1709566454491; Mon, 04 Mar 2024 07:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566454; cv=none; d=google.com; s=arc-20160816; b=F9lbkjuoeFbUngR4iYppwoyqKG3fV4w81Krpc1NX4dVXDYutR6zPDsiF+ljdt5xfNi yrckjXp5QA55bfuDcLKozk0rkptK2MWTA+DhyYNiwcfOAdk2P8zTTk6LDtij5V8kLxiE 7JG+9rZ9QWOqchRiRptWmv8LTos6bfy0dsNweU8zKcu5Uc1YXLKXsU6GeMcDH4RLh5tE jyeY1q3eZiCu09E0fdvoJKxpFuL7LIJ/rK+Rrqnjy/pu4pmXZIfQpYN4mh2WuE/r5gy6 HWIazprrNz4MoEJ8CE8T7Zp9CvdJSbyd5188aBHY//7TCM07PrGuMlipQMghqW/QJvFg CX+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=kqwXj0Cwjbnuj3JXbq7I8NEydeF4lxxZvlM/8Q2Wx7Q=; fh=Ch9JiNII/TjAl8r0bN1XVSVF63vl3FoOJJ5GA1LuMJA=; b=AjZ3uJHy9IUWZlCEbbxuoaN4BiZeHawox0qqoMgFRnXD4mczv8FVdUd4H44qKZcoiV FlGG6Rl5rPssGv2TXqivn8cxx+1M9C1dbkbF1rLoNNgrJ+AI8w/w1v1Z9Uf+qV5zuOIQ WOYRlZQi0YTEvo9wxxRVXO2YjXVjBc7c6d7jBKosKKK78edSebE+JbzD0JLv/veeBlQU hnhlYTKiMm1VcPKAHZO22AX7YRX21IcI6pNmENKygaeKrtez9Z9gzdA5sS/MvCGfOhsO oigyrCqpb1bspbrIR1rQe5598FYo4pp5tH1B8K1dbc7z3ste5m1qPaXOQDQQUdPjJiXe 7DsQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=id39ZQYu; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id n8-20020a170906b30800b00a4578e2ed98sor441954ejz.20.2024.03.04.07.34.14 for (Google Transport Security); Mon, 04 Mar 2024 07:34:14 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCW7UY/Ysmn9serRxnncEw4+FOpfNfme69vPHsuVwbUGvMGCfj9FQ+dlHNuMcDPc3J5/tTaCSchhWD6/oaJ/ho3RNLhKw6T71cH+aKao0LiwQeJd X-Received: by 2002:a17:906:abd0:b0:a45:293a:c94c with SMTP id kq16-20020a170906abd000b00a45293ac94cmr2488612ejb.60.1709566454053; Mon, 04 Mar 2024 07:34:14 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:13 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 05/22] boot/ti-k3-r5-loader: bump to version 2024.01 Date: Mon, 4 Mar 2024 16:32:36 +0100 Message-ID: <20240304153253.732708-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=id39ZQYu; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , All in-tree configs with the ti-k3-r5 bootloader use a custom version, so this patch is mostly for the menuconfig default version Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- no changes since v4 Added in v4 boot/ti-k3-r5-loader/Config.in | 4 ++-- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/ti-k3-r5-loader/Config.in b/boot/ti-k3-r5-loader/Config.in index 8c8368a1a5a8..5f86c045c99f 100644 --- a/boot/ti-k3-r5-loader/Config.in +++ b/boot/ti-k3-r5-loader/Config.in @@ -16,7 +16,7 @@ choice here as it is used to build the main U-Boot package. config BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION - bool "2022.10" + bool "2024.01" config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION bool "Custom version" @@ -60,7 +60,7 @@ endif config BR2_TARGET_TI_K3_R5_LOADER_VERSION string - default "2022.10" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION + default "2024.01" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE \ if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION default "custom" if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash index c5d1cb8e09f0..fbe5d215409d 100644 --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 +sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt From patchwork Mon Mar 4 15:32:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3043 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 225E3414B8 for ; Mon, 4 Mar 2024 16:34:18 +0100 (CET) Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-5131d042b1asf3434638e87.0 for ; Mon, 04 Mar 2024 07:34:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566457; cv=pass; d=google.com; s=arc-20160816; b=tugbcrfMyKw8+DBEv8bufBx3P5pVsJviSZ92kIvv+EaA/hRn0XhXc382tfOuUf/s8D fuLDszqnS1raU1iEgYjkaYF0boGiQzUqZObGgmQwc3M1wu9bPvLN8VOg4TS7iFux7OFM Y/xPodr5SNa9jhEmwmRo5SROocHXFerKhD1n/uYdtVvAkNDt/Xd5mlYphhMTBnW/PLc9 3o4Rm5+t2lRYGHpM6/+MQCZWbzm6oBi9jddOVACWy99JqGxTnCF317sIaePjN+pu28Yz rgz57Rh4m1JiuH93cRLxRHI78FiAASLeDki4DflxkI8cNLgc8uSCEiuoM67vTXijqasB 7ANw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=z4vEC0D0yfeH8xY7YFCY1vdEl1End7d5DFzj+3YlTXA=; fh=e/WoFibi+6CLrpE+I16Ed2WYz2vNQxEBQ1fN1Zopavg=; b=xk4jf/A5NzsVPV5ToQ+UwFMFDniVzjG57cWfbjPlJ71xcbVXQ/UZQIrNGlW/Bw2k8k feSeVHRMS+DgdZXOe14vVRi9YGfgCZMgNPwlBkaXxtD1Vl+fFpfhCLufSzy4nkrnlFWq zIiX0hsKyl3gIjG2sxFIjO6zWCksaPisn/PXVEssBwy6KAvnkw9MUKOKI0C8WhI+eZlY 1sAq09+JFV88UGG6cwEa1jbbqI+HyR8qBOtgslHzb7tO+Uy8ozm3pCTAWw8rc1KOxzMc pliw20sZmyWHyZ2MdQWy5Wjmuv0/JlNy5MrYbn3LU0pGgsn9LODlm0R5Fz3Tyu+gFCbG H52Q==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VdER5FLq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566457; x=1710171257; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=z4vEC0D0yfeH8xY7YFCY1vdEl1End7d5DFzj+3YlTXA=; b=EZJE6i2bDiYz12iwNTKRVo8OByCTSRab8vH0Un8ZtmtTRqLXkjupX4YV1PpGZG2tlI edame46I/kbW6jUj3xkxzDssulHvAl6zenpBl3+vvHc3eMA/X+7UCaUFjb1bNhAX4RTJ tTwefFvJMo7j8xBqcp+cPKY4MibMYhr5NASmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566457; x=1710171257; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=z4vEC0D0yfeH8xY7YFCY1vdEl1End7d5DFzj+3YlTXA=; b=eu8LViwuHZAh56sT/RTMHw/HSFFsLT8uDQJAmHy4elcBRuwyT3/4lLJAspknJXCRZg AtzfXJOiGrNKtkyyRm2ne+sx9WeuNMZyxQOjZU8cRx4QmgCXRLiduGDmWRZZ35ydAUhF wcllW6zQgBpZt9B/wVY2qMxT+ew07mj7DyZAz1zwhLrRLpEsAE/43WndoDQmXRRzfuO6 8CKZFWRGjnD/PabfJQG6Z46ZpSgVUHdknBdzL2rHH69KAdgt4PLOhySirqJvCwZUqK9n ffan/m2ohCTGiI7CwLDU4bPf4F4/FAQ4xBLJ5m4lFmI38ZbjoEkq2kEyNXuE2trcxVSk zIPw== X-Forwarded-Encrypted: i=2; AJvYcCWna+D3L7lE6czWk7lVBUYWek5a8VwIVpWhNTxU4JHbTpzOXEPZ8VYeOutv8mfC5dDtJ3ur6S9ynJSVa9pX4EFQOFd7YN6A6XGTcxEtEJfMPNF6CtU9PDyPccVd5g== X-Gm-Message-State: AOJu0Yxy3ErfA6MO71Q5MEmD1Dwn0IIo7OihbRdXOTtxtsVkAjdn/pdJ G7JhGNjeThXvqM9uboHWE3r25/TxETahJ4lTQvGifOPuW9HZXwsJjt2uXWu4Mtm3Lg== X-Google-Smtp-Source: AGHT+IHs11zVfaCNFf9tJh+6E/aWKHd3Df+V36HoofBjHDBaMwepROl7Sdk1mXoO0YRvSoe8XX0UvQ== X-Received: by 2002:a05:6512:4892:b0:512:eeac:2463 with SMTP id eq18-20020a056512489200b00512eeac2463mr5545308lfb.14.1709566457332; Mon, 04 Mar 2024 07:34:17 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:158e:b0:511:4a70:6ac4 with SMTP id bp14-20020a056512158e00b005114a706ac4ls233071lfb.0.-pod-prod-05-eu; Mon, 04 Mar 2024 07:34:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWOBiNVx1ZrTLBIX4nKjrYhXJchtdqn8SUmFB+APOLlyVn5B0CcHrNSWvUCyiSc6OrlIEjfqeLDKoDoDui46bsEjxEyGx9vkfv91Sc4w2JHhcCu X-Received: by 2002:a05:6512:3d93:b0:512:c355:6ede with SMTP id k19-20020a0565123d9300b00512c3556edemr7173026lfv.31.1709566455612; Mon, 04 Mar 2024 07:34:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566455; cv=none; d=google.com; s=arc-20160816; b=aeBgAkos2MTy8pUrAk2Vm8XtXstKSIvxOYIFcy5NN3hpjcziCnLkQONzvXPzPw0Mkm kUhCOjD7PSLOugyj34zY1m07e/f2P+jDAei/V9McBAkqmPOQSvZ3AZqyjO5soNE51GJm y8zZ988L/fCaqzCEmdLe2/5qnWAwTXbRKL6ch01DT5XqEAQll+tXO0qZuePwkJueEWgm 0kW6Oesi0Z542ulCXqBiNfJd3RoeQgpMUSgIxVjE8S2qLbqoDMF4YN9Kh6CXkgRYeV8M 11w10DCvVKK6/bG6NJFDe23u9wGYRDdA6Qryx3+Y6aIXNDBKxScT1q/PRJPGZ6KvtGdv C1Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=yI6EI4PLyOwb5Mbfb+U9aDSReebynjCbXzyzR7HAgKs=; fh=X3FUO0Ikuwcb7zDtE+2KGoOIXzxah5ABTlY+vOotdoY=; b=Ecj6k2kHfrJ5OWZAhxNUVBvMUuk9rA4LmtDRkTI29UZGBveFUHaQxO47s00knhwSN7 eGxlc3jAHWJN/08RqdkstoRG8PUxUcyvMP35u/X8tUdORCjSe3HfBJXioSELRoh0qQZg 6KRCZi6CY9TodcS6LfisV+CrH52sQPQvXNr6wNW7eCCH9cyNtbAYA5ps/Ag59bWXSGZT MQbrEfDnvaZFJHfAeBGkI6Wu90LVdP7SHH6Z0xG2MH+ZOMyyr19fU09bxnpwtfrj4IT0 4xHkiaOft23+gWh99ERVmcwRPxrT18rOFh/x3WsLf/EkAmvD141TzMGQ4oosUhV8N+1X rguA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VdER5FLq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a23-20020a195f57000000b005131f3e3379sor2428853lfj.20.2024.03.04.07.34.15 for (Google Transport Security); Mon, 04 Mar 2024 07:34:15 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCWNDTrRi/wfBHfwXZkr8Iae6rOwroOlQzGgL1WxgeyM5m1meFDdm2sxDdEop7gbuSE9AsGQQ2H7WBpO7EEhzHsV1CZ2hhl0BeMlyUgblEohJTA0 X-Received: by 2002:ac2:4d93:0:b0:513:31c:212d with SMTP id g19-20020ac24d93000000b00513031c212dmr6210052lfe.34.1709566455205; Mon, 04 Mar 2024 07:34:15 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:14 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 06/22] package/python-attrs: add host variant Date: Mon, 4 Mar 2024 16:32:37 +0100 Message-ID: <20240304153253.732708-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VdER5FLq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This package is required by binman. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- no changes since v3 Changes in v3: - Drop Config.in.host package/python-attrs/python-attrs.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/python-attrs/python-attrs.mk b/package/python-attrs/python-attrs.mk index 8a1236cc4402..fb1729e62fa2 100644 --- a/package/python-attrs/python-attrs.mk +++ b/package/python-attrs/python-attrs.mk @@ -15,4 +15,10 @@ PYTHON_ATTRS_DEPENDENCIES = \ host-python-hatch-fancy-pypi-readme \ host-python-hatch-vcs +HOST_PYTHON_ATTRS_DEPENDENCIES = \ + host-python-hatchling \ + host-python-hatch-fancy-pypi-readme \ + host-python-hatch-vcs + $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Mon Mar 4 15:32:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3042 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C64294274F for ; Mon, 4 Mar 2024 16:34:18 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-565146088eesf2992167a12.2 for ; Mon, 04 Mar 2024 07:34:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566458; cv=pass; d=google.com; s=arc-20160816; b=HEgaTBo0WKDEbLX9fH4NczsGhac4LIuM5SHBuGJRYEBQJoJiXaid5xnVXEFhMG8/7I EYGXN0efBG19Nak2VZxVC+olFQVGwrA5Zal14JyJsJ+HdmRqGeJzDzajBXfC7wSycbGT gLMQYSeyoQ8O8GU5B8oUQjMyrqknI3yPleOhvqaXXkIyK08kALnRyQv6az7D+QeDwHPR HeCpR0eEEEg1TEdjpVP9woG2EeBxRuqnf5uHBo13oM7ItEmpGYCbT32mboGNKfSJ6bK6 2uWpo5iLSA2sCOnu0nfIV3yUs4oR+8bhQ4HoEQ+WBippabtt0b/zyjp5312J7t8ej/oe 8fRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Km/Zg5z0KsLug5JmGlOKP6jwVtCkm1EWoPQZdr0CX+U=; fh=pkG1Z/EqQw+phZjy/84I8+8LlCoLFflXWBLC1g6gE/c=; b=o7U6GwY6PjRzycd55SdfbhjHY9s3uu9pdX1iDjzs5v5JslO/6zGlGS3YGUMy2Vk6Xg mlHJ/LKZWlLB8SKlqd+vW9RzNqzRE5qk+03SW/yqP51y29HB4XRHjidmwXPAuiOAKuqK 3cTA9Y58meH9LBof97aa0UvjSEfNDNI9v9+XRALkH1zzGfOTczCbDIA1thEEb4pN3fmj 2WapVthDRBZK8Jnsvep2FUlalj5oPHRjRrliqpLlsp9Q0YGUJ7M+/3KU8Sqham4mgJXY MO/6G/PGI5CstXd9lDjfS88CoOu0kQuGVZyjVDXsxdLC/KeAlyf52EHZG3nEwgt42gQk vgcA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R4xDqAVg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566458; x=1710171258; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Km/Zg5z0KsLug5JmGlOKP6jwVtCkm1EWoPQZdr0CX+U=; b=PL0dTTuQWDexuHk/mpfUZtCfQF5dhDDQGrkiknIZWu4OI7iBUVbVEFwZOfCB753cEF iXjR8Y1wcn39mooBdojbaXT1J2U+xdd2AUkh0c59RiIAkiZo+G72N51xsxrvKKkCn8A2 UADsBMqTR2cdOLXT6Rf5Qo7zG8ljTpAwGL99Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566458; x=1710171258; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=Km/Zg5z0KsLug5JmGlOKP6jwVtCkm1EWoPQZdr0CX+U=; b=JKWCFtiMMVxzdomxwjb3Xuyy/LTp6Nz9OFPYqFXw8251DhaBA52MSv6OtOC4znOv3o fo8GzGZD+cL2KhLFezFeLR+BEBoUDbu7f8ylbOV7SUpAR2mk3u1WgnWm/SM2mBkdtye+ 5flY2VqgVb8DQ5JqiW3UpW+F26NjfI82yOEul0CvSxQH7pHK6YJOkQiA8/CBIIb/zb7q XoDXCTLQ6n+Gnd+3y4wZMbQz7dgEMRHTP/xoJiNAtP/y1BOyGF4M+A2lVRJNYfWcQAla bcjwh8lnCuthgNMEKXLHZTYOf2oT8BDQ5u9LzrVaQ9o+iA6VJeqLXob4auArJyVj5LOs f54g== X-Forwarded-Encrypted: i=2; AJvYcCXbMgt2oLSFMcYHLdrZlHgYxLdBMr4AGYDGp5kaT5CAre7+NFZ4xqsDU3Q76CFvGcdwFbQqtinPai+xEDSOfIhp2JH5zQLKy/PCi0nfJY5aMyVhoP9P6oys6TJ8Ng== X-Gm-Message-State: AOJu0Ywf51PievqGR+AO7AOfsbREfHC/WOhvjmuN/ItDWCtubdVdtVSM X8GY8ToU9RtoFusqiHsQg5RVKUQGVcy72Gj2RXN41Vuqj1SrRC0JfR/SVi6q3b7GEA== X-Google-Smtp-Source: AGHT+IF2WOwILTPdn/inRyaqMcgWW8wEHIpfc0auOSFeyNBVxqFYSNwjkYnd4Vz3ASG8INRWo/CitQ== X-Received: by 2002:a05:6402:1a32:b0:566:ada5:e4d9 with SMTP id be18-20020a0564021a3200b00566ada5e4d9mr6271699edb.19.1709566458290; Mon, 04 Mar 2024 07:34:18 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:566:82f2:a1d with SMTP id b5-20020a0564021f0500b0056682f20a1dls994080edb.1.-pod-prod-07-eu; Mon, 04 Mar 2024 07:34:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXFGmt3oratmXKLFwwh4Em5uisj+nlqp7yN0Rq8YDWAemTSxWa+fR+1TXGSZbnEOPqC1nVJkZ1Vbh7wLloxsf2wTGdpPTMW8MVlwim1zKS/iEpm X-Received: by 2002:a17:906:cf88:b0:a45:373:d00 with SMTP id um8-20020a170906cf8800b00a4503730d00mr2990230ejb.63.1709566456748; Mon, 04 Mar 2024 07:34:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566456; cv=none; d=google.com; s=arc-20160816; b=ocwWUxPOJawzzu0pjfayavS/XW7bwnCSCKOggHpEI1dlzYIs/cyW3Kbc4VHJQCjvk0 MP6FRKsCuNG1qLZ0pLkSwkot9LK9/IDRSPgPXs5sg7dp9Vhs3B3cKZOm6XRr+b8o22rN uKwrovOpC1BUzAN+1b/EDxgnCurkFGx573rQHlo9MtbqR65qlEt1DMnfgwk/LcagYWCT aSGQUUSc+S+P/kPH2TaY47/4urmrLc2LE53E6efljki8qR0PiKF+wgCtwzPTWuaC1ZY/ z04DXb8my8lEV7SKBNa4Toc0vhmDOJKfD4vnIF8stuik6HvxJFVqHqQxp6M+PvHfNQF0 RdDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6GAmi/O0DEAilIwmHqE7GxRSrTaugNHqHhinoRUgGlQ=; fh=jkLGGniTnEt2jbjXDFm6roAVTeD01RacUa/MJg1HnwQ=; b=Ca1+xlletwGXL1MkGLgT7geswQjixHvbYtApDl0kqBJc2AExlkdfridE7S6NJy9Bqo wRgHKFH0ZE1+qoi86bHUv91nBHo46Zl19yACOyBBmDvxKcyR3YLfSOZvcN5dFgeQYOyd 4Eu7JvlnrzAMtRp/ziS/fKmKI8NG2ZuvPa/mR8YxVcMqdHhsLWFOj2uGDX49PjJ7vgq+ Fc3opx3NlABfHw9iJn753opvZc3EFFmMg3QKyrgor+St2gqAVQ7nkBVI8r4oWLBWWyo/ mnFmP+Zj020at4dotQ0Wt9aXGUI7PcO521+qEc9qDMSWvj/fsGnMVLj9UejQVJBqD68Y DlSg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R4xDqAVg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ck18-20020a170906c45200b00a3e461d82e7sor3206921ejb.15.2024.03.04.07.34.16 for (Google Transport Security); Mon, 04 Mar 2024 07:34:16 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXs3Loxwb6nHLmmsGz8TW9W9XvRS1mIMWDXkpHJDEwFskWIe/LFwLG87kxfQZF1wVV0xhLx70DPIpW5feliRiBc2zOXgLsK3GwMalbxTs59TCPF X-Received: by 2002:a17:906:4ec6:b0:a45:57b5:4a7a with SMTP id i6-20020a1709064ec600b00a4557b54a7amr1280163ejv.37.1709566456478; Mon, 04 Mar 2024 07:34:16 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:16 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 07/22] package/python-rpds-py: add host variant Date: Mon, 4 Mar 2024 16:32:38 +0100 Message-ID: <20240304153253.732708-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R4xDqAVg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This package is required by binman Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- no changes since v3 Changes in v3: - Drop Config.in.host package/python-rpds-py/python-rpds-py.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-rpds-py/python-rpds-py.mk b/package/python-rpds-py/python-rpds-py.mk index 80670f2e4fde..cee2ff290a4e 100644 --- a/package/python-rpds-py/python-rpds-py.mk +++ b/package/python-rpds-py/python-rpds-py.mk @@ -12,3 +12,4 @@ PYTHON_RPDS_PY_LICENSE = MIT PYTHON_RPDS_PY_LICENSE_FILES = LICENSE $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Mon Mar 4 15:32:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3044 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3366D42751 for ; Mon, 4 Mar 2024 16:34:20 +0100 (CET) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-51333e20813sf2067269e87.0 for ; Mon, 04 Mar 2024 07:34:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566459; cv=pass; d=google.com; s=arc-20160816; b=0NfxxcJq1ESZygxI+1dIkGsX46U4i7Ai/VShvs7YHnspoqjXjCucKybcYrEerLCtqV RAlEQnNFHyCBPDJXx9w9aa3G0qgKsn9pAl1XB/tZY+R9tiNzlA4qdg/xQxV5ABp/sccU 0sphSiiPixvayH5gLKv3D2hULfqKcjmOO2QJFOm1r4cFioa+ZzPyHXsg3YHR6jK7ZAWT pzl5/U0zpoAHxa4HgZdDzDMZBvwqw9q+lzzekfmRCA9NkJOGVleD8jEEKFtpLC5jwkZ2 H7pWseIdULN1rVxjTLeRNVJrR2G6a7qePdlQHH9PNyKUfv2VPdX5b5TvLehSpao75Oxj qX3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=HJUIMgC9lTcdzDFu5AABv9ScGVzaWb0Dfd3HkrmVHqw=; fh=nRw8TO265K0X+kJaHdgLFjK6Om1ePGV0hlrfcwwmrUM=; b=IjFhplj0OntLdt5EVtMUv8ajIuuB8ipMKWpw6FQR5sjzwMW1R0yVHH7fg27iV3z344 0bUNWh2BwvNdmD9rjGhrfv+/3V9RMgpuBDTT3KO9Psoy9cqHvqG7JiCIlLqRAnSVZLQ8 BkPO4Uy/siPB0TmpNTSjhMZLFB2cO4eB8bp0sRp7utkMoLoToBB1YYvjmSVJRCD8qxCt f64f4MLO84s7z4+TjD5VXJRH+RUcUGNywzfNyNHvkpRSEUTscw7zU1P7zfbVw6CSq/wA e+n7n/iLdPBhif9UDOLIZVj529IBweHrIImY8CNtFX0VGLnDmYf2j583sVP7LKv6xA8i Swqw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zo9WWqnM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566459; x=1710171259; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=HJUIMgC9lTcdzDFu5AABv9ScGVzaWb0Dfd3HkrmVHqw=; b=d11MPdUjC1TWHKlKaFcKusOJUlO1GmT4yL5VebsTq4v+Z815K6XnYn5e3gGXFZu67d NEtb9gRp88yt18J9Q/0Cobz0cpRxIWnMRZNiYnqcrqZJhvC1wI/pF/P0EckBAaIPj5zk 5INwIGvtC3DUf6ThKf94bejOsPXWTXv1uGNAU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566459; x=1710171259; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=HJUIMgC9lTcdzDFu5AABv9ScGVzaWb0Dfd3HkrmVHqw=; b=HJp7D3qKdZzKepBM0U3HVZN5i6LC1k+NPUfsDirA3ihImjVJeJGmPKVFNFGh79zt91 PrvxqRKcs3H56h8aUq/uFwXa0WSHVylTCDvXUAMQU3+gsnfEAamNRwGt0aYO+1jJ+XWl 8Vgosi2QXxMM/d0FR/bFsXmptCJFjmqpQcrMMBcvD7+ZGGmtwVdbLW2JePW0AmtYGkVy CT60tDy9a+1nLsvR9Gi0Oz0R9jJgnShzDx16qKPnWKu6CBxv1pr0r2jQ3vDgLKw8sMQd c3yQrwvkUWmFbhMtowEfNPfP7MmXkmQeeyE5G1O88X4oPf6leWFw4Wc5sn3Tgs84apRi qgOw== X-Forwarded-Encrypted: i=2; AJvYcCVMJM8b/oz8rqe+E5e50Ex7RfZm3NeffzUN1ffKT4RrZhhK3lLAT/58E04LxhyZB83eE77MustcjukTuDrPGhUy89hnxeuOKUWxHotXU1IXcL6uQZxIW0i7zDNejA== X-Gm-Message-State: AOJu0Yz87TdVCAPcM2mqSUK9AX+wBN4mpvE6bLpdhDvER1wLJJam3PMa AH3rbJnyhAUTTf0AG55fGmFdhn33xFxYjo17uoHo4c8GwrKL3w1gAGhbPrqgogfXoPz3O0/yMg= = X-Google-Smtp-Source: AGHT+IE6zz9E/B7GYQ9FPBquWFBkj41//3gdVRE/tdT84r0sFh+4e9fiW3uu+hWI5a4i743bNFjipg== X-Received: by 2002:a05:6512:32b8:b0:513:1ff9:2bb4 with SMTP id q24-20020a05651232b800b005131ff92bb4mr6137925lfe.30.1709566459472; Mon, 04 Mar 2024 07:34:19 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:458b:b0:566:a8bd:678f with SMTP id ig11-20020a056402458b00b00566a8bd678fls295488edb.2.-pod-prod-03-eu; Mon, 04 Mar 2024 07:34:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUf1dw34Hbj+TaBzTcYuo+JTAqJoEmbPZSc6AJbX/oqBSO0xr3Tv94Ss8hdOhRjOz0CONzV5uqxy7B5K66Ajm991xG+zuc9Qh2dVYwibUxdzb0V X-Received: by 2002:a17:906:34d7:b0:a45:29f3:6cc9 with SMTP id h23-20020a17090634d700b00a4529f36cc9mr2743806ejb.20.1709566458086; Mon, 04 Mar 2024 07:34:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566458; cv=none; d=google.com; s=arc-20160816; b=cGfkozn9jxEGQj6V/RtStUz/yoPVkdJDehYjX2mOF9HTAI425XjoPb4UuXaOB/SA/s AfUdBeDYMapwDW9Cif8wAW9EBi2aDJoqBRP4glb3Fd7tAULF81FK5tyKLkt7PlP2Wlaq BkloYyBTS0lFiyxiu9MXkGGddhmBM9/6JugfdsiDMr83Zy0vrH9kOOgEGj7gCxLG1pwS MddD2XraU5Gt1n6fCiHASAhVMkteTLN5DXLfZJer6GPwrpZEIrPwHfnM4h+eCpOndvK7 2QipZ5rknFivZy5gfBIzEYPdjjuRvrxWoq6WS3DKH8vr2o4ZS2LCGXxAKQ+z5lqEU7rz r06A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RS3ECtSJzaHRCDrqxc250sI2LSawEH+EipWYB1NjYZA=; fh=65DnaZ7gRIsYN90WHNzA70ABx3h+dTbSNjabMS8tXQQ=; b=sPpn2b2RMfeXsQnEyN/ozzCN+bFyLjyHa8/6OYyzbXTdoHsBT2DWSyhYqs2zuTOOTa IUwmywShcs6T9onnnovDxFL08y8F2xFdT1b9IP3k/a7Tu863lfhHxWQ9ddvslg8R2uFl FAHJK795imheespVB27iX3PamEnRbbTlksz+ESIv7Z3TdpixznFxpCancAkvHTynuTYr G9sXyvjALSnjZ10+jLMgCCvKx81//qhTyi1nNTQJjIFkIfMIuaKQouUtE22xPxTFkhpS XDTw7zKbiY7tlS124T+8dQA3yRiQxqwoDZUr6xXCYHmfkhB685LuYkjvc1cUtqgG64cc Bq/A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zo9WWqnM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h18-20020a1709063c1200b00a3f7d22c390sor3166039ejg.19.2024.03.04.07.34.18 for (Google Transport Security); Mon, 04 Mar 2024 07:34:18 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXuYT1xlzGM2rjkdIcmQCrgOIVk+iIFHsOmqEAnp3ZJrVdxPdBkUu7PvHarPLYpRnBXkGIwCuRb+pWSn4UV9wqLOb73OywmLg5x3V+TzJnGIE2P X-Received: by 2002:a17:906:5947:b0:a42:fb21:5066 with SMTP id g7-20020a170906594700b00a42fb215066mr6013010ejr.31.1709566457768; Mon, 04 Mar 2024 07:34:17 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:17 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 08/22] package/python-referencing: add host variant Date: Mon, 4 Mar 2024 16:32:39 +0100 Message-ID: <20240304153253.732708-9-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zo9WWqnM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This package is required by binman. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Co-developed-by: Romain Naour Signed-off-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v5: - Add runtime dependencies - Add SOB and COB tags of Romain Naour no changes in v4 Changes in v3: - Drop Config.in.host package/python-referencing/python-referencing.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-referencing/python-referencing.mk b/package/python-referencing/python-referencing.mk index 27d1452e913a..66d59ed8091a 100644 --- a/package/python-referencing/python-referencing.mk +++ b/package/python-referencing/python-referencing.mk @@ -14,4 +14,15 @@ PYTHON_REFERENCING_DEPENDENCIES = \ host-python-hatchling \ host-python-hatch-vcs +HOST_PYTHON_REFERENCING_DEPENDENCIES = \ + host-python-hatchling \ + host-python-hatch-vcs + +# This is a runtime dependency, but we don't have the concept of +# runtime dependencies for host packages. +HOST_PYTHON_REFERENCING_DEPENDENCIES += \ + host-python-attrs \ + host-python-rpds-py + $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Mon Mar 4 15:32:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3045 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2A0413F1F3 for ; Mon, 4 Mar 2024 16:34:21 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-559555e38b0sf5071624a12.3 for ; Mon, 04 Mar 2024 07:34:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566461; cv=pass; d=google.com; s=arc-20160816; b=kF5Z7CUu7uO09nxt24NVEl1hh7Lv6FKiVnjEvQAqV6uy9fgFNX5Un90Krfeo1aihG/ M2iIoWCSNKMTFdw5TGOeivcA+TXhVkXGjrGs4B22ywWoeCCgUpz35FZpUKwCIU50irt7 CCy/oyvavN5Ss9zCMSap+JNBQkS5KZXJktvO7l7Me/C8Tei4uUXP/ysCvvieJiX+gdnc TzAg2x+1SYRxBbtO1WNinCtq1ZM/6uHyf80DSrIPO/PZLdMIzge6q4Un2yAl32OD1nzb ukM+0Ra+kR28PgmtR0S5O+mPa6ZJQq7oK1GfiSv9K26wPKwbrk+BhP+YAPHN9iKWBgxG CCcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=251g2HPhg18HNF3HK6xV52MHiXvpxrb70cBu785Guf8=; fh=3128N3dmnjB7/h6ODrirpPlxG2SBA3rAucervtoZloY=; b=09xRXElKqB/mEBlsKqiLvwYUzE2M7I12dPAhQuY6ICR4B8nHGHyuQ5ytABW8QtOMjM feP5fiXg84ywYA/gbr59frchcPjTYu/IwlJdTiJzoFDXEUDiO/mIVgbfZ2I99zw0aeKp hTGq6aN5h7qjW3JpnTJfCpNGz3aEKEK0IT9wFashajbJVEeKnkwohGOmxdela5pknaTH 5iyd1ZLhiZjo8PVsqRR2F6II2gozVw/VuDO02ClNtfYuu1/jEydvYYF40qL965lBj5SU Ij1EKIPwWBKoqto2V8nL2y97mJWqY1hHN6RE6uSuyoC0nr5tkWGa7pDQ9gQrl/6YdRhx 8FjA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ogfVnWG1; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566461; x=1710171261; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=251g2HPhg18HNF3HK6xV52MHiXvpxrb70cBu785Guf8=; b=WLZ0Yj/ne9qrUX70W3Yk1La+RAfBTQU3EktfE/x6jsuB4tu5mXvvUnb0sThplyoMk1 u84MEiRdiXbxYjCkY6EwlEQAvpDxFO69iQoBsqQsTlLMTkikZqLTlsqj5KhQmq6LezlX izOhBYrtuQmbViD++DAObas+ggKudy4Lb2FGA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566461; x=1710171261; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=251g2HPhg18HNF3HK6xV52MHiXvpxrb70cBu785Guf8=; b=bgTx2/IbprNQDe+5ICJyZ5Bc9i0SvgOJ6a1syJxQiVsYDSxmbgXLm6QszTQzf1o3jG NiWCMhMQ+7c6eD06pxxv2rYnrNdQEYl7Jwvd5c6i+K9HR6er25S1p9DGmPt4qnnObC6a mYmiZ6V5po+4e7pLFqqYj+WbPeXKo+Ch4LUIDycYcDTiLLSVxCpgz5XaHHh3hVHKpCnU csfpGBlne/Y8CssS6j8kOky9wR5Mt/ciHsHv77wTVn8/9fjVT3+D/FY2ssAV9NJBQ9km G0MQqdDmdgCP8UL1TO7MZJWPlLatCFaezTQ6Ov+NY23Z2QB7eGukh/qYqyPLdd3CrBWk 0ACA== X-Forwarded-Encrypted: i=2; AJvYcCWfx7iAKz+LHoIPq9rewL0Dv8VUwouSMBYVX4Pm00BSIhNC1l/gfcJo7+ylzlH/O/2f8OkasyV6adKM5j+cPThT/YSLCA0Sh3X3TgbbSWsYVAirAi/vA1M3/wWBHA== X-Gm-Message-State: AOJu0YwgZZu8Ca6As4qEWrZF3DGaTXH3ta2x3G0yXGLynQ2ADNV9RBeF nzv0hGGYOpC8sLNf4Qozm5gKnerlkQGO96axTdL9VlONFTfaWSCYSNuKkErUzbplRQ== X-Google-Smtp-Source: AGHT+IGNU8vNRkgukTWz73ywWMo9d5a2EOMjAQ3r32I08CTGxel940qYFJsEnyz56NV0TBzVS+af6g== X-Received: by 2002:a50:9e4b:0:b0:565:6e34:da30 with SMTP id z69-20020a509e4b000000b005656e34da30mr6551800ede.21.1709566460875; Mon, 04 Mar 2024 07:34:20 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:388e:b0:566:e926:59de with SMTP id fd14-20020a056402388e00b00566e92659dels85123edb.2.-pod-prod-05-eu; Mon, 04 Mar 2024 07:34:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUUBdJTUXquvKqGifG0c/x6Za/alki/yNU5gSwe2egbaQSUyldN72e+e7dI9MDX3g3Is3pzxfcSz9ynU6cAxErPu7rnWWcjiRKiKsHTLbJKUpMz X-Received: by 2002:a17:906:135b:b0:a44:74f6:a004 with SMTP id x27-20020a170906135b00b00a4474f6a004mr6800577ejb.26.1709566459432; Mon, 04 Mar 2024 07:34:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566459; cv=none; d=google.com; s=arc-20160816; b=AZpY+ll95v1QNkbGTiqIfXaCYkPmDUF8IPQqYxtrPW8vYIKK32V8LsWwRak/ViVMpK jNA546yDJN7ifMw4DbeMXa2u3zXBtDBohnyjPlNFaEAXwTAOr5351QsfWC1DzygkYTht pa+E0v65cmA/Tdx11W+Rn4FYCbrKizdKosvF8E4HKUB/oDKCCWRNEMUMkAHcHLy09mSi Ta0XdejsVs7urHbsfHPRvIUp4+km1fg3RMZT7e0nu5FdAfob1KeNSMmwDPneouBcItzX QPYYLpOW+ztkBGa4MdzHABnco+U8/90QjQ5x9Y17sfkgEdOaRtybPCIBRVprYDjr2vhJ t96Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DwwK8UtUc7CS9+8lAX4BSv4tcLQxWOxlekObFDB1SeU=; fh=0rYoTJvklvN5yCdTVvoWbWmfXeUq2TC094Bwf6MfUXY=; b=OjNxpPI2RehJfaT8Om9g8+KRb2Shh0muIndxNqGszAvLLE5lA5DDnQ0cliFUpaRlRv 3/+tamIx9i0ycmcCZPj/0+ohpd04WddLvRvyrxdA2dP2L8cypw3yKtrlF3EFf4XFMSG9 gzxlKzHr2pjgl7OD9fe+Z2BE/+EyFtUJrPAr6h1wSgnUFdt1kTqt7tMTt7u07fX+Yyr5 ricznIIdnaONIXWtN5FTr4i378+AQz43kaPXvPHOGBmFYbWj3KzWRS3IAf3rWmR9KOsJ 5pSgTctO8zktBmlxX1qcSQhsaW/WZSSTEw6ArCZTlyse7eIIoMruBHzKnELIrkUSP094 0CeA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ogfVnWG1; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id p27-20020a1709060ddb00b00a4591684552sor68497eji.19.2024.03.04.07.34.19 for (Google Transport Security); Mon, 04 Mar 2024 07:34:19 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCULHi/tnJoTe7goHLdYdamMIHs8vGFyzX4gR4JqLS08qDHIYrQvFOUYEZCm3mylLjqeUBrNeOirp580zllJPKvYktQjL3Sw2PxJkY3ehHyN5CIz X-Received: by 2002:a17:906:a18d:b0:a3e:7a8f:27dc with SMTP id s13-20020a170906a18d00b00a3e7a8f27dcmr6183790ejy.49.1709566459056; Mon, 04 Mar 2024 07:34:19 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:18 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 09/22] package/python-jsonschema-specifications: add host variant Date: Mon, 4 Mar 2024 16:32:40 +0100 Message-ID: <20240304153253.732708-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ogfVnWG1; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This package is required by binman. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Co-developed-by: Romain Naour Signed-off-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v6: - Add runtime dependencies - Add SOB and COB tags of Romain Naour no changes since v3 Changes in v3: - Drop Config.in.host package/python-jsonschema-specifications.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/python-jsonschema-specifications/python-jsonschema-specifications.mk b/package/python-jsonschema-specifications/python-jsonschema-specifications.mk index 40879898c9d4..653c839bb450 100644 --- a/package/python-jsonschema-specifications/python-jsonschema-specifications.mk +++ b/package/python-jsonschema-specifications/python-jsonschema-specifications.mk @@ -14,4 +14,14 @@ PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \ host-python-hatchling \ host-python-hatch-vcs +HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \ + host-python-hatchling \ + host-python-hatch-vcs + +# This is a runtime dependency, but we don't have the concept of +# runtime dependencies for host packages. +HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES += \ + host-python-referencing + $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Mon Mar 4 15:32:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3046 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5E234414AD for ; Mon, 4 Mar 2024 16:34:22 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-558aafe9bf2sf5063131a12.1 for ; Mon, 04 Mar 2024 07:34:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566462; cv=pass; d=google.com; s=arc-20160816; b=L/0m/dJ7vVhkZP0do4VXlpk0vERaR6L/HnLUbIsf58m5E4+0CiyBvW7nZCdQsY/cn+ 1j01bXf/WZcZXgutMdL8JL1d+zVYwNLfet3JAFIxNMIPK+wtFMmXmDPKjxd3tZHTGvMN /S2ia4tZGLvhiaB8Wt8Kp53P15BO6kAhKpTAwNcfogC0Uwlb1QM6kPuk/kCavlLCV4kV 7XirtioiHfO4fe2Hqy60+GhQd9jvZ1AT/gLAeUTpw5v+I+U1XpboCW2qw8li+455nLr+ sk244lhNFXwnzsn0b3T/WT7wOVr47WLwDsh87lnwYJF6cU6NTv2jT6knQuoUfdfRNNKj ETFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RY4WSVHPfhPhx+kiNKRp9pGsDKwELA4PgZfWqN0CLRA=; fh=CRagVYCC+n6DksLVIwgV03+yFUO1XXblYdCDlol7LR4=; b=vv+n8eY81w4fOde1jRsL1btIVEn2KqIaGuN+g+nYvnMfqPyfRxeW2jfmkwx/Jv7a+e kJQq++JdjncnzXRJdRGnMz5Oh/6zH/5ZOHcEuwUv71y4ll/zIluLIQUruA0Pe6R8EtNN xMLzyKuJNA2aS1gOza1SR8zGPhtpyweqpg8Cn/XrScWRHST5Chl7fYvlzTCkYmDdGXkB dTbPWiXrILCC24aZ2uUxo8e059Mq74N3g8KFD2U1IqxS2T6t4h3/APnVdtJHO6IzmCPS gOUjRxnxyW3yQyinIDn8ygYjAuC3nnZeILsbdTpobQNj/fG3fJZ3qqNMFFFDSsKmqhcs gXow==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I2WktDmB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566462; x=1710171262; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RY4WSVHPfhPhx+kiNKRp9pGsDKwELA4PgZfWqN0CLRA=; b=KudAvrL3KPLS2EPXyWqNmkfznW71MKOt/+46UuV1usrpRjHKxY2dEhYmx9lVN20ww8 VCN+YjZR2+LZCcgPo/cFj8R9ucyC7Wxocnt1HU7Gbelf/+U+8baPvV6tfOz9FL6gaiym M92J95r5QJe40nfr02f+Rixk1wZ17J/sKyYxk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566462; x=1710171262; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=RY4WSVHPfhPhx+kiNKRp9pGsDKwELA4PgZfWqN0CLRA=; b=wjyDj784dsTgCwJRZZhtgCstj0oWwuLIzxXa1ks9tyxW1EVgUfUWrpwQjZrYZIoSTk u9w9cjAMwxOOoLSFqZaM3/3xlQXMMjBmY5LikQK5sLuFwdfGNCRlnvFngxyMa8MBX/R/ S97noz5KCuIXLpbwa004cg1oui3XzeRBiacMWt1NJXhaEDsEbSeLGVxX+JBdmd3ohSDC qddfeNsOafZvL+Dlo88OomEAspVBZ8bfEFrcL9jzsQyR6Ab3J9FrbtuuveuPPLBvHPEk 75E0fmTHSbUH7Vg9iEPnGVKX4tcGElu8TUH50utI9OcCAdrOr5Qw2AytQgu7PJ7Fge7W SQYA== X-Forwarded-Encrypted: i=2; AJvYcCWYu6geNA5kAGtoLQtmvP4iRZfY4NFjxmAOlfKYb4JwzvoNGXitGErqKeJ03hB2e8vK4uuvjpGwf0WpzCCZNUX9zLb1JQhoM6FHjNmDlFa8zrWrg0d4GDriRTCGhQ== X-Gm-Message-State: AOJu0YxtV8WK8ODZ9hwdeFoVy66Kdqu2TPVPrqzBh6DF5e1B1RVMj1a9 CNUxuE7uVBSs8EeJ9ZOaxcNXgmFRiguvhEtgPD61U9Z+A96+n9gdKnAY6FpGlRcO0g== X-Google-Smtp-Source: AGHT+IFj9ByAZ6VgHwQVLQoUc6QfkJC50XT52y4n0caSLenIuN7FWcq3TxP+7eO52Fe9d8+yykn0Fw== X-Received: by 2002:a05:6402:5114:b0:566:28ae:55d4 with SMTP id m20-20020a056402511400b0056628ae55d4mr8097130edd.39.1709566462072; Mon, 04 Mar 2024 07:34:22 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:730a:6e8b with SMTP id ev18-20020a056402541200b00566730a6e8bls259782edb.0.-pod-prod-03-eu; Mon, 04 Mar 2024 07:34:21 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXe0EBD3v0/ba8Qh8GpiZ3SptJPzabJB1/EVTmW8orZ5xMs0a6oVwoyR8hKAoY32WkL5SuCTy3EpP/9hMMEXunIbg3C1bYyOKNAeXtbyXpKqChH X-Received: by 2002:a17:907:367:b0:a43:6156:6e75 with SMTP id rs7-20020a170907036700b00a4361566e75mr6175775ejb.43.1709566460599; Mon, 04 Mar 2024 07:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566460; cv=none; d=google.com; s=arc-20160816; b=LPJU3DsS9ZZG52bO9W0a7DrilIduHACBzYpyz/tWvJiwrU1dNb7EC3oCcbBB5xJWWN IMeSc2NG+lnpxfI+IFT/BUQXPNdLo296GkE8V9BNe2O8zoP7XVlW5KQ964TAy7mKhfjA o93R03mDFDbM1S1XEDtarGNF4gr7+qWgbPBABpaKmgp+h5JZTwkz2ZyoSqRlEcMfq6AK CK0bFYbpK/M6Aw+5u/TPH+sNmVZ8yp8LUK/LSR/dZZF+tgdRHMC64ueOCvVRdO/lbPU+ 4Xt0l1XVhXuq/SiyziZCi7eo3PCb4xJya8vDqToadpBlZ2Ddp2uO9PjMQ0PCbYM+GkQG 9VAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3mZYCxmE8DoOuJy8yEJQnV4MCdjdtYGW6ltxuAr4t+M=; fh=fbgIlS9EK2J9juCXBwUA9dWX4PAOjjsa/wAA44R7sW8=; b=xUu0PBCuGyRqPp15Tc6e56Q1CA+9/seBbZtvYSjBSzUwtFZTVA4Do7rVD20Cm37sCz ALppmrwD1efaipHCN5uj/Ue/Pcupd4bx49WoWOC7/t4bztB8FJH84GE0WUZVvkENNBKS 7d1jKAgW6zBtQPr+psS5zkZjM3YN6b+AahiP8sVQJV7ScZTE4fRuODC8hp/rOGGhYHhz mefQp0kQ4LCr/ZRW7bnkdBO68ZNwVPyvaGeRxl4pK9yhEjdlFScquTlwD9VKYEi2gyzh w4UgthL/V+RkOf9LiJwljeOfynDyQzxLdbbhOyhAtK6rXnPRVi0qZelWDGeYFzKwPH9L 2I4g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I2WktDmB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id w14-20020a170906130e00b00a443ab77d3esor3077999ejb.11.2024.03.04.07.34.20 for (Google Transport Security); Mon, 04 Mar 2024 07:34:20 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXdE6rcwLUtTMbG6XeUNRzGkwDs2/Ws6My40GZHTpGv+6lV2+gRQvY6wMqt3zdDwRjtUkAQjNoXtib3D2Px36Pc0a4fjE2v00euuERUHgzWvgx6 X-Received: by 2002:a17:906:d20a:b0:a44:505f:bfa9 with SMTP id w10-20020a170906d20a00b00a44505fbfa9mr5746410ejz.58.1709566460208; Mon, 04 Mar 2024 07:34:20 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:19 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 10/22] package/python-jsonschema: add host variant Date: Mon, 4 Mar 2024 16:32:41 +0100 Message-ID: <20240304153253.732708-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I2WktDmB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This package is required by binman. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Co-developed-by: Romain Naour Signed-off-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v5: - Add runtime dependencies - Add SOB and COB tags of Romain Naour no changes in v4 Changes in v3: - Drop Config.in.host package/python-jsonschema/python-jsonschema.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package/python-jsonschema/python-jsonschema.mk b/package/python-jsonschema/python-jsonschema.mk index 512c92aa7752..9e8b6e18b876 100644 --- a/package/python-jsonschema/python-jsonschema.mk +++ b/package/python-jsonschema/python-jsonschema.mk @@ -15,4 +15,18 @@ PYTHON_JSONSCHEMA_DEPENDENCIES = \ host-python-hatch-fancy-pypi-readme \ host-python-hatch-vcs +HOST_PYTHON_JSONSCHEMA_DEPENDENCIES = \ + host-python-hatchling \ + host-python-hatch-fancy-pypi-readme \ + host-python-hatch-vcs + +# This is a runtime dependency, but we don't have the concept of +# runtime dependencies for host packages. +HOST_PYTHON_JSONSCHEMA_DEPENDENCIES += \ + host-python-attrs \ + host-python-jsonschema-specifications \ + host-python-referencing \ + host-python-rpds-py + $(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Mon Mar 4 15:32:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3047 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4288842753 for ; Mon, 4 Mar 2024 16:34:24 +0100 (CET) Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-51333e20813sf2067344e87.0 for ; Mon, 04 Mar 2024 07:34:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566463; cv=pass; d=google.com; s=arc-20160816; b=JF67XxogQDZh9eVNL+wgcNGqI0zM3W2TPO2HL6VPnDietyUETNGQzvzpKIP9Pt5koj BNAooudpVmx/uiRsCllqXM83EhtlHPsAOqHvTbxc1SfI5nXAFc9QdWrsxgqUT9xwgSiS SjwsAXg+OXS6n25y3adaiwhhGHZXSSlqd6it3hiszpPvq4tKoXMG3wF4lZFSi9DZ9KJT vr1SsCqSl83BozoaAZFM2CT40XiyLo1zdnOEyGgskaDi6UgRIGetIuHBdD2yooJWrlZ7 NCLBJZmjFae6UcY4ZId1dQuk/CkXYOmXNIEeWaMhUus1dpQoQqEwjkB6JVZIatmMCcb2 FJsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=xO8cpeNm921ytud4v5u/HR3y4wYH1BWACDh3pwlFREA=; fh=/XJFAf0TybPCrkRVahGhXoCQVSKZqHSQgUNGOlngoL0=; b=PO8XyRKB76YEN9Moz6GJj/F6QFDAih0Ql+MplRILuFOr3W1ZRvO/Sfyh8aEG7GenM2 lNG7NO0a1YXaZvd/tWt9uImae3lxSYeEmreXJvjebr2vkLq28ENsDR0Ep/Ju1baMADcu cqeZolyI4ODSoQX2XxJFcG7RTh1ZuK8A50ztSqxWQjMMPdbdhfei+FGp6jsfVmMyyjtx ZuvxZxkBrpi2tpulqNImr730F8XLEok5y4mJA2g5tIUXf/DNcDGtEJd2rFjc7Jl2y4ex /WORoF+wokVzjP9CrowuRIlUbiw65yTCQd3Ej5VQowfu2Heqlf1HHGwB1qqq0OayAlhi HuCQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eSy+PWun; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566463; x=1710171263; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=xO8cpeNm921ytud4v5u/HR3y4wYH1BWACDh3pwlFREA=; b=AZQOVTVwaw7RJseCDtOz3l0HlyIQYCldueZLBPTMJG76us9buwEYd4NSoAqs0dvC0Y wYE84h6KBlQiFspRZZGZFIYOu7/LzR92e3NTfbrs4Ld8//YWFL2Bo85dgjrHqDb5FTeX R6TkNxeZH7oRIwKGeAduKOsqaVYTwYgoiVWWA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566463; x=1710171263; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=xO8cpeNm921ytud4v5u/HR3y4wYH1BWACDh3pwlFREA=; b=lsV125MLeUnYt14zV1j2c6UUWwlLcQKcJaEQ55l1r0ylWDTbo2VsWusoI/4uPdoVxB GIfhr1cm3BZGD2fKijmS0M98sReCZQyygkxZktxBPuVFZyWEYIv2gKmyTrgu6HOAPj5f prJq9RGNP0oJPGs4xgTXwqbxnExR/I86eN84rhTWsKD8ep1RvkL5xaTV1nJSWp1of66c kJODmu/Wa611YIli91T6Xjs2hcVh6K4GcZt2jCRQ0QakvmyfJ7XdY3neV/LgLsIg4zkn h2poTG2gyNCB0ipfq8xUAOjEMe6qkLwOkZuCFlIaG1YFVXzm4fLNMgcGS8gjOi/515+b HDGQ== X-Forwarded-Encrypted: i=2; AJvYcCVCLFcZsUMzBpUYFTaute9AmnhAHbowOnUP/pnrxGduRFA66+pn/D0295hLy2CdO21u/ZV5KGgkCY+QRm6XJY8s0e+F73kt1uny4DOogEJ2yvUTX2MBvBPJ+Ckbcw== X-Gm-Message-State: AOJu0YxW4jH3QgKlXcSE7erRiTiYmeVOwsnazySrDU0jnEKPntwkvsRJ 1iP5MorC+p0Jd4p1oIiMi9PjYRrd79HB6W0O+ReivlogQ9HN5lKi5Jsy6m+6klpl4Q== X-Google-Smtp-Source: AGHT+IH2D2CYeK51n/p4wyq62g11H7r/qbToh2IHAVdrh1Wp9HS6RgKvjiUfh+4OalFQJ5KhjA5VJQ== X-Received: by 2002:a05:6512:344c:b0:512:f860:2705 with SMTP id j12-20020a056512344c00b00512f8602705mr5228033lfr.35.1709566463565; Mon, 04 Mar 2024 07:34:23 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:5e66:0:b0:513:33be:93bb with SMTP id a6-20020ac25e66000000b0051333be93bbls350484lfr.2.-pod-prod-03-eu; Mon, 04 Mar 2024 07:34:22 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWXAq+SL42vlFvuUbNImR4JNOpnd0ZOxEdIE18Vy+QoiQnbni0t80xJXkgeKsSSjEwyqkT/MSQahDlTk5CKtitJbnpZBGSGgCD8ossIFWuX1Gsa X-Received: by 2002:a05:6512:138e:b0:513:1496:1db8 with SMTP id fc14-20020a056512138e00b0051314961db8mr7443827lfb.14.1709566461722; Mon, 04 Mar 2024 07:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566461; cv=none; d=google.com; s=arc-20160816; b=dwzFj+8/INh54DVdD0Sw5ARB9n3nPfiOENpFU2ZYvdJkvLzPpkIuBE+yMUyufzyK4R Q+3BLvIhCOiA3J+uJANVLIuJ4QF4lzMF+I9od3pXr8DkuwSJnwxAPuX43txdrSaGkiUf 71dffrtSu5Ez/8I5ubEvd2DsJ/vje9BKObCdXBa5EJs2gPjLz4Tln2uOOdVmyMTrA/P9 PSw9PtP8QbeG5SD1rdPXYKXmvL4SCbkgSG6mJ+AKfNJ5ivIZWtfTVIGFSrqcLqzmlRNt OQJoCwEgzGsDGK3i5PiW0IBEX+ur2qyocR5+zfZkbjQ+SUbYrhh4hUheJ+gNuh0GVTIP fLEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=bSjGw9f6z6kn4c1jsZC1lUaY+UqUehEPVM2pz+w5v/o=; fh=EDh7mkDHARa3iOXTYC9m6k/WjqjgCMBmv55eG3hirJ4=; b=jtWWW57/HT/kK0aY3oPptGT0zWh4JB1pWG8XN7ZgGZcn/UHq3WQAp16BtYeZOfeIJp UvP0CnlkPgCL3D5KQr9jZcUuaM4mJgRLzbXvoUSIYF7rkXA285M/yK/7vSD/uqj19U6d L01LLjbUkxh7eRFU3SPgMLE58QIJVZ1itL8LJN1elae4qANmR10HR6lx6kHidr6U7g68 jJ0j5TPY5O/0v/3Qjh0lOC8fQEYiWS484MxBaUR9QFZVLEOKcgUHyNsgVWOPXSQyJ6mg Zkpd1Ij6MnSgLA2atrZWLV75Jqy/Yo0ipt4tGVxidxtw4a6pfZfje86E41Gh49emqWSx 7WkA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eSy+PWun; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id qh2-20020a170906eca200b00a442eb04c50sor3177454ejb.5.2024.03.04.07.34.21 for (Google Transport Security); Mon, 04 Mar 2024 07:34:21 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCUmQ8lUGXQBVnpffL5+k2X68+dC3DWBs9Qe3hDrmXUVKSe6rAHtpKNgZn8pT3LAyTWTQOiqiu/y+aR4b7DVERwnOuxrv2ylZy4r2I8VqUmwYswO X-Received: by 2002:a17:906:3715:b0:a44:7209:4c94 with SMTP id d21-20020a170906371500b00a4472094c94mr6623367ejc.14.1709566461405; Mon, 04 Mar 2024 07:34:21 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:21 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 11/22] boot/ti-k3-r5-loader: set binman environment Date: Mon, 4 Mar 2024 16:32:42 +0100 Message-ID: <20240304153253.732708-12-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eSy+PWun; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. The dependency of binman is not really easy to follow. First we have the packages list from binman.rst [1] then we have to install additional python modules [2]. Maybe in the future it will be necessary to add host-lzma and host-lz4 in the dependencies list. [1] https://source.denx.de/u-boot/u-boot/-/blob/v2024.01/tools/binman/binman.rst?plain=1#L377 [2] https://source.denx.de/u-boot/u-boot/-/blob/v2024.01/tools/buildman/requirements.txt Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Co-developed-by: Romain Naour Signed-off-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v6: - Update the commit message adding the links of requirements. Changes in v5: - Add dependecy on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - Drop runtime dependecies - Add host-python-pylibfdt dependency without requiring BR2_TARGET_UBOOT_NEEDS_PYLIBFDT configuration - Add host-python3 and host-python-setuptools dependencies - Add SOB and COB tags of Romain Naour 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 boot/ti-k3-r5-loader/Config.in | 1 + boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/boot/ti-k3-r5-loader/Config.in b/boot/ti-k3-r5-loader/Config.in index 5f86c045c99f..fc71337e80cc 100644 --- a/boot/ti-k3-r5-loader/Config.in +++ b/boot/ti-k3-r5-loader/Config.in @@ -1,6 +1,7 @@ config BR2_TARGET_TI_K3_R5_LOADER bool "ti-k3-r5-loader" depends on BR2_aarch64 + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py -> python-jsonschema help Separate U-Boot SPL build for R5 core on TI's K3 processors. Usually used to build tiboot3.bin with k3-image-gen. 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..fdb058f3b72a 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,12 @@ TI_K3_R5_LOADER_DEPENDENCIES = \ host-pkgconf \ $(BR2_MAKE_HOST_DEPENDENCY) \ host-arm-gnu-toolchain \ - host-openssl + host-openssl \ + host-python-jsonschema \ + host-python-pyyaml \ + host-python3 \ + host-python-setuptools \ + host-python-pylibfdt TI_K3_R5_LOADER_MAKE = $(BR2_MAKE) TI_K3_R5_LOADER_MAKE_ENV = $(TARGET_MAKE_ENV) @@ -58,6 +63,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 From patchwork Mon Mar 4 15:32:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3049 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6D9EA42754 for ; Mon, 4 Mar 2024 16:34:25 +0100 (CET) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2d33e6f838dsf32073641fa.0 for ; Mon, 04 Mar 2024 07:34:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566464; cv=pass; d=google.com; s=arc-20160816; b=Y/Hb/niofnEi+fPzs6JqpRB9y9KpFvnvxmfz/YbYlNFaIfUZthhLI+X1Iv7/VcaLKq c1raAiVCjOWUOUV6n4rKcylac4oiP6kam4DHzbt/Yzn9m+qAndzVZofakHbLv5x4oare zLqxUzev42VzZvWkjEQur7JyaSeNluM5yj0Nu2ZdRTVjVlO8ggn5uwQD1iWyY9NYS6yo 9woMEf3XBSSST5fGByXrYvP/zW/J1LtfTuA0/q8E92Nu+0fmkrF+13c4WG/6hWNkmQjc oLNoz6FekqiVmHcnvr3NjGCvprJxsv/NBI8y4IG4FuBF3+FPyGpnH1ezlPoWzyY9VoJ/ lQyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Bf1i71y+bV8d6IJkx4wgB21K08Ltt13gtD7PNdOrFGY=; fh=M7RzRnOnK1iyGjfW4yCn7MEgr+adL6OUpxF+OzPx8pE=; b=lmIELNaWDtRMhRv9e2Kp9zsh1FvPKekhELheVokcySCBfTZ6Od963bQPtWVRVTqSTK D7YF2CAyDk0KkybSdOqq/RuhVKG3hYUnjrnydIbYZIbrm/BVyxh+ki8DBRdRknINMN8m hAG8U0Du70pNyQIWTl55kXK5dsEyuGVtTzTlATsla9YU/hs/Lak0XNt8MrEtzUvOL/7V l3SxI2nQnnnUoMZlGjW1qrouCZuxgVzCDAMs74+SMNKxw3FJpeuHypS0j+4n3QHHeCsa K6kGtyM3mP3sHj6m9hbOqwQV0AYCBkIB/ONtZhxmYpGKhv2Npibg+cVGwbkqBkRrdS7R 2cyg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JJEE0zwL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566464; x=1710171264; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Bf1i71y+bV8d6IJkx4wgB21K08Ltt13gtD7PNdOrFGY=; b=eJw28AER8Qa7tZNujoAGft106ThTVanF51RYtfxz5O2hYo2EZRc7opwZyCWLk2adn4 8yt9WwHXvk7lG+/T/77G65DwlFlFOFyWyBr1fzKNRgzP8GJ3K06ac7aXMR5tfSH6PAoo 4Ff4erf+Y/KrMqf4oexfa/iahX2b9IvJLAHtM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566464; x=1710171264; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=Bf1i71y+bV8d6IJkx4wgB21K08Ltt13gtD7PNdOrFGY=; b=AiHvMIz7GL9w3QbEQFhVAUQmFyGSNTA6SJCFElGuaVEyfUSHoBJtSkCNbeQZMsCQs6 goHwF/qvwyna+0QyXrRA6YC50YiKq9bLjwdT+Jq7/Es9dvOj9oD4fOXf9/Uu0n2JeDRw tiyXF/fHA/sjSxT48PLA7sUWxDQsIrZ4Vs455QECL76ByA5JU2vh8vK/fyTN9pAgqWVe 3cRsYvV/rDN0PSLRbxGXV+k20rKacwNVTCd0PmojIzVjm14BNoDRfMawW8IgZ3Y2bkmj vpH7BtqWrPT0HLzwypDgCKnLAXof89j1lV2qdhMCY8p2toRCjgRMWtqADNSJq9YEYhdC eU0w== X-Forwarded-Encrypted: i=2; AJvYcCXnwq7AWifh0W13amS0s+FY7wOm0d3i2Gblo7Gcqnh59/G8jl9dpXpYaK5ZHLwGwnPcEp10r4vY8VWb5K7FB2UfAxxGFiOOayZRjgdEn18qnLl81GHEDY0oDn3Reg== X-Gm-Message-State: AOJu0YzDKhrPcCzEFHdf5DAlx1i/tuXooHXLQC/1BA4kLa4X5nhHYvKp Jlax1Wx2wM0vlTDLVGkIRDFf8+A9bGWyuIfYgGv7IsUDfeST6cKgoGmn57X6FAH59w== X-Google-Smtp-Source: AGHT+IH7JvVzf/YwEOkyv77fcevXTDPP4PsLfV51Is6fl1VNHl9Y3bE8nGWwBEXaxIsip5LojZgH7Q== X-Received: by 2002:a05:6512:7c:b0:512:f31c:f0c0 with SMTP id i28-20020a056512007c00b00512f31cf0c0mr6278054lfo.37.1709566464723; Mon, 04 Mar 2024 07:34:24 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3d26:b0:512:ed5d:5da6 with SMTP id d38-20020a0565123d2600b00512ed5d5da6ls198901lfv.0.-pod-prod-01-eu; Mon, 04 Mar 2024 07:34:23 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUPlml16LJ6wr2WdgxBTRnFv6Yn2UYutqlYsODouxm5285zASrYmayxhMiaHRWoyYQGVLI/G+pWeTzsrwKUufY9tbed6Nf6UuyHjPHdEcCoshDw X-Received: by 2002:a05:6512:12ca:b0:512:f68b:69e7 with SMTP id p10-20020a05651212ca00b00512f68b69e7mr7943959lfg.16.1709566462933; Mon, 04 Mar 2024 07:34:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566462; cv=none; d=google.com; s=arc-20160816; b=USBxJW+lYzysjM6pK0RelULAWrNDlcK3ZHoTyqf95UxW/6I/FtPAZZ2CdhpE+v++FI SDOglyAS8HQ8c+ubNfxliTXJ0YqTW7kAUeHPU6McBaIySHGOp3R/AKoVVW05V0oRRSIC 2UudLbvlTG9X6oAyCpkp1KeUMUZP0F/nYkZNQVTJbqWrL27pFYHYmjXMKk1AmSKUi51G Kmn+W71ZyZ0bs/l6lG/LfdMTKyXivKa6yi3+h7Fo8Buw9zMYDBV/kKRHKmxmyh62hzGd ShP7tBR1ad5MVW4+ZawBHPd+1w2krn5jdfGfokv9yAf5y88vDnuSbzFJhwam+XYR6WW4 7hZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=22LoPDWYEr8qpw9klGDqezi6sNR382c/bQpgL0iGnXU=; fh=bCZ+jyoSaCdnpQoPn/OTCd+ZpSGsIkts1xB8dSndxpE=; b=VeltTlbpDiMtIM3rxIsrTOA/vcMLJTvefN2Wlq9ylUC9AejsQ9IvhlEUpWOfU1YZQd q1gxjvhg6p8JiEYkhGFMcJCGZJ7iWQ3wfs0n91fjHKJh2KL4jImR61jPUmkYhVQS7x+G sGbXhSzciuGPPOfS+aMM0/YUdKqNWovMiLKm407h1CUk9oRgjyLOpDMEdY3Kqe5EMYuF hZKN7OLbInX6d8ig01S6CsFirHCnEH358wehqNVokiuQMDewo1swIxBXn46aWScR+BjR jwym7ybiOBARvyDiyv5PSMc/sIuBI3zgXA3eW3riYXhzYpyU7rMSBaztHlIuy+GHWZLW Dq1w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JJEE0zwL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id rs26-20020a170907037a00b00a3e50af21cbsor3364824ejb.12.2024.03.04.07.34.22 for (Google Transport Security); Mon, 04 Mar 2024 07:34:22 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXHhEz5pkMy40XB+katH7vdxpyeV6CZcHPCuzwHnZe01/WRCYywzuJ8aGj8DXjk9INPPbehOW8QBTQY87ExHeU8g8wZ6Ega+bnc9BNUKNLK6/WA X-Received: by 2002:a17:906:394c:b0:a44:e3d:68a8 with SMTP id g12-20020a170906394c00b00a440e3d68a8mr6772866eje.45.1709566462640; Mon, 04 Mar 2024 07:34:22 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:22 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 12/22] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Date: Mon, 4 Mar 2024 16:32:43 +0100 Message-ID: <20240304153253.732708-13-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JJEE0zwL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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. This tool uses additional host python modules that must be provided by Buildroot. So introduce a new option BR2_TARGET_UBOOT_USE_BINMAN to add additional host packages in U-Boot build dependency to use binman. The binman requirement is directly included in buildman dependency (tools/buildman/requirements.txt) since within U-Boot, binman is invoked by the build system, here buildman [1]. Furthermore, the use of Binman no longer makes it necessary to set `UBOOT_MAKE_OPTS += DM=...'. We had the explanation from [2]: BINMAN_INDIRS is used to fetch the DM binary from /ti-dm/ and SYSFW binaries from /ti-sysfw/. [1] https://docs.u-boot.org/en/v2024.01/develop/package/binman.html#invoking-binman-within-u-boot [2] https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_01_00_08/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html Co-developed-by: Romain Naour Signed-off-by: Romain Naour Signed-off-by: Dario Binacchi --- Changes in v7: - Replace ifneq ($(BR2_TARGET_UBOOT_USE_BINMAN),y) with ifeq ($(BR2_TARGET_UBOOT_USE_BINMAN),). - Update the commit message Changes in v6: - BR2_TARGET_UBOOT_USE_BINMAN - Binman tool is not specific to TI K3 platform, so add an option to specify the use of Binman in U-Boot. - Add runtime dependencies - Update commit message - Add SOB and COB tags of Romain Naour Changes in v5: - Drop "DM=$(BINARIES_DIR)/ti-dm/$(UBOOT_TI_K3_DM_SOCNAME)/ipc_echo_testb_mcu1_0_release_strip.xer5f" from UBOOT_MAKE_OPTS. no changes since v1: boot/uboot/Config.in | 11 +++++++++++ boot/uboot/uboot.mk | 12 +++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index beafb38930db..e6e7956adccb 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -290,6 +290,17 @@ config BR2_TARGET_UBOOT_NEEDS_ROCKCHIP_RKBIN This option makes sure that the needed binary blobs are copied into the U-Boot source directory. +config BR2_TARGET_UBOOT_USE_BINMAN + bool "U-Boot use binman" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py -> python-jsonschema + select BR2_TARGET_UBOOT_NEEDS_PYTHON3 + select BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS + select BR2_TARGET_UBOOT_NEEDS_PYLIBFDT + help + Use binman tool for generation and signing of boot images. + + https://docs.u-boot.org/en/v2024.01/develop/package/binman.html + menu "U-Boot binary format" config BR2_TARGET_UBOOT_FORMAT_AIS diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index dda606a88059..35a41d96a12d 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -187,10 +187,12 @@ UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee.elf endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_TI_K3_DM),y) -UBOOT_TI_K3_DM_SOCNAME = $(call qstrip,$(BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME)) UBOOT_DEPENDENCIES += ti-k3-boot-firmware +ifeq ($(BR2_TARGET_UBOOT_USE_BINMAN),) +UBOOT_TI_K3_DM_SOCNAME = $(call qstrip,$(BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME)) UBOOT_MAKE_OPTS += DM=$(BINARIES_DIR)/ti-dm/$(UBOOT_TI_K3_DM_SOCNAME)/ipc_echo_testb_mcu1_0_release_strip.xer5f endif +endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSBI),y) UBOOT_DEPENDENCIES += opensbi @@ -269,6 +271,14 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_XXD),y) UBOOT_DEPENDENCIES += host-vim endif +ifeq ($(BR2_TARGET_UBOOT_USE_BINMAN),y) +# https://source.denx.de/u-boot/u-boot/-/blob/v2024.01/tools/buildman/requirements.txt +UBOOT_DEPENDENCIES += \ + host-python-jsonschema \ + host-python-pyyaml +UBOOT_MAKE_OPTS += BINMAN_INDIRS=$(BINARIES_DIR) +endif + # prior to u-boot 2013.10 the license info was in COPYING. Copy it so # legal-info finds it define UBOOT_COPY_OLD_LICENSE_FILE From patchwork Mon Mar 4 15:32:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3048 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D52DC42755 for ; Mon, 4 Mar 2024 16:34:26 +0100 (CET) Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2d2ecf61dd7sf36659011fa.1 for ; Mon, 04 Mar 2024 07:34:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566466; cv=pass; d=google.com; s=arc-20160816; b=K8aON4WDI0R0aOcp8Pomy3dJiznYNq8qLyMchDfhCFCCs5U7p3yFrwZFW56NF3jpV4 lftM4X4Nu7d6fNJeR6HUdnzR4PZpMT7NWUnMQ9S0OZlb7CoieuloJsadjE08BBmJ12W/ HhKvxSxy8jRz2tNBcRxYx7ZAnG3TOG6LpPOlJgQor1J91AJnlC+TUxSIaOwISNc0y0KU iVCZQFC1E4cEmFdLNUITyIJWem+ruUZzkUxGlFIX+VpR82DCIJ28k9Zzx/Jz0D+8+hit 6oBksoId1V2YoOf9tyKoJS7poVzy3GOFWcdCgSJ4etcNyB6oLyyoHrC2diSKaMdfKCs7 A09A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vf4SzDKGKvTfXuvwtmibjtmsynDSif0+5l8tFRoSMMI=; fh=BToX1w5AlA+a2Id5NKF1du8iKenze2PtrO3aJS5GSQM=; b=t/kucEr9cR6WGUgfA6lpLFSNq6/aT11bE3P+/A2TRGXLIyrbdr8bqIlnvsWUsU8uoY OinJdB6/oHZuvEwPhzyQYAdqkWBD59KO6XKkyqaMkulPuBrHleIbo3A2Tt6/rpcY1tym OMrGCWwdhvb5ezY3l6LndHwrpwrdvoK9tCdrH+9eulYZXVsiU5k1ZRgVlHhh+eeYpskc pspTjIgU84GzzkZ17o3IVOFDYjuRAuxlM4NkoTY3FM5STgMMr++lQ6bBY2GoZQ5l28Ac TBdKWHH9yGe4KDRwUYNGOy26YfsmAItL1sgo9iQdCz8rLjWbKi5jIoppkmbCkIboRuWk 1yLQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=co5C3HUS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566466; x=1710171266; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=vf4SzDKGKvTfXuvwtmibjtmsynDSif0+5l8tFRoSMMI=; b=WRvUJr0yazHcEWrBKiH41VqFp0rpSvUejv7SOltj2awoFYqmn6UrpyInhvziU9pA/h +HkTvIvG143Hlg3Bn7zTH5Jibw0aQEcnZFo0MtOGFbiimGz6AgPlWqD3qCDV8ulmC8tx R0OYNxThRMVPtZsHrgD/1jCY5ebWqYfOdqjng= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566466; x=1710171266; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=vf4SzDKGKvTfXuvwtmibjtmsynDSif0+5l8tFRoSMMI=; b=fxrKro9OVD/+ez01jZOiUoAse0H/HaU+1TEi5VvPrLPMDC3f4LDzDwPbwCYNpJ3jHI RNROiZZacKKW44U/uGi9GyB2aR6XGrgoRVssjJwMjInABdg499NIgnzLwYyyHbsBLhJS Y1Ujqlw7N3O+AknhZGiNnBK+eviama+gBZwEXlfeRUFsEnkP7dGyDxcLq30OJCDSJ6cV +Ew0nVUn99fB629RdV3fLQXOyh70KGHUN1hB37Ryfd9IEvbJMGax+BQ+mhHyPQ4tJZKh qi//7ypBUFMNs1P3ab6T0szRcC0Iqxqf7Bl7z3XwkgFfQgk2UNT6D7l2vBqF9a0BrPFF U6yA== X-Forwarded-Encrypted: i=2; AJvYcCVW/ehNV+H+4E9Hncqphw9vAlrX0Pm45Sc+60L/m1CecOiWw5TtC2i1x/X3mLQcWIbCvNwkAkl9rD7jEHxLvl1B36SHW8aELBOS38U+Xy4rNjVjJnGWEVP7KRG9vg== X-Gm-Message-State: AOJu0Yzdb4envvC2ryXBVv4OVibg924pHK/PWQ1PkCTLIZZTfSQ3Y006 7PxJYJBo7spzTrTFPrT18wo6ev6vcCt1FKZzra0jHNqntmWT2RmnQUNpg5VpFw4Stw== X-Google-Smtp-Source: AGHT+IHCEk1FuMKMm49FzwsMwYQnnpW1LgOKl3VzDuuRJOAIducDblm7Yeea1zCehUgKYPyvh1L7Ww== X-Received: by 2002:a05:6512:318f:b0:513:3ea7:770a with SMTP id i15-20020a056512318f00b005133ea7770amr4502478lfe.17.1709566466105; Mon, 04 Mar 2024 07:34:26 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:2026:b0:513:1813:feb9 with SMTP id s6-20020a056512202600b005131813feb9ls1141988lfs.0.-pod-prod-09-eu; Mon, 04 Mar 2024 07:34:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVnFYNpzZPHYqcii1JoTJJ85nU++P1WeN6Ar8mAJurEzDbkwVBe70ynv7gle3A5npbCE0BkzUlyhXjFoBh39tp415TOW740njQkNmfLFOnebGAp X-Received: by 2002:ac2:4d0d:0:b0:512:da6d:23aa with SMTP id r13-20020ac24d0d000000b00512da6d23aamr5733679lfi.67.1709566464272; Mon, 04 Mar 2024 07:34:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566464; cv=none; d=google.com; s=arc-20160816; b=w63MgsTyu58IlUfbsIWjCMRgrBLCJT5kTmV3UcDkgD9XZ8TdopcUiF4GabFgSpJnAw hme2Xp33XEP+lVand9WY3gVCkXvsvZwRpR9qERSJlQkEt7YHJDfKcB7m4hwp+CFApHgk HZzpT39xXAc4chqFDSFDLljoXO+OplPIw6+Mn2sssukaMgVSJNgo7wmUlpxjonWga160 fjBoXWx5YxFuHgps/90gKpmWDDV2AUF0Gdk4C5b8Z3zNUiF/0NKLzDKppQxkaL9iGfU7 Z4zQenFNCNn96GEM4wXPG2t1qjCgXx+5WtQaYIVG0CsDj1udOPaY3SZqTpId1LNUmO+e mVOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Jth12OcHAh3eC/N3LQLZ7Nt6/3ytuVU+6J+5+OYl3EU=; fh=4oONpPjKXiASXUIK3r33lmFbprjiXry2+3IFq8fqq5E=; b=UWHe24JtjW1DXnxfmQMqDaXWCzYNY+jWRLO/hUp6tCI7HAXNcJkXIXXeimArOm3a6N eo6u1jwVJGV0DHJjB9GrRRd0/bxciMkyKAsQvFoHkkSiDqVCG0MbFqkDgzOyQOdNoblt f2LWKqJ+gtiTEu4ZuracWvDb6kLCXMAdnNKIMK3CP/enW0fAEPRiSuok933I6E0O88sA /q41Ge0nMpIWUArGeZsh+Ha3f4Vc96XJX4UmTmcOxbnuNE8cwWEz4eYputR4Y56F3lKc fji/OIhsXei0VbccbuYKzwFpSrxHpkskKZugYwfnUSiIN/z/7G2ZxxvMx2RLnEk8wtyN eZnA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=co5C3HUS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g16-20020a19e050000000b005133fc53cb4sor833095lfj.17.2024.03.04.07.34.24 for (Google Transport Security); Mon, 04 Mar 2024 07:34:24 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCX9TDp3j3F6SfUZFEYsw1LQZKETH7Gr5AKZxzKJ1l6xaqdj24uqCJgjBWkQL9Xq/3WAuolleWUW6BPjBfd8APfxkLvvk+2lB+Uczc+P2EYcvlRH X-Received: by 2002:ac2:4648:0:b0:513:fe6:6003 with SMTP id s8-20020ac24648000000b005130fe66003mr5770335lfo.11.1709566463928; Mon, 04 Mar 2024 07:34:23 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:23 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 13/22] package/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope Date: Mon, 4 Mar 2024 16:32:44 +0100 Message-ID: <20240304153253.732708-14-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=co5C3HUS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Recent versions of U-Boot can use Binman to compile and sign the generated binaries, thus making the use of custom tools like ti-k3-image-gen no longer necessary. In ti-k3-image-gen, options such as SECTYPE and SOC were configured and used outside of it. This patch allows setting such options even if the package is not enabled. The patch makes an exception to the Buildroot rule "no subdirectory in package directory". Signed-off-by: Dario Binacchi --- Changes in v7: - Revert change disabling BR2_PACKAGE_TI_K3_SECTYPE_HS_FS for BR2_PACKAGE_TI_K3_SOC_AM65X. The change is moved in a separate patch. Changes in v6: - Move BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME to ti-k3 (BR2_PACKAGE_TI_K3_DM). - Disable BR2_PACKAGE_TI_K3_SECTYPE_HS_FS for BR2_PACKAGE_TI_K3_SOC_AM65X Changes in v5: - Add SOB tag - Move the new ti-k3 from boot to package Added in v4 boot/ti-k3-image-gen/Config.in | 61 ++----------------------- boot/ti-k3-image-gen/ti-k3-image-gen.mk | 4 +- boot/uboot/Config.in | 12 +---- boot/uboot/uboot.mk | 2 +- configs/ti_am62x_sk_defconfig | 3 +- configs/ti_am64x_sk_defconfig | 3 +- package/Config.in | 1 + package/ti-k3/Config.in | 59 ++++++++++++++++++++++++ package/ti-k3/ti-k3.mk | 7 +++ 9 files changed, 79 insertions(+), 73 deletions(-) create mode 100644 package/ti-k3/Config.in create mode 100644 package/ti-k3/ti-k3.mk diff --git a/boot/ti-k3-image-gen/Config.in b/boot/ti-k3-image-gen/Config.in index d76cef82e911..a57319f4be6d 100644 --- a/boot/ti-k3-image-gen/Config.in +++ b/boot/ti-k3-image-gen/Config.in @@ -13,65 +13,12 @@ config BR2_TARGET_TI_K3_IMAGE_GEN https://git.ti.com/cgit/k3-image-gen/k3-image-gen/ if BR2_TARGET_TI_K3_IMAGE_GEN -choice - prompt "SoC family" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX - bool "am62ax" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X - bool "am62x" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X - bool "am64x" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X - bool "am65x" - -endchoice - -choice - prompt "Security type" - help - The target SoC security type option for image gen. Valid - options are "gp" for General Purpose devices, "hs-fs" for - High Security - Field Securable devices, or "hs" for High - Security - Security Enforcing devices. Note for all High - Security device variants the TI_SECURE_DEV_PKG environmental - variable must be defined at build time pointing to a valid - core-secdev-k3 folder location, otherwise the build will - fail, see - https://git.ti.com/cgit/security-development-tools/core-secdev-k3 - -config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP - bool "gp" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS - bool "hs-fs" - -config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS - bool "hs" - -endchoice - -config BR2_TARGET_TI_K3_IMAGE_GEN_SOC - string - default "am62ax" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX - default "am62x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X - default "am64x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X - default "am65x" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X config BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE string - default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX - default "ti-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X - default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X - default "ti-sci" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM65X - -config BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE - string - default "gp" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP - default "hs-fs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS - default "hs" if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS + default "ti-fs" if BR2_PACKAGE_TI_K3_SOC_AM62AX + default "ti-fs" if BR2_PACKAGE_TI_K3_SOC_AM62X + default "ti-sci" if BR2_PACKAGE_TI_K3_SOC_AM64X + default "ti-sci" if BR2_PACKAGE_TI_K3_SOC_AM65X endif diff --git a/boot/ti-k3-image-gen/ti-k3-image-gen.mk b/boot/ti-k3-image-gen/ti-k3-image-gen.mk index 64be9a18f2c4..aca29bcf1bd4 100644 --- a/boot/ti-k3-image-gen/ti-k3-image-gen.mk +++ b/boot/ti-k3-image-gen/ti-k3-image-gen.mk @@ -26,8 +26,8 @@ TI_K3_IMAGE_GEN_DEPENDENCIES = \ $(BR2_MAKE_HOST_DEPENDENCY) TI_K3_IMAGE_GEN_FW_TYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE)) -TI_K3_IMAGE_GEN_SOC = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SOC)) -TI_K3_IMAGE_GEN_SECTYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE)) +TI_K3_IMAGE_GEN_SOC = $(call qstrip,$(BR2_PACKAGE_TI_K3_SOC)) +TI_K3_IMAGE_GEN_SECTYPE = $(call qstrip,$(BR2_PACKAGE_TI_K3_SECTYPE)) TI_K3_IMAGE_GEN_SYSFW = $(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index e6e7956adccb..821854d08acc 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -244,21 +244,11 @@ config BR2_TARGET_UBOOT_NEEDS_TI_K3_DM bool "U-Boot needs TI K3 Device Manager (DM)" # We use the SoC selection defined for the ti-k3-image-gen # package - depends on BR2_TARGET_TI_K3_IMAGE_GEN - depends on BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX || BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X + depends on BR2_PACKAGE_TI_K3_SOC_AM62AX || BR2_PACKAGE_TI_K3_SOC_AM62X help Some TI K3 devices need the Device Manager (DM) firmware to be available for the U-Boot build. -if BR2_TARGET_UBOOT_NEEDS_TI_K3_DM - -config BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME - string - default "am62axx" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62AX - default "am62xx" if BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X - -endif - config BR2_TARGET_UBOOT_NEEDS_OPENSBI bool "U-Boot needs OpenSBI" depends on BR2_TARGET_OPENSBI diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 35a41d96a12d..7cd4636aa292 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -189,7 +189,7 @@ endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_TI_K3_DM),y) UBOOT_DEPENDENCIES += ti-k3-boot-firmware ifeq ($(BR2_TARGET_UBOOT_USE_BINMAN),) -UBOOT_TI_K3_DM_SOCNAME = $(call qstrip,$(BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME)) +UBOOT_TI_K3_DM_SOCNAME = $(call qstrip,$(BR2_PACKAGE_TI_K3_DM_SOCNAME)) UBOOT_MAKE_OPTS += DM=$(BINARIES_DIR)/ti-dm/$(UBOOT_TI_K3_DM_SOCNAME)/ipc_echo_testb_mcu1_0_release_strip.xer5f endif endif diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index a129e216d25b..2835404a57df 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -11,6 +11,8 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y +BR2_PACKAGE_TI_K3=y +BR2_PACKAGE_TI_K3_SOC_AM62X=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_SIZE="256M" @@ -23,7 +25,6 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" BR2_TARGET_TI_K3_IMAGE_GEN=y -BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 26195194c7d6..566cbbe4824f 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -11,6 +11,8 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am642-sk" BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y +BR2_PACKAGE_TI_K3=y +BR2_PACKAGE_TI_K3_SOC_AM64X=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_SIZE="120M" @@ -23,7 +25,6 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" BR2_TARGET_TI_K3_IMAGE_GEN=y -BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM64X=y BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" diff --git a/package/Config.in b/package/Config.in index 33039331f7dc..b1638243790d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -629,6 +629,7 @@ endmenu source "package/sysstat/Config.in" source "package/targetcli-fb/Config.in" source "package/ti-gfx/Config.in" + source "package/ti-k3/Config.in" source "package/ti-sgx-demos/Config.in" source "package/ti-sgx-km/Config.in" source "package/ti-sgx-um/Config.in" diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in new file mode 100644 index 000000000000..2a51b1531487 --- /dev/null +++ b/package/ti-k3/Config.in @@ -0,0 +1,59 @@ +config BR2_PACKAGE_TI_K3 + bool "TI K3" + help + The TI K3 SOC specific selections. + +if BR2_PACKAGE_TI_K3 + +choice + prompt "SoC family" + +config BR2_PACKAGE_TI_K3_SOC_AM62AX + bool "am62ax" + +config BR2_PACKAGE_TI_K3_SOC_AM62X + bool "am62x" + +config BR2_PACKAGE_TI_K3_SOC_AM64X + bool "am64x" + +config BR2_PACKAGE_TI_K3_SOC_AM65X + bool "am65x" + +endchoice + +choice + prompt "Security type" + help + The target SoC security type option. + +config BR2_PACKAGE_TI_K3_SECTYPE_GP + bool "gp" + +config BR2_PACKAGE_TI_K3_SECTYPE_HS_FS + bool "hs-fs" + +config BR2_PACKAGE_TI_K3_SECTYPE_HS + bool "hs" + +endchoice + +config BR2_PACKAGE_TI_K3_SOC + string + default "am62ax" if BR2_PACKAGE_TI_K3_SOC_AM62AX + default "am62x" if BR2_PACKAGE_TI_K3_SOC_AM62X + default "am64x" if BR2_PACKAGE_TI_K3_SOC_AM64X + default "am65x" if BR2_PACKAGE_TI_K3_SOC_AM65X + +config BR2_PACKAGE_TI_K3_SECTYPE + string + default "gp" if BR2_PACKAGE_TI_K3_SECTYPE_GP + default "hs-fs" if BR2_PACKAGE_TI_K3_SECTYPE_HS_FS + default "hs" if BR2_PACKAGE_TI_K3_SECTYPE_HS + +config BR2_PACKAGE_TI_K3_DM_SOCNAME + string + default "am62axx" if BR2_PACKAGE_TI_K3_SOC_AM62AX + default "am62xx" if BR2_PACKAGE_TI_K3_SOC_AM62X + +endif diff --git a/package/ti-k3/ti-k3.mk b/package/ti-k3/ti-k3.mk new file mode 100644 index 000000000000..a2da29f5148c --- /dev/null +++ b/package/ti-k3/ti-k3.mk @@ -0,0 +1,7 @@ +################################################################################ +# +# ti-k3 +# +################################################################################ + +include $(sort $(wildcard package/ti-k3/*/*.mk)) From patchwork Mon Mar 4 15:32:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3051 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8A3C042756 for ; Mon, 4 Mar 2024 16:34:27 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-565146088eesf2992249a12.2 for ; Mon, 04 Mar 2024 07:34:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566467; cv=pass; d=google.com; s=arc-20160816; b=OtU3yaxApQ6TeR1Il/BsgvhxG4w+1X5enwvbBb03tgGHqTWP50QN5hX8LB3LawroI+ t0EAhZ+dWNZE0+Op+DXkvlPKEcOAcWKWUUAdvlUDpJYM+w+nrQzYPBlZvZ2gLAcXQH1D XKC68HjB+r0dP0EncG8jSf6wHwtAO1OjKZBinsV7UbONIN6yJ5ld7YjZlRBiALbBI3I0 qHGIkn8ykn5aGT1JhfbLLToTGSs5Iuxr4mgOzRozX6TyOiXdDLABQPYyUELG0suMlbi3 xeE/i2g0RXq6n8n3YgnLyROciTe/aYSf6HlPqw/kXdYMWKz3vmn/2MG6HxbD48rW0XNC VGMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8ffEInZKXt3nMeFmKFy7Gxk91uAnJFjjgVzdcBTNuRI=; fh=MvjlMXqKz9FLf81dsgYK4phZd1R5E0pfJJ3E6FDry2U=; b=cYQrNpHwjFzgvi5r0AMQt+q796glLQT8BPkmrQJteyrhQ8SVKC3QtQiqECMT7+ayUI IKiJynum2OAGRBOwfhyYjo7me6hvlGD832mzKERmzO04tZ7TG2nPpM4xXeOzCQHz3By9 2vS3rr7n3RU00mshT8AD1l2iA5p2DHx1KQrWK3N0Rg0VCJdL6MwKPxTuerD9i3WY4AqM knkeryK9Bmin6xvXpUI4takQ/VodkXrZLy0pBDD93u0V+RPs7M0N8cmbgps/FbSUC9UJ DdVdbxk5R/J1cn+BVVnOMO0DMS383ZMGuN6pqAdo1/Ea6tgNbUjAuGweefXvWXJUDYit +/0A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WLqAlvAU; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566467; x=1710171267; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=8ffEInZKXt3nMeFmKFy7Gxk91uAnJFjjgVzdcBTNuRI=; b=j2x0KD9RNtmnIPgvUWkZjVD4rw4N/5j3sZe7z+4gZlmvdO3aYoeHqh0TAbxYiVWzl8 J6JSh+VYAk+cmvtuPmT8ylTgeMZaT4yuIwQq5ESsEIFthpy/uscT3cyJpHQSpf/SzLM1 0IgCeXGWcwhIl1JzKuwKZwn6lv/1x4UXOVhww= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566467; x=1710171267; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=8ffEInZKXt3nMeFmKFy7Gxk91uAnJFjjgVzdcBTNuRI=; b=Q1273MBSs71EPdlXM4iJ6iUvuhu/F736kg/03MZ/vBjZKbS+TGcQvEH+gJlY1IpyO2 MtczMQBc4vlGqUkiYW6wAHx0AU75Jko6eX1QEupmY9l8RKAjuxyVakhMk4vhAf4DwK0F VPHYxN+EAkcEC0lUvxxBs3SsMQwbVp+hcWp69nJxEKI+go+T6ZZiVPO48aSu0j6yBSTo K2uJvCtFlHV1bPnhso/T5QMR4YJyj9GfM+WIy1Sly+kgl9qEgP9+Cw94Vt4OwnzuVkMl O7FIgBOEKlvZoze3R+PITGiiU9q95PxnT1oVl8FgDOw6Ec0SGhzzy4Z0WOMaVPKKEALH DaQA== X-Forwarded-Encrypted: i=2; AJvYcCWkZVAPev69YzVRdlX4MvuPuI/Sm31aeDge558ir/EDKcoyS7V/o6DstP98DNCCsjVzM7HJKQSFkIsuym2XhsEcM8fDKJ8lrpV244kA305uyUhz0x1gIcMqysQqPQ== X-Gm-Message-State: AOJu0YwG44xQZEplgxrBZKUbqvreupPj97z2D15Pr//+Tuex7CW/Zv1c la0sOIVlHwwTWtRPTVkpJCgNf+J71fsqBTzdH+E0aggjvSKCFwYbDnY6vfZq1fI+3Q== X-Google-Smtp-Source: AGHT+IEDUZvTkdB2nZ2XMYM4h60LoH7DebnoyrBf5G+7unUYYEtQZXdvNTPXpGS68g81rIda0Quebg== X-Received: by 2002:a05:6402:2267:b0:566:d333:45e8 with SMTP id du7-20020a056402226700b00566d33345e8mr6885184edb.20.1709566466979; Mon, 04 Mar 2024 07:34:26 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:566:82f2:a1d with SMTP id b5-20020a0564021f0500b0056682f20a1dls994184edb.1.-pod-prod-07-eu; Mon, 04 Mar 2024 07:34:26 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVR7Nz0tDW+s4j/XNzqF5bb1HdpTpuEXdkUINa7lSOC9kuuCM9gtWGWCEhK9E+XD0lW1X9gxJ4BuGLFXCx2gqBcXsfsKJpP2AEaE1VvmQLwPc+0 X-Received: by 2002:a17:906:16ca:b0:a45:62bc:6b0a with SMTP id t10-20020a17090616ca00b00a4562bc6b0amr1547116ejd.65.1709566465541; Mon, 04 Mar 2024 07:34:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566465; cv=none; d=google.com; s=arc-20160816; b=S320SIjD2sRZUI5cNgHX1DglG84+0UbQ+liUyUiF5W3FeS4ga+u22+7Xm7QztCRF98 koCfNdt6etcjnz03B7g+8h0uiH32o52JvDuF1aA74E/z94FynyEC0mtolX9A1QkpbEvb buNvWwxX4wHqrRdwHJet7B0tx1mFFGeEGSAZ49D5NSgnqJ5T0lYK8M/dUwuHYwZ2xtzv EpZNbHzTMoNC6a5KugtqMus4thL0Ii+36LPQ58EykJAYYf2XnzgyORTAi7THqpOM+1JO EIeyE9vbgTk1YPiWkBu4iBn+wKVgnA0124nd3gjvVWO4wAf5G8norFxjw1WMJr1zK04D ujkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=N9SAmdmIR4MoGN2pS9yfOSfj9+6rsKrN20r4g7qbMkA=; fh=xcTdwrO787SV+XYP/l1sLRNkZp/+U+8a3/pYtuyOw5A=; b=f9hWFSpg8oWbGHiq2Q6jFJcYhqPY544uet1BjqXLGSW5E8vLRg8uzX622m4XU81kWc L0eiLMhjYQNF6bLgW2oVMqXJt183uHHG0VhtiIEQjUPuD/NPklH+ucYXov9rLQMOjj2g HwPjXok8WaWqNlkYivPJPN/gxD+n5WjeSEwB87JAAIanQp9j+R3wfUVKE/+Ip9WKUEaC gcFa0ZwyLnz6QZfyrPuIvDiRSfvB/jMwOJtDSMVbJoYvEfHtljd3l/D3ylr/cEKxh4b9 PrIp0thLiefszaS0AquQasjSVhvtDgT4RZqZzDr/LB29rmv6c/H0lLu0JdanZFCkV5Mj kTrg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WLqAlvAU; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id gx7-20020a170906f1c700b00a453172fd3bsor763787ejb.1.2024.03.04.07.34.25 for (Google Transport Security); Mon, 04 Mar 2024 07:34:25 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCW1+6rI/p3nmW0DGs+0fhe1O4SasodhmpnRRWfmMZQmQS+2s/gl+C2IdpeMy4eWmtSIYzfImgzRRfx2hbcLGaPaM90lKpItvXdgY50xJSb3rKnY X-Received: by 2002:a17:906:6409:b0:a45:8ab6:5f3c with SMTP id d9-20020a170906640900b00a458ab65f3cmr460773ejm.45.1709566465288; Mon, 04 Mar 2024 07:34:25 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:25 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 14/22] package/ti-k3: disable HS-FS for AM65 SOC Date: Mon, 4 Mar 2024 16:32:45 +0100 Message-ID: <20240304153253.732708-15-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WLqAlvAU; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It seems that some TI K3 SoC variant doesn't provide all SECTYPE. For example: AM65 provide only GP or HS, there is no HS-FS. This can be checked in meta-ti: meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-gp-evm.bin" meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-hs-evm.bin" So BR2_PACKAGE_TI_K3_SECTYPE_HS_FS must not be selected if BR2_PACKAGE_TI_K3_SOC_AM65X is used. Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- Added in v7 package/ti-k3/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in index 2a51b1531487..b8545b7bca62 100644 --- a/package/ti-k3/Config.in +++ b/package/ti-k3/Config.in @@ -32,6 +32,7 @@ config BR2_PACKAGE_TI_K3_SECTYPE_GP config BR2_PACKAGE_TI_K3_SECTYPE_HS_FS bool "hs-fs" + depends on !BR2_PACKAGE_TI_K3_SOC_AM65X config BR2_PACKAGE_TI_K3_SECTYPE_HS bool "hs" From patchwork Mon Mar 4 15:32:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3050 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C06EB42757 for ; Mon, 4 Mar 2024 16:34:28 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-56544b5af9dsf3124866a12.2 for ; Mon, 04 Mar 2024 07:34:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566468; cv=pass; d=google.com; s=arc-20160816; b=R9p58VRQGdi03kdBdg8PFb4F93rxUn8vc8I8VSQrjfvAmo4DAVHVowiy/tJl6Q8cjW GtjcOAwnKmsuBHM6Xe6MucKVaZLvxb/+yTx2CCYDVYNhtg1wZPfOZLddddxlGemUis0+ Wb/M48bh1NxPf35TxKS1VzHFoQsuvhhhJ1oyQfX/Y+nI0AH0rWz6+o1C9GyZLOptF/US bwsAObg//G6GmW4OYys6gP8+rySThwq/jithu9+8L/VoIRgLarWNG/PPofif187qmp6q 47irK+bCAgobG5Gel357PeOKZMWjpIR0etHK0CfbBTrt+QaEF6OYjqZQrdQ/OY7KcUzq 7Eyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=N4V+T0siDqquVgP0ohzqTcc7XE3x92U8EkSLblZfkMs=; fh=pE08Fa8uxlzG+bDlT877MHmQesw82A6+VFX+VQecpQU=; b=FRnJfaYm5NYbdKDA/DU9zjnOK9VvGPijnkfn//camDYxAKUUBmCh00gQGfU4jGsbdD ofNWQgDfeHq53cuVB3FcNBko6BJ/IOWEgKGSP8WzqswL5qdTn5fSsQNM53qYX4BuJBMk 9LUot2OTIudJgkyKUI/BcANqY6dWVBXYx1C6SdXY8T64Cisu1wl1SpJuXanIrUR75zu0 h1HDBhp/UeHbOmy2Yva2gbhM6OoKFg5Ib7b+zAPEio1ssADx618w+BU3Pw8Y7IxW89Ws kVTEqwRRBg8urVnNOISwbdOlkGPf2d1oRvHUwABUVvvxhWkSXwDvpjypBGfzdfXgTQuD o3ZA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BSMgt4HR; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566468; x=1710171268; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=N4V+T0siDqquVgP0ohzqTcc7XE3x92U8EkSLblZfkMs=; b=blaJWm70H4YVo/Oiu4Y6efAjzAB0L1+NXfCgqGKM2Q7F6oEB5/qLOuS+UMs+7rTnlP r6QPg7cahfPNd1kzBWu5538yuIPjQ25vNBtJbiZuLGJeDm7OIPrRyGE6UPjnKfEtPRiM opxxDIV5rDsWzF/jFP4mggR7gRDHTjwz05Uxs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566468; x=1710171268; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=N4V+T0siDqquVgP0ohzqTcc7XE3x92U8EkSLblZfkMs=; b=Oz//gle8R+hz+QYyF7UmCd5rKcx56Yoe+w/8FCWEfETmEsjehRwx+TwwZcmh0TI+3L pbKLPIVzVw8CAsWbZpXsoIAl0dixwIyzUyj4wrHPfGGc0/YHtybw8DSv7k+IjqbptFy9 M4y+kioq0bq4TmQhDS9a1jEVCVny17Uj0YqhtIN1XAKNw7uPOfZmXLEIx+3CX2uuqKGg /zWOedheHxlo2kDNy9D9azB10T6cohO+x8CScZCeCl4QmqqREJswL6oGd4pFwwAADF7P V1HTrk71VIp/9pq+AT5+QZEXhmwv6YsTF+asOcZoKSZXPx0qelURk2YAc07OjRJrBxwV b4MA== X-Forwarded-Encrypted: i=2; AJvYcCWRM4mJ9kROOXivcSwIStYaaMZJy2BBJxk7u+op2QZgLTWnhLIrq0AR5SKfYpRO5BD251VQySS4RG9ulljfVc366g8Sv0thOoetxSY/KssfZZ5aDbAncj9cNi5tJg== X-Gm-Message-State: AOJu0YxmcfgPYVc16eWrDbhHwJf7zLGQ9Uz3GKDVTJo+fPq1QXdJeI5f zXDgOR3UFTDbyIZ+dPzbihWZ0qlTUZdGI67ZiQkA2OwWW2GAPlePwDb5rt+xsPk4Bw== X-Google-Smtp-Source: AGHT+IFFiw/IUD1CvAxhh8jvcnuDnGQ2WlT4yO32xEZdENAPdMBT64qZVhbDCZAnCzX9ug2YS8sg5w== X-Received: by 2002:a05:6402:2267:b0:565:6bbc:39d1 with SMTP id du7-20020a056402226700b005656bbc39d1mr6201024edb.5.1709566468290; Mon, 04 Mar 2024 07:34:28 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f26:b0:567:5bca:8f2e with SMTP id i38-20020a0564020f2600b005675bca8f2els289768eda.0.-pod-prod-06-eu; Mon, 04 Mar 2024 07:34:27 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUNe9iVjOlKQMis2qv/wgh34s/+buLVZBf/6l8TY8jICtFVhRh5apXUbZ5ol8o+H57xkUPLu0aW9rj2L9yjsjUbONvapn8FF+OhbX2aCvo301Ph X-Received: by 2002:a17:907:367:b0:a43:f020:57ed with SMTP id rs7-20020a170907036700b00a43f02057edmr6275023ejb.73.1709566466789; Mon, 04 Mar 2024 07:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566466; cv=none; d=google.com; s=arc-20160816; b=TNDfIJzLbDO97CkW2e9Fop5tFJq9hq1FLdZw+ICGPb9MeWyW72AfvqutZBDwuMI2vN bFGsrKTbDBbpGhTCLonnWA04NlWVzCsJhZb/zRGVPVAyVRQgD0y76STvroMM9Lwgut/2 w1zSFUY9Q/oaYPE5TRrY/uOPN2/csDFrdhZvW7hTL+rbgU707C+Ng7KPbUI01tBGgr7g JFM4l/KkEkDd9RkdQFFZjhoPQ2heTEhwGeg25ndWiVlXUZ8bI40es3qA+M7hnoNjFeHz dp03OH7URiUbnStbPTr1MpNF0fVV1hr8xAU99h3nsPn9HUfZoDk9MLQEZft1deHZMhuq Emgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PTxw9v4vJWFWFxqGPEIz5b+ovpWbrurOUUDeiiATkds=; fh=XL5pem+ygcuPqmp8PIeSFJLpIwqndXCukRYmwj9uPx8=; b=z73Tolf1cRW0jgGryfQp5cqP5aUvOG4Gc2pTWUcPYSskwNxVv3YgeNnnIA295NRrdo GA96mbb9lLRlrGARy8EUoAoUSF7dybmeyxTlBvieUYmY6pML7eMvcj5TgVQi8xoA9M3s Qvy/c8XuHZMzy4xdlNnyaUR8vvccqIVclMytkwQnwxJoLALa0q8gs5Cqiyy2BLe2J4X6 3FiAi7jOuWM7TegOTzsqoR7ybeoIrClg/+aKFsVSfxZJGHLO3eUkF0ZbaEFcEKcF/YRQ utztF/0MzAvDBHQC3WnpJhME4Ko2X/i3Ey3r58TaCfDdwIclBCkBY0F0Tpbh/MldrSBE ET3w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BSMgt4HR; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m14-20020a17090607ce00b00a443a6c05dbsor3371900ejc.11.2024.03.04.07.34.26 for (Google Transport Security); Mon, 04 Mar 2024 07:34:26 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXF7sSDbj1Qa2tBsIssS1KXrH5HYdERzu6qN6TkoqZNPrgzCg4lwkYoK53Efw7Rxewip/b+U6leA8v7hhOYq7PhwR+aGAPAHPwXoXTi3aRVdkFP X-Received: by 2002:a17:906:1114:b0:a44:729f:5bac with SMTP id h20-20020a170906111400b00a44729f5bacmr6065947eja.53.1709566466482; Mon, 04 Mar 2024 07:34:26 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:26 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 15/22] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin Date: Mon, 4 Mar 2024 16:32:46 +0100 Message-ID: <20240304153253.732708-16-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BSMgt4HR; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Recent versions of U-Boot are capable of building tiboot3.bin using Binman. In this case, let's copy it to the binaries directory. The use of `find' command is justified by the need to use a regex expression to select the correct file. This is not possible with a simple `cp' command. Signed-off-by: Dario Binacchi --- Changes in v8: - Use the `find' command in pipe with the `cp' command. Changes in v6: - Replace `find' command with `cp' one. 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..9a05d005067a 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 + cd $(@D); find ./ -type f -regex "\.\/tiboot3-$(TI_K3_R5_LOADER_SOC)-$(TI_K3_R5_LOADER_SECTYPE)-[^-]*..bin" -exec cp {} $(BINARIES_DIR)/tiboot3.bin \; endef $(eval $(kconfig-package)) From patchwork Mon Mar 4 15:32:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3053 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EDFCC3FA2C for ; Mon, 4 Mar 2024 16:34:29 +0100 (CET) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-5132c85310asf3573863e87.2 for ; Mon, 04 Mar 2024 07:34:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566469; cv=pass; d=google.com; s=arc-20160816; b=h4rZVvDebs7pJjgMsZtNTPAGPF/3oL6bjR7ZXX6Q2ts+KV5IjTYMvbtqGJiNf9uGHZ 4oX661UKDW8Q5mIy9GR9IjD5CQsKkWDYFv2rBPZxb8mOxLu78hSUXH+agg5YvoQ6KP/u 5qIX3DdcJGRAJ0onrUd2rhEGavMGqH9YzeESbUfViOGIIWahVQS4lvaTwp0zVmPVO+2r oGYRoYdlu27QL+V0BoPfSfI2XSUnaBdYiVNghQ8NbXxVUvmotcbiKLazywOqxNB+hKb7 E0BTsArog48rsvriDKOeCsNtKfWRDFDzRMa/3akBOKNQ7tKwB3ndxPf2vNHDyE16CJB8 ik5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=GzUL91P8uP79PrllwyQtlMj29S9KoXpJLQFE97bJUfk=; fh=v/GGWBjBCmV5Wy7Rv1kWneh9A+ztLeQBJBM09Hr+PEE=; b=p/o/OP/nyw9GUGF5+3jcWf+2nTUNGvUTuSsX2ORKG/4OuVyoaL/vUdqo59pC3f8AOW UCI4d/aOtZpy/A7gfVAg3iRXuvzOCkKIiR6GXoKuJUGtOF75EC0ymtHMbtqVlt7fMS2I rikZ4XgPPH/h2vhgf8TrliBanVov7T5oXlN5+vJLCCS48BMfLt/uHfqBhy/8nvvPFRP4 9mJtKp6yrVR8XPojGlms5nCOQ3+IfxS+QypwS8sz3oneGFnQZVlEcjskdLglaNkun6H9 ZbLawOR1ZQ4gh+VV5+jVo4Vxm5GCkut18kZ0yBpb/RUldfRV0pcBuEnAMKmm61PLG0xD byfQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I+hVODKG; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566469; x=1710171269; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=GzUL91P8uP79PrllwyQtlMj29S9KoXpJLQFE97bJUfk=; b=gDfbppm6qZAnu6AkQM3LJ1lJ4akYbbHMavEBa+xQbGRQvl9DFfhCSbAhTP3ANZA0yi 6estR8bsQUAS/NR+7KH6ALIIxaBGCxDsreXqhhumANRPiezCQsvbIuls18T+3e7lpwjD kTBhfUOueriF1TaVZYrL0z9FH9nj1IDTM2m/I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566469; x=1710171269; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=GzUL91P8uP79PrllwyQtlMj29S9KoXpJLQFE97bJUfk=; b=L1XE9itq98oTGMevSdSgG4ZRWCTkIgnu/rIzHeGQDeF3Yvkw27xHrLt7ycdR8rto5v 41AOhn507CUdAhYKyiOeF4i+kmnrqtQb9X4Ir9b6XLCcQ9yiChwJplzDuzIj76v2Lw1E iloLa+P4BdqPQWPeDBdv1tte1s7K4IUQoJH3hV0X/FXVcbWIGCRjtaWxCZiY/1mgwt4m 86AEu4jxNR3YHtXQ985JkqmwE4O0lrB8AlH/nGi3hIMX0UCzg75hQMaARiLZs3leFvGf KUE3pq6Pp1PO0IALrDf9IjCu/pYcs+sCB8jougIwHAxHMOjZhzUInpD/uiqRZuhSShKe rOjg== X-Forwarded-Encrypted: i=2; AJvYcCV9F/6IvRGjrtwOaIkd/7n5do47BrvjyjDJ4jxPEMuaRTgq13FGYT1xo8rxIydJFzQEFypCuZJl1KInqWxMN8u6ZIRrK198Sfsjqhxs0SY3VQmtNtOPC0lCVVqnBA== X-Gm-Message-State: AOJu0YyMdSRmjUZ3+VJt/4pw8DouY1yo3anSJlMM160Ht2WNEdu99mfo 4cgQE//lB987eA+z56uw+N1JPwRNtO+DQlEjRiLlRNkzJLDP7T11APg4R4v07znHQQ== X-Google-Smtp-Source: AGHT+IHp1wrhQVDNcBOV4e40vwxPAi5zZUUXVMbBY7dv2/zTlQW0XqTCX5y+Q195m7o3fkzkJURQvQ== X-Received: by 2002:a05:6512:3127:b0:512:d78e:90fa with SMTP id p7-20020a056512312700b00512d78e90famr5602078lfd.15.1709566469408; Mon, 04 Mar 2024 07:34:29 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:730a:6e8b with SMTP id ev18-20020a056402541200b00566730a6e8bls259876edb.0.-pod-prod-03-eu; Mon, 04 Mar 2024 07:34:28 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWpOaRZtRargRtWXbBMnUWgSWvj8BaFQGu2DLYTQc3ZjuK8yaG6zLNsCeL4eeLLaPaUoq3q7UFqkKJcGJ6qC0sUgtX1YNXb5t3P/JcfqBqIaDfM X-Received: by 2002:a17:906:c49:b0:a44:7e16:af30 with SMTP id t9-20020a1709060c4900b00a447e16af30mr5846333ejf.63.1709566467962; Mon, 04 Mar 2024 07:34:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566467; cv=none; d=google.com; s=arc-20160816; b=Sxi7lC2eEbtsybY48BfsmPfGSIO1ZZBmPLzawAfYM0GBPgFvNsDe6SGToBpoplorJT aiCfc2myeWtTS6d9cE7h6/tC4X1HMQGb+XMwsGYsvsuVOt287oPvZpGhVEaqjv6Wu1jd U6WlI+LrNkwMaoRzlMKdy0XTH6VZFwXmvuupFguF6MmJ8MIBmltMP+ZcydCnQx+kOqkU AFyn7O0oMpp8rzVG6LOloJzbl8jJUccRJEriEWMZC6zMlBV08eNcEP+9k6g/G9XEHS2T OSc78ddAYZCYn67uP1ti7y90AYPHY2rrg/XSgjbk6MsmSLe0kA2pyI2lzLI5iIvFQgps s4GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=BOGhPRnmbpl1vVASgmS2jJ5Nlo6TpoJenWbLbZor/h8=; fh=tNPWA6yf9rwP5VgN4MQCafpAuewQkn4sOT/9LllJCnU=; b=z1e3YzvM7uzR3gLf/rKTpCISstR5LLT8UXuwqo++DkyKQmdHmrpqtReW3RKqOSYJ0E 6CMw76ccZuuMCZgHQNwEnYj7ILubC5oBGroIFwg2EPiNlCSRIgFboZQJeVIIemdoMabZ fbkLR5GeiHvss1RxJFW7/lioW9ELXRT2HCFvTYhQr7Rmy5wJI4bnjSC+gRQA9ZXgeOe4 DH8AOHpu0jq7ZQf48dhF2XDPppGfyhZazTf+CQt+0I3OEiaVoKz/5nPbRMwI23Ck6f9u 5GaSdB19LE3ZydGRCVu/NH7/GSuvq1/5q8/ibCsQvCKC/8VEg+f0QFBJIaUH+qvZlcLc FU2g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I+hVODKG; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id lz8-20020a170906fb0800b00a458d416504sor135677ejb.15.2024.03.04.07.34.27 for (Google Transport Security); Mon, 04 Mar 2024 07:34:27 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXHZN7fRVV0R9KYroBJYjYIpddLRBn7v+yxK/RIH5RwNGP+9Hqwt2+ZcEFcC5BbAybAWku//z4X8grOqXTX8Zh6CYjv+L4BpTkUa1BFeRsLGzHw X-Received: by 2002:a17:907:b9c8:b0:a44:dc56:e93f with SMTP id xa8-20020a170907b9c800b00a44dc56e93fmr4054595ejc.46.1709566467691; Mon, 04 Mar 2024 07:34:27 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:27 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 16/22] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Date: Mon, 4 Mar 2024 16:32:47 +0100 Message-ID: <20240304153253.732708-17-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I+hVODKG; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The 2024.01 version of U-Boot for the am62x-sk board has introduced two major changes: - The device tree k3-am625-sk.dtb is no longer searched in /boot, but in /boot/dtb/ti. Hence, the disabling of BR2_LINUX_KERNEL_INSTALL_TARGET and the use of extlinux.conf for the proper loading of the device tree. Furthermore, the parameter BR2_ROOTFS_POST_SCRIPT_ARGS was used to auto-generate the extlinux.conf file so that developers can change the kernel loading options by modifying the .config. - U-Boot is capable of building tiboot3.bin using Binman. So it's no longer necessary to use custom tools like ti-k3-image-gen. Tested on SK-AM62B-P1. Signed-off-by: Dario Binacchi --- Changes in v7: - Add devicetree k3-am625-sk.dtb to extlinux.conf - Improve error messages in post-build.sh script Changes in v6: - Enable BR2_TARGET_UBOOT_USE_BINMAN option Changes in v5: - Update commit message. Changes in v4: - bump to 204.01 instead of 2023.10 - Update the commit message - Replace 'PARTUUID=00000000-02' with '/dev/mmcblk1p2' where to get rootfs in the BR2_ROOTFS_POST_SCRIPT_ARGS insided the ti_am62x_sk_defconfig. Changes in v2: - Update the commit message - Drop Python options required by binman. - Enable BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN. This option automatically selects the Python modules required by binman. board/ti/am62x-sk/genimage.cfg | 7 ++++- board/ti/am62x-sk/post-build.sh | 54 +++++++++++++++++++++++++++++++++ board/ti/am62x-sk/post-image.sh | 5 +++ configs/ti_am62x_sk_defconfig | 13 ++++---- 4 files changed, 72 insertions(+), 7 deletions(-) create mode 100755 board/ti/am62x-sk/post-build.sh create mode 100755 board/ti/am62x-sk/post-image.sh diff --git a/board/ti/am62x-sk/genimage.cfg b/board/ti/am62x-sk/genimage.cfg index 26304fe98f99..398209f4d831 100644 --- a/board/ti/am62x-sk/genimage.cfg +++ b/board/ti/am62x-sk/genimage.cfg @@ -4,10 +4,15 @@ image boot.vfat { "tiboot3.bin", "tispl.bin", "u-boot.img", + "k3-am625-sk.dtb", + "Image" + } + file extlinux/extlinux.conf { + image = extlinux.conf } } - size = 16M + size = 64M } image sdcard.img { diff --git a/board/ti/am62x-sk/post-build.sh b/board/ti/am62x-sk/post-build.sh new file mode 100755 index 000000000000..4f19f4d6cf91 --- /dev/null +++ b/board/ti/am62x-sk/post-build.sh @@ -0,0 +1,54 @@ +#!/bin/sh -x + +# genimage will need to find the extlinux.conf +# in the binaries directory + +die() { + cat <&2 +Error: $@ + +Usage: ${0} -c -r [-x ] +EOF + exit 1 +} + +o='c:d:r:x:' +O='console:,devicetree:,root:,extra-args:' +opts="$(getopt -n "${0##*/}" -o "${o}" -l "${O}" -- "${@}")" +eval set -- "${opts}" +while [ ${#} -gt 0 ]; do + case "${1}" in + (-c|--console) + CONSOLE="${2}"; shift 2 + ;; + (-d|--devicetree) + DEVICETREE="${2}"; shift 2 + ;; + (-r|--root) + ROOT="${2}"; shift 2 + ;; + (-x|--extra-args) + EXTRA_ARGS="${2}"; shift 2 + ;; + (--) + shift 1; break + ;; + esac +done + +[ -n "${CONSOLE}" ] || die "Missing \`console' argument" +[ -n "${DEVICETREE}" ] || die "Missing \`devicetree' argument" +[ -n "${ROOT}" ] || die "Missing \`root' argument" +append="console=${CONSOLE} root=${ROOT} rw rootfstype=ext4 rootwait" +if [ -n "${EXTRA_ARGS}" ]; then + append="${append} ${EXTRA_ARGS}" +fi + +mkdir -p "${BINARIES_DIR}" +cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf" + label am62x-sk-buildroot + kernel /Image + fdtdir / + devicetree /${DEVICETREE} + append ${append} + __HEADER_EOF diff --git a/board/ti/am62x-sk/post-image.sh b/board/ti/am62x-sk/post-image.sh new file mode 100755 index 000000000000..34f732c091ad --- /dev/null +++ b/board/ti/am62x-sk/post-image.sh @@ -0,0 +1,5 @@ +#!/bin/sh -x + +BOARD_DIR="$(dirname "$0")" + +support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index 2835404a57df..7d9912024a16 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,14 +1,14 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk" -BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y BR2_PACKAGE_TI_K3=y @@ -24,20 +24,21 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" -BR2_TARGET_TI_K3_IMAGE_GEN=y +BR2_TARGET_TI_K3_BOOT_FIRMWARE=y BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y BR2_TARGET_UBOOT_NEEDS_TI_K3_DM=y +BR2_TARGET_UBOOT_USE_BINMAN=y # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y BR2_TARGET_UBOOT_SPL=y From patchwork Mon Mar 4 15:32:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3052 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 24F28414AE for ; Mon, 4 Mar 2024 16:34:31 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-567002485e2sf1860506a12.1 for ; Mon, 04 Mar 2024 07:34:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566470; cv=pass; d=google.com; s=arc-20160816; b=X63fmgiYU+94aN0EBUTc6uvbbQRteLZBY7U80Cokjn2mrn4T3DyWquxBGtRQd7NMo0 0UtbPfUSHuWEJrJ4VuLdzWi1/PaiV6DSDA2GJ7UBqiU3dIzTX8b7D2efEaJE7OpxuT2Y VDoJbdpIWdrktlNbOfoxMfD0zxpSECskvGRtNitAs9zJebX+CuXROiRxvMmg3pgTLtz9 C6ahit7H6mSYFVLw8lJ0o48WmntQUFxf8DrH+mlPWjZQ1xLxN4vBbsOmxVQ3LYlOw0M4 nKVtrFXDjujMZgTx3+uu8znzrw0vkU3CHJSQpvVi+w4+Sa3UJ3ZFovcgk/n/uzY6HWT8 C9UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YNs3Ozxx0IAbN7SxYAXyb1LnAsaeCB1Sq4WdIyskXsg=; fh=Czh11R26Rf+Zz7iQ9Qe1SGqIsejEqqvo4jrHqMjh4xg=; b=qdqfeKinnhRnuuxjb/i3axI4ZRqGT+9DsQK8ggRoHzfU19hVwdgJxe0GFoeTC6P29g 82sjwdIFxNBjxOt3gF8U3yBvuv2SZl55f2JKJsSVt6xAlU1OsSsQOw7NArvEAqL2jOWQ jbFVbKyIYtKmoevdTPR1a3mEcnUxJMAHGn3im9aL5cfa9ZSeGKXZVVa9DLNVL8teiPan RtT20IAWP6od8bUB+k6cYSdj9RtwMlT1fkEbyy0i48ar/zAEMgFWus+cbajwjQHLoK0w LbxlLxwz6etr3JJkzVh48ndDUq7Omprbd7ox63NPCXzRgh8nWokcs0FIuDtGaZlFjncu 9WyQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=loH1FScp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566470; x=1710171270; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YNs3Ozxx0IAbN7SxYAXyb1LnAsaeCB1Sq4WdIyskXsg=; b=WdF5SJ+AUv6hNFBZNoB4FCeozzoiMu6rP2+CDQe+cxgSbCHDIQ1Ed6r9pVt7yDMl6R RbZ4hANCbewIEUz/HuxewePBXp+wY8s+ZFr6ah1NuiH+SVP//d7m908MEXWAipuF4idC AvxbosiEeoRU4UWClhQZteOGXl1Q4n5iqxqOU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566470; x=1710171270; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=YNs3Ozxx0IAbN7SxYAXyb1LnAsaeCB1Sq4WdIyskXsg=; b=QeQloIvSTeWk4I2f2PMeNE0WxGX2PR/ZjDI8H7narqZ3uO8lqzjGh/klFaUY3rdxew NIkgM7qyYB6jXIuNrrOO2M2TydjqmhvrFokehOsGcBvl0NmMjJdnChcVIRARob+BXqTt bA+ZMa/ND7X3wIf+KOwPATkf3YJTf+sTBDeSdZmHTKo5aRvgzPMgrw/1JGcn47o8DYXv X7ZeTbCpYYRa97WZlmNpshHSVRsAt2B894P8egdeQiVUNcnrJHAUe8I+UYHiN9EjuRC0 4BTjuMPwO+/asxwC8dUHrGHdZM9v2u5EeHsnl52zQoFbIpng8VMfiHu5AvtJLfDoZOJ3 kmFA== X-Forwarded-Encrypted: i=2; AJvYcCUJ6+9bxK6B8pA1DAMIrGogd2AKf2U+bT3SByWFdEpJIE9FKdognOoEKWt0A5SpMul6Z+5Kd1Vdc4CdWm2qAyO4mSnLAiDzc4BDuhlatbqWZsa9kFazB6BLVodshA== X-Gm-Message-State: AOJu0Yw0IdydjSdA4CdccueqKGEXpGTx6aFQtfT3G+Tk/jFX6sVRh0Jx 9fywbwe5e35zgGh5zfWCtHm8fIepg595i1Va8DDBmgJoBH/g4dpig7lIgWuD5ISiug== X-Google-Smtp-Source: AGHT+IHH/J6GvLZH9grqYaDbXXkcb94fSZeMwql4TE/I09cMYhhIkiQ76n3FXMnfc8y6qkuQ9shFfg== X-Received: by 2002:a05:6402:26c5:b0:564:3392:e9db with SMTP id x5-20020a05640226c500b005643392e9dbmr8175869edd.33.1709566470808; Mon, 04 Mar 2024 07:34:30 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:388e:b0:566:e926:59de with SMTP id fd14-20020a056402388e00b00566e92659dels85219edb.2.-pod-prod-05-eu; Mon, 04 Mar 2024 07:34:29 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVDuxVi4bEBlobYsI26hqHkshreIV7Xad0+6l6ne1sbmccoIqcdHHUUbQ55AiQA1hcuAqRoUVeAFvryyJjYqPBXvXY4xkYjZi4LqlLyBrjOeVSD X-Received: by 2002:a17:907:1708:b0:a43:dc5f:f271 with SMTP id le8-20020a170907170800b00a43dc5ff271mr6329209ejc.42.1709566469348; Mon, 04 Mar 2024 07:34:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566469; cv=none; d=google.com; s=arc-20160816; b=Ii3hxIqOkusQaQx+g6lql3hNH3U0HXpbIED1I+Y/qsSwSju5vbbTA3DHZmpHAhaufs krPmVK61gCGaTlxbbk7YmVcyCR4pb0CbafZZTX7gs2w8WwbziRvOGTi+d+JJXtEtG6Ri upKVcBLz8PJoei2kEY7gbdTpUFYpV9rpAvGl9AR9YWN+kYz6DgxQpfz3YfMtRMtqlLMZ ieccERXUedMMAiCVLDF8r67HcCQ1L3cmGSy6YcntapXM1xg9Phx9kii3q7Kchcyw7IUy 0dGAxcN5j0MhLYC2JZVYJ9Bgfo1G86p7qlngAMByZhbP3VL4GTxbxJHYLcpxUnMZ8uoQ OSpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ZelGuG69Lbli+WhLi4oIQJHaEmj4Y0KUgI+Og4eA5ns=; fh=q234Bfi4ixugUSUzk0928pB9U9/hF51L75dhjsb9elQ=; b=kSm6e+uuKMr3U8of2/6mK9rtrxQYqpXPnUTchFQTzHmwBqBtlM4SEsDIoarKMe6vbt gaNSCtsLZpedac1NEe0adN+D9RJ7h0Q/qycZEF1pkPhXQKwANTT9pmTodmhTgwM5I+JH mHYy0SZ0VutOUCiYjHGUEV+InLlCUSPLJno9GQFAXL6C70nrh1UflPrY0EQ9UgtOfs70 nTbq+/A688jPqFylR4Z8sO1yLw/Rh5gqTyWT9bL8YJsdluLotnJfEsaWSvhv78MHHqa+ S4AG7+j4P1qb8mLnvZ2zPe4qNc1yWlV5oGWvDajjIdDUgpzfeSQB4bwk77Vmi51Jam/D lgUg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=loH1FScp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q25-20020a1709066ad900b00a45346dcd96sor760364ejs.5.2024.03.04.07.34.29 for (Google Transport Security); Mon, 04 Mar 2024 07:34:29 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCV/lkQn5xJ2axq5vHc+nEpabt+BMvIKSSxBMXXnI80YJiEKy1dVYgO7LCmmsDdHe0b3RiUpZ26DaCPhdvqoyJlVaqsYYRRIZBO9WMZtO1vHNJay X-Received: by 2002:a17:906:c350:b0:a44:4b9d:37ce with SMTP id ci16-20020a170906c35000b00a444b9d37cemr6244403ejb.34.1709566468974; Mon, 04 Mar 2024 07:34:28 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:28 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 17/22] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 Date: Mon, 4 Mar 2024 16:32:48 +0100 Message-ID: <20240304153253.732708-18-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=loH1FScp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Tested on SK-AM62B-P1. Signed-off-by: Dario Binacchi --- Changes in v8 - Bump to 6.6.18 from 6.6.17 - Update commit message Changes in v5 - Bump to 6.6.17 from 6.6.1 - Update commit message Changes in v4 - Add BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6 to ti_am62x_sk_defconfig. no changes since v1 configs/ti_am62x_sk_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index 7d9912024a16..877f88899af9 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,11 +1,11 @@ BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk" From patchwork Mon Mar 4 15:32:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3055 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1FA4042758 for ; Mon, 4 Mar 2024 16:34:33 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-51337da375dsf2197658e87.3 for ; Mon, 04 Mar 2024 07:34:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566472; cv=pass; d=google.com; s=arc-20160816; b=CXm2luP8JZehgmttisttKN/kj1VwiLUzP1rRYgRdIEBOE/WvfGSTuE8xKFM8rJ82Yt x68eGLaFb+42BWrnbvVcGY50ugI0AL+JjVLnn0ZA+oNbYiSzr4xb6EZ/XbTr00ogjuxr c3zKD4rJKAIgvDBYRDKEG103TnBs4pNiaTyC9kkyRAPY0PjDWeH80S136kYlb6Clfgsr Erj+BcAQkEw+UdhEjzZaF7pshYqgVw2/Nj4BidTCtnywlp56Z8HPlDTrdykWKSoBtUaq VveHL+/6jRgPHVPtBFAozfIhLVYQuFIINDRo31EeBQoSeb6TLuyjonJWbZ1TG3XUkkTN Abeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vcs+EXVdX+InbZfLbCj7WHyxLiKmeBckfPXPvU5aqT8=; fh=PDJ0ZQBeynnReF0u2rHwYe6kgjrflySvJ+CCF1Qx3Us=; b=ImvcKvAjvBqgo6lb7+/X2T/aduTEx9RjT/sJmttWbhaUefusAuyvVmQ2NwxR2c8JS/ GBQuF1UkthAGv+yDa7mhFM+uJgvxuKwnDJiHbmYyDtJKz128FcMbWzVaB9PNBnDwXfTz KM4VedCXTKRYWIVK5ioyDPY/0MsC5uW5EUuSwWoQFaAfGCbA5NTh+gwZEEDdaQ3eiT/q 92SJgTFJnI2J2QpOPzG67ZWf8kGhAUcVyFRmJ4fl33va5PZv9wKk4Wk78jeD8Xw9ag5C vzKG1lG5rpX+pFn0EHtRt7toYj8gndFHwy/ACJtbfh3qUUoCNpx3YaXSiHNSwXqaJjzR gbMA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UTVMI0R2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566472; x=1710171272; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=vcs+EXVdX+InbZfLbCj7WHyxLiKmeBckfPXPvU5aqT8=; b=CcIVveicchEX6tJ9oyN421RdS8CFfSBbfZC4ZTHICndax2DryiKZK8rIOm903aZwAq afKaDI0QxFEl7GIAiFTJ2cro2tFoFexI1YPXK+7qL1nJpDejyEv3zIKkOBTIIIi48qrI 8pRJnoXO9gD38QTAhaz7UxF74fI0g1HLErizI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566472; x=1710171272; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=vcs+EXVdX+InbZfLbCj7WHyxLiKmeBckfPXPvU5aqT8=; b=KCvG5GiBw33XgvNTzlXaQduaykRwftEgdEU9Dn6BQwj/7gBflBWJaTd1vjuxqqGxDh 72evZ03c6QP/wtq2/xgNd4yfjZfjQuOSN3PRcEv2ya9uwejMogEX3KbT0DADAKh5eal+ nd3cPPeyQdUhiSg5cRGUQLkEvi1p4HMdtf79GCHFoz8SX2JnZiNrwH9tQpRzbAVGrI5N PpK1Z4PBVaSsfiREepeCBGZeZyuuvrNZByrC7K1+CG9aMIaiRMeVc9e3BDmobvR4fIgW J2lGf+ix+Vl/sSy1d7/pGT0/hHjUgKjuY44WXc8OJSjpTx41fcMVuo2Sou4TgIhgHU6D b37g== X-Forwarded-Encrypted: i=2; AJvYcCXQ0+9U+DG0kJ8oAQpR1pAI0gvGoUJmKkpRWQl+VcxP7RUUhWArtrp/lTNG4Du6/VU4UI0OUf2rp+OtR3d9w/7nJV7DcPAOoeK6p9QMB4R2Z5s26OSIIyVF1JQuJA== X-Gm-Message-State: AOJu0YxtwYFS4qePi4ZHQB94wn5aVx0001Jiu7ADKvdxCaQl3CTByl8w 5sZ4Moq1zS13PPCaa9r7M7DDMULThPW8nj25F1pN34CWwe+kb76JmNeH0aXk9SDg5w== X-Google-Smtp-Source: AGHT+IHue+rTbCnGB7BFxmdLYYw3pJ0brzZIOzrXU4rydpiGFZkUHYwDDo0xCJOBj219uyI5ZD6UZA== X-Received: by 2002:ac2:4d93:0:b0:513:31c:212d with SMTP id g19-20020ac24d93000000b00513031c212dmr6210695lfe.34.1709566472209; Mon, 04 Mar 2024 07:34:32 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:3811:0:b0:512:fcc3:b48 with SMTP id f17-20020a193811000000b00512fcc30b48ls818918lfa.2.-pod-prod-05-eu; Mon, 04 Mar 2024 07:34:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUQznxg2jQPr9PTM4MGqXuT+n60d8JK/MLbeGF2a438GGYwmGJIzdP4FoLp4wu01ydlo8TO7GMmGC8i3CPAuGtheRtVzE7cM+2zPr2jXSRf4R7n X-Received: by 2002:a05:6512:282a:b0:513:1551:f0 with SMTP id cf42-20020a056512282a00b00513155100f0mr6195438lfb.42.1709566470451; Mon, 04 Mar 2024 07:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566470; cv=none; d=google.com; s=arc-20160816; b=AvLAP+mkqWA2OhSa5Uh5RmEkcVFJ9UMXZk2UYiORyi3f4hAnWsj/SEPWysWj8u6U9u Gpwsom/DDLYD9mEIpbe6wxmN6czMJuCt2DcQOt7+zoq62q18MMLjkrsHYgbbSTPIyn+H Ck84U4eIsoJ4VvKfzzNUvK98aX+nWv50qyunUr4cj93T03Kd9JkSdotIhJYS6MwPEa26 6quP8LnZXJh4K1kF/u7lIHdEq3NDmhbCgTUxMJSSbN84NQiRryV5HrRtO5UcO/3DQuFp 4NPnEF6w71+OJ1WWh3xRGxNdrV/zP6SkpJFwnA1zYBu/3ZO4YmWcqWMu1yKCFD/o9hrz 28nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dPQagV28irN2Jmx/rxo3YHBgBHJo9qHRa8+cRY2hp+4=; fh=cOEIe6hJLMyeRFC7gEZkFNeHZxbgbuYk5Asx53vlVYU=; b=k/v3PpiYJgVedwt9lsuDXWU+RpkI2eiA08EkDva8zELBChnho5vb6NI8UkYjNAVxSh WFwsvw2hTY0Kev9vPJ5fn8905QKbPRb4cwi11n96Jqx9lnCamJcpqMm5JHJ80xdrHLew f2ux5FKoND+hC0Thq2PO0Ukt7oU4rOQCrIXTh9+OTmi3+ipkMYZxFau2kwCvxmpWq/OI 9k/q6X2RUlxVN3ZHGGF4zTa6lfXK2jSOZCKSlIgUtkw/RecdeMrhBEFvrMRkA6d/UpjH mybAn2auiHBHiBZFI1+SDIeVWvml09JAqfXJMGhTVUi0p0nAsyqsbmvOB8T7qBekTEcx KJdw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UTVMI0R2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i15-20020ac25b4f000000b00511aa9b10e6sor2444305lfp.4.2024.03.04.07.34.30 for (Google Transport Security); Mon, 04 Mar 2024 07:34:30 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXCytkYzEmJHWOv173sOsQoyHaN618kwiEfsLiFUjRyUCdy0Gww1gK9q3jZ5e2O05zx/xd9XEdfYk6ICZuhJsuCwD6begYJdcXUAcjD6ZG+rq2o X-Received: by 2002:a19:8c11:0:b0:512:fce4:327b with SMTP id o17-20020a198c11000000b00512fce4327bmr5553685lfd.39.1709566470133; Mon, 04 Mar 2024 07:34:30 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:29 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 18/22] board/ti/am62x-sk: generalize post-build.sh Date: Mon, 4 Mar 2024 16:32:49 +0100 Message-ID: <20240304153253.732708-19-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UTVMI0R2; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Removing any explicit reference to the ti_am62x_sk_defconfig configuration, the script can also be used by other configurations or at least by ti_am64x_sk_defconfig. Signed-off-by: Dario Binacchi --- Added in v8 board/ti/am62x-sk/post-build.sh | 10 +++++++--- configs/ti_am62x_sk_defconfig | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/board/ti/am62x-sk/post-build.sh b/board/ti/am62x-sk/post-build.sh index 4f19f4d6cf91..d066e28fd0d5 100755 --- a/board/ti/am62x-sk/post-build.sh +++ b/board/ti/am62x-sk/post-build.sh @@ -12,8 +12,8 @@ EOF exit 1 } -o='c:d:r:x:' -O='console:,devicetree:,root:,extra-args:' +o='c:d:l:r:x:' +O='console:,devicetree:,label:,root:,extra-args:' opts="$(getopt -n "${0##*/}" -o "${o}" -l "${O}" -- "${@}")" eval set -- "${opts}" while [ ${#} -gt 0 ]; do @@ -24,6 +24,9 @@ while [ ${#} -gt 0 ]; do (-d|--devicetree) DEVICETREE="${2}"; shift 2 ;; + (-l|--label) + LABEL="${2}"; shift 2 + ;; (-r|--root) ROOT="${2}"; shift 2 ;; @@ -38,6 +41,7 @@ done [ -n "${CONSOLE}" ] || die "Missing \`console' argument" [ -n "${DEVICETREE}" ] || die "Missing \`devicetree' argument" +[ -n "${LABEL}" ] || die "Missing \`label' argument" [ -n "${ROOT}" ] || die "Missing \`root' argument" append="console=${CONSOLE} root=${ROOT} rw rootfstype=ext4 rootwait" if [ -n "${EXTRA_ARGS}" ]; then @@ -46,7 +50,7 @@ fi mkdir -p "${BINARIES_DIR}" cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf" - label am62x-sk-buildroot + label ${LABEL} kernel /Image fdtdir / devicetree /${DEVICETREE} diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index 877f88899af9..bd294bb712ee 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -2,7 +2,7 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x-sk-buildroot -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18" From patchwork Mon Mar 4 15:32:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3054 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 946FD42759 for ; Mon, 4 Mar 2024 16:34:34 +0100 (CET) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2d3c3a909f0sf7451931fa.3 for ; Mon, 04 Mar 2024 07:34:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566473; cv=pass; d=google.com; s=arc-20160816; b=bcrm1iIAV1iL2mCqaF2n8e80CYuPorseovqiQuBWMv496NK5gSqp5nICNMB4RqqFpF Ym7HW4Eotw6QYTpIJkt8dBu9NJjyCS/ftKQk8OXu/mdBECKfw8BY58VK7bz0pnllN1qS mL8m8QC/hZp5Co/dJ0Q9AZfNYOZGHEPp24LU7L/7cZlFhFHVTqms5wnnsMsCKCmw9LyB Scx6l2/TJwVM5KHUxtOPiurdtU+BoIaBsJ4D4AUeqWIaypGfli6hsmlrtnwl625gluD/ GmoM6SRs2U/Sg0yqySsFZPabghg8BBu/2vnnaXmwtMKv5vt4obSezGhG/M2rLDXcMqbH aUSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VkjCUw1B4hLrl8MxKmyykWxLJ3rTCDfqoDxTYj+mEag=; fh=XFPuTrFN1f+nWVvVG2fHKorvM3Vc1OzXMqep1WoPOpg=; b=x0bpjkjEkDF2F1Acnwi5o6jrwKEOS6kKa4wBXcnlU5iX1gWyast+SfBrVCAmnnm5Nk ndHVcN52JtEgR0/Nk4BglEbdWWEIDbMvp/svTBeBZ74x/U07XY3OFB72fxI5LU8XOlME wrXem06fjX8OVbWoYvTXPbdInO+ACf4pLUIMWRC2DDZsKQi/VIbUcmd5QRAzf69mNIKP LyNFtiqjbeljbVLMC1vZjrG34C3QKCLdZTqB8CA6TFpvUL9RfdzPYLSPoU7Ye0wr9c9k hsERM2KKDDBwsv9DjNAGi6hg0QN7QkAk/Gs43K9zKNAzFae7XT++g+kT2ndrYi8jd9/U 5lLg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lKWURMl3; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566473; x=1710171273; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VkjCUw1B4hLrl8MxKmyykWxLJ3rTCDfqoDxTYj+mEag=; b=jZ1XcHf5ZnFQ+nekX2oLnEvXJWmleoou9J8x1AUEiDEi9GG3XaN+1sPS1TGpYmxJfC 50BdgKNGXnN+E1WlR3i/6BZCWzvJYr8nwxlCcrTr0B60RdGG6EMXFnT4hohG4jn4qxwe hyWhBFUFcCX96YVeGFGKASdOCVu3RUIIip59o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566473; x=1710171273; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=VkjCUw1B4hLrl8MxKmyykWxLJ3rTCDfqoDxTYj+mEag=; b=S7VWjHnrc5ZygS437ZTrcIsUy94FpolyYdnHAAA6kJM3SYcgYyrOunLLRpjvaHQj+K F0Ww8iD0jf3WgdeNt6qgSbR9mirBg8qkddoDMsStTYhSO8Jd5omKNGH3C15Pr95tPjuT nIDZhsuvASO7KqUBoREBhdLL5zbUU4II9Oe/8iPTvt6Mw93CHSxkBl7KjVmJbo1TUPCP Bth6UDarM3ROHyVOPDgjE6lCxfOapMMd2tx7j3oMsttHVcqh0w+e6/zAsVm5rbWUKss4 L1dtH7Nim+FGpwv3r8mCf9JR1/eXJt1nZTH0ejdqnMMInycLMlrA9m+S1Rxo+vXCh9CO bKOg== X-Forwarded-Encrypted: i=2; AJvYcCUpDpxwom0gyHxfctDhzg5vCwV+0B3metaTyPmAXvjNQWwuZuDwjbRzR4chyPokOhKvbvUv8ZnqqYzTc7pRfOKWuQFU85IgP+2Se2A8/eo2X2YtgZ2pJjmz8O/WuQ== X-Gm-Message-State: AOJu0YxXtOB87uDrI/ZIvGmzH6LxD3YSonImSjxJiZbGZgMhLqdb3k30 Dg+zUojUwp20PH/iQWhTHwEnGktfmJxJyEL/rBBTaL8LUKW6T6mnlAO73Uv+Xqw4EQ== X-Google-Smtp-Source: AGHT+IHOnJ4dvG8dMR6gHGf8DM6S90cvHzPVV17c4xFKwXOxIzjEKrOAJYYarOnME1YEr5PhPRddFw== X-Received: by 2002:a2e:a316:0:b0:2d3:7c06:bb14 with SMTP id l22-20020a2ea316000000b002d37c06bb14mr3535729lje.47.1709566473409; Mon, 04 Mar 2024 07:34:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:651c:2c3:b0:2d2:4324:b5a4 with SMTP id f3-20020a05651c02c300b002d24324b5a4ls1232383ljo.0.-pod-prod-04-eu; Mon, 04 Mar 2024 07:34:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW8GwxwLKOyPgpCNeUMlko8h9xVJa6Ft0pWba+/rTQ+WUPCa1QeqhmpHXRtp0yaDBFKsCVE78A1UpW+Bpzxhn6+8hnwHLdKCvs4jDMrB7rKjkDj X-Received: by 2002:ac2:4c13:0:b0:513:24b8:a7b1 with SMTP id t19-20020ac24c13000000b0051324b8a7b1mr6170326lfq.47.1709566471718; Mon, 04 Mar 2024 07:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566471; cv=none; d=google.com; s=arc-20160816; b=lkoiycJ3crbY7YxtF7tqJJfsaiUvUhGV+1u42FmfUaatNnPx/Udk94sRffSDY82bOS tBkodI9wgl73sviSpGQLVhzwAsWg7Ul5r5Nb0zXfz8V+7OwpDgs0nGG0jjgWh2+0s1dw S/yuxXD59xUUrYXXLTnhOhSeIJIgx2moNUAKjJdJ1zeokCmjGgic1aWIMy6viV6xlHoE qjaKuCLTxjhZVem+7I7T8+Bmb9PbUAHQVmEepMRHSmY6zvF0b9vS+e0vK+OFg7IIoV6g ug8VR3vKujss5nsLMaFHvwPS2ZsE4II5z4vo6IHeJb2JbeUn5FH8qSRporXf6DCpa3ue dFMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8FsuUnW0ZvZ+XZhTAOg/VpBNCVCV6RFCLKo+tBgu5TQ=; fh=WyCUUpthk0XLUZP13gDc/ACMOvenBE6wB79F6sE5abU=; b=epqOLvWt7kAJVFpCunfxYfMQQrqpE1E9D8xhFwlelPDxXBdX6ofLNaDUYvnEFnhvsV rojmA94LVlPtZOHZDjGhy1G/g3VK22Y7wkhD/Ume9++Jbc/FuT/LyNKU4KlS9nU9gTXE V1tGfrW4EFlojnUW3CW04qaHk32vJeuzb6JK6j9uJXRI3/Ww7CMlbfWfcwJ2+pBR3V46 xX0ShmJ7FLN/RhGNHX/XyqssEjF1dqb0QYiwEJs7L3DbQCop38kpr+WI1vXTmRl/pVMm 8ML8WKXVaOiZUSSoDRdI/bPUnbFKovKcO9h5CWmOs0plM+u+NGGaK+euQoV/JUiUmmbw 7+2g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lKWURMl3; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id y7-20020a056512044700b00513184d91c4sor2396694lfk.14.2024.03.04.07.34.31 for (Google Transport Security); Mon, 04 Mar 2024 07:34:31 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXlyRdgxpxt9zb49OKoApWN2zvb+gsw++pM2OLaqQCz9ez548YTuNr1Q06ArUakb+TwFQhvsWyPVzqIiHPJgLmG/1Z4k+leJFcw9/F/rm3i0+Ot X-Received: by 2002:ac2:4983:0:b0:513:2181:d412 with SMTP id f3-20020ac24983000000b005132181d412mr6181050lfl.19.1709566471448; Mon, 04 Mar 2024 07:34:31 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:31 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 19/22] board/ti/am62x-sk: move post-{build, image}.sh to board/ti/common/am6xx Date: Mon, 4 Mar 2024 16:32:50 +0100 Message-ID: <20240304153253.732708-20-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lKWURMl3; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The patch makes it clear that the moved scripts can be used by the am6{2,4}x platforms. Signed-off-by: Dario Binacchi --- Added in v8 board/ti/am62x-sk/post-image.sh | 5 ----- board/ti/{am62x-sk => common/am6xx}/post-build.sh | 0 board/ti/common/am6xx/post-image.sh | 11 +++++++++++ configs/ti_am62x_sk_defconfig | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) delete mode 100755 board/ti/am62x-sk/post-image.sh rename board/ti/{am62x-sk => common/am6xx}/post-build.sh (100%) create mode 100755 board/ti/common/am6xx/post-image.sh diff --git a/board/ti/am62x-sk/post-image.sh b/board/ti/am62x-sk/post-image.sh deleted file mode 100755 index 34f732c091ad..000000000000 --- a/board/ti/am62x-sk/post-image.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -x - -BOARD_DIR="$(dirname "$0")" - -support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg" diff --git a/board/ti/am62x-sk/post-build.sh b/board/ti/common/am6xx/post-build.sh similarity index 100% rename from board/ti/am62x-sk/post-build.sh rename to board/ti/common/am6xx/post-build.sh diff --git a/board/ti/common/am6xx/post-image.sh b/board/ti/common/am6xx/post-image.sh new file mode 100755 index 000000000000..917ca238aa78 --- /dev/null +++ b/board/ti/common/am6xx/post-image.sh @@ -0,0 +1,11 @@ +#!/bin/sh -x + +board_dir() { + if grep -Eq "^BR2_DEFCONFIG=.*/ti_am64x_sk_defconfig\"$" "${BR2_CONFIG}"; then + echo "am64x-sk" + else + echo "am62x-sk" + fi +} + +support/scripts/genimage.sh -c "board/ti/$(board_dir)/genimage.cfg" diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index bd294bb712ee..310ba6fb6453 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,7 +1,7 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/am62x-sk/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/am62x-sk/post-image.sh" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/common/am6xx/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/common/am6xx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x-sk-buildroot -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y From patchwork Mon Mar 4 15:32:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3057 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D95C34275A for ; Mon, 4 Mar 2024 16:34:35 +0100 (CET) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-51329001fe6sf3305881e87.1 for ; Mon, 04 Mar 2024 07:34:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566474; cv=pass; d=google.com; s=arc-20160816; b=twodVK/3i3yJmrf5RHLcCv6l38rGB6A4YqkARrHkY73AhdnSGKI2RCTrA5PdKcI3D3 CZV9693lgpwclf0CxgFiDwDSQc7jU5fsCto3idNgBBd0Ohs89Kv9Ttm9I4eoHTw76W9X +15Vkdo86+ClXp4bMPdeABX7Qo0DtzlyDrMvWA+kkbqhIBSSOhFCw2RVriXuTdGtZCQV A9fz/FXg2Hs+SQ0Useji+d7Skw9KkGzlEMZqoVKrtdRHXjZTE/VSfE1mKFEFGdpVhEkQ xBqI39d00lNJ/ChewdvjWNs1oQo1mxEi2uY9AhywfFvVu+mEjYzmo45MC4NrGK8Wau3B T0Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3xtDcOW1BFiPBMlcUxxkC1bP1eFpsxMRj/VPewNdgGs=; fh=KA79YiQ/oYBQUi1cbd99m3IC5HnWQ2n5s96BIwqQZZU=; b=EBiPSrElyBUR8quTT0aDITvteY9pwz2rBUcf5RHmbbm0EKMbR5WHq77ml4ulGqDOY9 gNir52lCU5KGu6W0fxRK4fX8asOhbHlQR363uBR1PsV1qWRcGxDMQ5z5v9dON9cFCwJK F/xlclA3cEzW95ao+pr6UvmGrMLQzZ1OrV6AodhsRKruWAVoKmO7Ejzwt+4I6Je0GTp/ bDFpV6xzXXOKRKeiIwb3BzfujoV+nO3GAwy9v5r1qWwgSB47DynhybM81NLEcurX7xDd Z29HxyWpas4+31zhcqNuhnPTdVbZ9xJ9pw6QDjQGPXjBxsIgjJ9aKhMssYa2myuU5WNh DaSg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="otHbO6E/"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566474; x=1710171274; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=3xtDcOW1BFiPBMlcUxxkC1bP1eFpsxMRj/VPewNdgGs=; b=HdlrA/CMJq2TRTxBpeUAlbhu0BFv+CX4Om3BB1zu1Gn5eoykVI4S+IqgeLBtTbRaiU lYzACXM/vidjsGqRcTJHCd0lGyNOnoFrTgAGYeCn4CabxQDHAr817+J5YU7sFSsJzy0K U5X7kh+kMK5PNDk5wAL6aUu43RV8h1w8h9Tbw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566474; x=1710171274; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=3xtDcOW1BFiPBMlcUxxkC1bP1eFpsxMRj/VPewNdgGs=; b=k8/uqTHNZPSAM6sjLEPCeFLBmcPtMZL0D5KI04X3WHF5/9XnWZOcNt04zgKg3v49uq ZfIktw82nCZv7z3anf6yxE1fzXigSHGqcTy5I7EvvJEHdBvbl2Q4kGZj0q7/AM5Dfa50 s75EdpfMSR+AJHHAvnMaw/Ue9ZdRU+xlAdqcLUr11c2JaJUlTEjwURTaf4gC9xPHy7a1 G14rYzS7d6+2x0M1MHgpAQvBC2YvPcrYhytUFY9YemTMRAQIS4t7YasLMLSVlX6QfFJN Uap8mOYvIMUPilkeINu1vVEa+9w2I0t4/Npy2VBMtfsL7yU4KBfgqJNvfoTaqLEhmWbZ pNYA== X-Forwarded-Encrypted: i=2; AJvYcCWg9SKpkxWvZRzppLysV6CQzX+KiYODswJpPFZb0D+1EZRJzQxXs8u60omvphHYs1JoZtJEOJhsQlSVb5MP/dzDSzts4BL82vr4k+cXFmLf601J2r78jG+kfW8TwA== X-Gm-Message-State: AOJu0YwK1HR0Eacpl3PJbU5n8SZ0SE6k7xPrCpV2C2U0ADeeAFUc6JsM aUPr7++RKkBjJC/y6TTFzdl2tiVYkYzEhl6M/T+ojBcMRQUJxSpqKxQPmCVur9MEgg== X-Google-Smtp-Source: AGHT+IExlC/XoRJ9vwFR0/9x+hsEiZVDmdVWeWVly3EzxQ73nSOr9N7BG9il6N4JvEiVt3rmceL1BQ== X-Received: by 2002:a05:6512:3114:b0:512:f307:71b0 with SMTP id n20-20020a056512311400b00512f30771b0mr6382802lfb.7.1709566474772; Mon, 04 Mar 2024 07:34:34 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:4e04:0:b0:513:3d90:b605 with SMTP id e4-20020ac24e04000000b005133d90b605ls377458lfr.2.-pod-prod-06-eu; Mon, 04 Mar 2024 07:34:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUAHL3Ku7461DYMN//uBxOjLqq4pcO2123s4yylH4qPKK/k9N1mDgTgz1zmgJ8DrIws/e16EhEnUod5Xa5q+NxSTSZGGJjEwKWrwI4KH6kcmZ/Q X-Received: by 2002:a19:f719:0:b0:512:fded:e674 with SMTP id z25-20020a19f719000000b00512fdede674mr5261257lfe.61.1709566473064; Mon, 04 Mar 2024 07:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566473; cv=none; d=google.com; s=arc-20160816; b=nIGdwc1f4IBloj/3tA5QjhVOyfGwSkJNYf+SGGqIV+9le9ndd59jsEHmXU1qFOL8m4 qzENxFQncfBmIx4Rno8ocvdtTdj7ppUTBlKxjrjwcf4q0xnSP9O9YbDi+IK3m9l+Wyyy x+yTn+j7VFaBb1zfAvxZKBOiUW4rmXKF0nfQiumUaHX/L6BD3pNKSmr+Xh20d5Tj7dcG p6tZTI5oGX3nTF8hxNqf1x9DvArG3COjNwoGePtSEcs/W+aRVDK4FYGkt3oSRI45ahU3 MZrY0hkDtjmM+Ha+xR4c+s3r1GBCY57ji9JE8zaV/WqVPYs/75enwWvKkLk43vNGmVhI k8AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8NBuzEMB3K1oZGBWhz7xYBTAJH7ekJkyJDrjsik6awI=; fh=TFt9eH9naRKhHTJUc9CZDTTFYqjwbkHcmS3B3qfFI2A=; b=P7emcOoVmGEt6/u6S0iCPZy7PyOCJ3h6PjBLasVKySDxQULCUmtqV7YKVhALlGWLBB 2X0enD3LymKlf1wiprgw8LVRy5EkIr6AcxMPpyauaIJXRSccsMRJHQmkikAhbMpySr0C 7f+rlIYEbJxNaNhBfwjg0+7W7c18C9ec2QAy3z5SFKT8dSrKZIaP64YUBYoIZ1zkv2Tg o3dhnOK/VtEroNnGFd9VISNc9QPn7gJEqLb0Ik4MqhmZZOzqrTU8kxXQHipQYtXs6X8m 1ZMotH2ls2X6i9CqL9UOYMZc90GKLSL7DTTQ7tmT4WmXvZ37wSAxw8z8rGQH8hd1cRLb 1TIg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="otHbO6E/"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h3-20020ac24da3000000b005133f167b62sor922400lfe.11.2024.03.04.07.34.33 for (Google Transport Security); Mon, 04 Mar 2024 07:34:33 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCWLHgwZQf86fT3oNNRBtbAymX78BzGy5qp/+naGXjfZsmDgOaxJdKRLXzwnq/16DEA7t9Kn3oohRGB7jisQes8xs3c4RijynquYX3vZ/uUxQzF4 X-Received: by 2002:a05:6512:3c95:b0:513:3e60:f463 with SMTP id h21-20020a0565123c9500b005133e60f463mr4846439lfv.62.1709566472688; Mon, 04 Mar 2024 07:34:32 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:32 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 20/22] configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 Date: Mon, 4 Mar 2024 16:32:51 +0100 Message-ID: <20240304153253.732708-21-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="otHbO6E/"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The 2024.01 version of U-Boot for the am64x-sk board has introduced two major changes: - The device tree k3-am642-sk.dtb is no longer searched in /boot, but in /boot/dtb/ti. Hence, the disabling of BR2_LINUX_KERNEL_INSTALL_TARGET and the use of extlinux.conf for the proper loading of the device tree. Furthermore, the parameter BR2_ROOTFS_POST_SCRIPT_ARGS was used to auto-generate the extlinux.conf file so that developers can change the kernel loading options by modifying the .config. - U-Boot is capable of building tiboot3.bin using Binman. So it's no longer necessary to use custom tools like ti-k3-image-gen. Furthermore, ti-k3-r5-loader creates the following tiboot3.bin files: - GP -> tiboot3_am64x-gp-evm.bin - HS -> tiboot3_am64x_sr2-hs-evm.bin - HS_FS -> tiboot3_am64x_sr2-hs-fs-evm.bin The patch also allows you to identify the correct file based on the SEC_TYPE option. Signed-off-by: Dario Binacchi --- Changes in v9: - squashed with patch [v8,20/23] "package/ti-k3: fix BR2_PACKAGE_TI_K3_SOC setting for am64x SOC" - Update the commit message Added in v8 board/ti/am64x-sk/genimage.cfg | 7 ++++++- configs/ti_am64x_sk_defconfig | 13 +++++++------ package/ti-k3/Config.in | 3 ++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/board/ti/am64x-sk/genimage.cfg b/board/ti/am64x-sk/genimage.cfg index 26304fe98f99..88dff8fe23dc 100644 --- a/board/ti/am64x-sk/genimage.cfg +++ b/board/ti/am64x-sk/genimage.cfg @@ -4,10 +4,15 @@ image boot.vfat { "tiboot3.bin", "tispl.bin", "u-boot.img", + "k3-am642-sk.dtb", + "Image" + } + file extlinux/extlinux.conf { + image = extlinux.conf } } - size = 16M + size = 64M } image sdcard.img { diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 566cbbe4824f..9b92b645dd21 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -1,14 +1,14 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/common/am6xx/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/common/am6xx/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am642-sk.dtb -l am64x-sk-buildroot -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am642-sk" -BR2_LINUX_KERNEL_INSTALL_TARGET=y BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX=y BR2_PACKAGE_TI_K3=y @@ -24,19 +24,20 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" -BR2_TARGET_TI_K3_IMAGE_GEN=y +BR2_TARGET_TI_K3_BOOT_FIRMWARE=y BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_USE_BINMAN=y # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y BR2_TARGET_UBOOT_SPL=y diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in index b8545b7bca62..9c61f8880a15 100644 --- a/package/ti-k3/Config.in +++ b/package/ti-k3/Config.in @@ -43,7 +43,8 @@ config BR2_PACKAGE_TI_K3_SOC string default "am62ax" if BR2_PACKAGE_TI_K3_SOC_AM62AX default "am62x" if BR2_PACKAGE_TI_K3_SOC_AM62X - default "am64x" if BR2_PACKAGE_TI_K3_SOC_AM64X + default "am64x" if BR2_PACKAGE_TI_K3_SOC_AM64X && BR2_PACKAGE_TI_K3_SECTYPE_GP + default "am64x_sr2" if BR2_PACKAGE_TI_K3_SOC_AM64X && !BR2_PACKAGE_TI_K3_SECTYPE_GP default "am65x" if BR2_PACKAGE_TI_K3_SOC_AM65X config BR2_PACKAGE_TI_K3_SECTYPE From patchwork Mon Mar 4 15:32:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3056 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 28A944275B for ; Mon, 4 Mar 2024 16:34:36 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5669fef2266sf3086212a12.3 for ; Mon, 04 Mar 2024 07:34:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566476; cv=pass; d=google.com; s=arc-20160816; b=VBtgGkB6aaO29YmcTD5G6Qk3s2IRq35i0uoRMpkB25b2eluzPiQPjAvD/Z7uV0S3FE 1UmBaeQUcFPwrYqYTOU83EsZgl3NbcJAyc+Igr3OsFwu0aMSExUCORFv+mudbg0WXyzA 60BWnzTlc2h8pSUNBGzkiB34Ih5FS+F1XEozrTDvnJw5L/DMNVXxQmVgdRjA+WFaSjGI cvPb/YGVxuI+3NcsQPqDoyqUqCNnDiPmQWg1w2ShHc83g+tKd7bfyNXNdBil96r4v2WD Ne/uAKD8CpS4pEMcqXcu7AjUj4R0fFKQj+Uni91cZbUMmRcDPCtU2XHzg9pMZcgCXR3J Ao6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mpjdSg04WHKFcZ4XSsukMKKhzEzz8yW+ooC0GmP6ZTA=; fh=3p13zMsfNH21XPVsPN1h7B9bqr5tzx7l4SNCoOQQLiw=; b=HyKXxEV+PBxlgE+mjmWCwG7G8smQhCbcBCqWjIshEvyHR8dWhL20/WU7nPDNeTIid5 AF6zC6n1pTg1oIaOOFEt5FsXN+bhh9ER8QfE9YobFBoVSnsaMBpMjX3oeHoJ9hdwKYrA HGm/QxLjxX/LrpI1tDrjSaFOFxkwNaaC0q2MPW+zT8nhD33YHXLeVEYutxND/ldBrfPp SjsOnUZVmM0ooTiNZ88fQKElii6dAUTeRj3jan4qCJzYvsGQJbl7cxS6Qx6MwZmcW6H5 /v+6cg3UCmZaTGzp8e1NMkcfH3gftRIc/ZVMdCFE3X8GZreDLyOmrZ+rqWyroTjD11u7 5xHw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nj3R9ssw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566476; x=1710171276; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=mpjdSg04WHKFcZ4XSsukMKKhzEzz8yW+ooC0GmP6ZTA=; b=csumI9blQbC8gFvlgJrhPUyh2msv/RlkChva5PkSs1d1gbxxaX8aqDSr2AgBmQZSZD lFNZwk2J8viDCZnAVCNtUQ0fVFPpHFdRFzdAL2qkcnT6dqsgTgqT8yYkRLT9lBx10aar 0ESz/RbdKP4PIDA+4YU8MaVXOEX8rMjs+DDBk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566476; x=1710171276; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=mpjdSg04WHKFcZ4XSsukMKKhzEzz8yW+ooC0GmP6ZTA=; b=awgpfFUFaJuTQAB2qNW/dPChFrMKBDN1wxwo9tugfdazkThU0KVGlAi9lVUYfMwJKT 1izaISVOy4wGwmfc6cjeRf3raYCkdZ59db2upD3oKxAxeEAFeCCWAReZ6JkdTNwv2tpx SNiuKe+mfwtqaIz+Km2Xzh6jIMGq9eLhc4U3V23oG/hsdk86wHLnFZbk0h4enJ7JxobY CxB7snUex4eYAcLaFQJOOMHkYF8i+8H/0+cnMOcKH+g313uClL6aZAfVLtyOK0hh7UoW 2nmhZcbOraHnf2W9hzdSPCjfSaKf+r25UXLp2qYwzRg9ZHXb4FM1JFFRy5iREnJ9+L5L Vk8A== X-Forwarded-Encrypted: i=2; AJvYcCXUPWY2wZuzyx57prjabknpMCzJegy0bnri/nI/BOKJCFBTBWNT6LmEu8lySuNRiaqsrwkg5qlYy0NA0ilyQwwL0E0RVMeWESSWdtSmpG5vyVc8zZJzAbrKjMyKzw== X-Gm-Message-State: AOJu0YwDPLpf/A6QiNilarMgA9GXhGFcoIYQqKJaE3WQjmSSFktNSAgH C2uyMybNIzBFXP8JJKJqJTpZqMyBNJH64llBwWteqL0tBvDfadZ8w/sUkOoqAALaig== X-Google-Smtp-Source: AGHT+IFmsbeX7OpqnnIyiSb9FsjHbqsWcZFwVvJ6h3TIiJnTFNWDdVQ+bc9WcKfQfOgX0NT6DnL7xQ== X-Received: by 2002:a50:d58a:0:b0:566:6dfa:9d71 with SMTP id v10-20020a50d58a000000b005666dfa9d71mr5781042edi.40.1709566476099; Mon, 04 Mar 2024 07:34:36 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5419:b0:561:5080:a3e9 with SMTP id ev25-20020a056402541900b005615080a3e9ls238468edb.1.-pod-prod-06-eu; Mon, 04 Mar 2024 07:34:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVnITo1VWjItSebGkgox33EEIRJPy9MYEvhDqqCZmfw9TGqFLTNvQPkBR1MC9N8DtDavroB3AQB3wYRKNoArmPV5j1Ka4yvhVE1QomYO+4HufzD X-Received: by 2002:a17:906:d148:b0:a45:67ce:5264 with SMTP id br8-20020a170906d14800b00a4567ce5264mr1336979ejb.56.1709566474175; Mon, 04 Mar 2024 07:34:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566474; cv=none; d=google.com; s=arc-20160816; b=d18Wi0bCxKf4PFKjxdMf6vGtBXy8b4DV8buWSczkozmvrmclmsXJubtl2CB6CnjiH/ hMyH1oYcTCP7P0KHtcSMUX7960XB9/EYZkr5Qnt4Q3KM4kV4WUx2g+PImEsLov/aAxEQ p0I0XKWXqbVey2/ueOSJf4jDfx8bxM4FWmwbaIeXulBprkBCtl4pJ4dtAiQWmQwm3FHK iHKrmdD/z/tk0LWcrVNX4hxeHGAS7/dGWsiscbBGRL5xlvyIZnPCFpAGyR2OeML8DRb9 xDLAGRmx9PebgtmGBdMT68sBcBDYmnSZrII+KmiOwX+VRye5LBROgJk5zKQ2qpmKYLmH 2HNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DRjEP6rW2+wt1sWbDuvtHSEPrWP/jDwJ6vl79p3tKTk=; fh=wzInZrvrXKtqOYx80qYFbC8Aol2yPXWVwm635LzE69k=; b=CTF6rcEw0bLL0+WlfOUSDdTW7R/cRRBxUWMi+eGm9uM4TKMRWrKy+cDlmNdDsnY3Rc sRJbkVUQgTz/vE8SdgmGSk2hCHEg8AfJiI+5pD9qA7MtgZbsPEukh+GklSDQVLd5bFG1 1LN8qhPmTQ4r5ROKnfWjgRHW2vzs2ciP7PRG2KLRmUFNapTanTBggAI+5kcZ/6R2rnMH 3cH3zDWs7jbLIAHTgq5Klp4PDXszkTHFaNRd0SILm0dFMt4RxHYjAmgg8wIc4SuAFkdo ix/PEvepL8njqPqZyLZn2w6caZOOaF2YQ0uXQ1JuMHzouHEihRB6tYFi+7SXT96fgUGl CK/g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nj3R9ssw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id qt17-20020a170906ecf100b00a45598f7ae2sor497821ejb.18.2024.03.04.07.34.34 for (Google Transport Security); Mon, 04 Mar 2024 07:34:34 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXAkVQ/QaRAk4PWDTxhMPGLhZ1zaKKO0MY4n+FPZoO3uIHMIj7QETmhNWnEwmdb983Op8mykyrF8ahweDAjYyBU/8Uo6NFC3j/+ASCI5qgaDPuS X-Received: by 2002:a17:906:349a:b0:a45:214b:73cb with SMTP id g26-20020a170906349a00b00a45214b73cbmr2779151ejb.36.1709566473903; Mon, 04 Mar 2024 07:34:33 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:33 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 21/22] configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Date: Mon, 4 Mar 2024 16:32:52 +0100 Message-ID: <20240304153253.732708-22-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nj3R9ssw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Dario Binacchi --- Added in v8 configs/ti_am64x_sk_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 9b92b645dd21..6c1b5d824a7d 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -1,11 +1,11 @@ BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y BR2_ROOTFS_POST_BUILD_SCRIPT="board/ti/common/am6xx/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/ti/common/am6xx/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am642-sk.dtb -l am64x-sk-buildroot -r /dev/mmcblk1p2 -x earlycon=ns16550a,mmio32,0x02800000" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.4.16" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am642-sk" From patchwork Mon Mar 4 15:32:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3058 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 124874275C for ; Mon, 4 Mar 2024 16:34:38 +0100 (CET) Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-51325ba078dsf3547389e87.3 for ; Mon, 04 Mar 2024 07:34:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709566477; cv=pass; d=google.com; s=arc-20160816; b=kgDG87eYmfyf9c2wCYXdpnV4ppBMGTcBoUYgL54iVIFgCrscGgRxnZKjK2I5UqKZsl 5lZ3buf5OpESpXEFFQw4ikMNNT4pSCd16b2ErD0UM/vWNGK3+DwPmWrWSTsWvuPBuiRv Qx1Vl3cuKvBzFqrqKMtKpeVCnOdsnaARfAO7byuOzp5FEv1t5um/dcMo+ivLTCQyZLd1 II3uHNqyTzg5yAftrNWSvabihtQcRHY8g8QLLESbUZOiyz88JB9z+emdW65OZy12bKnG KfAMNmQcIjY3ud2DRBVkJxURqdCUPeQ9553a8AzokI1umBRTmQEhGy4a5T813g0kRJlV EPXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vW0DlkxJm97SkoJMFten3OuIgPMME+8KLRaKtQ1bnNg=; fh=mGdKDD+lGhmen3Ea+pW0fESPgH6ybaWDifEkYn/J/gc=; b=N/cvl9RtBJYgfi71tY1TQPFnHdBg+V7MchBXEDTeVtwUnYjFyjzUmSCrWtj4Z0udln IDv30KOVhdZin+YlzhRfyibhL+I9IIbyX98cIBX2OxIuntKj4B5yFMVz4iz3mn3KLtjX EEU5cMnFG3hI7j4jCLDDS9QAZ6yQFgXi3ue41OtEPMV45lwgh0B1eZSDkhAmZBBdW146 TWFjMskWXC36wOGnL1xEnnPfrAd4MidJEv0gL+ap3OaF1EL8kPFfjtHG1wdz3z4LZEWG JEkMaT/o3VK2YklLgZYvU7z6jC7U3pFqqz/60bzGzMET5xK+oILshKMSOhs+trrIlnj2 44WQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SojTu9cz; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709566477; x=1710171277; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=vW0DlkxJm97SkoJMFten3OuIgPMME+8KLRaKtQ1bnNg=; b=L8bQwYOyLJ75Sk7vOb0CS5kmrTuSI59Ll/sEp/gDqPYNNhDAuYCxksdAqIyTKkJXS2 hSVzKgdSwl1zeSyMECi3zixLfMOi/6ONWRzghvZ5FicBm5HzBkB+4/HsBjQ8hIKHe2Ls j9z//tgbMTQR2JmREc2vd9MB84fWkImS3gv6k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709566477; x=1710171277; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender: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=vW0DlkxJm97SkoJMFten3OuIgPMME+8KLRaKtQ1bnNg=; b=gVjrzuHti7qChiuuIcbElo3/P41xI6ZmQJZIU21vKv09kQsRvYwu9kLdfP+KFYQtaA aME7Xh4xNsgG//s+viUqSV/f34I3/+nxih4TlZkCazMooUlc2ofFrj/jOTKQ0hjPLh1d imLkE8kXOLwOMf+Cra3cLNE+aoi0pp6h8LmyoE2aEF1FvlSI1aZoKwcxyVfsnEOXsv6l 9D1judH08SHtdv2aqpoY5Vs+eh79hZ0/L8juURREH5eLnXOZmIn5C2R4MmOyGwJ6RVph K8X9WI9rJLmdBH7JEjPeqWbTCwjkOjYdb/a1dtf8JJTxqB6xKHFGQaIG4FFwnunXJrff 9zPA== X-Forwarded-Encrypted: i=2; AJvYcCUKtnGDUoPBDsZ2H+aeV3NZlajD2sKEpg3h2OqMOBdZ0PkLCL7j1EzinlVpS2t/Z/7EhKPYQ90ULKF7tuJ9cGMEcKBtQJjVxwG8moKeAdE6xAsW3joeg7pEW+frOw== X-Gm-Message-State: AOJu0YyAlWC/7q0nYqaLMhuLNEEuTTuwYPM2cnEPt16yvdRYWq7z5neJ ewGMqGgFgRBeS9MwZ22/nJnCkQZHumVGrTNO+kBE9HkAJudgFLGdw27Gd10WA+Z4tw== X-Google-Smtp-Source: AGHT+IFZZcLyzlYj09UAZq8KjRLVAw1752lleo+m/cPUV17CWJi0KykeZirhOWKuZl+rkJP9bA9Fkw== X-Received: by 2002:a05:6512:1092:b0:513:4a2d:66dc with SMTP id j18-20020a056512109200b005134a2d66dcmr1708526lfg.43.1709566477188; Mon, 04 Mar 2024 07:34:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3d26:b0:512:fd8b:14de with SMTP id d38-20020a0565123d2600b00512fd8b14dels291314lfv.0.-pod-prod-07-eu; Mon, 04 Mar 2024 07:34:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXPikI5lxF+UA6eQ6q3KVCmIggezD22riAIA7qF9U96x+hnzG15reRVgEHw9pg8phgo6JAE8merWiW1EO6CtHhplsnLD8HbbJ+tuJ5i3d0NQU6e X-Received: by 2002:a05:6512:31d6:b0:513:37a1:ae60 with SMTP id j22-20020a05651231d600b0051337a1ae60mr5903563lfe.34.1709566475461; Mon, 04 Mar 2024 07:34:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709566475; cv=none; d=google.com; s=arc-20160816; b=Z5pqHdIyCjINM29Kj6NHWRZETR/8GUEuBXjWyuSih6Vira1z7kciZ1gfHuLqpW034o mEal0mk65jCA37ACpNyTs0g5vC7zvKeFV7Mrf6QmciW6+00AMsAGPV0h9VpTb8j36eVK 867AIPNsRi+EBPUKpvhOGF5p0IQGADOIm84zvyVC8fhReaNCZsbxKGkqSS4QIv9kIaqM J4QpVDS01nn/YATHBQ7FVtj466ALn57Ch2RgFbifFv0SOOLwqjsBYMlYCh22hhoUBDYl dEUj4Fv0DpYbxfXFbUd7/X1pNjoo5whV8UMPSZjwovRdHdPNCWki0VzcRQeEhBy4tAgF zD2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nWIWT5PixnLixKjh7FANy8dX0dXM/eplXXql3C6NhaY=; fh=xH4IoVq07YLRi+8Z/GBk1HNUSofwdllsfJtd7jhIeK8=; b=ksIrEiyfzRBcsq9/1CDuTtS2Y2GXA2JAonsrClX/c6qGXIpldmOs8lgYFCKLBNPzBN Xrk6aP4snl9E12y+Tf8gS8ZpYwJj6xpg6vsQRh6AKo4GO6MtLbH98bpDzU+1haX1xhqL OrxbtcqiJBYhixD7cg0vwXj7RySuiBCAHfsDfYXQYx4g5c9EDfnrt7YieNqoc9OzHKnA a8GG52VzPEbn2l19Vc42w/2MZ2/qQKktw6jEvuY8vZ4LZtQ5KAmtlqv31CXi/AJWUNZK ViiMqGASCh04aDejlPzGvPkdu6vw7kOaofmZg5tjYLLFk0+2c0yy57ZqZOppaVTE5hw6 +HJg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SojTu9cz; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id j15-20020a056512028f00b00512eba38252sor2220591lfp.22.2024.03.04.07.34.35 for (Google Transport Security); Mon, 04 Mar 2024 07:34:35 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCVfWDW7XnYndDZA6AB0Nkedl9/7ZRPBNmPFekYG1o+Hg+bTgwHi5Q5TC9YSvAHCKJs7vvi+LILo2pur8S2HHnVur3mPgw1kxxEQtIpv9rvz3ogA X-Received: by 2002:ac2:58d5:0:b0:513:5d6:66dc with SMTP id u21-20020ac258d5000000b0051305d666dcmr4573123lfo.38.1709566475093; Mon, 04 Mar 2024 07:34:35 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:6474:ebbf:72fe:558f:d55e:d423]) by smtp.gmail.com with ESMTPSA id sa20-20020a1709076d1400b00a4432543b21sm4936082ejc.198.2024.03.04.07.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 07:34:34 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com Subject: [PATCH v9 22/22] boot/ti-k3-image-gen: remove package Date: Mon, 4 Mar 2024 16:32:53 +0100 Message-ID: <20240304153253.732708-23-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SojTu9cz; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Romain Naour ti-k3-image-gen tool is deprecated an replaced by binman [1]. All defconfig that was using it have been updated to use U-boot binman tool instead. So, we can safely remove ti-k3-image-gen package. [1] https://git.yoctoproject.org/meta-ti/commit/?id=835811cf8586926cf78a961d090f4e6150432235 Cc: Anand Gadiyar Cc: Xuanhao Shi Signed-off-by: Romain Naour Reviewed-by: Alexander Sverdlin Signed-off-by: Dario Binacchi Tested-by: Michael Trimarchi --- Changes in v9: - Fixed conflicts on rebasing on master (Config.in.legacy). Added in v8 Config.in.legacy | 7 +++ DEVELOPERS | 2 - boot/Config.in | 1 - boot/ti-k3-image-gen/Config.in | 24 ---------- boot/ti-k3-image-gen/ti-k3-image-gen.hash | 3 -- boot/ti-k3-image-gen/ti-k3-image-gen.mk | 54 ----------------------- 6 files changed, 7 insertions(+), 84 deletions(-) delete mode 100644 boot/ti-k3-image-gen/Config.in delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.hash delete mode 100644 boot/ti-k3-image-gen/ti-k3-image-gen.mk diff --git a/Config.in.legacy b/Config.in.legacy index 1b15d25d6bf1..304f369da7b2 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2024.02" +config BR2_TARGET_TI_K3_IMAGE_GEN + bool "ti-k3-image-gen removed" + select BR2_LEGACY + help + ti-k3-image-gen tool has been removed and replaced by + U-Boot binman tool (requires U-boot >= 2024.01). + config BR2_PACKAGE_MYSQL bool "mysql virtual package removed" select BR2_LEGACY diff --git a/DEVELOPERS b/DEVELOPERS index 0bfe91f064a9..fb9555915ec1 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -151,7 +151,6 @@ N: Anand Gadiyar F: board/ti/am62x-sk/ F: board/ti/am64x-sk/ F: boot/ti-k3-boot-firmware/ -F: boot/ti-k3-image-gen/ F: boot/ti-k3-r5-loader/ F: configs/ti_am62x_sk_defconfig F: configs/ti_am64x_sk_defconfig @@ -3219,7 +3218,6 @@ N: Xuanhao Shi F: board/ti/am62x-sk/ F: board/ti/am64x-sk/ F: boot/ti-k3-boot-firmware/ -F: boot/ti-k3-image-gen/ F: boot/ti-k3-r5-loader/ F: configs/ti_am62x_sk_defconfig F: configs/ti_am64x_sk_defconfig diff --git a/boot/Config.in b/boot/Config.in index e5fdf7ad439e..87e1b7c00e35 100644 --- a/boot/Config.in +++ b/boot/Config.in @@ -20,7 +20,6 @@ source "boot/s500-bootloader/Config.in" source "boot/shim/Config.in" source "boot/syslinux/Config.in" source "boot/ti-k3-boot-firmware/Config.in" -source "boot/ti-k3-image-gen/Config.in" source "boot/ti-k3-r5-loader/Config.in" source "boot/uboot/Config.in" source "boot/vexpress-firmware/Config.in" diff --git a/boot/ti-k3-image-gen/Config.in b/boot/ti-k3-image-gen/Config.in deleted file mode 100644 index a57319f4be6d..000000000000 --- a/boot/ti-k3-image-gen/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_TARGET_TI_K3_IMAGE_GEN - bool "ti-k3-image-gen" - depends on BR2_TARGET_TI_K3_R5_LOADER - select BR2_TARGET_TI_K3_BOOT_FIRMWARE - # We need FIT support in uboot-tools, which is why we select a - # host package - select BR2_PACKAGE_HOST_UBOOT_TOOLS - select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT - help - Use TI's k3-image-gen to build a separate bare metal boot - binary from a separate SPL that is running on the R5 core. - - https://git.ti.com/cgit/k3-image-gen/k3-image-gen/ - -if BR2_TARGET_TI_K3_IMAGE_GEN - -config BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE - string - default "ti-fs" if BR2_PACKAGE_TI_K3_SOC_AM62AX - default "ti-fs" if BR2_PACKAGE_TI_K3_SOC_AM62X - default "ti-sci" if BR2_PACKAGE_TI_K3_SOC_AM64X - default "ti-sci" if BR2_PACKAGE_TI_K3_SOC_AM65X - -endif diff --git a/boot/ti-k3-image-gen/ti-k3-image-gen.hash b/boot/ti-k3-image-gen/ti-k3-image-gen.hash deleted file mode 100644 index c968c5648f71..000000000000 --- a/boot/ti-k3-image-gen/ti-k3-image-gen.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f89ea4b1f5c992455b1a682fde48359221b53f3294135df4bf20feea6aea90e4 k3-image-gen-08.06.00.007.tar.gz -sha256 f012e8d000d711d0539e5b4c812fc1d3a59c10fc1e3d6ea155556f5b78286845 LICENSE diff --git a/boot/ti-k3-image-gen/ti-k3-image-gen.mk b/boot/ti-k3-image-gen/ti-k3-image-gen.mk deleted file mode 100644 index aca29bcf1bd4..000000000000 --- a/boot/ti-k3-image-gen/ti-k3-image-gen.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# ti-k3-image-gen -# -################################################################################ - -TI_K3_IMAGE_GEN_VERSION = 08.06.00.007 -TI_K3_IMAGE_GEN_SITE = https://git.ti.com/cgit/k3-image-gen/k3-image-gen/snapshot -TI_K3_IMAGE_GEN_SOURCE = k3-image-gen-$(TI_K3_IMAGE_GEN_VERSION).tar.gz -TI_K3_IMAGE_GEN_LICENSE = BSD-3-Clause -TI_K3_IMAGE_GEN_LICENSE_FILES = LICENSE -TI_K3_IMAGE_GEN_INSTALL_IMAGES = YES - -# - ti-k3-image-gen is used to build tiboot3.bin, using the -# r5-u-boot-spl.bin file from the ti-k3-r5-loader package. Hence the -# dependency on ti-k3-r5-loader. -# - the ti-k3-image-gen makefiles seem to need some feature from Make -# v4.0, similar to u-boot. -TI_K3_IMAGE_GEN_DEPENDENCIES = \ - host-arm-gnu-toolchain \ - host-python3 \ - host-openssl \ - host-uboot-tools \ - ti-k3-r5-loader \ - ti-k3-boot-firmware \ - $(BR2_MAKE_HOST_DEPENDENCY) - -TI_K3_IMAGE_GEN_FW_TYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE)) -TI_K3_IMAGE_GEN_SOC = $(call qstrip,$(BR2_PACKAGE_TI_K3_SOC)) -TI_K3_IMAGE_GEN_SECTYPE = $(call qstrip,$(BR2_PACKAGE_TI_K3_SECTYPE)) - -TI_K3_IMAGE_GEN_SYSFW = $(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin - -define TI_K3_IMAGE_GEN_CONFIGURE_CMDS - cp $(BINARIES_DIR)/ti-sysfw/$(TI_K3_IMAGE_GEN_SYSFW) $(@D) -endef - -define TI_K3_IMAGE_GEN_BUILD_CMDS - $(TARGET_MAKE_ENV) \ - $(BR2_MAKE) -C $(@D) \ - SOC=$(TI_K3_IMAGE_GEN_SOC) \ - SOC_TYPE=$(TI_K3_IMAGE_GEN_SECTYPE) \ - CONFIG=evm \ - CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \ - SBL=$(BINARIES_DIR)/r5-u-boot-spl.bin \ - O=$(@D)/tmp \ - BIN_DIR=$(@D) -endef - -define TI_K3_IMAGE_GEN_INSTALL_IMAGES_CMDS - cp $(@D)/tiboot3.bin $(BINARIES_DIR) -endef - -$(eval $(generic-package))