From patchwork Fri Mar 1 13:35:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3013 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 2B1343FAAC for ; Fri, 1 Mar 2024 14:36:29 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-566418cacbesf1663190a12.2 for ; Fri, 01 Mar 2024 05:36:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300189; cv=pass; d=google.com; s=arc-20160816; b=v2noxlowIwwWmFAl3njJ0U6gJhFBzixoaV7tsBK9HD+QbziXRYsTmQvZuUb5lbFOv5 jCwAUvZ3V1fa2hHJbLIjtIQoj5u8vg3l+7sAO0MDoGoxSSARc/RijAVydioUmevqWvC6 Ff1Ab/MGQ4zpoCnBc6FIzbYZM6lDKkLiKj+i/140xyEuu35hP7tUmiGymiKDaLdgc8uw HPsUAS9gAhxFFB61BK7cDsJ0Ise19+nhLKJN0A6gwhxSuLRFwyZ+AZ4XFkVzuEz/kHMv 7wW0FN5Xhju5IFKPKfqYaW2xKE96k76idpifMOKAMKfcqt4TpOB+mBYfnbHa2EAiL9LZ 2t4A== 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=ADYtLP8hlD5tk3hKVHZ2i8tsCalBOMiELm2d5snuoXE=; fh=610VucwA7B2yMn7JqZxyfaFiyTEPw8K6PRE2r6OxRaU=; b=m3+A+WK6ZX7LnldGdpWz21jrH76Hq0dHmDucHkICBzHcFx+Ws8Pow7dIvQnmPBm/M9 H+tA7iZlTgDf3QFIacqzK5GXy2swx33JKn6ty5CS3EkT8uRm05j26tdNGzmyQt+73lqh OLE/EMPKk0QEk7216XVQwZPtVx8nVrNCHjovVvL6Q4KTtV3SycvB99FFxyE3wLOihUAA RGCVmLmrtZELwnONG363P2mRfdis5N9+Y2o5NIGX4OhKIdYiNFV1o91MyCJAsCRnNjAG uSDBqOwEMP/w+2yjWvW//sKk9knczZHAntf1+cxqq1FIwQAKy+IZWuqlAmUZP4SaGEq6 reYg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E4Xu10K4; 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=1709300189; x=1709904989; 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=ADYtLP8hlD5tk3hKVHZ2i8tsCalBOMiELm2d5snuoXE=; b=VK+GI2AhSXPm5WCc/yCAoWqPn4OnjbWfNmgWK0ShMvsxItTIQo37fI/u/804IpVU19 cY8QRD2yKt9rLDSHi6MNtmEQvK6htk3kjCXJiQF4Lwf3qT9wJfeSgQ5moUbXBtJw1mXz g3jo7PmqnulwPaV6W+18vyxRKhVDhQdk9QYM0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300189; x=1709904989; 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=ADYtLP8hlD5tk3hKVHZ2i8tsCalBOMiELm2d5snuoXE=; b=ISOZsPzpT1MItmo6K8nYfXxpBefpYy2zSdaUiJz2bZk4zOwbNDWHbV3n0Xhfw2sgDW Mm6/C/LzghbkONsoIYKKxgG5FAB3oofBHjkJFotBRzNIIm5aHzEWz3KDbtBsqMXJqJCG V8dmWIOrx2+WCUaob9l6UhdWu8m0KyblyxIvFujG2sSmVmHc6AZ6Ttk8fPvVosgW2SsD xVzwximoV3NhRz9JgdrGBvIvqr+2kGoB83e1Uuf53ddUaMzvC3iFunrNtgNnmp5rQ0AL xFjUro3YfdohE9IskTwC2VC+W+uxUngRpVnBe+jqjYo/ce+FlEo4WNxXAsVPUiT9eWQh XSGA== X-Forwarded-Encrypted: i=2; AJvYcCWfUKpn2MpGFPxHLQDKvYw4ot3nYnbOdvN6T1yBc1stXLG5U8iFwLKRdkMbtAWj4UC2ydTqzdboWQa//b9SMICtfkGlm/j/lEnQK/A/12sMXFfdtzyWtK2IETGNPQ== X-Gm-Message-State: AOJu0Yz9kvR+eYcqJXdDwcIZIhDCqqnsuuCPSQxY1cjn6EcX8/eD4t9T X9GBVZh7+o84eVS0ek1usXidjAx5UNN+Jq8HU+TkkAvJeveZNGSkHYg67tE/krfLAdkTxAToOQ= = X-Google-Smtp-Source: AGHT+IGGut3Dd7pvVveSgqkrFeqcwAd6PQhbe+8zo3iVTtpfKLhFFCiSy2IcrEGHTVXgeGtmPtg+YQ== X-Received: by 2002:a05:6402:903:b0:566:95e3:1759 with SMTP id g3-20020a056402090300b0056695e31759mr1188643edz.26.1709300188950; Fri, 01 Mar 2024 05:36:28 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:566:295a:fd3e with SMTP id b5-20020a0564021f0500b00566295afd3els59988edb.1.-pod-prod-04-eu; Fri, 01 Mar 2024 05:36:27 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVhbQLIgxEU0d13sUapLoQ4f0cTFZU59sl7BJNaswZwaUbg+k9QY8RFsxYZUI3leqLcpR0nelw8C3kulPBxToEPNBlkjWdvvW30AmDkMKoxoccb X-Received: by 2002:a17:906:6888:b0:a43:1e2b:b069 with SMTP id n8-20020a170906688800b00a431e2bb069mr1261760ejr.4.1709300187364; Fri, 01 Mar 2024 05:36:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300187; cv=none; d=google.com; s=arc-20160816; b=GJP/EzpOSxL4KUT9L6SeeyEP2qnQXVloAcTEEXsd+HEFX/iOBqaEBHZu480RIT5SD7 dAw+kz9bBJAKFRJrTf8kJ5bq+CySHXLYCjx1yic6LxOQw0sunYTIKWD6//a+LGNJ7O8+ TDdTmCYkqZWu4cUjH3q1DTETyiZgjsbKzI13pve7Y0BecJbEmMA5CHdISRqICMfAHv96 yBJlrROYstjRF9hmQ7WeQNux0Qos0eF5G/MdyXv/irLIPw7CHoT6oksNVzzrAezLy+vI grA9c+/0nmNiJBSu8vNGeV0DmD1W2S4Mq/1ZPsn1vZrxXzvtwP77lE4wR95//l2aicuc QCew== 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=w5wO3kvDsPQZ1zmi7i0HwT6AO+505YCfD727Xj8gGbE=; fh=QnzKlbwcbk9bWiPj8YIovFAtI4/Utm2eNWq9U9NJUuI=; b=aDzmcK7YGW5hC2+v856yVoFZVF5htV1YrTvh/s/k24wq9LNhnyu2OhHh1B1Jtc1BXk iO8M2INMrDp0H37hckGzOoMBehNKzZARCI3CgqMKBITjoci1nm7i5yKtthCB8Q+0ZuZE Ms04u31ccmp5wGEBL96BcuKm25+y7dezG15yQCca5RZHwc9u8xpFOHspg92QcEZPdOhu sjb+JSg4yPHzgTaLPz/pspvZ3ZXg52oyjC7zSfm0HNuAxEPTQnwN8YTR5QQ0oCiXa9P2 Dy8tFxN5g705xbabhOrbdkjmBs8kchefd6B0rTUspMmcDmajj4wJW2/QbR6ytkpuU34E PaiQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E4Xu10K4; 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 lg2-20020a170906f88200b00a4421013c40sor1537607ejb.7.2024.03.01.05.36.27 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCXKwmuXgWbCOoog5xtZj6nV8N1fiKRzERMFOHXwOIgsY9quW4g1BKj2cSU5eNrGrZvNKBdayolW1oar8F99kY9Eqic9FK81QNKZpe93vE/+QJmE X-Received: by 2002:a50:c88c:0:b0:566:44ca:9f5c with SMTP id d12-20020a50c88c000000b0056644ca9f5cmr1184469edh.8.1709300187104; Fri, 01 Mar 2024 05:36:27 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 01/23] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Date: Fri, 1 Mar 2024 14:35:58 +0100 Message-ID: <20240301133620.3547430-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=E4Xu10K4; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:35:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3014 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 89D633F057 for ; Fri, 1 Mar 2024 14:36:30 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-559391de41bsf2258861a12.3 for ; Fri, 01 Mar 2024 05:36:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300190; cv=pass; d=google.com; s=arc-20160816; b=OOBKSWi8KiFJIiTsvWon4mZju9Alsj6i0dELNR06DKfz2tCpsYPpvsEmM6cB3BeOxY cbAURJ4O3seinsjPygeh2hZuWm0xqGupLPnHbCSvmtzKqV00Orh93OPXP1gA2ibpmLy0 9mqEt4Btmit5CgTTfL7UEl5oJrOh1he7mk68i0TkW+fDj8zSqq+D0Ue18668Xl1N/Lfz g49kAj40IfNtuJUrBlQH/d6W+zJvqI80vcwHcVEkfWoeuwRg5qjCUn5qlOJ8uUwhUI2h 510yTwzfKsoILHdlcYO0KXXwQzJt6UH5PyIS/5by0nOPi7VltZj73xEQ6BgpRLvYabUh xodQ== 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=3OiO9A4fEFuD2GbB2eRFlxOdLF/G+n2q8f+fWOqXwPA=; fh=XO1he/9/Uu4NghnYG2zy35uFeHROs34Cgd56JSIl0ko=; b=pRbCY0VrIy+jW7d70kInKwSwcQULrvIPu5CkoGL5E5nudbNjUTNNZBidCKAmA/mgdt QHkh5nqrNaQdXNEltDCjsBfV1dBmYimT/TnBMfJUfV+lpgtNCtVzRWPvX1Z7N7V1sfCR GeKl1ZQ87teT7Xy5luW0D4Tc4YBL33L5vWbiTQczO1UldpXGtjmUxQbGZVEG0KCuaIaf NapY7zzBQ8e2Y8ylUyNomssN+GoZyA8SXBTImc6NIPdPbanB5NNxpxFsNmjatmYu2Scp QO9cmGCiKGLbwD3692l7RM3LcfX8xJf7cLU6vkC+qoBte9dx9AElyosILJd881O18QiB eXSw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=U3x+qdqf; 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=1709300190; x=1709904990; 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=3OiO9A4fEFuD2GbB2eRFlxOdLF/G+n2q8f+fWOqXwPA=; b=Owfxmu5tcZpGVjq0Xz+vRdcs4c7qOSIV+YbOwoltXvi7FRZZVWuC6AAr/glRXf/85c IJE/mBTgPA1LCzdf9q5uskLRGSX4/IOefVSlVd+kVuAdr/yHK8/lgfltafW/o1bqOLxl QI/65CTAYdg5KlenNwURih75mMR+vt3B2lgMA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300190; x=1709904990; 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=3OiO9A4fEFuD2GbB2eRFlxOdLF/G+n2q8f+fWOqXwPA=; b=RbmPrXHabwcOET4IB/4LTBghF5mrmEqJT2YeeoVJYo1idxCACFmBA5QTp2xnOtEOFO binCALbCjLQqLjOb4DO2Yp2AXDbNZnz3bafR09Otoxumr3Nn4K1lgyeB7gWXDDq0iozL 6aBq2S+n0c1WtPurNNCBxk7Iimym5B0aM10YZ1P5RYGEZ6zdzkCvpcoFWjURfGlwbQBQ Ba5trEnU00b5R6DHczOaMd7/zwimTW3JB1BrkGHw0Z4LRSYartTb04f/TL2kQ0XY7Amq 8iZCF/JqA+7Q0OqlhCDGParXYpO7TXQ10VemuWG3Hj6FmMeWRE0xcpr/CI/XYUi7CThz UklQ== X-Forwarded-Encrypted: i=2; AJvYcCXpNbGs9b/96N49IfgbJEMUfT0HH5Cw47NpqrnfPTUxnX8EVwTyfGVC+3mgE1GThq6zMo6YL+wtDGi1D2yLvkX6sKoHZo3lXrAX5jhayKkUjoELHaWD3giPc0N1xw== X-Gm-Message-State: AOJu0Yzfzv1Xz4z/GSfbhd2GTTakIAlUbrEqBAqvbNOJmr3aVN4/eLgw 1gS7GY0l1jFMoOTznMkk4T/eUdO+XgXhlzQFXSQX0mlNpgE+L23VL857KJ3K4fsdYQ== X-Google-Smtp-Source: AGHT+IHcN9zrJ4DA2qRLxDxAkrdcT+tqCJg2G0pmjbZlklnMVwHWhaB9aE/QKF1urCp4F/bom1o95Q== X-Received: by 2002:a50:d6d7:0:b0:566:1952:694c with SMTP id l23-20020a50d6d7000000b005661952694cmr1416641edj.20.1709300190110; Fri, 01 Mar 2024 05:36:30 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:563:7f55:3eb2 with SMTP id b5-20020a0564021f0500b005637f553eb2ls125800edb.1.-pod-prod-03-eu; Fri, 01 Mar 2024 05:36:28 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVSgAC7G+WEKKLbM/5uolcSn2O7m+bW4jIAU9qBwJIf7j1RNIy0PlSWqScNiD92CcBldAGTyRntH2yyIM9CGXgLYp9gdTYgVCDRD0HwwjICQnNh X-Received: by 2002:a05:6402:1e86:b0:566:4ccd:b81d with SMTP id f6-20020a0564021e8600b005664ccdb81dmr1497796edf.7.1709300188535; Fri, 01 Mar 2024 05:36:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300188; cv=none; d=google.com; s=arc-20160816; b=KznmEzpRazgpwfvfhCVzo/5nQpTY019+X64g4PiVXneLQ0z/8ST1+gOnueuex9IVlq pFW6GyXBhoDAzFMsVeyXUQN9hYd7aENzDGP2rpgo/iCVacnSF9J3q5zuPLou2fQtf67i smIDo1HyLIU+fyBFP+nleNwa5XDdYP+gT+gq3qm0PS4/DBE0WBQFXoLo7JlpNDf5PduU x5CYRAUlWD6LFNaJUc23Uvjgm+03ZipSXeu5/1YIrqC+svnmTtyOoJSpQ0BS8u8wmZYO JS9YXkyoiHajjSEV5Ba/Jgq1Nyk31o2gziu/OPIrA1RG5TI59P2m6pQRMTmnYyCy3CGD Lw7w== 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=GIYA/nylr9+w9vpV2TJI6PPJQtfg0XG5Oi6rfOUADsg=; fh=9feJz+d/kpQcUZQpmVsUtng1N4Bv5vtuWqIrZRobKjo=; b=bCaL6IO7A3X98v0QzJ8APHogwiPYz+0lXrjvPUmbnkjKw7MJt30w6Xu2fTRgzRSSGY k9els3YsY6PAcMbiGMZTGdsHeHlY/VNrnETjMpGXg8xm2aDfCMqzjWghjgEtACXjdm+f 1IXlF5LLWOaS8QSoyjeCWAsJPtfIwl2Kj/kG5oQF1bRc6zOKecA4fB9eCrSiKJf21VKL doM77FkndlpKFx8TsLC1Clin/L/CKj+bi/Qtpl9V0Wcqjw1UnV4Tqb/OoFp6TE3biM+P GJMVn5qjTNayutlf05DNKzMhJV/VBEJ1nlUnjpnnW8Rmp5gC8vaAZRf+JxT3QtGOX4/7 Ul+g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=U3x+qdqf; 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 k10-20020aa7c38a000000b00564b1411d23sor1302705edq.6.2024.03.01.05.36.28 for (Google Transport Security); Fri, 01 Mar 2024 05:36:28 -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; AJvYcCWu3FL7lwRb9tg3N92OwjeuSXbm8ka2gzHShVA8O7Lws4z4NCaR12s2YXpGmIkNIO1OdTVECUfuN7JdbgXB+d6FFwEpeSN8ltkqRhrUToNb/wzJ X-Received: by 2002:aa7:cfd2:0:b0:566:bfd7:4c36 with SMTP id r18-20020aa7cfd2000000b00566bfd74c36mr1341942edy.16.1709300188186; Fri, 01 Mar 2024 05:36:28 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 02/23] configs/ti_am64x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Date: Fri, 1 Mar 2024 14:35:59 +0100 Message-ID: <20240301133620.3547430-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=U3x+qdqf; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3015 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 A15073FAAC for ; Fri, 1 Mar 2024 14:36:31 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-566ed005867sf98009a12.3 for ; Fri, 01 Mar 2024 05:36:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300191; cv=pass; d=google.com; s=arc-20160816; b=aIdKOuN8uW01y9FpgknGi0MpnX6CuKB0FNQ4T/lf8C/6dLGuI+JAgsD9UBsqhqUCwC NEQ0MOwUsSnDhI7g8x4bVHbqAA71Lx/US6fVCm6GdmchzVdbfLj3fejOjuUXdfVqF8Lq 9r+e+f5T1Nsi9skByx0fA5tWOLFVqUOJzT2/IXpZBU+0zftNZK3hUdvyCSGfVpUiB3pr H+SvRbG32O3JtWAgcjfYVfiwSe7C3oKq4MKmvz5eDG9tn/nHSF1uEHQ5BVZVjQkRjpL0 gWOTQ/G6E3RCDBS84HI6FT5+XXJgBc99gV/BiP020EklJ88OlfLc26Y5f0sOl510nSsk XVcA== 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=Nl8zW96hp2lWhjpJwMoqH6k8DUfcTqbIXEN4jn8npq4=; fh=gv7KPLmeqRKUzISrMY2rAIDT02U5dVzAGTBHPJOGX2k=; b=QJIyoI8EFfmeiH/t4Zzb5Vdbd9FfpIsSRNbzfrhNrSHtQIOdSfp61ueyb4BSI4cluP K9UZNGRVIeU3uTFFzWygNWG3byeokJHD7tkMTKt8p+IysaDwV1s3EcrngHosf5BBSEZG uZcPVrohPUk8hpEhhO4hlTSll9IevPZaiw1b4qEpGAsYW063uZQmfXOc6Q5WZXHb9Pu/ 3VXN/nlXz/7/G6GEDj7Zz4P77WZkU5JbRR0c7OHxPvZZkeajy9pCZP1hUHakEDwGhNIF ZNJcvS4lzYzt7oI2c1Z22+BPvdOHyMX2XLeIRF18VWs2BZnEpW4d0lIJkQyMsIPezGcV 726g==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Eh0cSxlV; 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=1709300191; x=1709904991; 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=Nl8zW96hp2lWhjpJwMoqH6k8DUfcTqbIXEN4jn8npq4=; b=OIlVJcMTWyCemjRmKsmPjdC01x3EgSZeGgJ55NtK/28VVofEnw9C+Em4XmP+tGp/G6 cD3udxTSprsEil/RCcVv4lVQ5KjwlYtnRQTefrRHHIf2981b/+g+fv7sW/dbBFWU393e r0OPUhXU/4ZEbVDsn2n7YQ8cS5rAXpQAoUR0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300191; x=1709904991; 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=Nl8zW96hp2lWhjpJwMoqH6k8DUfcTqbIXEN4jn8npq4=; b=Bhfap6zesX0xwZDDL9t8lI4+kNAq4EEGfeOaJunIWKNq3HnI9IQ2dVu00NY0KQXVjP hWraYf58szKg+qp5tq/2vO2Sie9WeJVKW077TQUdzTNXyNQYzd6HF1zIyHrPRR/Hpo8d oRaPfN6Wnjnu1eUzmYQa/yG/cyQn4lWhHTtDTDzntgb8r6YN4UKYrWbOiHKZrNSE1Fw6 B9mrXXwlMkuwtvdv4MOpQVYaEVgCXr/V9Vmq/GaqHPLwZvZNjGn4L8hUcnKw0hY/mMGu yRzGYAup2zMl2+7j1N4vf/4yKWWvZecfmJHacJkgp6kvPKyUu3LSh38Txui+KlJ6tJ5j 4qTA== X-Forwarded-Encrypted: i=2; AJvYcCWY/rCitCBeFE3IGypfbJoe3fhGUmPhzL99g4MLZss8Afm8ItEGxnSMC73XjH9dTF50O3urR72WppE0Fu5sDuSPEYRMtDfB5FLmFPIG0RQihNtOPcZ15bXFYP2UYA== X-Gm-Message-State: AOJu0Yz+gHfZs6Gbcf8U4AUZND9LYxkJn/8ssXFc1XwxliLGRJHo02rk YQZrtt1HHC3wfhvitbeqm29nc2q/ZLnPVol2umfuU9zPeVrD7bdaJn1S7zmW3PaOWw== X-Google-Smtp-Source: AGHT+IHvrlEMiEvEKbCu+RayGPXypXWCz0+xCJogkSaiJVHx7M85+rzxddyAHlWT2YGgHicaiMvUwA== X-Received: by 2002:aa7:de03:0:b0:566:def4:fe80 with SMTP id h3-20020aa7de03000000b00566def4fe80mr951659edv.36.1709300191459; Fri, 01 Mar 2024 05:36:31 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:6407:2d58 with SMTP id ev18-20020a056402541200b0056664072d58ls1586316edb.0.-pod-prod-07-eu; Fri, 01 Mar 2024 05:36:29 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWZhcYraZiZ3+16AAIwnp6PsllH3oJzoACnt+1A/wbNUItlYnlxSeV22fJMczoBGzkuQZu4J29FmmMmm0MzyIYW/pLhInFwguGb2WqYm2pLhJrT X-Received: by 2002:a05:6402:2150:b0:565:dd45:48cb with SMTP id bq16-20020a056402215000b00565dd4548cbmr1229199edb.4.1709300189535; Fri, 01 Mar 2024 05:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300189; cv=none; d=google.com; s=arc-20160816; b=rAumP6IRH52s2UZz3UjqkYU62tH2C8ShmKa12wBu9z7i/d9M7gYxTR1vziU/zdoc3Y 2HBlWf0TiJC7nDyFClS97s2MlmUcAU9EE4z1pLjaqzfhsGeyW0zlvLayRDWhpOGA6ZIS GO5H3sbwu+++hOjCRfjecv7rJwvjq6w+qp03ow7rTOzAPQdLh78/KnGWCkRqbq/KY/Cb vVk1fcTzZ2gO3oePrpqMagtDpnMkBT1O0p0zjZa68ZycDEMBB0n+a5v5h6NBn/a0TX24 kXyDpu5nonPMm2rxpDsKnPutonKIJ68UPvnXYE3KLVcuGzyVVYaQ4sa+gY31KZkddY7o tDKw== 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=1WJte16ly36i241ATcPg7W/zWVmxh4e6E9ebjJ+h2OU=; fh=MMEtTnb9Dy3KMVDqohGuE6/SIkALLL/ivpQrtxiOWkg=; b=tAs1jTDp/7iZUceZ/UT7Rfllt3zKczcDYjLx2E+a4z05QAp40Yf/MJXY4E54D0B6jm 59sYwmKF8V2j9eSeQuklB5WQ8nCdYsJFyIO5I9qc10zKqZ3CKElIzovVNDpCacxXMDFR cInfZYItkkYg8X55bukDrVLIUrph+OAqclG7qRt0x2mHbQcwZ7hceJgDTMCNVpNRHI4K NKNN3zvlDxE0GPisGq196laNqQJ47f3OPWhcDEXdjRuVyIPDlKI9KBa4ZekMpiNzR9W3 TbQhG9RP/1Px3/CaUWEW68xwSbF2uwbXy5Tpspp+/k8QuqCuGyTDcD+vh4MKpNoMo7S9 5log==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Eh0cSxlV; 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 w2-20020a056402268200b00566ab42dfaesor836399edd.7.2024.03.01.05.36.29 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCWYc3Mqhl6XIMjBGA72Wyk3ESxE9ltVD1RAFCzsa9SCXtCHoxm+fsDyS2SVzZT/cFNtFNkwsnrLc+wyJKzO/fKy4jpevoutM3+G2EIJhdYWDNRO X-Received: by 2002:a05:6402:1914:b0:566:414d:d70d with SMTP id e20-20020a056402191400b00566414dd70dmr1584040edz.17.1709300189228; Fri, 01 Mar 2024 05:36:29 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 03/23] configs/ti_am62x_sk_defconfig: explicitly set the ti-k3-r5-loader version Date: Fri, 1 Mar 2024 14:36:00 +0100 Message-ID: <20240301133620.3547430-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=Eh0cSxlV; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3016 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 54F053F057 for ; Fri, 1 Mar 2024 14:36:32 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-566b58e2a24sf889691a12.2 for ; Fri, 01 Mar 2024 05:36:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300192; cv=pass; d=google.com; s=arc-20160816; b=RQIrwB8dX+m+Z5Jxisit4SoUd9ei/xYu/rPMaFq1kV0eIkAv1PesWNpZu5uEUQvfqb scYMWIJUGiYGJUeI2W3ClfWV19lDyeBt3/Svfagoa6BdyZpT0vI8PZ3g+auiXh2WQnKz 78plXAKoxXzPkCMZ6BeY+JO52Vkc/YArBUkAXLuTpM1omLDXxKFY+Q1emPPe9DkqKlTA q/vY0kBH30LgFEtwpkl3IHFy9XHmSxrVF1Mv/SF+CM2R8a2pC1vlVet3X70FbSA9Qqir G4m8juWncWu+4Vc/u40v2JfsF1hlk5eYpTWwq0c0djbtxDA6J5HbYclS/afUwINFbpke 1oJw== 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=TE2rEYfzOQ33/5i9OFSbjTf6KZMEHvwTGPQxrsZEAXI=; fh=oETWwN0JHEBM35SQ3Ww5ydIL4N0cPSB6zybtIKlrsuE=; b=pZtL1lLW580Y0RPTWcxrN344wMxcwsRKcb6Vlk3ASKpR8J6e4duAwXWjCLFCOnI8Fg buXGOOYeOLIsTKnG/klg20bMRhx9qekq6gVYAj5O0WxC7QSGhuKSK8AOAC+xZKZ5SCxP KWt0FK5ZQipRJpolglyfTUkb8ViL2wo5NgCf9PRflkEh0py4oFP2D4/lfpYq21CaaafL 1lfB7cmEtPRODo0vk6HHOQkoAgwCwJc4JxeHWQ4/1t+1CZcRW9ycK4BgYD4B5iSfJkZP 2RxgkOSr2Zyg6wMnZ8RSgwVtqtY2vEyRvxar7b8gpn/ZvDwZuSl5GNYaV/OAZtqhErT+ rWFQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LOprfs6F; 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=1709300192; x=1709904992; 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=TE2rEYfzOQ33/5i9OFSbjTf6KZMEHvwTGPQxrsZEAXI=; b=TBgWeYZfPI7S1ziGR50rEb8CJIOqLMkjyXo5spE+DcYtw+V41CtW9WkWQ7CvRYQAaD oDc2pREItqnMIppAch92EBZnsKKR1KmWOrp696Y4nQ95ZjCnE9gmbPM22K+BtiJtQfWv sDEVXTRJNSo0NIHMTce5r2l2V2mN7LPsC8FAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300192; x=1709904992; 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=TE2rEYfzOQ33/5i9OFSbjTf6KZMEHvwTGPQxrsZEAXI=; b=Nfdp0cwvEly+g22Q/Iw5LejiBoPGL+U+JGRhWPDkomBAiFsGNz9NfDMuDgYhdfovCl SV8ASDWuMuIIODmZ630WRq17yYvfbP645is2iZbBTM4pmTafm0KC5LyjFa8/gy43acsN QA5fBNNmhauxC17hEd0C8wdM9YQbcpVDqVaUd7EOJmJWcrzYg3P65TkD1OXHPMCHNV8U 8onga4xlQJznpeQF1iA1cmQKpxMchje1VtjtvLjvLEogR3eef22sn1U1Bp1OnMenPb4t DYWCrHTFlToO0IbPSUsBBRC+9CfMRgmabEUB3ALa1En3C9Sl1FqTv7fJ+EICjn7CvlT7 evqg== X-Forwarded-Encrypted: i=2; AJvYcCUL1UaOywac5v88ika0gM/v776J2xtDdoiijaN4hyDyc+zK6HPmCyvonJ+kRDOgLl+0u1dEuLT6zkuWrL1S2yEyyoKI84sOurhqyMOvTrdt9xdgrNFl+kUUQRnnVQ== X-Gm-Message-State: AOJu0Yyicmkfr+Nb/60qchVsRgzLxo4DAK4wT2vsmnIP+eWJ6skiUYH5 D75ZXE9ZIAQdUH8YL9bdP5oFiKLfq7cxmzfIO2sWpbY2B+1znFJGiFYLRexDfEw8Lg== X-Google-Smtp-Source: AGHT+IF/MoxlsBB+1JvR1OeyP9LrhzZMfvcpWLNRBbF5DDSIBkQyiWlr7tZ2bMfKDTWCw5Xk5h6gOw== X-Received: by 2002:a05:6402:603:b0:565:7ce5:abd5 with SMTP id n3-20020a056402060300b005657ce5abd5mr1480751edv.18.1709300192159; Fri, 01 Mar 2024 05:36:32 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:458b:b0:566:a8bd:678f with SMTP id ig11-20020a056402458b00b00566a8bd678fls114263edb.2.-pod-prod-03-eu; Fri, 01 Mar 2024 05:36:31 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUYjLDEId9R0ad6GJiL08e0Gik9boGidgywRq+sm2EXJnsOSXQlGoIT6kYE2/AJz+NqZDbDwE/dhP1EN665EM37AhY153RpS+FkUlS7FLXqJKRb X-Received: by 2002:a05:6402:5114:b0:566:28ae:55d4 with SMTP id m20-20020a056402511400b0056628ae55d4mr1546919edd.39.1709300190608; Fri, 01 Mar 2024 05:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300190; cv=none; d=google.com; s=arc-20160816; b=SmwOXAEgSzdJngvyskmfELFthVk/MAm8SFq5St2QYEAQF24mgzHZLyXOwipKIsOqLf xkW+7Hss2ZQRAxg7c8caF35sfujTAnjlWA0uibuMpzGJ4lVCWpiA/SwQHs8ZbDqMAWiR +rSHlVKTWZLSXPQJZvaMos19zHDAAIxA0PUpC/4apMoa6WxbO5BeIyXFbedOTigsjvfO XeVMzMeOFt3mvq9KAFO812UEgzJBACNMuEU/3teCr46rvo3REfPYHXPXtVOStzfPHPGg wrtrM+YllDIRjeLD17PeIaspw8BlnMhznmQa4VvENPkjLCydikPhMMB3QlZj9NcMW21G 9lJw== 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=R1ZSDHuEXQ31zfKqWAL/E4QEjCkHAmb0Jwyez5chask=; fh=UlFtph6URnMhsNzwEWGAuppNpUleeT/C2ngNFgemI8k=; b=F+lsmuELA6rOABVadF4raKtdohI3Fe85FbMz3q5SZNJO69iWcFttaclDB5bHILirSB 4vFktOi+DJ4N1y1aZWVc88Gooo/SDTfo0avycrI5sEG0KQWjVe1EHNLbgAX+nV+qEArb i7xQ36OpYVi3DbOcXTiI48mnGyDBd3fTp2MYfCmiqjdnTpJxP61CRVI8r3vIn2crStiP 13otxE0GrYS4vW+OOAnnKsvQGXqgDW2fYDIkCRJTWMYRANKJYVpKGUVAN3XzXhbrJeTf uU+vwL6sxqBFtjxjvqNF+KtjsnIsGT4EEG5ma85idqpygcNtp6eNaULh1PXU7AHMR/NJ GngA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LOprfs6F; 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 k10-20020aa7c38a000000b00564b1411d23sor1302739edq.6.2024.03.01.05.36.30 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCX9+q5RS0px0ijjX7zHkBJm7qv9xNCHa7EUEh4SekVPXzvlsRkIrBaVNOC8yxKMwtSLEglHNB/NGsIaH0AxXtP86H+hW3QdkxXjtj4himM+j5u4 X-Received: by 2002:a05:6402:2895:b0:566:3d19:9058 with SMTP id eg21-20020a056402289500b005663d199058mr1464843edb.33.1709300190339; Fri, 01 Mar 2024 05:36:30 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:30 -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 v8 04/23] configs/ti_am64x_sk_defconfig: explicitly set the ti-k3-r5-loader version Date: Fri, 1 Mar 2024 14:36:01 +0100 Message-ID: <20240301133620.3547430-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=LOprfs6F; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3017 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 809F43F057 for ; Fri, 1 Mar 2024 14:36:33 +0100 (CET) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a44460e6c06sf92095466b.1 for ; Fri, 01 Mar 2024 05:36:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300193; cv=pass; d=google.com; s=arc-20160816; b=NNzyrKYN3lAvlVIscv95l/HH9Lpt95ySVgJ8pDfNy1nDWhNnQmBOijnLomrpEMPbzL MxpTzyl5leiMBqInIQUrBgxEYy4CNU4CAU2X7ALfMc5ljGTFk3ewiww1lba27BbZimFt 4f20WQf7OXKQNqzMRYoRgjmSnZF+QfZTPUYekMV5iqva5pKb+8hTJYsY6IMnpgpcvWKF iXhLseAuMV15DtiWQ1H59uHbgHXUh6Te+hZ1cTmmtlrP2cIouulu0cG2K//Z8Ju3/Vfm n9i4PTUNi575GqxioefkF4nc1jamdhGApRHWP7EirIbfqJS0wne+3kP96pwkM3nhs5TL tm+g== 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=LtumFxXtSb98igTijfwOhWVYWjwwso3HoUYg1DATy98=; fh=nk1K4QkT5FvJrtVShPIlXzOgoCbtSYwCCsPQD2iCEQw=; b=iiLpKXg8oTMaf3EK0XVfplAq87nn3OOfMKMayt0Fsto3B/kow2sSJO6rFm27ijt7O0 6qQHD+SfX9qgCZ3mbodzkfXnWW/FIIDMcC/GYZqvIrFRKXXRE5bRNeivbI/x0Zk1uYe5 hxURkJKOzu16AwP8TEo3MLCPkPOcVHs/XxHU+b3dZzu3xBte4N39GFY/aYYLHlIKOLQ0 riiX4vNAADZ/R1tFTsBtYkrjaZPzmUOBX9wUjBWs4I8REuFRQyty3Ak+wbg9I43G6p12 0k/fK1JayOzFPc/uHHpDw3nuIc+xUU/KjK3Vi9uuFXu+sdP4fzttIuVQawj31gm9Ip9W zNiQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gM1RgSU7; 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=1709300193; x=1709904993; 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=LtumFxXtSb98igTijfwOhWVYWjwwso3HoUYg1DATy98=; b=fn3Tif14W6568ErhhYam5dWAP3OSs5e9FFuwx6jpcsX2IpyjlZfYZgU/oBsVTuIhMv uvT0keejmIukG3bi9RC+G4ZY6dEUJscQPbspW/fBjezdZY+j7GUR5MklsQGCMEPF0pjA Yv/9d3pUX8tzRGMCVTJByBsVJchFmMzWADxlw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300193; x=1709904993; 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=LtumFxXtSb98igTijfwOhWVYWjwwso3HoUYg1DATy98=; b=H3cXTNPybokCs1JCHlEqTNLZ69tIkIhlY8HRIqr0csQlioA+Ixbj3TNWJpBzlLpk+b 8z11vd7mgSBItMvDPUrW7CFTF+AkJfZtKt54G1vhtx5NojUOZnsTjWSu7Ujm6fAj6tJz BP1bK2gVMyS97KcuSFEGPaXqDw56g2JoWbGSOzwPEf15gW+cdanyWtL7ELebHSLN12Kr cH5cU4Cy8tzPXA0giMp5uKtfL6HxSei5wRLS7FSxfRxedkXbJwi2FHHhlq02/3ZT5WgG i8oXwwksG+kHEazfcFbiqOmCKIrczNJztejyToIjZ72umT/6TqPY9XxJOJkig6D9c2H0 uoSQ== X-Forwarded-Encrypted: i=2; AJvYcCVlRDgMWoWi9yNHq9uqiP5QiOipWbse+pziRXAjwSirCz4i+3oeCr+HQfJlbNYkq6oXviM6DcBfpsRYZgeyid0v2LJnb79erZyYOahtaVA4zBBfsOxlN8LAms5AZQ== X-Gm-Message-State: AOJu0YzMmMJBNz+V8nvlJpKaOwIKOXPVTZu92PcFaDWM3/LeBp/YNS+6 fRhmHPqLmK3xtQ/NBr/yLvraXwJMXBf3ILdGpa0JXPaVqRKnGI2JbaS78ZFK/NkG+w== X-Google-Smtp-Source: AGHT+IEKNV9vLlrVr0bnQQ9BXD+InFPyckbB1rRd6+yocvGFyzNRFO+Ijzz28E39CVmV0gbHdPr7xw== X-Received: by 2002:aa7:c592:0:b0:565:1780:9398 with SMTP id g18-20020aa7c592000000b0056517809398mr1429540edq.39.1709300193308; Fri, 01 Mar 2024 05:36:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5419:b0:566:525b:bbf8 with SMTP id ev25-20020a056402541900b00566525bbbf8ls97682edb.1.-pod-prod-05-eu; Fri, 01 Mar 2024 05:36:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWXqgM06stVXBEjFgKhIOVZEjHa8v3CYfkhhHRzWo2+IrjsqttvPTzC74XG4Vdb8bLaO4dbjvlkyr8eV16ul2VJu4Li7zQPjjRg7Yy40+CNsKcN X-Received: by 2002:a17:906:d9c7:b0:a44:5a3d:7884 with SMTP id qk7-20020a170906d9c700b00a445a3d7884mr1353529ejb.3.1709300191728; Fri, 01 Mar 2024 05:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300191; cv=none; d=google.com; s=arc-20160816; b=vhKh1Zth0QQPGp81TyJW7AF/RscQmpKvuJYWcixo33tuamDxoBHvh8Qspd5s2XiGI9 ICzQ6VFZ1pxhHrWURwNtxsNeneh30HpYqgGH45C7imravam1MdUWRRW6QiVwIYoCC7dH hLdCTtXTOeIeaaiECgi3eeOeJU8vcePb+MONPnP5+5kbFIqWIy5iQjyOhfB4BLfM/z6m rnVw3CC4DJK+ppZzeqhtFRVHlhxBst6aHACrFsHpqUWTmyMz9taq6a8r7Oh4FOyxXOch qQN3x2OhdoQa5npHrEE0v6hP7q6NRqL07zOGbse9X4zNNLrbO0Z9lKk+EbKng/UJ99tL pFWw== 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=Jhqi/Kwcaw7fk++Hw20ODLqBU20daPsM16wzr5b3jvc=; fh=S4r0zKS6Zd8SGL0KOGiBCmUR8bolmPat6NZYCF+9A9E=; b=b6e34h8mCiORnxczZruP0Kg6FGVug1w443w0rnw/fBbzZOlJ1LZfgthz81sGhXw/O7 LJIm9kQQKSKpKja5PfVz5feBA11iY1hOsvkYRQJ+XBYcpNiFrFOJoWpkE6TENl6JOY8n 08Z1WBI5wO0XttHEnqRTF74P+6y1a/INNjOYtfQa6qjLKP2qlMZV70szdk/mr5MSb65B vdBXWAIQ/K4MULXtvzwI+JiXbZhbLLYxWXGZ3Qf3azWWS0CO9yMAH7TPEm7u5Fu+91/3 bHSPBUd4evfex75qP9Lm9ai7QkvoMZNimv1T5UYngodBa47vUKbiA+eDgbhiEQl9b+R2 YKow==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gM1RgSU7; 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 v14-20020a170906488e00b00a3e461e2663sor1569313ejq.13.2024.03.01.05.36.31 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCWOrLqHHDN+1GkN+Xbo7ktgU4FzxlPmwG2W0pXKS3Oj38JFdQHp6FFweZp34t07g+l5HIiYRAsd+4M1x4dUn3yyGe9aelPiOuInmoMcIpomUb6s X-Received: by 2002:aa7:d68b:0:b0:566:4e7a:fa23 with SMTP id d11-20020aa7d68b000000b005664e7afa23mr1436678edr.22.1709300191469; Fri, 01 Mar 2024 05:36:31 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 05/23] boot/ti-k3-r5-loader: bump to version 2024.01 Date: Fri, 1 Mar 2024 14:36:02 +0100 Message-ID: <20240301133620.3547430-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=gM1RgSU7; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3018 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 7BCCC3F057 for ; Fri, 1 Mar 2024 14:36:34 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-564fec337b1sf3228959a12.0 for ; Fri, 01 Mar 2024 05:36:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300194; cv=pass; d=google.com; s=arc-20160816; b=abxplP7jb1e/HsMG0X94mmI9B1zFjt8YYTfRZ3OvY0Qx+HDydKtbS9Itvv1iFDMSr9 4livQofCIp5CuYFVnBDXGwL7rvGFVMN7t5Hu464+5nOfbNfOQlGHbMqysfl3B1HKZJ+Z vBozZRWWYPIWd9MtbyNr6KkGz52Nw6zXWwON3BS7qQhcMKCNFtj5IOmVSDLnS63OAplm 7Mjlco2NR40SeTXQZJ9xm9IxD4bcv00V8j3yu1kXfAo0Gn+onsqkVzI5DYroUOI3S3j7 yX7gRAS+BY59tRcWanUJWTVw5MGj2Mtw5qKmBKo9u6Kqn8W6CU0IPcN6gMkMamdaqX1O NfbQ== 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=sNrM7lCNw+W07db8796J9Tfr4K8b40uMNgfrzPPjP20=; fh=W8ubM7WLhHX/4SR75XET1XYeivJ6FDtqM1ix1X5odX8=; b=v8Rj/MIuMAVLjfVXsh8sJT3reFpLJ4R4OjKwjlfnAXuM5cLxT7DcPfVHg27tDXfx0v uCPijYNWTIJK3qWpGOHavnKuY02APZYWlOX/r1TI6ZJqH6N846JvfgUatJzvQJjddBEo iXB/aSYy3nYnSTEWsFwjdiJ+wXn3rQAm0pfWqe375B32YwM2z6/VxVn5FvNXoFTnkowX rnlj7y22ylJW6ySjezDDw1US1WBLIG6PIL54hCyMyMVvei9CRsMhojgApkDgSIvugc5J qvfIYRfudaXXgiCFYyaqr3RIcpUI8Hg65PrlKR1nvEVA7TEQ42+kYOKukJUdQIc+3Cgi VIkg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rq2AVRge; 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=1709300194; x=1709904994; 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=sNrM7lCNw+W07db8796J9Tfr4K8b40uMNgfrzPPjP20=; b=qApHDhusVH0iSr/HxTyOCUG95sGSLJe1UIjVXaX6JF+IIb8Pbv5rag8hnSxHkYpSVS s8ba6MGi6G7aKx+tCLMnePpUcSYGFIjy9jFkkvZwTkYaTIvSAcJorPnpYr+K9xLRDesR yV3qBEQWsedns/5UFmtysEEwldwslg11vAPLQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300194; x=1709904994; 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=sNrM7lCNw+W07db8796J9Tfr4K8b40uMNgfrzPPjP20=; b=L1RITLAQtwAnIGeLfbLZGRDPEcDOhKf8AJ4WVyFKxmpJlAPuu+A4UHo0y3F4OGQJcX dYzwm08gGTD1NzZh+WkMt/pduKyl4YCUrLx6JmOVeHIt2Mr1JFwa9egC4E9lUujWihSG kGfJVjBhDH2scbFybutuIVCfrKjBuHric1OeLTDsMFeuNqPQdXuflRzrrWoIfsjHCEZP FlsAoUNTKO4p0+mbmkc1qyRPxhiw2d6LZZrfTEcwVSS5i1NqYHLlFTFPw0gObsu3m8D8 S85E6cBap2VDMatU6GPiAukNbe7cSyzvqIvJWgeMfX8Ua/cxrcTPuPSv4FHVh3uzodH3 mxUA== X-Forwarded-Encrypted: i=2; AJvYcCVRxSvMtxLpSaeLYQ4oclJ915zDAjoP7cIseYo9mGYWm+A7JskQ389Ospunjmd7485w9o+cnLn4n21fqoUfZLw1loZxSh5V99/x20zqKGTNN2/iYT0ckm/7AqNaNg== X-Gm-Message-State: AOJu0Yw6Ax1fIRXEW2zXCMJN5Mzm6vHqUDK0t5hipgJu+qRQIYIjdJoh 96TCCSZEvYnZoZ9kv7lNBHf0caf1lpEoY4ePlyS0zFIceqNjJNio96pChNWeGy5acQ== X-Google-Smtp-Source: AGHT+IHqvb/yRcnvI+wgKgmIGC9w7z7SkJtsUoR/O9mkh5YdqcFCYfn/pwI497zkjeEDhPazUiz/lQ== X-Received: by 2002:a05:6402:2267:b0:565:4b37:4578 with SMTP id du7-20020a056402226700b005654b374578mr1384153edb.14.1709300194272; Fri, 01 Mar 2024 05:36:34 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5419:b0:563:c18b:4d80 with SMTP id ev25-20020a056402541900b00563c18b4d80ls185718edb.1.-pod-prod-00-eu; Fri, 01 Mar 2024 05:36:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXABBYY9634kF5iwak7Q6kxpairFXHRnUabdwjr1QJ0K67SbImkQHGiVo3sWKlD/gZJjAm08sxLC8lrOBR2GAyiK9XY+7fwTM+aL1s56f60gUih X-Received: by 2002:a50:cc08:0:b0:566:6b3e:c965 with SMTP id m8-20020a50cc08000000b005666b3ec965mr1742615edi.4.1709300192691; Fri, 01 Mar 2024 05:36:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300192; cv=none; d=google.com; s=arc-20160816; b=beCKPpqTMR8HngiHTuc6vfycXS2fWLUc/Ooh4CZa8b9ooxWAAxoukEF0Qg4LQOgCb4 dqFL1a++IXupuDP0oKcyy5r6bOTLXriQr4FtGvFhVdcFC1xkjzsLIsw+x5V5Z5yHSXfX Q+FtjaG3NsvbOzWG4zUfugo9GK3uGC8duWAEQR/wbO8GVk7o4aEKRAVUd6aJfuFy3dg8 Tbw3rftJuvwxwCim/AXwxun79yC7e0wdlrq3oHvYGRZCvU+10SyomHxQRjiV3ixM940Q xbOcq92I5r8JKsnAGQq2Kgtx75MGnYIyXwcFwW+r3MLzHERM7g9EY80EKqTuhsnUkWuv wC0Q== 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=xWGppGv2Q+OhI6IUb2JJB8bcVAA1qXdK+KR8C2+Rv50=; fh=eWZ8k4ZRoOQrgF9vTspV+ueQQy/ukxK8nQtm3/qZLLI=; b=XBAtYM+rBD1PDUJ3SgdlQTfikdXKpxtQKw7yKGqgPu+BMOG/gymbUAg4UCCPmLT975 GyM0v9Q1KjnfyD7GhisAZdizF1iewc5Gvjz7088t0Bf7VCtd9CyIGJsvhqX3H0V1CCW7 qV+TvhHLqRLjAvOkR+C2JOYOaZRDS9rzidWOYLZuRtCFdPYDyBcnXTYUD9m3xqqqDLqp bbRjgZYKtTRtgtS/pBuiE8O4lp3oJwsu2/XZPB7DSe8eL5CudDSnHJgCh8FVmCGZKmod MQ12N3ds6xtKRPkYe90XLHbDGm9ixRuNAPCxIGf5AUn+uA574buy83ftNQVHZyUZ3501 s26g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rq2AVRge; 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 r1-20020a056402034100b005655dc8d524sor2452575edw.3.2024.03.01.05.36.32 for (Google Transport Security); Fri, 01 Mar 2024 05:36:32 -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; AJvYcCXeWqGAMgUrjnGFJAHSQZmDZLbv4nlnokdv60UaV/TUKD/uzqIgYNC4DzcJeGkz0HGiVID44mzo5+uR41UO0dmxER070d3lLHPqP1i7lUUxeXJJ X-Received: by 2002:a05:6402:28af:b0:566:6c13:82fd with SMTP id eg47-20020a05640228af00b005666c1382fdmr1237681edb.21.1709300192481; Fri, 01 Mar 2024 05:36:32 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 06/23] package/python-attrs: add host variant Date: Fri, 1 Mar 2024 14:36:03 +0100 Message-ID: <20240301133620.3547430-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=rq2AVRge; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3019 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 6B8183F057 for ; Fri, 1 Mar 2024 14:36:35 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-566418cacbesf1663246a12.2 for ; Fri, 01 Mar 2024 05:36:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300195; cv=pass; d=google.com; s=arc-20160816; b=qrtvWaWYjA1WT1SDevCy+EH7MEkq5HooaWTSInkSalCmbYAc/S3290XcU/cNRBdFAz Xa4Zb9fJl76AhteUI7wVFFSv5DgQe/5cepnyxthg9uryVwPkOhWWppLdr5TlddDbKgiI MyijH1+072NwO4rK3UBORo65PHmY1Hp04JPAvzbr4+HYSTw/DiHP1jKxNu5saGcFvv3k 6Qutzdu7gRzZxODxfqAJeqg25d1p3bxmbO7SWVxy5hr2POD8+UHTTyfGxERSbP/w310o GO5F+rbtqa8XUr6hFOhZvCP8KTmDLwDF/la7udPab7Os28yCQ0dOeXmqiRxLcDlOpifk 5kWw== 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=R3mrYz5t9am7+raztPCdz4LRk6Ok2CKIgki8ABMc104=; fh=jZ8EOrxtgXGwEESAik5ow/fwh0bYTnizMHeZ98CVRrw=; b=ElPOkwMKOtqYbr1Zo0ph6lOjvGpgbhnK2jd8WdU2tI1/ivqZ8b8KBUacjX+gT4EYIO 0TfEth0b52fxcJ3EvaFuDxLYPFhsHaDgmcIolUVsBndzDdUr/Eb9MkuG3df4u8ZM0ufB 0HhxjchmKI4C/75spf2aC8e0WZUMk1sBtH1DzLYGgZiDaFEvaa2ISx31WecvCndt6gUx xffEBNSq7wZq+Nae9EO7+oCNUNDg/RLDcJ5ECQ6LuNfAxfZJHamoLkn0CtmWc23Gg9Ed 3VuTAQPYlt0ElTE7xmZMsCb448gWPi46QB8jdeVgCTbW5C935C07KwNoG5atClv6JL8S Us5w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ch9VMeJ3; 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=1709300195; x=1709904995; 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=R3mrYz5t9am7+raztPCdz4LRk6Ok2CKIgki8ABMc104=; b=bBrnkQ9A8aTK1Go3bN3atzZ8XRvIjusNr+Ok5FM5TXC1l8tkcztCD43A7sncgkZFYb y5tnAYDUTGc5JvY8CjsA9xE79ofwoksYAWoqWDLI/0LuTkcCBJKYrTs0G5qHItoU4P+y wYN2JBKtJxUYQl1F29BHXOlO4XAAe0GgnSEuU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300195; x=1709904995; 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=R3mrYz5t9am7+raztPCdz4LRk6Ok2CKIgki8ABMc104=; b=Y8mvV7DNo7l2/zUVHh+QIKZJZ1orvOzLB4g8hujv/IwU+lBiOhDMNi1mstnhgRKfdQ T23/hRAoj1hm9KGGP/AqkK6f017md0o7MQGIyC9Ve7Nv5CCSwV4z9Hq2abFLhZluLc2R zVFevPgvSthcgtUHhfzBO+FCpOaMm8gDSt3mAZ5iwaOJrdKm9mx0GaEqPhZpL/ZNLCDb eKcPG9OpKjcUSEt7SI4McFH3N64LujGpMlDlyc9F5GAKF9p5niS//UMoV9sKfzcxUKxm tAuxUx+hFrJfsI0bkd7EYmta2KiroejNu3XSp51BdM7q3+9EI/vdWr/UwpT5tDnOvYLe jRfg== X-Forwarded-Encrypted: i=2; AJvYcCWfNHoPAdvAbRnEpMM9Ph14PMzrhMgrXbvP+NIvDtELSPGwzikVKZutjteFgQvCBJ0yewm0C+Yr4aM1ppPlHHe0D6MQC5hEqwlGjMOURZrBoKFg+kSAL1cQPI40IA== X-Gm-Message-State: AOJu0YzJnRjJ3/8KOXUWS2mzqoBNHr5O09Lrr4h5vePQLeLA+H5F84Gp XOknaiDqgh6dW0JOO0KiC3Th/aypS8kZZGx2kkbnorsTUjK1TOh6ZQ1Lb7946jRn7Q== X-Google-Smtp-Source: AGHT+IGABKGF3F9D+xisMQSZrkusAqdrHq4NnbFeTQ6A2bpXqJiVU6zzVu9XgQ+uQn+25arzU5vdig== X-Received: by 2002:a05:6402:3081:b0:566:da6b:350a with SMTP id de1-20020a056402308100b00566da6b350amr1021127edb.16.1709300195212; Fri, 01 Mar 2024 05:36:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:3da3:bf6b with SMTP id ev18-20020a056402541200b005663da3bf6bls61945edb.0.-pod-prod-04-eu; Fri, 01 Mar 2024 05:36:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUbh0HgJhJp+A1cesYW72iFMq6aHNCXygL1s7tZkOYCSZgLBETzN/yZJVm6xspmQnRuaJYYrCEag4ESHilobWseAWzAR5fVzYkd8NZ5tH5IwMqj X-Received: by 2002:a17:906:1185:b0:a3e:da6:85f8 with SMTP id n5-20020a170906118500b00a3e0da685f8mr1204010eja.30.1709300193715; Fri, 01 Mar 2024 05:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300193; cv=none; d=google.com; s=arc-20160816; b=Urz/KFOfA/5m3u/T/c2H8zRAJOnz6Tdex2sbtMAbsHvGXnSR7qwiliS5jW/D/cEopc gt0+efc4g0Ixl6Mow1tGYzVPDWw1sU9uQMvWqDPVKtg8VeqOF/qa67gL3ZaXNBQ9+QY3 EIcbMvQOQ+s6KB2SeSd0l5A3STPwIbBIceFLCGcBBefstVROwiHLKNkgZMh6I12eLI8+ FnJwAi2CNSwUOq5LbpbbD/2JJ5MkSJJSsEdkN+ONmv1JW+ejCnhZZHgFyRaxMV1ciJV8 iyeavn1a8mE0KdwAV/tRMWhJ4FT4yEaDYRgFw3dZl1IlFbsq3yAQfqyAC/ANNXy78lII fi+g== 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=4zjm09BbWCn6jKtVskmNbCjwfubt1zvpGnXXIr07a/k=; fh=HYxzRTxvnEOcj3aSc4DcX5I5iE5j1sk72JACmpfZ+eM=; b=i21J8XcJ0hBSsSquYd0NHxvI/tBMtupq9nFPZPpwj5oNlORZ78RgF/QzXzUYwNXFzn 4TBbMDJZ8itbjgcGXSmpZTjpRbsDJDL5pUDhDxS/eF0x1nWWpjc5kg9ikJ+hf65JaTxb 33P6MrZjHk2tfA1t1FrrhEYW4N9yAJy2rS+auA75TNtLIqft1F2uZUdFUa7ttSrvW3hC G1wRYpFK5tKQlc+PTkjbofogqafjjQHxmcof5l/YWsQQhU0tEqIkmdULQYliFjbvMxFB WGH0NnfPEEriiejMTEKBulQu2u+ueOb4JLiPGo4fzsNtMucZQvPJE/s26Z0DO8ctRRw4 MABw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ch9VMeJ3; 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 lg2-20020a170906f88200b00a4421013c40sor1537677ejb.7.2024.03.01.05.36.33 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCWsGOCf+fn9L4SDpYF+m9wFjHniFnXKsidxCQSFhdUhmoGMQz/fX/7UbBLYualdUwFw8NZRS0iI3ZTnNKFDWgc3j3tAoG+ltHjjRUrY+7/2lNGz X-Received: by 2002:aa7:d604:0:b0:566:edb1:3c7b with SMTP id c4-20020aa7d604000000b00566edb13c7bmr141653edr.34.1709300193489; Fri, 01 Mar 2024 05:36:33 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 07/23] package/python-rpds-py: add host variant Date: Fri, 1 Mar 2024 14:36:04 +0100 Message-ID: <20240301133620.3547430-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=ch9VMeJ3; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3020 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 B46B13F057 for ; Fri, 1 Mar 2024 14:36:36 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-566ae32611esf1627583a12.1 for ; Fri, 01 Mar 2024 05:36:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300196; cv=pass; d=google.com; s=arc-20160816; b=AHN6HwxHekRq6DqP2NmhnzfpYk0pzGLEeXozVQ/PWdorip89PwdQ5j1trKesi9futs xARZtfeh9jAGJNtC4ixYVzxmmAe4qN8TGLEqsQfTBXriyFehGgJwrWiNrQ1p6GRVh5pN xMO9UVtbCeG2csFfBCvGju6kz5lWh2XWXJVYCXWU3UCbHMWu0en+JmJ4QV19eM7YSG54 hDaK4QD08Zr3xgt40i4vEte8dYBWAY4bP2/+LKZ9PiWa/VWJ0y0pzHnmTewIdFqJHKi0 lrNesfVqSKTi8k67jGuti3KGyH1a2oqPUrpGP1GKMhFBzZS3wwRB3/N0jnbHGzn74vpQ zTqg== 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=fml8Q9rRAsGGxe9C8wczUwGvfRDn3rh9HjwVYQwPLvU=; fh=rTTlrt+SVftcZWPulQeO7OCpd5M2tPGBxO42q/SLVYs=; b=FTTaPRCy4us/do6y0ZCByiAXacazvf6mbur1M4H41XUzb/QwR1RLeJ6RkG3W4+IlYZ iWFka5H9Hz96t1mQvXSBv4S3INfqT5xAQJ1G7BaqPUc+mHNhUx1uAWTTUwTIUD4emRyA mvJ0NFh3IBVmvAGVCY0Q29h4+AKGDffSN1KV4Qm4iSF+y5JR57j1fJZMGaI6/EUa6+VS AImvvWxXVoBRIZydSdh/+T1eHq6hQoD6W2ONvZxMZxCdYeexj4pP2tyBPfFGpbGcaluW XDfYm0M4PqjHffCbIQnkXx9YLJIhptRX6UF3YT1oyRTnQNhkjs2IwoxO5PSeJiRGzivR ZRTw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bty+MoCV; 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=1709300196; x=1709904996; 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=fml8Q9rRAsGGxe9C8wczUwGvfRDn3rh9HjwVYQwPLvU=; b=RfTqMn0cXt7l2pbCPPDmtfHgVMv1tN5pZhBJCG5i+mlMnHDfqEHpCCRlBNsdQYeNuL i5EYqah3Ezf4ZmNx8PlC9Z9PqoPnGA4THuMHVjAAqlwZ0PhMGt3bjomLqae77qfBa33v OdXXfufKsizL0npHvwT5PtwrRY/J8wpbLDSzA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300196; x=1709904996; 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=fml8Q9rRAsGGxe9C8wczUwGvfRDn3rh9HjwVYQwPLvU=; b=gOrwCjrPCf9M13ZKTprAEd2evlPlHDhcQFeKGhUGhIxDDpxCmVd3Wok01VP3WG8b2M AYLSCQolHMPjv1DlL//l6SgZzW5wcNYQFk/mY65SSk9XS/9xP3DknYOb6GNcnH+5/Ibq /FPU02dKO5cBrUIURD7m0qYaGS41B1BkqXFo5u6WV6zDYAEEntmiLH8U7HZB0xsydkTk cF1LxUfx4G68FlcvZrkGi7hFwr91neGrjzH3+TxAzgVt7tfeAM4XYaLWl6icuFjG+jCU hZB8k6FPjSCzdEgp1pebsnXX+ocYeQIRvwQgLKgJ+J6kVETAzKUhtqezmB0S1pDiotxh Xu6Q== X-Forwarded-Encrypted: i=2; AJvYcCV6d05I8TSWMrxliTDBxTOrOxfCQfpXhN8d9KB1OUEHwuJFKPb8z0N2PSo7B1jWolt/BhInx22GVJHj4QUzDjNAnc/N/q/rvmDPSuT0idMQ5YUsWOajY6zwf2asrA== X-Gm-Message-State: AOJu0YymLZK9UZVPnJwHw42y9LzOCp0kcV4tKD9so16FccpHV7KluVpN q5em6cEqg9LZs78D/Qx5QFUPAG37UowQULEMXRo9Q49BpFD/QhldQqid0cBoKOIpgA== X-Google-Smtp-Source: AGHT+IEAWj83pPZ9fIpyDCdXj/iCBbxTb1B9Q+Pqmaa7K681JD9z5AZYWd6mDytkLuDPnzSFMUUZYA== X-Received: by 2002:a05:6402:2267:b0:566:201e:c18d with SMTP id du7-20020a056402226700b00566201ec18dmr1613605edb.13.1709300196463; Fri, 01 Mar 2024 05:36:36 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:3896:b0:566:ea0d:796b with SMTP id fd22-20020a056402389600b00566ea0d796bls173274edb.0.-pod-prod-00-eu; Fri, 01 Mar 2024 05:36:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVEiGVxCoDUT7/KwGUMp9ZrysD+uxbWZcXCkArMTNyNOzlNCeae6QMqp9yHTGdo/tO288rbnFOfp+BscR+4bGqY0UUkMBpY7jSUMRTXvkYgpGVD X-Received: by 2002:a17:906:e248:b0:a43:cf73:6451 with SMTP id gq8-20020a170906e24800b00a43cf736451mr1591896ejb.8.1709300194936; Fri, 01 Mar 2024 05:36:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300194; cv=none; d=google.com; s=arc-20160816; b=OgzneAPpp5zdmiI1dExIL2oWAr/45K4/C+rHGl8ea0Tc9Spvmeq52xHMGHSsFJaUKK hElqvLqhUR0tJ9lNlqQOusVqULVhDQNbX9dMlyhIyc1gMXIF8JFyiMyGGLt6S7I93Uwc 7dmHasFD6/e+NZl1oE/w2M5jQeMrUGE/6/SA0a0ndd/+JaiOPXkRMW9nNDeTJTdjsM28 z4prr+I2eRQxhd7nEQZ+LqRdrJsdzaX9hIW2c1B9XHG+qaFL0C6uLcq89Wa1Cm3p2Y+H SKx5btLxswPoecdXC7IqNgqx9HKgW/UcHjsaIDJexyu3jNceMp5VBpL21ybG4U1mBeS/ My2A== 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=pp6fhvEohhQ4y+WUANKkDtLMmeHNdm24Nbu2wGTBIj8=; fh=CDcj3dKjoAq4NO/ydh/xGt2EIlxmmwuqpGP5IqJRQGA=; b=s8QTK2O6fuB4ckS4TmeBEFb8TanVatLKFyL1+0hVq7J8INV10Y+HVI1rfttj7ur7p8 XMulRffYvWLWkvnt5btF/kfAbs4yrTdyQrWaBJYGLtXcQPNQGei2XP0iLlTs/Sm/hvdB o/I4bb6qCOFp3T2KCcJstGMbCRaNeMY/j+EYu2U5wd8tSa+1KDgm/VOWAUcKkwz9SofA g/CxTPwkhGUcGGRU2IOt0piBv1So9EvmP4ABI8Rvz4XMVq/nOd6zIWnzQVtO42w99HIt C5XN07WudrFD9CxsKIefguHhxyZ2LK5p232VYhXF/qBvO4yLTE/jkhieINW86MO1prmG 5QEw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bty+MoCV; 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 hd36-20020a17090796a400b00a4457270603sor2108409ejc.1.2024.03.01.05.36.34 for (Google Transport Security); Fri, 01 Mar 2024 05:36: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; AJvYcCVtl/m/6hWcx7JfnUHSWiQmAay0234FYu9jJxwLRuFSb+OYWDYDiYjJDcwrcQvpHwUkR/P4SRw3Nv7KQAeUCthYmcB0XaXA5VEe711zcjL0TRvV X-Received: by 2002:a05:6402:2267:b0:566:201e:c18d with SMTP id du7-20020a056402226700b00566201ec18dmr1613528edb.13.1709300194666; Fri, 01 Mar 2024 05:36:34 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36: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 v8 08/23] package/python-referencing: add host variant Date: Fri, 1 Mar 2024 14:36:05 +0100 Message-ID: <20240301133620.3547430-9-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=bty+MoCV; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3021 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 D914C3F057 for ; Fri, 1 Mar 2024 14:36:37 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-559391de41bsf2258940a12.3 for ; Fri, 01 Mar 2024 05:36:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300197; cv=pass; d=google.com; s=arc-20160816; b=VTli8ihXE0LI3ShGdQ9pNhXYdeAz1Nqd32dckSvc3VT3NKTKUojQCzrAI73/PZq2Xe avJqhCwR/F049qxYP3lJVVUFUn3HgUv2DXn9ORpKNo8LGK93Xwgfjasah3iY/PSlOGVZ e/fwQWscOx1NzKul6QREGqEfK6AOe2QzEl5j7B84JrzQwj0eVyIolYV0nHS5CVIY/zvN lBV7amMYiYMGG1RrCa3elQu/YKGYf40DXjrFM0KpmDgq1/W6l/2E0EaTYWG9TlTekkjI 5Pi1BhKXKbugdX1a9ezSvlhSPhNGQKTPlMvxZaDNb060HkfHsfe8bd8ytI3FjlHNZfP9 M5cQ== 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=TZJOMER1EvS6ysBDzfMqWoDPDtePZrOXdxyV43DRsfY=; fh=pwmaCl6rwbtTYz63qGGLWl5Y0jpkQQyACfECFBhM/RE=; b=naAnrYAevMIOcbE62htHZ+Vp2UtX5GK6rO9w0B28dWghNr8YTf20A1MpPM48mmgD2u YGtjAhvqMw/v7tZUKNj8pl+kATGJysps1JS0PxxKaB4BtbPyk6Guok3mjyQrGoAV6pLf 8cV7UGdWEr6IbAaIeK2bZ2ZswrxnGdMMNp1jJAO7yTEY/PSl8NlFpPGhvuQDeaOfvoIK sa4xTlP+nl9TBLSQSl16Z9QgiKBDl5YixwiZHRGWr8Ecxb1+rs/GHrNT50HahvD24IiH 1YMT0t6glZ5023plt0lFMcealRZw8/Osq5mM9Ji4Z/XloAEJsHgn5+7IChRTvD6Qd4Js lDYA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XeLYFeqV; 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=1709300197; x=1709904997; 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=TZJOMER1EvS6ysBDzfMqWoDPDtePZrOXdxyV43DRsfY=; b=BkFnKveOsOsMwUXwXuV1bXh0fn3sTifUReZupCWwC98MRmM1Aug15jHnYFqa452rw/ DQ+m9LZlo2OIaDvR6yMYq3gLYkyW3y6pUTA5TWoNFYbXL1w3fKkGPAIXkFiT+9wx7Htb g72rLwiDqtKjij2F526obXJqvsfgoBZig1Xcg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300197; x=1709904997; 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=TZJOMER1EvS6ysBDzfMqWoDPDtePZrOXdxyV43DRsfY=; b=Q0W9YyNE4Lp+nZmop8+QlIji25KYgjtwnXQvwX88vUkXDFrkiaGavhzadayH4PK58b +anjzR1LMWeN/rJoTDPgtqAt/Ym5Rx37kzOCZPRzhwLcWh7JeVKCnvcwTtjmCcJw7S/N mLHXshAoEE+py96A7KgH4bc4s7GzuqX+SjBvbeNe1VC6QxCJV+V2qva2RLtlpX+xC5R3 mmgcF12yAlYlzpsiD+DLrDm1bvs+odn2pEp/pu6KcZSxeDC1Znmh1I9egugkUQFVjaS0 1XISR4MDYkO31976nskGndpLxUHgOq2pPYtFrAQKE2dF3Fn+M4Kp+lV7Mjtc3r8XpvrD E4zA== X-Forwarded-Encrypted: i=2; AJvYcCXG3QaXwo9XIf3p8utJO1NoKFrIIq+SYlM4esR1k7zwO8LxbShjwHlM+ibKHw2Y83flChQHNC1a7JaG7dVZQ9OJK687VaiLamQYKKv/1p5ZHdeMlHGjnds/dd1xng== X-Gm-Message-State: AOJu0YwwJBB88l+4g1i+H8f/6JgaRLLbfclRWx+4nosyHjOnoQlxKVJq 2D/uaCKxoLp4Gs8KC8YAMalc2QR7/taDCVgrCCaijCXma+nTTYfnYTx7L3LIhrSubA== X-Google-Smtp-Source: AGHT+IEAiNFHjbxBxN79SJd2p/uboruNrKcnFX3LAVE8QB/qaAO3Jf5VjHAcGOfUTqW3+0QZ80AixA== X-Received: by 2002:a50:c88b:0:b0:566:f60:1b0 with SMTP id d11-20020a50c88b000000b005660f6001b0mr1584022edh.11.1709300197715; Fri, 01 Mar 2024 05:36:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:458b:b0:566:a8bd:678f with SMTP id ig11-20020a056402458b00b00566a8bd678fls114343edb.2.-pod-prod-03-eu; Fri, 01 Mar 2024 05:36:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVelOe40KZOAT9u3vOwSaMysay2st7J7oUZzIS5e9kHpuOMvTBRn8dl2Kyk3qHASA4AGlf+rNCp3Aht5n+qv+9Y6sUhP7S59qrxmPUKHUM5HiZn X-Received: by 2002:a05:6402:222b:b0:565:76b6:920c with SMTP id cr11-20020a056402222b00b0056576b6920cmr1241078edb.9.1709300196041; Fri, 01 Mar 2024 05:36:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300196; cv=none; d=google.com; s=arc-20160816; b=ljtmv4kZ26XHXrGG4CMEFfkd+JPK3bXAVH/qNHKoQejFDTOG+zUKKlIi89Ra/Fo2Ez TtEstG0YJHGNam3H+67+1jaKuGHzIS3B1fN9cX2iWjdbR5IGYP3QfqmotIJkS04qe3VI spD3T2OyQetzujFd17iMaCJy18YDa8Yt6dI94knrNeLBWZa6sz7JE4+Sut/GfPdy3xuI Mu5kU+pyFdZS83f8ZMNkU2ctG7CJpiDBt9Qy+DUZS9PXIrrP4LAfYCD9WcnEzb+KvceK BSnObyDgputIrNWtxGFzs9QenUUuILBpJSB/SXA0G75umpIZoCfJL0bXm/y9RWNGXEKS DRZg== 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=Z3Q/wuxFxK4SmABXHjNOnLoxUJ4jdyrHmdgqUlzC5c4=; fh=CZqw9s8sidMDVf2Qn00Ses0qJMAerAzqqjPF8IGUvQk=; b=Tv35wMShM5MVGgpCO0I9OBtMBY+UIhCtD7u8AoETEcft74wYK4y8sLMaJbEr0yLtxC kSyV5LEeC4KnExJTCiWYBnnMN/AbE8P8xzK4oYuAHZLJc78iIzPufp8Nw/j0yy6CI/Cc ZG+R8qQ2hQBNQLBtYagij0k0vy3LPniqacpPtF8wcNk8gpRD2XZ8oG1FcM68P9RUk2EQ l2NtXYbqAhfPsTcjN4yG7GU5ZAIfvHMl0iMTTF8jAUk8Ebr853eFH3/FAyVZmjzafqBV Tsl0ucSALNQx2+3qjKwVzPV2RHCiGAIPdrSdjCTnB8YDzdMndPJB9TnvtvXhEImhYOs9 pDaA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XeLYFeqV; 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 f4-20020a05640214c400b0056680e85558sor1388204edx.4.2024.03.01.05.36.36 for (Google Transport Security); Fri, 01 Mar 2024 05:36:36 -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; AJvYcCV3Uqk6e+JbTG1UnoB6yOVdWtH3CNds/UkCNTIyxTwy5DBel9Zg+WX4xZIP1AcuZo1rWHoXdnIsUGnVzLsDyV4nfph3byaR6S+5TriaHkmboRAH X-Received: by 2002:a05:6402:603:b0:565:7ce5:abd5 with SMTP id n3-20020a056402060300b005657ce5abd5mr1480860edv.18.1709300195801; Fri, 01 Mar 2024 05:36:35 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:35 -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 v8 09/23] package/python-jsonschema-specifications: add host variant Date: Fri, 1 Mar 2024 14:36:06 +0100 Message-ID: <20240301133620.3547430-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=XeLYFeqV; 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 Signed-off-by: Dario Binacchi --- .../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 Fri Mar 1 13:36:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3022 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 0D2903F057 for ; Fri, 1 Mar 2024 14:36:39 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-565317b6490sf1714087a12.2 for ; Fri, 01 Mar 2024 05:36:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300198; cv=pass; d=google.com; s=arc-20160816; b=ZpsJ/IkWP15wUB9cZpP1DuxfzLQUwPx3zIG6IzceSE+BKvsMVENMquAuEZYk8Tte29 lpQ99GLv82tXEY7Y0jdu+5iZNS02narw06yOmNkouEJ111GJxm2Ql4PBojmonre1M7v0 eyoLQjlmVZGZ2S/gnd8FjU8yIyk/ZhrrJC9aK0ddGt35WsM9FXG1H8FkXBrcdtDkKKdV 0/joGKjewID6iAuJRYCOZSQVvlfpaHzzZZjGLXg1YQALmsvP81xKN9j3fcvIe635J4om NQNjifevn9q83qXwDXldD4FMDEZN25qcbzVVdRIyyCEBWUqaxR1YLJrX5ge4kdAFnPiF G+Hw== 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=hE1Hr/sYyTCA4R0+t72dvZACq1jcXhZTN+95rpjPm0A=; fh=+uI4TjiPArJWMaypSOL0UCFcyK8gnWtY7bFYtCw4tpc=; b=MqkR7juYZUGDKsaSrzjdzs3eaTlFzBxoM63H6hlfuGNRMTLJyzDFnMd0LhCxKH8ip0 ql6I71wAi5+vNuF4TjnW4UqA6e4Q958q+rmy5pPE/qM6oR7H3IM5TiQop+oTkTG0Nl7B 5ZCEOO1BrPeBG3gqvQ+tp0EFD0ZCzjKnLodXwqIKgeqNfIv3K7WxlyoZOxdBPppSSYrk 2AgNOxMbFeRqUjwf/tf9ws+JDYiLN56jKSm6nsKTOTePbwUBiy9/Y1hmlYRQSFZrzy1a xa5FNtz3qNLkzP9p0TdhYYo8x7rDaZ2PerRXpR5GuFq+U5lawfWzM+EbcBQqbyCB6Lmk ikjQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="LhnJp/Sx"; 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=1709300198; x=1709904998; 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=hE1Hr/sYyTCA4R0+t72dvZACq1jcXhZTN+95rpjPm0A=; b=FaXoU2j4bz7ZurD+kiA9qxnXsaOrwOswJo7DJPvcXMb1xDtMOAFiXW2LFltProriG8 C/J/rDmgWQBxFi4iy09WUaLaCqdXoRPbixP+JGvm68SR5idW8F+3tCkDyMeEbacLSRfV s5ysesATlXeiTSG32aaef6kaXku42PJ5bkaVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300198; x=1709904998; 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=hE1Hr/sYyTCA4R0+t72dvZACq1jcXhZTN+95rpjPm0A=; b=LEIxDrkU+3/cNJ6UT2Yy/CBm4vy5U5WQPC5iQLZHlTH1I4TXpziROuQ2FPMv6sOMUw Bx2qDEkUvg+BWbYtBUIf/omklc40r7jAccLM5PO698TWQ+/qAM1uwAAMHipsr4uWEftM ITXYzuH0onoim8c+WvvjumZjfpnbb6/vbcOrCshBIRda57RHahns2E3CFtrEwfp5m+jD Rt2W8Mnh/+idCL0mS36XbzZ5lW8QLISjJAxnwekJoJmQGyRg6+9kKeNJ5F9vvyn4TIHA yvIEImuIADa4TZ+9qdlhRRA4qye0G2OQ4weiCvtDOQ+mGHl4bEfkDZaEOAX1+fkxH/2M +XHg== X-Forwarded-Encrypted: i=2; AJvYcCVCtophzzT5w0wRAi+DfMUkao6C6isC0csQnzs/0qN1MO/eVMQUCCZOCEH4/+Y+u30YY4C0bCO3oUhzWWwT1agwKnlSgUmuCHh/5b9msxgGGpSnWFhmXUGDC24Bwg== X-Gm-Message-State: AOJu0YwQoFAWuByszhfFClajtmnaxpzJJ3G6jtLJFlxI82TJf7DMu8KA lBZzmGtoTEN8zurJ6dnF/iCQ/d3l6VbT7xW96VkOqUv6G3gOPge+nEblXCsEq+0sPQ== X-Google-Smtp-Source: AGHT+IHXZ9IpOecJtdcETOU9S0iSMeb5PtegvHTfPhyrbJB9EeVwo3muu0P3EV8eHC3Xyzzw6KHIhA== X-Received: by 2002:a05:6402:26c5:b0:566:414d:d724 with SMTP id x5-20020a05640226c500b00566414dd724mr1689768edd.35.1709300198805; Fri, 01 Mar 2024 05:36:38 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:388e:b0:566:a8bd:678e with SMTP id fd14-20020a056402388e00b00566a8bd678els903404edb.2.-pod-prod-08-eu; Fri, 01 Mar 2024 05:36:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXX2xuupew3SGeVm/EupZ0rINWxwb+1M2dJS61kkM23f3Fat2aHnor8Y4inCPNxIJd6T5PJm/6sLD4dLhg4XDXIhyPP+iHvx+n7BY4Nn+WFTCF2 X-Received: by 2002:a05:6402:b86:b0:566:806a:6f9e with SMTP id cf6-20020a0564020b8600b00566806a6f9emr1211476edb.28.1709300197147; Fri, 01 Mar 2024 05:36:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300197; cv=none; d=google.com; s=arc-20160816; b=ow6/gSurKugzlJgoHzWdVX6RGvy1qIfCCUwwRR/Lc6kPKuVFzxpIKf8x2e7feO8HeZ dXIASvu6V7CmHWzJFrEYBkFd7/a/iTHVq+CWMpOcj1ACYNQBNc5/EamrE5MLUZlCfIpG QSA6N+leSXPGDTXOvWIgG7cHFSC8x/0IaBcs9/v4sltckcsmXH0GuDN008bF3PyUIfzc NsBBhcflF8wuKCQ1mUvcd5WSVm7HWpjM3XJCrvF9isCfy9n5zhy/2ZBJIwP2tuAgF0xR laZwX+MkEnnrBEqHRpAfQ7GV2N/DFk5cGvSMIstGCFetaA0oSEwc+q/0CBWeIkder8RD FVYw== 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=puGFVjhFI6sZrTHV6hSYvkg3j41TTx8u99zIOJPa7YU=; fh=DFQTvJivQY997YSLzJByBFQeih0OlgTLPQbwUqURT9Q=; b=TCekI0gbDHr8wkObiNaBzqm2K39FhU+7ef5SIHFNrw6A4tIjEAHoIwxI4aOP9Z2raK jP3RCH2/xJlBWkbYABlMjD2IvlRvv+0a1mClC6dz0BqTLcC904DskBtFsWPWuK3Wg7NQ JpnmUSdTn3kVdneOGcc6AS/8SB4MXT45taarp+yGDdhXzBYxtqDlm/mJ2ui78yqw+JSN kq0bSmiNMQ4O8m0ePQq62azoyRrR/MBxrMXDPJGX8dawELBA8eCoVlGYS9P2NtL83KtE TDJDgeNuMD7e3LPD5xfNh2wSaysH4WuhAQHtv2laknwyOwSRby8Plu3s5ql2DlLjh0S1 Ogng==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="LhnJp/Sx"; 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 b13-20020aa7c90d000000b005669d907a06sor415757edt.0.2024.03.01.05.36.37 for (Google Transport Security); Fri, 01 Mar 2024 05:36:37 -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; AJvYcCX4PfasCe1Fb3PeZnui5q6aMRH7deB9u1X50eojC03MJW+MhsgYTv8/Z5vMDrtPxtrheuGVmuTVMfP5ltuizv2HWN7mHh7PG3KKTf50eqqA4Y8U X-Received: by 2002:a05:6402:609:b0:566:bf00:4e25 with SMTP id n9-20020a056402060900b00566bf004e25mr1315956edv.33.1709300196806; Fri, 01 Mar 2024 05:36:36 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:36 -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 v8 10/23] package/python-jsonschema: add host variant Date: Fri, 1 Mar 2024 14:36:07 +0100 Message-ID: <20240301133620.3547430-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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="LhnJp/Sx"; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3023 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E490D3F057 for ; Fri, 1 Mar 2024 14:36:39 +0100 (CET) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a445a83754esf107556866b.3 for ; Fri, 01 Mar 2024 05:36:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300199; cv=pass; d=google.com; s=arc-20160816; b=Y1ltiN/M/G5UB+t+Tby3ABjrkr5V/nHeMhbex7ezG/+kYhPr3VpHh9AebE932lBY6g le63t77jvqEYEeUwSkOUuba/LBjR8a76k7tdwwp5kEve9DJ3E6cHdKNqQBHWDHYx+ljY AK5Z+Jg8B4L/q9efSq6KybpBhv2Gb7tBKfrz4laAgZTDx/azQi9kcfBoNOP2wTGmzqDh 0k2znov6zhFvXoQCIC2gqweA7wi8eX098CeEe2/0X/0vn9DjkbSA+1Kb3mwPCNxt0xM5 AJobUQFbUKOUWfq+fyyzyDfKISgAiZSA2pp0/v1JSwNrNjIgqEIvvF1PMAjWPz1+rsNW gDBQ== 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=xwVkTMWa4HkKlVvpYbgemO5JvOtOeAC3oVXSkIDiQf0=; fh=xhmqMShaavSzh6zCbfNfWqvSdcrq4cazZziytNlgP8I=; b=IR3li7saVg9JNPZsjYxidW+USfQTSOsQOeMGM1YkSinOQp250uS/CNAn4a/Uqyhvt9 wcIe+a/oizIScI25TguxqE/7CBgDDgN96hwQYyWHnrDrsK704I8s3Q2o/UgeS824JCmN mJMZ4CteHOetxdH13QR/ejF4UAyQPgxNd8IZV8SCM/V0UXz7KqcUbIGpSNyMFSYx1hGG DjTepNDkkgsv2ZPpB4B8SacQ29uq4Ldn8i8AXC/ZP0eOENSps/Ds+9Pkb0QGTWDqudYy J7z/tkDWkiUJEwtVrYTXVE7iyqGBhOD2GPjDtZl8sXDILqO6JH8H1q0wJhDpkOPGFRr+ L/OA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LDPeboSz; 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=1709300199; x=1709904999; 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=xwVkTMWa4HkKlVvpYbgemO5JvOtOeAC3oVXSkIDiQf0=; b=qW5cReSuIRIhIAfbnNzY3GEg1FdduyA9gY+s3x2yDvF+t2Q4Y8FGrcGiSPGeXTz/tS e951avaGEcgMhGZGJ+GPzhvO2G/3xBKQI+NXs89MmRWLf7z6LgWRTProaKdPWgsJwFql n95vrnz52MR7sVThQumvlXSRz7ERRr79miaME= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300199; x=1709904999; 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=xwVkTMWa4HkKlVvpYbgemO5JvOtOeAC3oVXSkIDiQf0=; b=bnsxW9N+JNf0T46bF7RutL40oLdDWEdmcxN9LRfPITb0j00bWS0UJAerAf9S9Cb+Oy l2ngsujv/wftCL4dQn34EiFlw+dH5+AakjOo2NJ8/NcmaoTWv90X2hA+Uo94Fa+sP+lm GcB4LmtqOmsaN+Z1edSBfg5tjyaTrPVLVr2b67JaTDSZuiZnwD7Kn6r1aCooOPnoT8pG BV20zNeH09okqbGhteBPiK65jmHAZny4VxrKfYbzVFltPCTej3hGX08KHYOnXzXibfUl k6wQXriBTKO45cf8KTxJNA/O06VIQYWxWofuBwyS421hCKd2u4wBBihEI0Mb11yEgbrc TjRw== X-Forwarded-Encrypted: i=2; AJvYcCXai4XBKuGfHk7uFfac7aEtMBkK9zwDEfv3UHBsBie9uKsiZOtIrrqRdU7PwZebtvwQ2WSPLIXrngQr8vkp3ZJ0RitzHU1GkYSspnZskztIoH6jMrSynBfNp3AzSQ== X-Gm-Message-State: AOJu0YxwcjWkH3uYTtofiL3fsWtB5IEL7mVxSj7Q4mtzYcQDAJBm7t6R viNJozyguETla8d19q5v1gsZh3WOfYvYuu/oZ7IY1dsV7uJb/2D3gZcGm+eG7EvZRQ== X-Google-Smtp-Source: AGHT+IFR0ieZ5wzHaygidsVH7SFiR5XAIKy5Qv0LzIzInTjqasD+Y+G6TwMmNll6vbP30UR9Biwujw== X-Received: by 2002:a50:cac7:0:b0:564:b823:a78 with SMTP id f7-20020a50cac7000000b00564b8230a78mr1167988edi.37.1709300199726; Fri, 01 Mar 2024 05:36:39 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:388e:b0:566:a8bd:678e with SMTP id fd14-20020a056402388e00b00566a8bd678els903422edb.2.-pod-prod-08-eu; Fri, 01 Mar 2024 05:36:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX1FfrM/1DD5WCBfWc3w/q+XP5vTJkLsIbhOVfizu3ujHkxZhklIiXgZ+wOXlBCOkCF3AOiG12vs7nCEC8brXk7lb66iM8Le6XiDqFgXh+RK71y X-Received: by 2002:a17:906:1d5a:b0:a44:48c5:85f6 with SMTP id o26-20020a1709061d5a00b00a4448c585f6mr1300516ejh.43.1709300198216; Fri, 01 Mar 2024 05:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300198; cv=none; d=google.com; s=arc-20160816; b=E/uXYfl0EknRKTPlkGQph+yg8BLx6SKnrOge2iYx2pwqQnJihfnc8gVGoCqKPZoVmD dWkVB0/aCrBhaXTo8feN5CrWTtr14EAb9by3/FSVwJMPY0LRxRDmAIzv21ywM/+DvWhN G8CaMkHryc0pmxtoV/7HxgValN8HhMnAXAjbNEG/qDXHxW+NSSmrRMIgZi1tM5DIVfky qRPK5uO6jdeOBO1smFJTzIDQxMzglOFVHJQzWtKojNdeJtS1shUd2k6RT5v2gjWpBddo 3dk/ExfhkPz2U/o6qrE8YF5G8SYu9s0sprKR+F6LfQ/TxYZW05c1RHv9jdsvIpRHDaaL WCEQ== 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=MHvfJ0eKgtiCEVRndHATYfEiZnu5tEmA4V3DweUFaV0=; fh=nPhBcm+Tzu2TptCofmjcV0oAY5V+cEpKIhetmHj9Iok=; b=jNEcURuJ9ICZRft/RnJUp5pMrwei96TredHGOVI+28ay79GD5hV3U1W9g8tTW6u6vc RGJnlygaZiZwXaVrLi1AzmE6rLTh5+9CSH3JmhsfDpiAMvJrcnBCRNr8o3Axoh3+FOS8 cLr9DzvbGjobwOvS9ijWuvW0vwpIm65l9Jc88g1ytDGhJ8o3ni1ZYa+PgOKFhdw4/np7 XzLG2V2ovZ+BZzSk5W68BzYbYPnufktn1c8/nqKLQ5akZBxmm5azFqtbOE7P2U/ozR1P tlFOLdIwrn/dvUW3qf0q1gNoxoTiHe+UMVjngYdu+4BFvYqqwenw34Z5Eu9S44G/LJ/v hVEQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LDPeboSz; 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 w11-20020a170906130b00b00a444ad03612sor1372004ejb.21.2024.03.01.05.36.38 for (Google Transport Security); Fri, 01 Mar 2024 05:36:38 -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; AJvYcCVbmP2tA+SSbDuYWiINwetL3+UMouB8pUM/iXAWp4BYtLmvlvked1XfiuZH4/dCDMrCv/SPVp/vFitDGkiX3f4HoeRqOhz09jYaBf8Nqhf+4T+d X-Received: by 2002:a50:cb8c:0:b0:566:aa2:843f with SMTP id k12-20020a50cb8c000000b005660aa2843fmr1228509edi.10.1709300197959; Fri, 01 Mar 2024 05:36:37 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:37 -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 v8 11/23] boot/ti-k3-r5-loader: set binman environment Date: Fri, 1 Mar 2024 14:36:08 +0100 Message-ID: <20240301133620.3547430-12-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=LDPeboSz; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3024 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 23B363F057 for ; Fri, 1 Mar 2024 14:36:41 +0100 (CET) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a44225a308esf178129866b.3 for ; Fri, 01 Mar 2024 05:36:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300201; cv=pass; d=google.com; s=arc-20160816; b=us1eqnL3vAcqDJjlU3kkQvQt7WED0Pif/Gv1Q4SRmdtjqnk4Frz/8LE6akYZgYGZDe y6PaoIkp5Cx7j6qi5TM7bBsrrih90mzNdHZ3lE8Qvi4gBnIh4558MxxGT1oJzlFSRJNG Tcb5KaHylvgPvjNCNUy1CrWWCuumm/apOZ3oX7yJSsIO160jJ1d4mwZWFmASfsV/DCoh c+lwGvxkQNeTjPju78m97M5rnUn1Ch1vTFnnUIIbHk26ApxT4ypOF36wpXwQtVJ/inDj xFc7WGjbcPfE/wEwGsttar4gUBzz1k1txqmtBlb4qjHaORuIqlmQQpDz0W8BXXyysXP3 OZZg== 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=zz1WTsdYI20gLPGws2WPjOFvwEX1WmxNPsPW6d7P5RQ=; fh=CfK6XeLrif/BwvlsfffsYKfZvA3lVPWurGHQiInf5zg=; b=JyfxaJidxQks+51ymk9avxv+VpHP0dL932nCof3xKft/hFklXmPDSM+YC46ZhRmL58 6LrUOiKc2P+HzqmQGT05+/5xW1uKcrHjFrD+hwHLc/d3i/q1w2gFDFmldt/OEo4sjddi cwehGL2l7L/eVLTOtvpDoqxnx74+VBgSFjiohmSlO69nu/+9OC66/2H+1/SjFujpGNn1 9q5GlbtSSF5womWu/SUhbzfrns1NGxhXOK4NwVVTd+GyDTEFn+VyoHjx0k+88dshIOcw XuWBuFKdit3anu79NXUW9pfdwnkH741j2xUUZsJouJgwBKt3PCtR27htBl9KNdypdyA2 aNSA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hDXvwSeH; 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=1709300201; x=1709905001; 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=zz1WTsdYI20gLPGws2WPjOFvwEX1WmxNPsPW6d7P5RQ=; b=lHzJuNro9nE5DDykr9SC5sgAB2tsV+C6rAWaY9XIBVrplAIdp2aIr0PDPLLNNYtvvw yFIQDeJsPQutDlNw67IAQO6yiuC6Hn/X6YcGA2tygMjmoN+seI78mSAGZYM7ga0yGm5s B1RxLx79tEhEwKBHOcaegRID12gv4TS+Zu3Jo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300201; x=1709905001; 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=zz1WTsdYI20gLPGws2WPjOFvwEX1WmxNPsPW6d7P5RQ=; b=W3Nbk9P9SpqjSrewpndeYeNxHOEQ0D8OafI24HExWgeEw+HYC2TqyegXwMY/Xdz8Kh JmQO+MM9fkXyDuRD143Veg5wVqLb/vuXafXjXb4fieXlUQLxp8amnsmDbZuJv5bHyhE+ 9E6m3U87gVXKGCrcXk+htOmeE9YzSJvjou8qTogyr4IGjA8gyMGtxu32LorcU5mjaOZ2 z68wiLvDPvkt3khVM3bDjRfzWuoC1S7O5uZ4JhROQCnvnbivutnGIR0IOb9r9uUn13EH 0Q9www2/e9hb131s89wOWOSP0gbC4MX7bz2gJIx3UuCaYeRZTMOrPJsEjoTMqDEXCJja /m9A== X-Forwarded-Encrypted: i=2; AJvYcCW/maj55ZoaaNhIo89fDSF4BXOzMTxG4qvG6S6PGx4BiB8EZy9xlGuAIj4LqEHJl3NR9MWHU9PfZEIZX21nENsAElY1Hayd5OoSOdPdAdILwU1Px9ggDHCDCG5M2g== X-Gm-Message-State: AOJu0Yzy4v8GoVgAM89FvnW1FIpuGaaY93HClaYYIxtfFk9Uq5vOw4PU 131TSC3QXgoHn2yiVN+CZKqpxZGb91jSG7F6YNk7RZq/BBCWtl03n2wZo2w6aEEgqw== X-Google-Smtp-Source: AGHT+IGTPUdW8gEjLRXS5USI+CgiFYm2TPXGSfr1F6CoACnh5oquugxh72NMUlUd7pFE+ei8JKU8Yw== X-Received: by 2002:a05:6402:17d2:b0:565:bbc4:9c88 with SMTP id s18-20020a05640217d200b00565bbc49c88mr1168560edy.20.1709300200885; Fri, 01 Mar 2024 05:36:40 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:458b:b0:566:a8bd:67ac with SMTP id ig11-20020a056402458b00b00566a8bd67acls800413edb.2.-pod-prod-09-eu; Fri, 01 Mar 2024 05:36:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWgpuE4eN59QbL+wtIdrMnRNtFpvcn/XRaxUdvSeJtstykNmdovCWHvPtLGm2ZeHT6mvEJpRtDIf6PsdlGHsZvtxPw/WvQlrKCPWiPC0K4OiE7j X-Received: by 2002:aa7:da08:0:b0:566:aba4:7209 with SMTP id r8-20020aa7da08000000b00566aba47209mr1446696eds.13.1709300199260; Fri, 01 Mar 2024 05:36:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300199; cv=none; d=google.com; s=arc-20160816; b=ku8ZXOsgBtVeptip+pVHBi6E5nsIqw9tQDFhFQDqAI1V/nyKQjZH1nMq+fdWIiq7kk olkcxG6HgUPHlthgdun1e5uRy5lb5B6K/CtjMNnJrKafp1JCgefcdzaZ5zTtb90QghUL Mw6GzOdZVSDKWVpnLUOfib9Hbo+dLPmtYvjms0yQjBxTsfWYyfL3CdDJtm9ixE1JzAEg hun8T7F4CiYhvE8ec6bNSJOol1YAmFBczea6akDkH2BreWLuaL5xZlYJJL82Dj6Auc6j coLoARNTuHzouOgGZHGaHdn0HJ5Dl5prR+kQskwokkzU5o4RgSDyQ526omWY5myBagNF 9VEw== 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=3DKRsXYcsns+F4U65BoXMWUf/LGtswSoHOBptQQKuMA=; fh=IBm41CuWtJ3+7TmxyL/4nbN214txodgWtVshH1D0NIY=; b=P6VO/Bn5mkWQUT5dkvYTsc9vWI0MZAHQKvIdaVBT3S9K6cOyyEuOM3+zNaVWLuVzwE w8ebSzQZKvKJbUK1k7qR8synVO6RaOZu6f6qT/mYVTRjOwistqhgjlGjBPNrEqYi1pqx VdkUp9zyozlPsD+CZz1Z+e5Vy5YQiaBQ7A1FvDPaU+x8C4nQFV2oAgR6zQxLv9LWIWK+ 03uBQ0eZ+Wr/SZ1Ou42Mk5Ip9ZWqfAljW8+u/FeIFC4hLYKGhFGKuQFRmxzt7JWJn+z0 Kqhi68y7H/rX3JOZ0WE/7LK6mtzZUA+3ePSKoZcD9t6Dusxc8+JtvWA8KRdOviJTWF3x CNbg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hDXvwSeH; 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 w13-20020aa7dccd000000b005664a85efffsor1303230edu.0.2024.03.01.05.36.39 for (Google Transport Security); Fri, 01 Mar 2024 05:36:39 -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; AJvYcCWjYcqy4aDiAYsaKU9lF6imltOD0lQwvvPx1dHy6jrc+JhhJb0U1Mn+HGD5LL7iIrKGLNT+JKBpWoN6C2Kqs9x+RWz5JwSa2xWjJncURCUp9oxa X-Received: by 2002:a05:6402:17d2:b0:565:bbc4:9c88 with SMTP id s18-20020a05640217d200b00565bbc49c88mr1168504edy.20.1709300198953; Fri, 01 Mar 2024 05:36:38 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:38 -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 v8 12/23] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Date: Fri, 1 Mar 2024 14:36:09 +0100 Message-ID: <20240301133620.3547430-13-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=hDXvwSeH; 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: Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3025 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 517873F057 for ; Fri, 1 Mar 2024 14:36:42 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-566195235a4sf1376964a12.3 for ; Fri, 01 Mar 2024 05:36:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300202; cv=pass; d=google.com; s=arc-20160816; b=qRtgDHPMTQCWLJiKo9Ou9/5yr3ewlAXMIYpp8POkqQtq8KhfsJCtzlETuAsmJ97P7E DuqSTfrtuH6NGTsd3tMkXu7sGostWvk7Wlg5HWKyT2j3HmCjYIULh9FRjNAaQF+3U3HN /Sd+hMqkl5YRYtrbDa4G07ze05r8yvLoHt4H5tKVInAcSSjodMEZeaLFHNhLwveEM0wX DjetRI3oGL9fCPnKJpN1j8tX6tLBPUFtxvz73FqgE5C7T6mS3cVbdauEPFiZfs+2Dxvi qROpBeSvMPSaPj8MR38mCSZHnBmPxMEgva63mch49i3WelsQGyvKLlx5dwaOik2VedIE vISQ== 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=HmHWqP8hfjISY0lGbsscUmUF66rNd3TnON+h4TEaoks=; fh=JWmaYOIq0VchJS7LzD0am1rfaMyOUny+x+fpmRCsxhU=; b=c3ptBNmSif0Tp0nCpljnEjWTKERKrhnJYfhRJH7llF1wghhpbGOjduKhn6y56txlC8 ZEBOYsMdVP48GccPDM4BgZnJE95Ym8vI2pdXT1fDCf3jhiNJKO29eImFC/A9MXiWWc+F HxDy2Ob5LzpuJ8OLdkJAs5F8qRks8iUR+pa8m6rwdJ61CBajutfbrjsoYO1KAoz3aIYO AMJ0n1mW5AUri0egcx4O15NkGk+pVW2BUjPJLHh8QHUC1+k6iCo0ffx5/LbPquznO241 t82+NMLEw4D9juhXKhgeVQoD4vTtwkPZX3fvnO9kuNAGI6mgXT2qt+VCB0rwJe1jLhkT 8YEw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K2ACb3Fk; 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=1709300202; x=1709905002; 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=HmHWqP8hfjISY0lGbsscUmUF66rNd3TnON+h4TEaoks=; b=a+smuLwkJ5aHefotxg6SeDG+hZXWLFBgEfuGloh/zpRmVL1tn2WLYvuMHcaM/envt1 w6/DkLiis3cuttUgyr9kLum0Z4cn+BhLUdhi/3yTTYjqa1VIwe8EoPNeN8G46nlEmW9u M4HY2ZEbt5gl61NABzM3UoIOTpsL8I2CqmDD4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300202; x=1709905002; 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=HmHWqP8hfjISY0lGbsscUmUF66rNd3TnON+h4TEaoks=; b=H6o9vXEyj255Q/ABhdwrmeJe65DKWa5Jt8m3h9eB3PRKPOA4/Kz54+Ige35bPJ/hkL irSuqC2fX1LLDUCiqgonkyo6OTX36zaBWzhoSQVjsNCC1jYHdcjtL8rPOBPj4tyLilTR LTnm97XmhqyKfkLUev4j6KUuirmzCQX1UB0crzBDz9PQLCMNcb79FU75KALagtwPVDH5 MgQv/WKGVxxu29kx0SbUfZs4ekhJnOY243OypRB5SrubgC7FaN8pfw0PmKQTg0cpDQLZ p0tJnmZQEb1+G9ax5QIRCOKCJqbA9gUAMEWHrPtiJchgUlea4CvA/oaWIkLo/M2Didtj Ei5A== X-Forwarded-Encrypted: i=2; AJvYcCWHOG5GLE/S/dvY6y7itJENfxZo5XJTd1wIacx3nzg8c0Myy4BCQIIYhQoGqkbxdctWXdz136F5d03cD/8PhpK4S5IOVn19uQ+T4rlGxeVf1O33sTdmFRDiqsqrtg== X-Gm-Message-State: AOJu0YxVnHJVI+2GjGT1Ts8FZAEGJHPRhIi+wPcUolckomxqg+vo7iFW H370TMdjaGDimaBe/0THrIPJOwUKLfcdwfNXLZQT3LFCf7DT+CDd7A+5XW8wuIR5Pu8V4A6Fng= = X-Google-Smtp-Source: AGHT+IF6+OQh2vuHUreZ7n+dkvdnEgVcZmDi0cq8R3o0dsGbjyYIYVt4c2//Ve/qAYTsyBIPLTj0vQ== X-Received: by 2002:a05:6402:b86:b0:566:806a:6f9e with SMTP id cf6-20020a0564020b8600b00566806a6f9emr1211629edb.28.1709300202148; Fri, 01 Mar 2024 05:36:42 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:3da3:bf40 with SMTP id ev18-20020a056402541200b005663da3bf40ls849747edb.0.-pod-prod-08-eu; Fri, 01 Mar 2024 05:36:40 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVBJ2G/nGR1Unk+1G/dTx0eFEzA53cncVZe6e4vr4uiyhIgkqFiMVDWZO/fkA3K0j6rF80JkS5kn53PLk4Lw987l3zepPKhBd3g5NdgMhN5G1uP X-Received: by 2002:a17:906:4e91:b0:a44:93cc:9a02 with SMTP id v17-20020a1709064e9100b00a4493cc9a02mr1047543eju.25.1709300200518; Fri, 01 Mar 2024 05:36:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300200; cv=none; d=google.com; s=arc-20160816; b=fXtgZYR4/tfCy1yXQy/rFjd160r7lX7V+qm3vPdb7POsRXzQNEiAxgABOGWEKrtPRK ru8hqxxVICVOGxpV5iwLSkxxqpDgU6A9VvwLdKJAhsSJGA8blg82W5Lwyias1BKbi0Ri 90Xd3x6ZDRtsA9UAAC+fCwxVxOmUGrvJWVMgvU9oOJg2ahwSh7GfOvjkbTeuvepwO9Nu glHUwRHvIlcp67lhMx9PNZvVlnkCDgvNRd5jP88Cuut4eymEdZs+rwLaKGRdJLT3AhZH pgQJB6rGq5aTVsJAr4pNNtr5dOGnYd4/GBpVY8xTG864DKdEnAaNcKT6oNwzQXLkpnKW /OXw== 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=w3KI7gDy3tCDmAy3KOOSTnsiV1/LGOV0AnlK1nRW7tw=; fh=LXijzAoaBnhP7CD+FTbLHIj24qxSQ62wZgqjc5bUcQ8=; b=DEje4OqkFQV4MSTTd1hVV4cu4b/88J5qymvE9VUgW9Aot77580AtHLGkZDoKDtz/M/ OvvGlLQxSQQkuNBy939EiDzjPGUBCuiey67/eADcBfHmjbC1K/MmV5jFmGpRRy+/pFYA fM6LmmCbQMofBE/OWwAW7ND07nyTI1HPwKNUWaPaI1YXWH6JCXPVnt0Vw5zkUCwuqrF2 uHKxHVoHUt5pi732k99D/a4gb+x7cwbWCdyOZNEXnq9jAAZ6GkOUMr5sRxb7JEswgc5Y 3KBnt4OyjkhRwSdoDltXs9Vw5fcJIBwIRvwdhcZt0et+yj4+QQ9lZLgAg8vuotId/Peb pmlQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K2ACb3Fk; 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 d7-20020a170906344700b00a4444499914sor1493167ejb.10.2024.03.01.05.36.40 for (Google Transport Security); Fri, 01 Mar 2024 05:36:40 -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; AJvYcCUhXLNpmLuK9SypQH388f1tnpD6o8LBO9UT2QcXRr+bPICe/VxS155eDuB01LVsc0kQrNyeaQsW2hxS0KJeKhTbvnPETCSSz33SsE+BlLP6Nxgg X-Received: by 2002:a50:c943:0:b0:563:c54e:f1 with SMTP id p3-20020a50c943000000b00563c54e00f1mr1399970edh.2.1709300200166; Fri, 01 Mar 2024 05:36:40 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:39 -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 v8 13/23] package/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope Date: Fri, 1 Mar 2024 14:36:10 +0100 Message-ID: <20240301133620.3547430-14-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=K2ACb3Fk; 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 Signed-off-by: Dario Binacchi --- 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 bf0fe078b955..6d3ed34e121b 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 Fri Mar 1 13:36:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3026 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 2847E3F057 for ; Fri, 1 Mar 2024 14:36:43 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-56667386cdesf1369651a12.1 for ; Fri, 01 Mar 2024 05:36:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300203; cv=pass; d=google.com; s=arc-20160816; b=cfqHwfNRWSkIGI+8R5RmGH3w7CeYJYV9DAC81qFksnAtUyCVdgMwJ3/s9ewt5zgZt2 29P/gkrK7B8l0YhaBGDueMSyAOwdhuIJDJkvR9/HhhvMM6s/EKeNEHBANG2tTOMfWNoG GFhz/1PoImvqMYm0E+o1ARmQkzPzky1si8h6zV/TfX3c3Uw1IkF7B/XLBk1rRsIxJ5mF +04Wqu3Ks0xhlCd26kWcN9hj+xbDawlTvtQu3lIw1sBk2bGs9Z+EgEQy9ekFkI1FOYbK fiEVECOBRlf41nOi6YuoUfHPARj41we8sS8y58dxLop/HfDg79AcTUZqLRVzERNX7yJD FaUQ== 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=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; fh=eWNYHaj2eGf6jYCCGrcT6aS8Hwf8FJX71u43iWMTDko=; b=EOVxRZTWx2Co80WzXtGj4crwp05CVWOcmmF1R0EZZuN/Qy/xThB/MP4LD8SPD3StVd KYpuJWr+gsuD72aPghBdBs4gzeIwx67NTFV+xKtUq0uC79k97Pomm7HvbMugbKqerbfg 7axA4V29OedQ7m9M1soUxaHbeoeiiCFo3sou4Nv4ZsrNhfJR6IFrlH13dFeI6MLCnvV4 JVQM5dZg37uJTt8ZuyR1aD+1f6WiXQLZOVTfyDVC7DuFqae6bF9sYySiywghjVAd0m8+ kg97ESmbkBJW65ZoiL3odeAZLi8Nr6clcNlqy5zFSf3vO1XGsDskOUPYTIzPsAWEE6jB kYPg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UFLXCMlJ; 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=1709300203; x=1709905003; 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=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; b=CtGGmvYcjwpgJclj2aTQRTmv4s3VeT9avbzVoMfS1l1dups/6HF2oIZgn07oGejew1 QZ+USVo8z3srP9tO/fzXeX8cluJSigppZqL6Ute3UMXVfK55ytDbnH1VvDB9bGnsm5/S i2rvyGG3gjIYD75ag5Nh3Ddo0IXq5XM8BtByg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300203; x=1709905003; 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=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; b=Pjaa4TlxUi1bxV+qiff4YBcYV2ZaCRmxeqhkBZee8OR2XJ9SeHivF6scylAfFn5iM+ yt+7QCM5MUkr3ta+KHRBXt7SeIxIB9AwYIcdf1a9n7Kj0CfZVV9cBoQ+nvoqVRoHxo+l rbI6qhbRPAS9w3ieScO1pfbBBpsH+YxglceW1PH4TOKSnFfTAOkMghwAF1jY8sDLykWm 2HTwWrVllRTouu+kTdTiA/O0kR2p7jJNHjA3Ba4LjHd+Wi2tpT4vSZ8kesP4ZSlgC74j DwWwW+1P5jVApIsKBkHSDp1G0cnV3KViIEeyUTYva4bNxZIolmfd93xeCuJBtW0wOV4j tMYg== X-Forwarded-Encrypted: i=2; AJvYcCU96fXdgWpQ32RFXRiNm/2VgxGr+IserCt9NrjfJJ4HOAu4IrrwEbMQ/7mMLuXppvAHfK40iGhcTgazUHfbP5fmgHeqpOaNeS+pIsyhjBu6iRbnK4xHjqE2cIA/IA== X-Gm-Message-State: AOJu0YyLU0wG/C6UwEAaRmNjuXEBrKqXvIwUUDAOK6rwX4ViMMU8D+Qq sPq/ByyUs5oOEQJHBBXy62RqlPuCj2bsqICrI7+esOukLuV6vDdiH8tDRqgfgf2IsA== X-Google-Smtp-Source: AGHT+IGwkbhJaicbwLcMyRbDqjxoxJ4c26+zuGYUBRyGKCehmXPALHVnRGVGj7JBimBDCqVJEkTDyw== X-Received: by 2002:a05:6402:40c9:b0:566:470b:2edc with SMTP id z9-20020a05640240c900b00566470b2edcmr1831962edb.22.1709300202965; Fri, 01 Mar 2024 05:36:42 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1f05:b0:563:7e67:4a84 with SMTP id b5-20020a0564021f0500b005637e674a84ls838860edb.1.-pod-prod-08-eu; Fri, 01 Mar 2024 05:36:41 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWKUaA6IHgUh1enkQzW369a3xCxED+kF4BAqLq311kighDSqOBaG/6SVKyARFhwqIYt6xwcXRWnUe+KZ27fHLRjYyDpw01HuR69cBjlWcM9CvcL X-Received: by 2002:a17:906:4a03:b0:a44:6e05:ea5 with SMTP id w3-20020a1709064a0300b00a446e050ea5mr1298386eju.1.1709300201477; Fri, 01 Mar 2024 05:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300201; cv=none; d=google.com; s=arc-20160816; b=w7iDEak75pLoKb5SrLIOAZl3TjTikfhQmlpBz3PuKwcHXGlIAbpjvYAksUw/GFT/1e 7St54zaYt8DI6LqSEXaxZkibeZcGvKs0arQYI/jKp0tJKHgBFE8gzGZTfg+zLKnHeiJg mwHc6kAeHlxbrlv542NE+tgeLdxeaxtSptV4Jg8rKdOPiYDCxw0qOEBWNZ26KOsj7dbe +vp6FUp2f3MSpT6eS+O+lE7k1vFpokL+GKLgzAimeEu1xFpq0VMZErZrUlAe1LPkwxQZ o1KsQ3VSy5w6h3Ee8w1RaXPKeDZGlQR9QPvilunGxbJO+JbUrAe8C0VD1Hj7XwNA/Wa2 2ibg== 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=OlgqGuh36ehNJiVVoCxNXxhAlXwG6OEjKu1L1xo6aFU=; fh=I7j9cVt2o2dtiztzpfbrRe5RMc43CwUKQ719I7aRR7A=; b=MV+3MWRJgcnGjT3sOU4FqF2A3+pGxHSYvgJr0+MaWm3reyZGtSwhxDktoBwh/N0GV+ ShY/mBlxloWyn0L6jop54Qx2W09bkBTD5kmnM4WszG1NTlDWNdZcdPNFT66/84az5fri pfahjbxHKh/qEXsjg3KZ9lVqKxtx1nEK0UGDCu/Mg9O+0gex85mC7jy04WheMc2CQ/tc AZxwIue1UMiFSf/xwwUr8WW7BJwf3O++iOvOXAv8+Q3V4lS4kUJLvLA/1b+twxpOV0g7 +vqQ75DEz3J8d3xlNaVhffi89oocYdJiNl7AhJCBIBVJuC6nBSh77ycSt+KpGEvqkajN bAmA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UFLXCMlJ; 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 f13-20020a1709062c4d00b00a4338c08968sor1630065ejh.17.2024.03.01.05.36.41 for (Google Transport Security); Fri, 01 Mar 2024 05:36:41 -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; AJvYcCV5UtuJKbzyhkO4MXQOGJ9N25/si4WZQ1Iwu6YDZa7P8BOelaNqAwfgTGeOzr+Qtnqa5Nw0MY332Ku6JeSHLPpju3QL5npOicGfR/AMdtBnPcdV X-Received: by 2002:a05:6402:70d:b0:566:ab45:e6ca with SMTP id w13-20020a056402070d00b00566ab45e6camr1504846edx.39.1709300201247; Fri, 01 Mar 2024 05:36:41 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:40 -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 v8 14/23] package/ti-k3: disable HS-FS for AM65 SOC Date: Fri, 1 Mar 2024 14:36:11 +0100 Message-ID: <20240301133620.3547430-15-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=UFLXCMlJ; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3027 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 8BFE73F057 for ; Fri, 1 Mar 2024 14:36:44 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-56698ef9362sf1357636a12.0 for ; Fri, 01 Mar 2024 05:36:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300204; cv=pass; d=google.com; s=arc-20160816; b=e67BhAE6ZVieiKrMZhQUUTLeLybyiyC/jwHLZfvlmFdQd3vmLQrSGxwJ8+N1tKABrZ p6T2x8oc3n8V1IH8aFurw0SI+n7SjtW9QS+vuxYGEH6aSyDgsDH3c9GWD5ANzIyK58Ed /3WDcDmXLv2CSH1orgSAOCRgH5xJRp6T1yEH0pCTTdEMcFzUa5FBKpmeayrtdwqI20KF 8hOlObr/DnicyEVNfws1RayxMyU3dH4pkIZCBmzErztwmyK40f/1F3FTF4+ha3E8lqL2 UVYOCPlKkZkOXlzS1c0cZAm+RK29/B+ZoPWgttQ2VVMEmrdjX+BziGo/1Q4NO3NJRjcR 0K2Q== 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=rhBNZa8jmyfjEzY3cZNRC8GMy/liNeG80hAHtMsMIN4=; fh=sxkbcBE1Vq67cghsz65v88T7pZVxorXtuCzrxk3mPF0=; b=A9vwahKF0kUtoi1fUTd3IjlvnuOD1C8jzfYKTNoCC073II60YIQaskVTqYtQ6Jpa+/ sToqMjE/2jbzUhO0ikNMjIeuPEkJGPG1T4tWLwk51mTQjQqBX5bq1AAA4M0tP6pOy3BV IpbPQycDtrOjpZNZGDRRNQhdhbXJa1qng6UKobWy1FQ+xw926de08sfqcuZyV1wGVPHH Z6q+k/Kyl2TjSsW5/WGjkJk5H9CNcp7+7aO1WGh+8+OWulgIbnqv5GYez2jzcGSXgEZq 6pJJ+nveEsauISx1K5ES3V/zDAaDeXDZrmxUMmyZGUTfNlx+3Iwa5YtSFY44MlOvF7sK X4fw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mh1H7SLC; 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=1709300204; x=1709905004; 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=rhBNZa8jmyfjEzY3cZNRC8GMy/liNeG80hAHtMsMIN4=; b=ms8izcS2QAVbOUwtQe1g6CguY3ZSpx8qwQq5kKxYY5IXTVbs6R0SSxJC8/WKxYjbmb W+liU6u+uvywRrpBc6C3RfWWCDGy154gJc5eS2RZx92HfCHaznyzLAhIGjqeW35OfWWo 2Ug86SkPp+7n9JygHdZemB5beXVcKusjz4rAQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300204; x=1709905004; 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=rhBNZa8jmyfjEzY3cZNRC8GMy/liNeG80hAHtMsMIN4=; b=PqFLRemE8+eIzRFC4JQWNrBA6N9/oDlIH2zCvFVr0jghzpjKyo1a/NXDDCr873FGSV QXmFNLadbw9NQqLciDpbDjtX3YMU5BzCAo/hnwO04CL348UYpC3X1qgoI4WzyDFbTylj xCqhBtHhVvFXIizvQteen5fdC6BXpzCid8gGqfiDotjmpTgWRahpxf9BeDRpz7R8J4D6 Pa/rtGvEh5rlC1r1RsNU1lbiuh4SBqIOubqRptSN3ZiSQA7Oi5PpbGmD2J9PwaBrAM/i 5w5S7nN4qBC1d4lNv/3SuFLrQswy/45KNq5rau6egPN/B6yhGJnnQ5KrgnNndXIwsQmM qyGg== X-Forwarded-Encrypted: i=2; AJvYcCXk4mQa/F0QMeNdEWswS7hT/bkVxdMgSloP/lcchGceWd29t9oozJeWPwQtm3Xs0fZ2vIeCNiXoh/0TdYGpTgUW086VKbzga3NH/AVIHfPsP4vucREf60nTbDQIUg== X-Gm-Message-State: AOJu0Yy1jqT/so1utPj3LlWC0wkLnzl90CYZU+ZeOhb32qYcLmIawmFM NdblyVQpA7Hp7PPcxqd5H3eym+gbglp1ub/KNdzUjSZiqjqAwW3ugdMEkKi145JA/g== X-Google-Smtp-Source: AGHT+IGL4c2gMPM95r4rVhCeQcjxAAsyaeOy+N2u9W5irNTI7L1vTv9yv4N9S3ed8ruv6NqQVqbd0Q== X-Received: by 2002:a50:d6d7:0:b0:566:1952:694c with SMTP id l23-20020a50d6d7000000b005661952694cmr1417057edj.20.1709300204377; Fri, 01 Mar 2024 05:36:44 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:730a:6e8b with SMTP id ev18-20020a056402541200b00566730a6e8bls111575edb.0.-pod-prod-03-eu; Fri, 01 Mar 2024 05:36:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUyr/wtPvD08/PCcmqNkui+qnKzrbXUrKOAbA1vN/Uqsumg93Ebe1ge17pK8GDRLPEussAJHrVz1IYKuslP4GiCQm4FfFsiWkq/uQH+DjfB8gbU X-Received: by 2002:a17:907:100a:b0:a3e:a5b9:d69d with SMTP id ox10-20020a170907100a00b00a3ea5b9d69dmr1513838ejb.74.1709300202829; Fri, 01 Mar 2024 05:36:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300202; cv=none; d=google.com; s=arc-20160816; b=b0vXU6I9frWOYHIzjTnEOIO5wsZjBLp708zmffQhqVb6Lr7TNnVXEJc/dhin0fKggF RdUnCVScV8hcXuoXtxD1d1MzItHUu2jjz3oaTyeIyjuFLou5P89n4tWiFCEaT+4fFLkd BEu1C0ZY2NshTeCcVXdzNkwTuDdC6YsxUSzzEoUU+7o4XQYcxIsIP5gczA/2RhtFym8E HWTbCPjPhi9GY1QmQk91rNdM+VPoHFulbfORVkjzOAm3WLaEbRY1X2T/vISNnhSEs+L/ ycjWu11AICg2qaSHHDw2q3QVqMK3VPnoHbnaFDFKUaZgQH/6WQuFvLU4+NOoq73JyLPe fDSQ== 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=bprQybVcjJtafv+N+uoSsIglL497eIKFD5hLVUAwUew=; fh=bOs68QQdqjidAjKaGcuScMgdpGmjg8surFDlq/uEiH8=; b=D2rqJwvArzBzLzp34SmhPxXHi1hqutVv6/8b8t04OEgAGyZcuwCv5hzLA8nk0qMWvp OIe58DiD5aXMfXHp3Mim/hQl7p4HKU7iKN9nsMTnCohZUPVTIDEgj+/Q1newZepCFzBd 71svGDyOo+9BGWzFNXxIQCmz1ZTtO3vvy2RRrYbqMEv9/mWW35yfSXFPdLcA16GrgWeV z5tCZxQ6O629tX9dUOzJsiNzIwt2kPjrPTvLsCyzyMDcaoiY2tsYRNrM8PN+N3E0PFWy m0Z4BA19qX5D2/lB7P/V5A36bfTjUgUzEnOSS7jcxHOhgF5iQlhz6Fx0D5Zf6Gq1A3Ef G2Vw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mh1H7SLC; 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 qq22-20020a17090720d600b00a4455299c23sor1285854ejb.17.2024.03.01.05.36.42 for (Google Transport Security); Fri, 01 Mar 2024 05:36:42 -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; AJvYcCXdliXnSKm5LAzcZLxdC5AzXuE8YyUmdufntf9mz2Mq84DxN8ez0XTOxNdn+Ydiho4eMfVWY4U5R65DKPhpqIb8w9UZa8oHB1VWH//Mmr/ZhGkF X-Received: by 2002:a05:6402:2895:b0:566:3d19:9058 with SMTP id eg21-20020a056402289500b005663d199058mr1465336edb.33.1709300202518; Fri, 01 Mar 2024 05:36:42 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:42 -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 v8 15/23] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin Date: Fri, 1 Mar 2024 14:36:12 +0100 Message-ID: <20240301133620.3547430-16-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=mh1H7SLC; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3028 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 B72DD3F057 for ; Fri, 1 Mar 2024 14:36:45 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-56451e5801dsf1695281a12.3 for ; Fri, 01 Mar 2024 05:36:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300205; cv=pass; d=google.com; s=arc-20160816; b=FpoORIyxFtXX+Ho/An7WLquMSz5gSUgUU8XV6/QnStxH55xf/Vj32/zGWd3e0eyugk 232wGzh9oM5kKEs2Mko0M9Li6x7Nco5Y4zclDbJHmYqKuCbO+UvTaY7b687fbg4SMEhZ p6P07Ok33M4TDyhBu9GuN+5xYeB+CueYM5fviP01iM1RagNDBKx1FZ95/8ILanqsMcsF lSSUbn6djgQyrJD54+WSeJXK4AZGgyQ0yzj83am6c9Si7HUfqy4YneGE1csfyO8sVgCE SYzNcPLW0IWH0v2fEUBERwJsyGWC+4WSkgoU+mW0JBtyHo6i4p+X4gjCGXuhaXNu4Hxl MMHQ== 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=tm2opbgG0/U/38wv2zhbpr44HMPLFcoOX8ottLZyBzA=; fh=Yua9XRysLz/o7LfYaos/HWsxID7Br0/iD7p7pIgs4jA=; b=ymmxhm0/nqqtvzU5BfcHLUMd1NkkiU35q3gUqgetjCTPj7FEomUFn8n9A9bQGq576S GFVOtDEbrgVsWZazuotvCUt4SyZDnXomwFN/SvnUHBZyrapcMlFFsXeelFnG41DtQHPO uda9mWQih++OgdTeo9KyAzl5xaB4/HXeg9PFt9G2u63Xll6DlBb54iY1vIDSKgxvZZWu +3CLDyeq39zcwZkY4ltsQDooDQUiUVh9MVWOp1O4jSgrdtZ/5L0Ue6MOSgbV2KTNA2MC 831CpyZy194SOyj8tMIIFhrUJFCsEiT2ggmFHoZGx9S3A/E2nPPBfN9gexROpg97uMIB AIcA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=koJVGYtF; 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=1709300205; x=1709905005; 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=tm2opbgG0/U/38wv2zhbpr44HMPLFcoOX8ottLZyBzA=; b=rZn6v0E1yfbp7mIDKJ1fbYm4si/IiCAuNgT5gCoZkXQ82KGzHW2mhxGVu5c69hcTi5 DsXYuRDk3I15FUHlL3l9R2SxNaB7mQlC/Nkq24msUl1YAkBeOABd7rtVh8G/coV78iMO R5ofzD0NdBP2GoG+2I5IVCkjIM3ydVcnNz8ek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300205; x=1709905005; 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=tm2opbgG0/U/38wv2zhbpr44HMPLFcoOX8ottLZyBzA=; b=uywq8zc1/5F+H69wktyaPcKWtjEFBgrd9LDCoe85cWq9acyOulGnqdXE+78k2G4OsB MhlmrSg+pJdB5IQyY+cj8mDHt42LxiTLcAc3dTseV9bafHgRzGH/+OUKRCTKMaD9ZWD2 aUhz/iD9zvOQTxML95PgYC9T1Opvakrriz5N40HrqZywa69izOPITHvydn9tYhPcZxM7 re7FbIJ2vYTP2yt1CpUAXzNIcTp4k++oYOhyI/EDdU55NN6Mlx4TZj7oE9xL9NLOCBt5 Z2QNuVDg4zDSbdYFyW6ZiTOSIASYJvghZjqagIjPkJxDb+fkrxyt3MwcLHMLz+PljrcY Htfg== X-Forwarded-Encrypted: i=2; AJvYcCVXZLhYKbqD8c+zFU6DKAyiulXWlZz15/4BOsoZVD/197SSiszV/X84oaFzKOtHtXLq+HZ0nOWOaksqR745jaaDh0UIkTZ1puNoYfgDj08SKCYvMPqwFkNtJulxIA== X-Gm-Message-State: AOJu0YxX4A+vhpi+h13Z5caCc1iTs713cOWGbb9YztiCqJwa8mvcuF7S SsLacvRUsi1xh3xXekJ9qV96/zrKLlgdQirmuE9NdG7mR6zcdkwkgcvkjfSyZPPIUQ== X-Google-Smtp-Source: AGHT+IHBPFy/+zBafcJzPdsXNz0o8kZN0xjXjzdV6qrZ7/Z/NFTCHvd9AbwE4QsKpmbYTinsEKvS9Q== X-Received: by 2002:a50:85c6:0:b0:566:4a85:ceb3 with SMTP id q6-20020a5085c6000000b005664a85ceb3mr1240313edh.9.1709300205508; Fri, 01 Mar 2024 05:36:45 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:458b:b0:566:a8bd:67ac with SMTP id ig11-20020a056402458b00b00566a8bd67acls800482edb.2.-pod-prod-09-eu; Fri, 01 Mar 2024 05:36:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXsTX+g9qxxJ9Rn6WW1UOU09G0mpbd3//9SzecAgW6scLQA9uxT/LyhKVTlWMzLwFA32PYjblnXUKtDaQYPDJRD5WwgNQmwYRX/rf/b5/T01k6X X-Received: by 2002:a17:906:6889:b0:a43:f825:ef52 with SMTP id n9-20020a170906688900b00a43f825ef52mr1384572ejr.28.1709300204042; Fri, 01 Mar 2024 05:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300204; cv=none; d=google.com; s=arc-20160816; b=gcrdOflOUehhdeLnNaC5X3H00MmXGfRNWKcvuzfpAfTcSMk9pWbRdv6ZqnInCvf7/V g2LM0rjkC3p90uRvVGF4E9+fB653Qhy6/ysLS8ec8yrDrQJGXmS8sLcZyitovsVdomX2 q7LeHe1cGkrYsiPKwwGeVpkrDbBw1dmdrONVCf5Ve/C45ALQ37T79MlSexDgkRMu84XT E7QOzS0OHjr2xm9W52TgZqUmmSvAFofvrlo3S8D+Z0ifDhzjqlrmkFC85PoGiyHwcSy+ Ct53yP9fByd/a7UuqcxnC654DJEIOZyE4I4d80x9n5sAxCJ60o2OujM/DHMrDlYNWFOA +f/w== 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=kxMAP9hp8fRJHspPpR1bvGkNWZaQWJaGVOWEj4c4FSU=; fh=UFyLCVNCPsJpt2U23bStyACdumo8w8rvk854bZgFmkA=; b=YjpDOv1hvrFkT+H5JDlPDT5c4nzkUz3pDYbJ6LZQrRvou44j6vU6yLLinTAAlJUiGV Q2OI4yDWC+DcGEsHNb/QaxG5HnFngwsTU7Wzu19/m40VUTmGnQBvBW5hw3VHCpW41IJ5 Rh2Le4m+S+iUVcvSGXBUs9YtJzCAc/qC7yXSsW41blCks5uViox0os+B3BPk69m1Q9SJ XyUtwWSvA4tEJfU3pg6lE/qTUallJOMV7WM921ZC+xAO2BP32P1dhMkPg1qJNFd8dOVL X+BtQ3Thn6bpu29D3hDisO+3d2aSlqgLJ/wQnYlfKaUDpoAsvCC3X4U1C7aaD6y8jjM9 UtCA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=koJVGYtF; 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 g3-20020a170906394300b00a430f9dd93csor1587831eje.20.2024.03.01.05.36.44 for (Google Transport Security); Fri, 01 Mar 2024 05:36:44 -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; AJvYcCXO2vvE4JMX6h5qOvvOL4fgpmPyMyA6q7aXCR4Cj+6abqHMhSIRLsvIR/t1EORcmVglboMoN454G9Q95n9qoJ2Cgqoq4eXsQSzppvDVLkuws4wI X-Received: by 2002:a50:c90d:0:b0:564:5150:76a2 with SMTP id o13-20020a50c90d000000b00564515076a2mr1345201edh.4.1709300203735; Fri, 01 Mar 2024 05:36:43 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:43 -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 v8 16/23] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Date: Fri, 1 Mar 2024 14:36:13 +0100 Message-ID: <20240301133620.3547430-17-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=koJVGYtF; 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. Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3029 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 E29B13F057 for ; Fri, 1 Mar 2024 14:36:46 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5664cac7b14sf1583307a12.0 for ; Fri, 01 Mar 2024 05:36:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300206; cv=pass; d=google.com; s=arc-20160816; b=uzRhgxHpbZDl8a4IV10uQeyvGXDEdeGL1b/KlsL1Tu4bKIe/C8Uqr6vyHo7HbiOMKe 1LK2V50lg5AEQ/d5Ee3ifiqseecyeVW9KtrPNE075KOW7ff+1y345gq8vZ1MgYfxo15i dUGAbh2v870Q8c0R2oraw1kfzTwHKqTROS2PAQ7yS1t1AGNskLNrBpOAAEegVh5m+xCs EXofODscR6VUWvkuTCFIx6FCLvjOgbWv1CJgKDdZscMZw+A42gitqdre8CpLWPz5eDH6 k+Ix5F4AsH1Zs1TY5IovhvS8Vzbk9l8H3SYIDHgPjv5O2VeDlIk00h1RSp+hwdoKwu5O AO+g== 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=Aq0DG2I0TC8K7eJprEbFmmm/Auf5whb2uagFZu4RLJA=; fh=Ify+zfNfkDp40PGA1QQrkvStA5Tp+BJbag4OARL+hIE=; b=uB+qtkfWf+IneYD8S1g4kW13hTq2xqAkaoUHY2Mc1A7jKBpPi5wAA6oNAEjZikaoCx a3MZ8G8bpk7WHMCyGg8Iox5vcSuVq9y/DB5r1Bw2+OBbryo3AFRJFqLeBI1cb42UyKKb tIswyMR6rTDVR4a6brhnSmAzlyKRajYBrk31cuEX1sU5eMRumAEBq4wLujkdeYg+PVed DqCQhS3dcAh9eeJM60ofBre+qDYhTOM0hTMmkMJWu7ROkVhU3JbWZkWDvf09GrtBhdk0 XfvRPPt95LOP5r7jVQe2M7P/oN4+bDTloQXkSmxbQVGaFXa+6UdgMIdvS9oDjllhLAP+ vSAw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hx/CaWp/"; 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=1709300206; x=1709905006; 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=Aq0DG2I0TC8K7eJprEbFmmm/Auf5whb2uagFZu4RLJA=; b=Ie5SRRo7azmp+AlMgh71obd2kHsEXJdOWQXfqLmQeexWu8Sx2dor+IEREwe1P+R9L4 8Kb/2wpH6Jxzctaufy9wIfD0kWXwmRernCST/WvY8HWLwfdMvRszxJONAoWGIR3jQ57r NT1yepEjLz9FNjNs8UcK2SBRiJqlG6/0hVYYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300206; x=1709905006; 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=Aq0DG2I0TC8K7eJprEbFmmm/Auf5whb2uagFZu4RLJA=; b=an58fcPnk3TvemgLiLic722WXXaXtg+WO0M8Yn4iq/ZMNrVcJuTOehewlRHj/ZU+kW bMdPuf7V0j20BW2fkYwhk3eTM5UdYTDwLK6GBOomTFR1UAnuaX5CesV4Qw+Ui0LK4S/w wgxWCWG/2jltUaZhzHGJA8sraku/hdv8XJ9RdFBIBsvNlvBt82psGcK33HerFz37mNLo 7FGxBlsxPYNueLee7/OhlzjvIGXoLB6Pez8IGBH0KHuurI35VQXbaaCFCABGi0qNtAN1 dx5lhvovF69qz9pubukuQfigj9eEJEViPy/KER6uA+JQRbcpv7h9a2rygG0VCEyUjvQP lesA== X-Forwarded-Encrypted: i=2; AJvYcCUXBpYoQEv9j8/HFGfQsh5u7kRBCPTMGISomKtUYb0TMSWslUWpyboExNa1kUu+Yrg0RrpShrF3sfiOtSdcdkL18TOO5gDRX40lkMapxFM2oVI1878HPnA5CNcOPg== X-Gm-Message-State: AOJu0YyJwLKZfQZ+3/1pzty3XT+j8cpPKL1ak0Pu09yvlw+EsoOQ8q8W 7+maG7MHjQouAFRQ8W3Lm1Uznl1GJ5u19cO6lc6/O7+nkZMoY6FGA3FUsiaou9phHQ== X-Google-Smtp-Source: AGHT+IFLiYcuR4HtHnGEshtiNwlCDbJdcHuFPvQA5dksjHT90pq/DxvZZwSBd+N1irjJBg8lZcoOWA== X-Received: by 2002:a50:8dc9:0:b0:565:ddc7:6dcd with SMTP id s9-20020a508dc9000000b00565ddc76dcdmr1197914edh.8.1709300206680; Fri, 01 Mar 2024 05:36:46 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1945:b0:566:4566:e05c with SMTP id f5-20020a056402194500b005664566e05cls96234edz.0.-pod-prod-05-eu; Fri, 01 Mar 2024 05:36:45 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVjAyB/1WARa0GD0H+Ilv/hOynnpqS0Pg8ouJrFIRp89hL/HleBfBhTg/bVSkZpLd6ZXoTNiA2IJjGFoPmaOYs0nYG6Qs3GjlKqgJESPgEiBuGJ X-Received: by 2002:a17:906:f905:b0:a43:ec4f:e5c5 with SMTP id lc5-20020a170906f90500b00a43ec4fe5c5mr1369112ejb.35.1709300205099; Fri, 01 Mar 2024 05:36:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300205; cv=none; d=google.com; s=arc-20160816; b=IFF2k9eYSEd3SKKFc/xH+iziN+BAXCQMRakVS4SOvloKSSiYNihLJEtkOIng9nfVc6 LOBGZmDmIhvbRRyG8ezSoKTfYnXzjCuw8905wwMT/R7Q8FPCFgEkFZa/TauBqMhSqSg0 E1Gtg0g9H/1zDe67/Dsx6j8lL4XoUtNTNSr+Ft0f0rGO384r7j5DTzBK0xE5zibU3yca mh0rgH1s79Y8aotwJD/piI4MsbQwy55TQxgCNNylpPkjPGzrLWhETafkUDDNpOkbEERZ tv81zq+kVhU6fkykuh+yrQ5mBoVnsDhFNkagk/lzfomVj/YypXKPBq859pghoAhv6kW7 S79g== 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=GtNmGMMeRF1mHJwmIvLmfoAs7yIf384+FvLNoGeDJb0=; fh=4BdP1U+DlFGqKF9Ki59reibJnEfQMoih2LO9c/qRTu4=; b=k9klasrvMEXCNOq24jdD23R4VbXj9gzPUEcN3F/FED9zWDYmAgRXoRY8QOUY7EuVbu 5FcyzO0PJixnbov513wTheel7v6/vKm8tvNF3Ow5HDkcyyuwwih/1pT2odSEfsePl08/ MFsL9LJB/QTimPxUTTG3Cqk0qhtm4XfqERz8WAzdkYY2dj7TVXcxy8QflU5Ad2BnwLqS +828pavTBwObK/THbZ+55DeXWMOMRa/9l0wWhi7KwvpwAyBGQ1ovrKc3Gv36wpJYJADy blVxSwjTQxFIxbzUdfpLd+YcL4CWkxmH+ZwpoC6+nijHuGgtnXHpcLbBsy4pcb7Qa+M3 g31Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hx/CaWp/"; 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 m25-20020a1709066d1900b00a4403db663fsor1503985ejr.19.2024.03.01.05.36.45 for (Google Transport Security); Fri, 01 Mar 2024 05:36:45 -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; AJvYcCXlT9XBxXoqa59zjACJRpTQaMg8YYjnPdCgwR2s83JiCq7PZojl+DZJRttcy3Hg23/06JQUdw3CNLOpmX9zJFlQGzC/YsNJuWA6P2ojPhOMsiXL X-Received: by 2002:a50:951a:0:b0:566:dee0:a3e0 with SMTP id u26-20020a50951a000000b00566dee0a3e0mr1006311eda.37.1709300204838; Fri, 01 Mar 2024 05:36:44 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:44 -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 v8 17/23] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 Date: Fri, 1 Mar 2024 14:36:14 +0100 Message-ID: <20240301133620.3547430-18-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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="hx/CaWp/"; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3030 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 6EC633F057 for ; Fri, 1 Mar 2024 14:36:48 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-563ec73081esf1776918a12.1 for ; Fri, 01 Mar 2024 05:36:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300208; cv=pass; d=google.com; s=arc-20160816; b=Jbl9p1TrIKzBWXxGJ15c/Ao9n6/Tz/J6JqpLTOIvMjayhCzT2PeDwNn1Hgn6mumwPn APRNEyLnVNNuw1nkAJwUibC3KPKE3GehikiXjT99EzT+K+B/QFhrGrwKhb+W185pBmb4 K0cgMDfcjKpRhpQDVK7ZVcUvHnMYXgkKg8Gnzi2ntC9vnKTZjZwc64RVD42Rm8yhj+77 C7/zpunDUtaJC2WflNX2REOSG8ZTErNwXnXdWtPA1yKablUoZMYaDawTb01z/w3FMZaj +ACHSO+ZwK1N8t8042dqUCbH8Qs8SYpUwCOIsnBuaUyx87osyhs1GEp/XtyW238hwM2O tjZA== 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=8RVudo6QRDdZ/YsiAbQc8LE/ntf9wxAPjBDZfAGh3ZQ=; fh=4FjbWdY6R+JgItPX52EexJlhJM5puAE6EeyXbkhrqhc=; b=StZzK77ql5Jl+wHEpseTr6WZknmzk7CgxsBILnU3q+NDU+LwWTPProgRIYVP7UZpk9 cBDPvMMFw8ISHE+LQ2EwvCdIeEX25jpGbmUiy+IAVik18rfZZNaF8ILjP9tmaLBfbKpW a1uxYCmOOdt5jeHILJdn1k3+3Q+f9+5SoPolrQqcAnL3rk6NhAhEGXD7OMsZLEjLDAqQ G8brHzlWf+fGF4fI0G4eaKLWk38o1Vd8vsSWqv24jpPfUYPxcVTdmW/6fj7f1Us66VDK fJSfSyNZ+j/b267xhRLUJU+Ky0WiJYgI89flKSpl95oGxuPB7rvWtTs6rWp+WoY40el4 zu4w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZgS/Jbyh"; 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=1709300208; x=1709905008; 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=8RVudo6QRDdZ/YsiAbQc8LE/ntf9wxAPjBDZfAGh3ZQ=; b=QA92Af3AUI/GQ+AkK7hDaOtDCPqzOYOoEujmSyNrktQyYzCPrAyi1VIFGXVtbBfcC5 avfOt9IRcMUf5nZ1FxCY959KC74npNCxZZY4A0tFpveAQ6f3vw3LgBFzAm8yRd/RGuaS UZgZEn+wz7TqCsvrruc/Qm5k1X9ancc3Ia18E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300208; x=1709905008; 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=8RVudo6QRDdZ/YsiAbQc8LE/ntf9wxAPjBDZfAGh3ZQ=; b=jVrNu7L7XaSWw7ER5SpHcMK189TBhzd0Jmyrv8GffYJWUXmfax63SA1/8BXo58LskL rp12CB+5bVyG/T59vzsBMF9FeZQoy2ZFZK9e4EZkQpvxvbZ7+54Bs8E/0B8z1O4i/xTr pN1YI4b+Ong29Xpt3mnz7s6UaEZt+tHLBh/U4gMBAedlULOrazsqJcHNnqcpehKyu4J3 5w6OcZBGoFgAIjA5ANSt2KepNbQyTk3XFFYYISgY4pi3pYkFFG6d8FTLvqIyQP3JYynR XgV2JOl/e11OMYvMFf0uEimSn7YKHv36yGjFkAWm1D8mD7oVE66Hbe/y8S3Gr2xwANJN jamQ== X-Forwarded-Encrypted: i=2; AJvYcCV4p93WIv21Fccz+bvab0jynJ+I7s7mYlbDplFTwaURB2P0OrFq3zShhOeYumU1XmnSiE6rSHrGjrFBlashfueoGnkqhfR3bNMDk1f6QoSHNrM/+Qp6wl2QPt9bKQ== X-Gm-Message-State: AOJu0YzddTfIH4MBQXF+WTicLY/2VO7fz+oqZCIb8qQObHYTnd6mAaEN KOa494xclvvM2CmKrfPF/aTckQXNg5bsO8GP4Yg3Nh/Q89nWWsxZjqPcUtNczngx5A== X-Google-Smtp-Source: AGHT+IFMBy+6+bVZ64JB8W87D3ckvhJ9yBbXbqxah9vOCVw9WAJdpMBYd2vrL6VVByVv9h/EGrzAbQ== X-Received: by 2002:a05:6402:8c5:b0:565:c34f:df4e with SMTP id d5-20020a05640208c500b00565c34fdf4emr1269232edz.29.1709300208200; Fri, 01 Mar 2024 05:36:48 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f27:b0:566:a1b7:c657 with SMTP id i39-20020a0564020f2700b00566a1b7c657ls25581eda.2.-pod-prod-04-eu; Fri, 01 Mar 2024 05:36:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV20Y9/FDF7Nv3wljHBSrKnSwQLRoP398RmoFRbqNkyFRUD8U/+OsxJV3vC9i2Qr3v+qxq7KgcDz21A5/P7Tg/JXiMWteqdTdsaW2jqXUxdjdF5 X-Received: by 2002:a17:906:2351:b0:a44:763:4dd3 with SMTP id m17-20020a170906235100b00a4407634dd3mr1276123eja.27.1709300206158; Fri, 01 Mar 2024 05:36:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300206; cv=none; d=google.com; s=arc-20160816; b=GQuA7wcDBJOybkey8wLp8O/iJ63WLr5Toa02wjw2NgzGUxQPSDNZ2J2Ld9iUmIenT5 FVNycsz8Nloji9AaJLSbvHHF6FHLAwoxMXohj5LzHb9pqFe4l70nHN0ZnDjiQ5lo4eH4 bGHxTryIuXfMPbbsf2DciptKNNXPV/FoH+IEQCqTcWc4t6DbH4yrl9Det9udEMxMF5nV O2yIdUYOyZHBx7ItOhLEiNwLbpPw9chOE1JTOY9snY3RUniW97sk4QA6tVxaNO4DzvAh Vv6VeM/n548CtnfYISjU+y6EtQ/yU2HLxhmYaHroOsuBp6PTpu+BaAhFtU9JZpV06OuD 6lJg== 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=BBHmOg83dmdyJhrLvJaCDYqux5uadIRjVh5Zh5ThZRk=; fh=QrV4GeiOfcGuE/xNPTBEZz/MCRcPR2AwZS/9aP7CSrE=; b=lOQLeGBhrj2Qpd8Vx3e8trELn6bUYw3bm1eHUvdJQ6B6Q3QeZl0GPEdNGHyCyh+94G lgIfA4P9dpdrqI7IVFTb5quWRpDkQK4TIywdFgIP28HyeO/B+uBh8LisLSg8fRfMT8tR 3TThgqmG71j2I/FqpVGrcwrMDr3y8gmvBmXqAtrwf/QP3Neg1HAQaSVQyDa3kiC/+Bas 9r7xZTNrAouSd7GKCOpGQQuNuG8NPh2uyZAtn8+MfAPZT5s1+hwUuU3b4s1YL+H4CiNn gXWZHiFN1zXhGM2Bo/XvGoj9iW3ilW+cmgRYDY+s9vFo8GY5Ye4bFI9+KO8bLsb9QrdI w+uQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZgS/Jbyh"; 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 oy29-20020a170907105d00b00a3e64071910sor1551944ejb.4.2024.03.01.05.36.46 for (Google Transport Security); Fri, 01 Mar 2024 05:36:46 -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; AJvYcCUTGS5e58qNe2vCNTMt6YXjuMZ96vguRWUaBqv4Ueg3DuSkFuoOve+dMiO/6eAipt9PJK5j8xDku9ZD76zCcPhDcXyya8sMxdc1AyZ1Ii1l9S+f X-Received: by 2002:aa7:cd10:0:b0:566:4d9:c3cd with SMTP id b16-20020aa7cd10000000b0056604d9c3cdmr1292194edw.41.1709300205859; Fri, 01 Mar 2024 05:36:45 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:45 -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 v8 18/23] board/ti/am62x-sk: generalize post-build.sh Date: Fri, 1 Mar 2024 14:36:15 +0100 Message-ID: <20240301133620.3547430-19-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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="ZgS/Jbyh"; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3031 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 D9E1C3FAAC for ; Fri, 1 Mar 2024 14:36:48 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-565862cc48fsf2626425a12.1 for ; Fri, 01 Mar 2024 05:36:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300208; cv=pass; d=google.com; s=arc-20160816; b=xJi2Fn/Pd2PaaF6xQCi2x0EWup9ORcdrF4ayKKnM1SdQYVAw6qPo4G9CVLj+PXYqIB ibPbmQpaAWXQ08mJf+CGVj5QVedCAxbFNJjjJLTgMtP+HBsLz/gtKmKHPVe9rRcH0KF8 p2f2TZ0LhEOR+Mn4aKREPP1tKAOUkirXjPHSTjpPyLmHNJLhL/XkZOCcgR+Ck6f31XTd zpz+0gf7lJMOtWb+qpOYZTOj18POunGF75KKoNAfAf5USOzaGmXSg6NaM6/FDxaSXA46 f3apWiQZkIsN4DxyOCDTEdNZDjg9n2+7pVVOOjVSnVI9Vd0ertvLZMPiVv09AfYyF9Cw Tn5A== 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=XmBGcKzlTsYVWfdNN4wF57h596z2BQFnPyryugwoMFw=; fh=p+E5QWqS4bitvf6exkt+aZshzYHaw/y2wD/vLyTifso=; b=MxQ3dIEJ/M302i0TGpN7Mbt8qce58s+lomXZnAFP4plH4/33w169PdXAMfcF/YjfHB HN1yze6pVirZ8bPP+HkkendtmbPL4y1uL182VTTO1DDXLY8nWK8BBzr5kA2XKupr3ynK qTJI9PtWdeVp6ANGf3KLqZH9cCKbQ6DSbLYicFxBDplvBTXWHiSc+m5zeVo7xiJ/uPKM YU/WjCPrKTwWB7kHdKMAMZHIXEMOI4+HovYphoqAmASwYFtf1C3WAY4fMpPwxeoVJdHK C7YgbnGimE4r1CtEDPjWvtSZ7V5KYuHQtPoLQkIwsebUbYc1NWi5tfKoY00ueLMyYyRr Hp4A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jwFm3Qcq; 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=1709300208; x=1709905008; 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=XmBGcKzlTsYVWfdNN4wF57h596z2BQFnPyryugwoMFw=; b=IcC7KxzY9l5Mtq+fgUci0senx6CPb5YU3dfkfX/ghbaTpZEFrcoagbgbIuTnGRdv9v qLtMfzjZjA9KXbxMreYEmCR6Z0fkXhm6vhoG+xJVnIMR89Xd3O8j2GBm97S6h2qlw59g puSdUW3Co5IUM+Vh7np8gW5JFIugw6OOXqexs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300208; x=1709905008; 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=XmBGcKzlTsYVWfdNN4wF57h596z2BQFnPyryugwoMFw=; b=ncT0Q9X6bF7hfqzF+YFk8q7l/zhbcEEsYsSRqKQ2klVDgf+Q0p0hQEgj1xCzYRnEFF v4R6ISQ21Z8m/HotAAbh/K+HwRyXb4l77XKkchrNS8CR5Z9n14pSMr4DzJPqsVlzFcTc CPpbNNKICeZZC9pODznptCDtkCeiBGlK3eqNL8+DQCcLvWSCH4RsGnQTJx+6zTSp+dxC AYmif3P3YGEdRm595frhtgwCxc96TAYHh7r/lDg5ZymSWv8YwuKNqomi4tHcRswavDq4 SzajcKmIqVgt8OrFKv+TXfniPANNboCNmHxt4rGCp9NP4mi/UrgNqH/S9yYlmxzgG2Mh VB8Q== X-Forwarded-Encrypted: i=2; AJvYcCWWq9Q0CthhaugrrwFDOxSV+7C0lzDA00CRZkNZmoivzUrh6GdOzRUaiEi62r2SkZKBZYXbCvAmukXKq+28Lb/5cbY3DexzSSPO+ylRIXCANeqUtf5MjweSbkKh1w== X-Gm-Message-State: AOJu0Yx11ud+CFwaN7KSiYXGrdeWmuN2O8lVpwFfY3PvaYqWlRJZZo7K /yXrh1eX/uTgdVshM3RYvgg2GEMs5xpaYTTmVUk4MUiXEHfH3YB+6IjEydhwVWxW2w== X-Google-Smtp-Source: AGHT+IH2AOjw6nIWYnnsflBLet8VEwHtN9qsnHQPB3mIecP9je+x2biosQBah0FClZe/veco1SWr6w== X-Received: by 2002:a50:85c3:0:b0:566:72b0:286a with SMTP id q3-20020a5085c3000000b0056672b0286amr1673454edh.2.1709300208688; Fri, 01 Mar 2024 05:36:48 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5419:b0:563:c18b:4d80 with SMTP id ev25-20020a056402541900b00563c18b4d80ls186633edb.1.-pod-prod-00-eu; Fri, 01 Mar 2024 05:36:47 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX7UwUSJaxLUcCwFCOKghryibdXeQXKtKS/Tg2IPTD7HcaTaM9+ZdEBnxnjEowHOzC7ldde3cNa+ZPu8k+zEV+4gcCM0LIZZ6+Rvzb2Wq4AZMf3 X-Received: by 2002:a05:6402:2692:b0:566:33a6:2045 with SMTP id w18-20020a056402269200b0056633a62045mr1485851edd.20.1709300207263; Fri, 01 Mar 2024 05:36:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300207; cv=none; d=google.com; s=arc-20160816; b=ciiSWTWLZWJSits5XpMrtGacYBxpPnnKUAN0C4bTax6BhKwvXucgyoD1p0ytYrl/Kn MzK8F5EnuCyHJd22M16vb8Aef5y2QUZO1beliQWz53G+Otki+wafdwAu7JMBZdONGpaf c7jcgnY3ip2O62KsXfrJDQv5XQ7xt6KfLRIil4yMxVVLMNaqGTmVYY9lElAqekH+PFGF kWi+ph/nZPCk2JN7KUMZsiCvQaTrn/0djexbQAvOlx7yP/bw4yKuPoUTFblqhjyrAdxH rtE2Fkdtdcr+yj3jJWpjpPA7Mylqf1OtPcw4iWl/2VJHmPf9i+PAfeNR4JF7Ja6h4fKv 1ZGQ== 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=GdedvwudBMy6PXkstKINBSTXNLsRNFw8wRdfGPR0l8E=; fh=K29/UL6O1lVnRqxtK+6VMXfqiS05i9WaAohJ9wuyevk=; b=hfl606FPJ+tltl4RcsNzun1BakXkVP5P60ZItz+BzLZhX2iisDW9vmN9k1kzNCL+e5 HjNd/Un9aX2GblZHFOAZv2lMEgl5V++d0sAjvdGldkrf3TCuMc0nNrHu2mMPFIXXEjHH 7IsGiy7eFiU2VGfNV4bGO4/7b9kVzRyBoO3DQLQ9cv8renRBlmryVefeVTwtzA9kIoTu RdmizWfCzEp3kkVWN7w7g0Y2bQc7kUGWWwXbzdGpVAqKPLRb5JOaGlzoBQXAYBnmR3Xn 6LbEgYw/v1r1TSAnPLYtB1FYc+A9NJwpnMgmiepOb9bJ/sgCtCMEfCCsb6H0SLFWLo0A JJxA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jwFm3Qcq; 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 w17-20020a05640234d100b00566a4ddb730sor1713713edc.2.2024.03.01.05.36.47 for (Google Transport Security); Fri, 01 Mar 2024 05:36:47 -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; AJvYcCWsPxxH321hoiooHlxTD0t3GWerOhsgkgtm+KCaqw1SwWRRlrajscm04hoLGIDEEuFDFGpVvExu8okkoh3EcA1CL7weoav2h5k+who96tX9mpRz X-Received: by 2002:aa7:d517:0:b0:566:78ff:b24e with SMTP id y23-20020aa7d517000000b0056678ffb24emr1686980edq.17.1709300207019; Fri, 01 Mar 2024 05:36:47 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:46 -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 v8 19/23] board/ti/am62x-sk: move post-{build, image}.sh to board/ti/common/am6xx Date: Fri, 1 Mar 2024 14:36:16 +0100 Message-ID: <20240301133620.3547430-20-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=jwFm3Qcq; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3032 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 195BF3F057 for ; Fri, 1 Mar 2024 14:36:50 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-566195235a4sf1377007a12.3 for ; Fri, 01 Mar 2024 05:36:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300210; cv=pass; d=google.com; s=arc-20160816; b=M54ttVjEXWY7BAtBlMGME8uQZd9/Cugoewrxg0LVkXhxfsrzJTIznpnkIwH55IUJRR YiKKkpo6eFEgBTXehOlwje6kfwLIEuYaxJSjIYray1yzrYjpM7tMmheJ3xamOZHJ7eOD ht0agqB/vbjlEtzMlWfpwuytXVf9ZgFUbeEtY8cNqO6BLfBBbgtyKi/Fia0UTSqcEJOk RGgLYNcfNKYxTH7GSjZK3SK5TP/vQTJuX0FkNd3qVDeKVVdGyymSPLnLt2IPuBU8ITi2 iF3Z3fCXjWsh3d0FMUkYF0GHF5yk9ffJEoqjY+ZGMLuo9oEDdP0BHZ5MsFoH++seed8D C/Zg== 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=PxQ/QW7F44zE+wpHm1PQjpo47eT2g/JeCbWNO6r4yYc=; fh=HWw8yXBhoEWnOWOUHZexwA3CT/nbkMd1K4sorH28R60=; b=QBeDDaZpQu9FI0mn5GZ8rtfWC6b5rKBXtayD7UHCQxwlRJY2EW0COYxED8/OqwYDXo azO1oEp0EMb1JSr3cZ+6GoHsgRvAAv6VDgP7XUQQeh+mvL4h8jZZXB1GK4oFTmmpAvlc aE17qXGFw1Ksmt8rWUZdWZ99Cucm46nZ2xq2q5Um3wbYM+K1Z+IMKLaEAbB85FaKd3nz pkgTiF1JoeM0r1CJJv+vpWAcv1unCp95IDLtCzmmohXp2dnjwdtoikExcUDIsgBQnaIr 2uUc3xuv9TY8tXCMttsaHMtUDSSHizjnTcsM1k9JWCbPZfJKsXI3//SEjbwPT75Vs12x sR6w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d6LQkRn9; 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=1709300210; x=1709905010; 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=PxQ/QW7F44zE+wpHm1PQjpo47eT2g/JeCbWNO6r4yYc=; b=YeN2QdPdijRqhWkpgfghEX4+lbarpVZEHmEMOHlGUX1tbNbfDf7YWFAlvk9oEAwgyj SdRnYzcsPf8OTFg5Wa7vUhjXlvUGvXcfjfoBLvgJ2NyF+BJRWS/LTGNn1fNzHafOcxm0 uXYLzCXMUJ150gmnY+VlwwWjsXqyu9KkNgik8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300210; x=1709905010; 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=PxQ/QW7F44zE+wpHm1PQjpo47eT2g/JeCbWNO6r4yYc=; b=XY69a1lYO3Oa6GNbQEpu2BslwSA4BGCq7jRl08tB3yAV4F6qnUkx3Qo+D2aNcgb8qr PhWiX0uOJ3m4syZkvE0uSOlRTq4Cn2AaRu3dNIRspTxroKwE5N4qtCgg9pXXNeJvyidz jqMTRrCVyWBeCJMjhfQq1Wq0c1so0qEJCaks7xE7R9iETSx7fe3gUI+Snk3BoOjMBXWB UBkpL/kpWMpdMKlIoBcJLSiZZSSXpsW2rk1nH+iz9Rf4IuwMkjsWpNsKKiiB/ECmyHv6 LSteONY4caFFPnouLLULC/RQGtxCwu4O24si4QXtIsKn9y7uuVU9ISlw15FTM1L283IK 0rTQ== X-Forwarded-Encrypted: i=2; AJvYcCUYw5uWSmh3/7oFHNPL2PgunjcPQ9vHN7EHLSEAFq8nWnImR+AxXI6usO1ZckAo8mjwhBJbZlwjJRvt99DtI02uiaU4yAKwxr13KaiOhypjdrHnZjJfD3ZWJnAgDg== X-Gm-Message-State: AOJu0YxsVKAUxTFQ2+GOB40ncqY9Ak/DZUjZVznE1iJ6Dly9zOIiUoil btvMvmdDJnOj4KZSR2jXiXZUvEqQz2DZBe0RH/ihMXgtnFTIBa5y1AilEwJ+nozd2Q== X-Google-Smtp-Source: AGHT+IG1UIv0qWUjul8aLk8Z5L3AwJtJh0bqLVEMXB39T0sJJiQyS/CJaL1jvkwvC2qSGpAiKXnlYQ== X-Received: by 2002:a05:6402:1e87:b0:566:2aff:2d38 with SMTP id f7-20020a0564021e8700b005662aff2d38mr1436702edf.26.1709300209868; Fri, 01 Mar 2024 05:36:49 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5412:b0:566:3da3:bf40 with SMTP id ev18-20020a056402541200b005663da3bf40ls849909edb.0.-pod-prod-08-eu; Fri, 01 Mar 2024 05:36:48 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXedP/aJfIevhamNtlTHJzzOIuHv+x7tFmYgJZBk4SZAd3xxV8TMegdbFEl4nnPjg049qq8ik7R0CZiMHxwvMsbLD5zcHcqqVgxrd1Cyj7gDV4u X-Received: by 2002:a05:6402:3082:b0:566:e069:b441 with SMTP id de2-20020a056402308200b00566e069b441mr784215edb.34.1709300208362; Fri, 01 Mar 2024 05:36:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300208; cv=none; d=google.com; s=arc-20160816; b=q+pzcqvfzNvKaPF48RVmWIzIEvp33SiwMrKHUpgcxPmLkGepskH4IajaFV8a/z10qc z3vIIQ3dEURUq6KBwPgXEh/ydOZy8ceU7dCulD7//eZHhrlhDfnLkJWAzKUHGMk/hHPR TVjvAyJhrP1RLywCQ9Wm2xKHSi3HNxrNIdlVjdSv4HqaslmxiZROSkiWmIcomwJ4gNqP Ihz9H78liUGAMAumD/y4t4fLjaP6+JYmExvml2couIpzI28bIwf/mTQxZI4lvlILRO69 KOifAu6bgiHjPOjus8GPh46IYUKD6Ykiw10jhZRLRRmxOK8yAyl5Kyh6vyYVyB967DEc t/Zg== 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=WwSGWzgDHPuhEvYqTDpITbJ0hwIhdHsY5P8sh+JBGAY=; fh=CMqOU8mmHQp/G0xfrzVZbF3TLROJT6e8G9vxnpzVW9M=; b=XOMT2AWswW9uy27R8zcj8DAUpcXUEl+NR2lNmv8fMechE0kzFsTQr59eBFqeok3IES FM9AM406qGfL71uI5Nx/rhFOLe4i6iz/QXKAzvWQINJ+MK4oGFxLEVcwv4KvQ8/F6xNL uIGBsJuhTQj5Z5UYSPADIA1lpwT0RTg4po1+SNOTPS+ydz6bBDaQyxv+Es3FweYtXi5g 34XFCHnSGLtdKP2DIsK9Ph2tUk60MBZHvBsL5hdiQRidHlU0Dl3jLaQ82DCoejaH3+T5 hPXpvFJg/YNrE/9DjTC5i68jD5/1KNfnOeN7nO5MhjvxbtXkxxCyCzshJJ9RemHPch3Z 9jTw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d6LQkRn9; 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 a18-20020aa7d912000000b00565bf4c933bsor1353349edr.7.2024.03.01.05.36.48 for (Google Transport Security); Fri, 01 Mar 2024 05:36:48 -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; AJvYcCUwrf0CHrBLYwSIrajpw8L0odKnxmYRoS9hXtUOFhiU0tKa7N9zctLvUbB/GPch6Ox1yJJFUnYzXVcHYWLNjEvgPTgAjKnEVB+RXm0jl5qiPzN5 X-Received: by 2002:aa7:d60b:0:b0:565:e294:5119 with SMTP id c11-20020aa7d60b000000b00565e2945119mr1263872edr.18.1709300208116; Fri, 01 Mar 2024 05:36:48 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:47 -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 v8 20/23] package/ti-k3: fix BR2_PACKAGE_TI_K3_SOC setting for am64x SOC Date: Fri, 1 Mar 2024 14:36:17 +0100 Message-ID: <20240301133620.3547430-21-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=d6LQkRn9; 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: , In the case of SOC am64x, 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 allows you to identify the correct file based on the SEC_TYPE option. Signed-off-by: Dario Binacchi --- Added in v8 Signed-off-by: Dario Binacchi --- package/ti-k3/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 Fri Mar 1 13:36:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3033 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2449F3F057 for ; Fri, 1 Mar 2024 14:36:51 +0100 (CET) Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a43f3f8d7d8sf160217366b.3 for ; Fri, 01 Mar 2024 05:36:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300211; cv=pass; d=google.com; s=arc-20160816; b=mAkPdxZSVof+h42l70Wr8h9gWjROaOY/gu5L29Mm/v45ezYJIwJD0JrX9DLIbwLsMW p3PiMMU5EYI2Kjy80ybFRVqVRWkZy4ML9PmS6Tb3crKJWAT35/8zn74bsF7lK0USWp1V Ozq45vBcHnFsTUU2BoXRozsc8Macd5E5u+OHtdWlp1Qknru5rXWpjyxepjK2hpnHTom6 ooJdZ8r73A6KiuZFf5wj0j9Ddw/w9D9AqBRBSTGL1WvWveMT7QPHWu+VOLZtiJ4Meamd enJSXszJfMthdCRHM31UEq0JHgvL4zXXGbdUKRMZkQm+xPK1+ZZ+fqQz32dslvdIBbTw VO2g== 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=9YgYjCK3mDsjsbJcL55pzbZ8xJMqHweuUlozX0Tad8k=; fh=Z9kePigCV4Svg8IAmCUCdTx1IjnKproqVu6+6/xGgxg=; b=lguPGsg11lhj6vxpGzYh/Pyl3/VX48m0/NppI6YSLyXDBbilPBflUQ4IgSja9ZSuxu wi69gY3rknbtco7SWZn00iNGfEYWvkxx8UMAj4BYolAeBqupYVn6yQ1Ls3gxnaFTWCOg 8wvU+g07ZWRIQ5C1vllKE3TaoM10+xEJnnjEJI+BDuQVfaGccH39mp8A4RVFHk8k3qQl VJmSHPHWrL1+TAqYSxzoHe15B7kSl/VLIvB1HfE7/Z5LYf9JitTk1IiuILMmkv6ABqkK 9csi51YiS7Mt3Gtk1p1ru+moApQrjLExmJRf+2/TIFU1uslKb240trB3GRpEg2vUJtBT 4ZVw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Tf5F+9De; 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=1709300211; x=1709905011; 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=9YgYjCK3mDsjsbJcL55pzbZ8xJMqHweuUlozX0Tad8k=; b=T1kcMBbvNRsWgbMtY3Ep4vnu6yTQ3KNxfrxiaUt7RnPYwTn4JVETNx89vEnYvRzEA4 Qx/EUgDr7EG9uJyOHCeSDd8HxzFv4dGYTHbyJfS6mEB749y6M3zRODDL8JAZzBRvXIJI yNpEulG6lT9pjxu3P1pSQpA4uLLs7OeLIoRS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300211; x=1709905011; 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=9YgYjCK3mDsjsbJcL55pzbZ8xJMqHweuUlozX0Tad8k=; b=GwVHdiPgBC2Odi2b3DVahfdgVh0DG/SPIo915Lsp6LNXyN5zWORID/LtwAh0fBa6zK G82EvX1Pe18HCT3+m1wMOsyK1xDlTpW8DoRWXvOu1l2CwJ4RhgFlB6wMe+Ss5Z44LP+T 6MD6AC08lbcqNeGsL+4SiRGyhXmuXcN5exH6i1erqwgX2UVqI+WM56w2ZqUNsgkY6YNh htXeITqGnEw8NNdkU/YzhCUH70KdCOxk00IrhTvcjvVNPdjR2vysaQ0+CogVqYfxVIAo t1DBlLud8xbCM4q7QjBW3fr3CJo9VaRFTI0INdoOdK4zFy16/l+GzzZs626eqAO17/Hk Samg== X-Forwarded-Encrypted: i=2; AJvYcCXdU3hG+eDyS0SmG8buvvjneqU7GMfevPMYunsjJtJNwAbN/vMddpmDPpg4bJrOKuO4GQ4qlbKBgiebHcheQYrUvepa9DXyBZrlE3KspJ9YsQwJ98R4Y4pR7GtQtw== X-Gm-Message-State: AOJu0YyT/CI1S76IW5p7FS6p4eGbeuvddVLOC36g6WX4NWeFJdRBHy3Q tzIsl89dfIPN4knrzyz/w1jg+xJ0TIelQ1oswbUm3i2IuFwhDPJ8haErKKIcVVh2WA== X-Google-Smtp-Source: AGHT+IGTl3ig7S2v1pvI02swt0pvI4wxMg06IvDYDPgYE1EKNrqun7ssJaT/yo/yEJ9gGUMikqWV/g== X-Received: by 2002:aa7:c3d5:0:b0:566:b924:23e9 with SMTP id l21-20020aa7c3d5000000b00566b92423e9mr1512061edr.20.1709300210960; Fri, 01 Mar 2024 05:36:50 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f27:b0:566:a1b7:c657 with SMTP id i39-20020a0564020f2700b00566a1b7c657ls25631eda.2.-pod-prod-04-eu; Fri, 01 Mar 2024 05:36:49 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVAUhYFh8FjNWkQS/Dg8yV9m7tP5rehjiwTnhmOM+aViFXfTLBsrhgQ0E7RGGk+YIfzjZ3msvCSnXkxjCa1Q7X/0XQdwJU5blr5rz4dNdH8WGOZ X-Received: by 2002:aa7:c508:0:b0:565:9fc8:8f35 with SMTP id o8-20020aa7c508000000b005659fc88f35mr1123519edq.42.1709300209463; Fri, 01 Mar 2024 05:36:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300209; cv=none; d=google.com; s=arc-20160816; b=qtSpnvYhYqLDnYYV3vz5N1jvRnh9nBy4sVcVvoZsWUNCTFOjtTGrXEBvl0EGdpaOW2 IG3BkOfce4rMjgBrE9+F9Cii1InyUC0ENZKtsv4VWhTGr2NyD+y4XGaq4ZB3fJVhqMRr sjrIbqo1BrxmzhVnKculGe2PIvygav3FnbkNofwvBn0wFyRdrJJdYpq6HklBBZz21HUH 32de271Ww+EPAYtw3Nzr6MkIOn5KjhxrDjGlAigdqgIOJ6+fWBhqueIMyTpCPyttT/6m t+3e+C8TpP8yTd8T41RbHKcgYURHA5Of+lH+UIhO1Stjk2j9oFQyzzxRuNNXWcwAd13Z WGIQ== 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=gEE0XGHabXzaMn2xtNoxEcq2/77ioPiDg56IX6gjtRA=; fh=yFrz7XWKrMAifRajlh0cqmoX1MRcJ9OlnNn5fS01WCM=; b=W1EW65tccAHrQhnLOo+avQwsqzL7D9eQopl1Yim3dN90tE14b19Ovc2Yz5TwTOi7D2 +kS/y0vSlVMJa6/2yyp0x4xpcZp1SaKqLZAHVBxrL2zPmWqNIuOD0bp0vMAHXKep0Zne Pl/p4E9ZuKz9BmRJEbqjmi4tUT6DEnbt0y1606OkieqLKgT832lM4+Hr1iN20PJW4Z0C 8oA27ays8x5T+hdUQ+/aE7rpRKxfAXt/5LocvfuetH95e/FORZmlrY7r8zUxoG/JPs9v i5vzoCrUoNbU2UiCjpHdr8De5aC40Kf5O4dfwtgBOUOAEOcCwkH5MvcPEBETieJVB/c7 6pEA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Tf5F+9De; 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 x10-20020a50ba8a000000b00566aba4f77esor1373080ede.9.2024.03.01.05.36.49 for (Google Transport Security); Fri, 01 Mar 2024 05:36:49 -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; AJvYcCVgpztr8VpKXNU6OEVeFlJwWIMhTaFXsdIuTvKkWsbX+ot1FthRivjG+lVvLVC+UGNLTWZQDfUvqIxglBDo/xtkvrPERQtezUpXUfe0ZGsNBCXn X-Received: by 2002:aa7:c508:0:b0:565:9fc8:8f35 with SMTP id o8-20020aa7c508000000b005659fc88f35mr1123511edq.42.1709300209171; Fri, 01 Mar 2024 05:36:49 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:48 -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 v8 21/23] configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 Date: Fri, 1 Mar 2024 14:36:18 +0100 Message-ID: <20240301133620.3547430-22-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=Tf5F+9De; 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. Signed-off-by: Dario Binacchi --- Added in v8 Signed-off-by: Dario Binacchi --- board/ti/am64x-sk/genimage.cfg | 7 ++++++- configs/ti_am64x_sk_defconfig | 13 +++++++------ 2 files changed, 13 insertions(+), 7 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 From patchwork Fri Mar 1 13:36:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3034 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 48CFF3F057 for ; Fri, 1 Mar 2024 14:36:52 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-566b577cdc3sf1058890a12.1 for ; Fri, 01 Mar 2024 05:36:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300212; cv=pass; d=google.com; s=arc-20160816; b=bT5fFfGibmjyNZcqSIrwJvxbCUhaHgR/rKRWR5TunnT9fJ63EpryyFJFuqBDRJ3XLX VngKeWLFz3kG0WrcnLkGMsFLOGDnQh09iMmTFXft2wQRT0LtTW2nOpYrPM3Z9/gTzKJM o5N9zIXG5PHGyNxeIpciFrtDNIMm+onMAEUoKR/2KTJHIU3y2jHq+mfY3zOebxKVhHbG R8/Aw7se32HUF2SaYnhDkUWlc6ssajr/c/0K0ZwUdEgbIR5rh6BjnfzOBrOPkhPDMMFB ijHPrn95YTA4AI9Bz90Los1Fu4ubByrKyxCJ1Iajp70hZmYEuoVbAc9rCrm++3HsjqPJ WCUA== 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=zzSl/MjiYXT0gU30XcAmDmmZzaI+P+4vB6KiXJzYKOE=; fh=gvJLhWn8Y5zv3bVaNVELHj3EWCTYNVH2md+P7No98K8=; b=WQSgYHAARR4/jKjAhQOpXaBOE0vMCubPeKdkh32iVhqT+/bie0MzuAW+/usbNvCW6i qgYPD9Jkq48WzjBEY14GYh6ZmsLtsKzl2YD/WNLAf7gvggcvNL0UkRGzSE6iFDYWsvOx B+IHwfatXnevnglLpGYDOXYPi/JaHHq8rNySX6zih/vhL2EMrl+zwQABMOvvMHtQ3FWI RD3dNG6MUKytnyhP0MP9F0WRExON5emss8mKzorMlg3B+fM1/jPYjoa54ugcoosKmBgx EKFZmjwKwEtEt4aI187ahYlpTz0XFtBDfWg0X3iVz4wZQB7Ij+WRLkAOdqX7H6u4IP8c QnRg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y3Mm4hXA; 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=1709300212; x=1709905012; 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=zzSl/MjiYXT0gU30XcAmDmmZzaI+P+4vB6KiXJzYKOE=; b=jI+8nBKAZqPtex4yLL2StUdEEuVgKQ4zUCfr9OLiIoWQqbvyK2nxQACyeu1a2ms6JC CnHXSwyl+CcJHipe8TQl1HTFY3xgequBEhr9YhnhBQhIdF0GrFR7Sr9Tg4U9AHyZuSeq y2t23gPM+Fim7GOb4zygjg2jzQPJf639ZVp60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300212; x=1709905012; 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=zzSl/MjiYXT0gU30XcAmDmmZzaI+P+4vB6KiXJzYKOE=; b=qBL4KpKYTBatqH0uFt2HIf1jD06kNXNQphMf1pqlrmPFaA5UcBbaSd41rRjE/cU3iJ OitRSc4TZA2a24FljB3IDXsyFY2bjj9gOaLc/Noh0XusuIi2QeTYvxYtIdqkcqAKCysr dY8CIMl7XMPImOfLCzq8KvjcpzJkJvBkYGWtG0TOjhcw275JavSsSq1U7TVEQXhCetC6 47Fx6nTdceki/NPavI9SH5IpVzYDFiNiLrdGotRpoL8mtMe17+ISVH0GkO8pRq7LXBt4 59Er1v3cPsT96y/8k34UiGW2Abh6rphTlh0XQ+6Yie3SbWGgLUeERZ3WAiNjBIgL1xdt cmBA== X-Forwarded-Encrypted: i=2; AJvYcCU4uuJ2LH7J7FoU0X+woZg8Vj06N9bd+MqbSjbDsUcMq8uWMLFnFNtIbOR15vmHAAPshofNTVciNSo7X/4NaDlmqQNVk2pYs9GlsgEXPD+yJsgoLmETx0Nq3V4FEg== X-Gm-Message-State: AOJu0YxfAs5vjhpSnqOyv7+ng4Zxt5QpZ22zfGIl1e4gcBVitGaliG0v CdwPQ+aVBL9zNx5Z3Xqc6JwWRl1D3HMTtGSnfE8gWZ/DRUV+xZkFo1P2TC7eOuBgtQ== X-Google-Smtp-Source: AGHT+IE32rlgChz6rkZaN9N7B95nwlrcRYAdCNvMofn0pEfghIizJHKND0h7GKTwjGRYDZe1MmiGLQ== X-Received: by 2002:a05:6402:1848:b0:566:a7c0:c8e8 with SMTP id v8-20020a056402184800b00566a7c0c8e8mr1493626edy.12.1709300212054; Fri, 01 Mar 2024 05:36:52 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4588:b0:566:3da3:bf05 with SMTP id ig8-20020a056402458800b005663da3bf05ls324554edb.0.-pod-prod-01-eu; Fri, 01 Mar 2024 05:36:50 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUoR4coxrpuzYQPTBO3q+fP3Y3koZqmaY4W3aUUKnh9KZVHkVfDdkaAfj4FERb3ZLFhZigO7arcmh/fis1mzcE+UsNdeHYDrAIihmsqFef9mGxl X-Received: by 2002:a17:906:f1c9:b0:a44:4329:c091 with SMTP id gx9-20020a170906f1c900b00a444329c091mr1494912ejb.74.1709300210543; Fri, 01 Mar 2024 05:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300210; cv=none; d=google.com; s=arc-20160816; b=wiGnO3fLZ0nIqR8LpYADUy1/sudhfQl9+zSpmyhQl9hlpafpvhyyzmrKLf/KWAOiaM VYeRq3+h0TdqSC8Ki0A+27cTqBcNWUFj1HHKTM2xpm1ERx3JDdwuWL/pFVinrO0le26y o/gmDuKEtaBc0XJ1477QVO0pFFQKQu50C/ZpKb6DKKWM2Gdu5g896/v9EkCkWT7s/dSr QZ7NreW36Vzu1ggmlyVvy5mI2t6EF0URu6g9DzMa7K9Px/CAUNoyQuRX+j5fQqC89r++ s3imqVEOUk7AJXVEdtrVG/HG9m8yyre5zy3zAMFYVaCwZsbnvUbNd8isWwZUrp5buGbC WXMg== 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=n+3SWr47v51ZAM0KYqCPrdVViq1f+5/r+XqUK2tVNLY=; fh=frE7DG6u9Bb0Mhn/RmaY4NHRnMXi0f2doCqqhEXz82I=; b=P5vZlGLy2ghb4qk4V7jdV10hXTS6VnsNPO+wzZKtLgwjOCh19WNtc+Ha17sJKsH+Ju Tu4vooka55KDExXenA9NJM+wMNzNl5l79XwvraujDkjLvMg9Drf7M9os4PXNJ42nyOum q6vVrvL23vE17kJh3pcdFOiqDm5nwqDA4y9068HgBnxuuwuBTjij3mn2s2umosySMTT2 dSzCbWt7PxHmrQREZzRf8Ia8SlKw+dLbWYe6rXeG5YIhHQIaSReHQ9VEUPmrsqhF2Cnm DtJqSQwvpqZMwegSdEsxHSe1CUlHfGr1b2UhwwpglYbH49hSGDz0eRsZI1htdfbEau0w aY5w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y3Mm4hXA; 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 rv19-20020a17090710d300b00a4446aed485sor1412199ejb.13.2024.03.01.05.36.50 for (Google Transport Security); Fri, 01 Mar 2024 05:36:50 -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; AJvYcCU7QEJJDnt5xV6RthwCzZ38s3b0mDfxf+tEsGwYOxDsukzekvxo8FPtEkxtH2ZrsVVVyJFhSPylgr+JWu9nfGOhm3NzrjlxygP+UAv6zUJGFF8g X-Received: by 2002:a50:c94b:0:b0:565:7116:11d with SMTP id p11-20020a50c94b000000b005657116011dmr1209353edh.27.1709300210260; Fri, 01 Mar 2024 05:36:50 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:50 -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 v8 22/23] configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Date: Fri, 1 Mar 2024 14:36:19 +0100 Message-ID: <20240301133620.3547430-23-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=Y3Mm4hXA; 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 Signed-off-by: Dario Binacchi --- 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 Fri Mar 1 13:36:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3035 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 799BF3F057 for ; Fri, 1 Mar 2024 14:36:53 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-566aa1c194bsf1181372a12.2 for ; Fri, 01 Mar 2024 05:36:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300213; cv=pass; d=google.com; s=arc-20160816; b=wvEmg3pXD8V3RHesyIvV4eLKRqg2hWwNjCCQEPa3RlHw9jdpYnUPZ914l+w712X1uf Cb3g9xi/8AnTMijg4nzt45tWG8vwnjPP28s7esK0HLZEOYgIlWJDza3+DHiJZj638gqa WD1uXTRD6VocolJd+phZqLmv9HyoIg47EaHbHhGGkgPYnHpSkua4CyfpPHhgrrxbram5 f7S3106vCiWBBzoxphItRS3APWRlxK1dIPk+8YUPrTG8wvyeP7l1mSVolw0oGarniVz6 F1kY+ZRO85VEFAh8ETUOz+WyoNI9lBr1NcogvpifP3eW1cb/WuJx0ZWj092tmlCvm/kT Cqag== 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=SD2TplRZeCV+yORCenhiCkJ4ASEpELPx9PL57mNj4gg=; fh=GO3Ab8lIJbrMQjYzMPgGkK4ns2Z2hs3+LNwllw82QKw=; b=gaswvMAzZAJ9xFf5sZ5NfEXQzxw5OiuH8JH9rAJ6VqkrMrvpUoA/k1ebXKrcYqx8MW 5fhe5uF1qQODoeNtuR66HU+Evdd3viILfFFB52qcTnxaBppIUBQ5Jjvm0/ZYIJC3CV9M C3d3rGG5OO6avJerMDyqzLaOeTNOFc/S3bUjQtHcI3IcCuY3P/6mHeO7QMHEe/uxRgVu LYtZJmwkbc+ukpSwkwrcaMHevWSVdLkDu1NZMEbKVHmzI2ImU04PjmzNvX7ZrcYcqpTL L1N9J9vWQK8HSItEUgNiN/So4aVfwfIAfxbtc0alzK0Mxs+T8HtMhMe4cPLgsrwAKvwe 3zkw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LJ8zMHPJ; 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=1709300213; x=1709905013; 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=SD2TplRZeCV+yORCenhiCkJ4ASEpELPx9PL57mNj4gg=; b=W4yp6frBwE3uFwIhlR1O3x+qWZZu2SRM1yIFW0mGgcVfT+VQh4BeYGuv6orNp9jcA0 qqOwwDLewB1qGQJYmExTMV2LrBnKAMEXNZEIRojbf/RNf6RNv6islMXw7kC/IdWVke3m QpZWJPT/KiDr7C+Zr8d7nNeeVPEl+DP7oJXoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709300213; x=1709905013; 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=SD2TplRZeCV+yORCenhiCkJ4ASEpELPx9PL57mNj4gg=; b=fa/oVzzEZnDLpvmMT6aMTCtCUEB9MFgU5kWUkXAmzMR7SwYLfJLwsNeqi16MmO9uz6 Ng9+vNc+D7PVoklxQcX4vhuLRDqHIpS13yIsATfeeatoo9XYyZ8V08o0uROYMytUOhdH 6ZyDTC2LXK29ZZy01yhp67QsnNaIlesIOlU5SZ5J5qAxO7EzWW7VZxNrhwfebyyXzdgQ BgVGR59gqlQ0rnrmj2gAvdi7K/hznA5S1GNWJn5TsqE8k2QLvS4eCMXisFn1vEym1KqA /kGgI/HpdOxCxJsYqYxdmHjf4D5EZo8FeUum7RDudQAmrX5DSWgG6mStYzaxjtqIN47s aD3A== X-Forwarded-Encrypted: i=2; AJvYcCUKKmlohUulzdcMPuxm+608BoBtk7ONwoEW2ct4CACgtzqq3QarVyOoVT/b9E82jNAiLGpfxE+JdZqKeXXFOt2/3rMZ1FZA8J9NgMLrvpdg/oka//51JAiYSjLuOQ== X-Gm-Message-State: AOJu0Yy9THnH15GvAf+AFDfdJvfOkzMF4U07A3QKzkgxq93yAj2Y3kKl BBYiBYtd823/7KTzKYU8Pp7bVbFoJz3sJwXdD818CWlXORnPM+5J3oBlF2oV0WMcqw== X-Google-Smtp-Source: AGHT+IEqTY6lIjsCpWQiNQ/u5Yk6PsSfEtp8ZjvvwxFnjhhRn844jyRqSG2I/gzxfW0XbLjWIBApvA== X-Received: by 2002:a05:6402:5144:b0:566:b2e1:58f with SMTP id n4-20020a056402514400b00566b2e1058fmr1130841edd.41.1709300213215; Fri, 01 Mar 2024 05:36:53 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4588:b0:566:3da3:bf05 with SMTP id ig8-20020a056402458800b005663da3bf05ls324567edb.0.-pod-prod-01-eu; Fri, 01 Mar 2024 05:36:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUl0vhTds3Xx7K6rddQwbRhShUHVNUCoPG75ppSfO115afHnzjvsJxnhBFNr26Ghsz8XO1FR8QjxPRbmAwDf0BrJjzS1l7qrV9jIZo2a4K3VCwv X-Received: by 2002:a17:906:7f95:b0:a44:2b:cdd0 with SMTP id f21-20020a1709067f9500b00a44002bcdd0mr1456269ejr.20.1709300211735; Fri, 01 Mar 2024 05:36:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709300211; cv=none; d=google.com; s=arc-20160816; b=hTvJfHKV+xi4C4QR4N84IWIbGWw+iowg6Wnk8Wx9gwcYR8i92hQpU2ZsLjmEaFKuBk ua9w0R3WUjLnTx+n3D/9K9y+ceFzEjBQpf0jkHB6eHiOFIbQbchrmznhMPCt0/jJ3qw2 7GI/UKu926CQdw+B520kZFYWgOsiSj/Dc47pKZjjg6lxAn1Ae9NfnRo1i5l4uRyGP1T7 CFACm16E3jq8TZe6zsm7fouMhX6c+B7IH1UkM3MWMbMdQR7a1Va3se7WpIaNK9n871rd TcH2Aik5n8xfjBUCN7esxTkPNW1L5ThV8JrbKfmcIo4ZdYmkKNZ4KY0u2XtKnUnP26fs RG2g== 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=iJ71s/QGpP5X5lkEqyzORGQ2zPtVEnK+RIn+rQevEaE=; fh=igmyEQiEac5+M3trhK7lYFloqIh7t7BJahg36akjJA4=; b=FCScHHdyHKJQbavhryYi/qLPC1GW7GFtN9Aq/6jj54HRTA9iGymUAKcIZ/hVM3J/8m z53UrZVNyqZyWD6Oeo55CRUs6P6Q65uUW35+1nOEzth75iG2UNI07G/isSoXzDqf+tFU Qiouu3TvILYbnyaFuc2ihdKhis8jwcWfGriWsLfUOAfZrWA9wlmOXorjoKcjQ/LxjC4f JT7u3lpj+ZTayoLGyEWpZSZNWnZzKvR1p1nLdlW449eNN70KCYPGWT4u/ozEJkTF4oO5 g4X5Ab4s8Theolu0JSfS7vzScld1uQpN4mr3Ul8dtv0bqCWr7XycIJ/L0pxDCCk+vZVQ uZyg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LJ8zMHPJ; 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 mc12-20020a170906eb4c00b00a3ec4844462sor1637886ejb.7.2024.03.01.05.36.51 for (Google Transport Security); Fri, 01 Mar 2024 05:36:51 -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; AJvYcCU+TJ17wEYWQRE1ph3dlFWzgd+DgdOqYJQo49qXWN3R1C1vooxofl+NIACCSKQy8omtHwzlafPDvorX8HC8g551RoHLmvLCiKXRJszZuZ+Ayv+3 X-Received: by 2002:a50:cac7:0:b0:564:ded0:6072 with SMTP id f7-20020a50cac7000000b00564ded06072mr1306928edi.1.1709300211439; Fri, 01 Mar 2024 05:36:51 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:5260:58bc:42cc:9d46]) by smtp.gmail.com with ESMTPSA id q28-20020a056402033c00b005659ea1caf0sm1566608edw.6.2024.03.01.05.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:36:51 -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 v8 23/23] boot/ti-k3-image-gen: remove package Date: Fri, 1 Mar 2024 14:36:20 +0100 Message-ID: <20240301133620.3547430-24-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301133620.3547430-1-dario.binacchi@amarulasolutions.com> References: <20240301133620.3547430-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=LJ8zMHPJ; 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 --- Added in v8 Signed-off-by: Dario Binacchi --- 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 a869279af781..2b59a65f1c8f 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_TINYMEMBENCH bool "tinymembench 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))