From patchwork Sat Mar 30 16:02:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3063 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D81713FAD6 for ; Sat, 30 Mar 2024 17:02:54 +0100 (CET) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-515d45b24f3sf880967e87.0 for ; Sat, 30 Mar 2024 09:02:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814574; cv=pass; d=google.com; s=arc-20160816; b=bx3XYFm+Kw2xyhRXqGInXvJfpzHFH797BU+8u8NKN2kqZqYdY5BPYhnjujN3nQZCy9 ygQ/G1xD0eFUXH7M7roM2e2Fm2HpsmUZs5ybH601GrcYNWKd84HpYTDygxYcXZqRHPgU JV1iu6IjLV8v+orrEDtvrhDM80lZvZmWLKFk1/ZvxHsMj7BABNAtwIsLNO0Vbh0YAE6N SbIx7FpqV65VuBxIV8CmJ9WufcRTrCcWXWinj+iXPsPRyo72HA3WDdgqzcq9TZBYS6I5 vmSy64CtW67acaMzXV+nLD4f1W6JGAnHdUZfKXQQtFz5UHs9feknzXf8+nwJsNVOqLy+ V+BA== 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; fh=uugjtMlLIOo+pEbcWxiCRllfIh3RrWsuhZeEjod0dKw=; b=u+HXHz/iIDeEoSsVlwVshRNJAK5ZDYe0IoB5wyNTtI/MslHMHgqkxrtZCwq2aUmMbi DCVzHzFyk/9jjSpP9dpT3FcASbI+eKUjEecvUTSr2gI1TAYgjDGOsg4ORC5U69Bh3Awy KzR9HZYVIqz81iZfHZXqJ/K+WgqDID+5A5bcY4+rHdsek95gAOJmhh79B+tkoYmbCSa2 cNdpDgGm7d99IqAmZlOU8f738IP3g3R1qMAXRBSE1hSqqxNd603JxD+hR68ONmgtpBEB GK5+FcOI+eFIHRZ8r4RU0PPw255iKu5gwiQdE1dn5zfbLVIViZiR1Xnemg3sDKS2alcc dedw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dilLqtgC; 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=1711814574; x=1712419374; 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; b=T2cjFTSMZczNH6hC5fN8IYCJrriXRdIN/YSEOkK8w3ko/GCdo0yk73Ab4mE/QQSBvP mrnAb2tvhjS5PNem1/4g3fzn43xx+OB728eDJlZprFbxvwddVGhPQ3PKYNA9SKIq/mGu ltf8CU75UNkVoUDUmgdwcHtEFhFdPeFf2XqUM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814574; x=1712419374; 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=wSQGFOQ9VPXxbmBbmE4iU+8DoZlH/q3nJGq++QjGVtg=; b=jpz46RRKhEiZfThDxASCfanhOuwyo+Oe/A4jEe5WvhfhV/eReal3XPo+Wt91VB6qKI bNySJkJ1h0Oy8kRd3xtkQsOAgDhUCrRMkZGvfINop+p77ozWzDs4k9ZqLDZW9Ycizgc1 rLbkOAbL6rdQpQseRr3aTofuqKuRUo25NlNx52mTj8IETLLpwUGsRhFy0RVtwmH6+BjE 7sf17bD+U2bgvIc32VJ8hkweD7dJhjyTWtEJPgBPQA1CW3mqL6RF1KyftUu2Kl90ojTv KxXQnu9BWgQcoOgN2iBzGVG4y1ks3UAusPcxz4a28kyZrMRYHtPSXLiBQOy7IgqtpcYl 6NAg== X-Forwarded-Encrypted: i=2; AJvYcCUnDHWXuZxmjxfuSXrpeTcOmn5sMhSeDAvq826lS/i8FHtavBDAGLsdJ/PLecRaeyN/TnOrhvf6dM0N75zK7z/dtYpvZKb1XUGRo7W/eqLGVFazL37f8jAOiQ2sHw== X-Gm-Message-State: AOJu0YxgkBO0ay/8qZzJ2hTWAox7JykxfxrCsiap9oZZosPXbR8j6LqJ iJ5krqB2tsRpv7zz0p2iNBIS4P8V+dmLJSBIP0SwB07sIk5pO2wJUKfxw6yO7f/UgQ== X-Google-Smtp-Source: AGHT+IGWfB4W+dD5EoJoTmsdTW6SB6IkE6MSQXEjpjjBTukNuOw/xJRW/soWxIj205K7TJau36NcZg== X-Received: by 2002:a05:6512:aca:b0:515:d50e:c4fb with SMTP id n10-20020a0565120aca00b00515d50ec4fbmr2283068lfu.23.1711814572994; Sat, 30 Mar 2024 09:02:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:58db:0:b0:515:e1be:8649 with SMTP id u27-20020ac258db000000b00515e1be8649ls354948lfo.2.-pod-prod-01-eu; Sat, 30 Mar 2024 09:02:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX4PXshmaE2pGCgWIzZH5an2pops5Y/9aeHHIrHlQCwvdPDUXh8tnL8vbzJUWEQ8QheOrBcqJh3akg0RUflMZGJjAkMePtaQSo8mb34ByJKTADg X-Received: by 2002:a05:6512:308e:b0:513:c6ec:fa6c with SMTP id z14-20020a056512308e00b00513c6ecfa6cmr4730661lfd.48.1711814570973; Sat, 30 Mar 2024 09:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814570; cv=none; d=google.com; s=arc-20160816; b=QT14SMk8BnbrAZq0zpefmyOLR1ojOit32J00L3yvj3xFaamhIPptJ2eK80r6ubY1VK mCxQkO2Do8ZBxCMsE93TNLbp3rD4AvcFPGgJarQpetqdxcxP7NHI9H1x7vGN80fNHy21 0QC0R7x9TitlmLBv6IC2Gx+gDiK0yLe0eMpgBTA9Jk6j87brwMPMr2kktGTIM6Hw4HGI L35oW98h7LKVfI7sjkacW1xDseHec7HGoZo2hzxGaUkaTQd56/dXHdXJoxFzZ4ml9qKy TMfNSMJjo18AarTntVZMDlXPYKZxpYNEVCAp2d1PE243AX0i97ZyADMpdTJLpo0t68x6 Wr+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cv7VlLAcvnxrbd6d8Ys+/QLZBy+FUh8l9zhQL3I/tAI=; fh=irxPRpNUzqfljZGPQHOgoyWd03BVInIs6Z0jlaMK3XM=; b=xvToOcvvL0v35rdbAPA509jaJ3us2A0Wt1LdrqHDxZ9nH9Zmu/kWU9NZgAKlya9EOo zEDbZPriU1uE0X1HUz7m8DDPhE2CZqzeMOYKeN3Ix6vwrECu8+ynTy55zl67LX0Nqe3X rdgfAyKusJHHcNoO9nEmDX2PolsbLvxUrSsEmhOug0VUDYfDNruUIFRTTSr1Llh63q+g YBU1wI0Khywu5+JrQPRcn9glPhrx8a0jEnrTGNf9/VAqp8uvvw9qTlmT8ABuhl09W8Wv 2pWIVMUJQxHfG2wCnNhfWs1uUoPJLg6N3XMDeN3RUE21CSmNFeNN7LtEchJw60UKzbhH 7eLw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dilLqtgC; 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 cf26-20020a056512281a00b00515b1472accsor1850224lfb.26.2024.03.30.09.02.50 for (Google Transport Security); Sat, 30 Mar 2024 09:02:50 -0700 (PDT) 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; AJvYcCVv64pA8/7n4/t7J7YyUM/dA4lExqUJ1fmdPMzd0V7VJrgtyln4u28Aj2Yg9EC3ShxcsLy78UkXN3ZESeqNHBaDQ3TCDTwkoK+SJVfU64VKwhV6 X-Received: by 2002:a05:6512:32c3:b0:513:bc63:3451 with SMTP id f3-20020a05651232c300b00513bc633451mr3892330lfg.43.1711814570304; Sat, 30 Mar 2024 09:02:50 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:50 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 01/12] boot/ti-k3-r5-loader: drop hash for version 2022.10 Date: Sat, 30 Mar 2024 17:02:33 +0100 Message-ID: <20240330160244.3214733-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=dilLqtgC; 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 removes the hash for version 2022.10 of ti-k3-r5-loader (i. e. U-Boot), still allowing the ti_am6{2,4]x_sk_defconfig configurations to properly validate the downloaded package with the appropriate hash. Link: https://patchwork.ozlabs.org/project/buildroot/patch/20240304153253.732708-6-dario.binacchi@amarulasolutions.com Suggested-by: Yann E. Morin Signed-off-by: Dario Binacchi --- Added in v10 Signed-off-by: Dario Binacchi --- board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 ++ board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 ++ boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 1 - configs/ti_am62x_sk_defconfig | 1 + configs/ti_am64x_sk_defconfig | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash create mode 100644 board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash diff --git a/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file mode 100644 index 000000000000..2a5c99c459f2 --- /dev/null +++ b/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 diff --git a/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash new file mode 100644 index 000000000000..2a5c99c459f2 --- /dev/null +++ b/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 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 279cb7763afd..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,4 +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 diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig index a129e216d25b..37df7a93f77a 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,5 +1,6 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_GLOBAL_PATCH_DIR="board/ti/am62x-sk/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg" BR2_LINUX_KERNEL=y diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index 26195194c7d6..1ebdec68ac01 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -1,5 +1,6 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_GLOBAL_PATCH_DIR="board/ti/am64x-sk/patches" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ti/am64x-sk/genimage.cfg" BR2_LINUX_KERNEL=y From patchwork Sat Mar 30 16:02:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3062 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 9C51A3F333 for ; Sat, 30 Mar 2024 17:02:53 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-56c53b37630sf1018695a12.1 for ; Sat, 30 Mar 2024 09:02:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814573; cv=pass; d=google.com; s=arc-20160816; b=gDrpNAu27W8SCtvQeFL2hIAdxwts+Jv/cR2YUpN6H4T7BPirAewapqlZofPnHwLC7b xQnYdIVFxLkep2noDLxzEHdFC6IBFBibZbhTm5g/qwSnyI2Unc1ksUaX3mKY7ZwEx+LW Thbjixr8NsZcFyVvQFf2ISi92RRSKVEr63KEgBr0zgKDWUYGLi1HiJpbZqXHx2UIC0AW 51ex+uE3kfCJuQZgXjqZl9jPiYYA7eU1YMY9xWsv5AG+y0iU3ldpp+ljoeduGTOJ9GTh nEXgvDLpjNwXrwvLyF7TmHI5rwUN8+7V6y2hpGKKygFUP897zDZ4A8J7ie63R58iAjua h3Bg== 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=ZtwmU8h6/axGxv9358zyhJ7VJEyxcdzNC7ExK0R79Qc=; b=QttUlxREgwPTktJtKkPmKDhEkLBbTpeKaAv35VMIry68orLgJ4wZyLOvs/qDCQ88N+ gDtR9oxrRlHvUYBdERcT4KJwpXlW0ds69QburmXRmQvCr4iX88tk3En0Zd4zFvV7JLq7 ww8euu6x6zo9wlSCJQBWYWJOZbw6t9r1mDcDounip91mqEp4cq9qtSLSICSDkQGCTOlj ccpDj1MTL0J1+oBU6Yy2Qe2wjEI1InuuKwOvDMK9eUC77UAyQ6mpSwPME0u/g/TGHW8x JAeEOwA58kNWDo0XMSuTZYbFHW7jiRzoQN3wX08MPBAET7+kACcbCyHQPZAWwyGgU1r/ GU4A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=q0g3QttA; 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=1711814573; x=1712419373; 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=fkUM55J8pSioog/I0ZTLfNFl/3sIhvLQr7eAdR0q+q0uRcomjp5IohFwJDOEkoiKYz 0p5/6zUmSnI9IHYw9juADnMLaSMKvldwFbsZnNSPM0vmpo/bGHgo8IVZC5wdmTy4RWgk HHDL1Pm3b7uTmhkMHB0PrFqy5qE/FbJRTGCGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814573; x=1712419373; 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=vczK5n3+aXPqSFza8d4BRiPQ6UHpgD9j51c43BHqVatEGLd05b4gg5ux01LSBW5mK+ OpKrbFJwQ0sMdTycyHDN9vKTvT564EhTamFG/aRzMs7hFEU/CuitAwv/yOTkoHqQ9b5p Hjsm/Gk1kwecWXlZhP7YU22AI0n+/sZzzpPQJpG+P/QvuVyoOti9fXOCaPtww0E8msfD MuPPf3S0017+7E+yzpaC+5L7CQArJsb7KrAY0JRANLgsZIVvad3g4venpjQVxnYL/cR8 PRcVCNsJ9t8wtqEXlUvbyY8rbe9LBetcjaPg1JhoRklR+P0x4l3ONm9NWdZaLOAV4a26 8NJg== X-Forwarded-Encrypted: i=2; AJvYcCVEIs25Az5he1PfAqPXW+fwb21VUe62McLWUsBL0rmh8gPOQVwaQ+Vs5rVVxo8KFQUzSv320snsb1K/Tk9rqUlcJwNbr3fNEY7mZN47l9IGglyV+57Xi49eR8ESGg== X-Gm-Message-State: AOJu0YyCnH04suoSPEq8bTPO+l8pDtZjjXhBDySecHaNLGShze+iCfX9 5cac1RmGY+29kEjPr7dasSNs+LqkzWX/+oYJ9GXOEs0VxdqamLtUL34ETYH6D8VKxA== X-Google-Smtp-Source: AGHT+IGroRVhDD0FgLNmHl7gGayY3PxcQQcyZXzE0g5/VkL1i3l1RrrQPx2HJ6XXMZondU4fGouwJQ== X-Received: by 2002:a05:6402:13d6:b0:56c:5a7b:5dbf with SMTP id a22-20020a05640213d600b0056c5a7b5dbfmr5564582edx.2.1711814573421; Sat, 30 Mar 2024 09:02:53 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:2695:b0:56c:53e6:a900 with SMTP id w21-20020a056402269500b0056c53e6a900ls297029edd.2.-pod-prod-05-eu; Sat, 30 Mar 2024 09:02:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVkFYKs7qxmb/6BehBChbIoOUqVJy6KoHDJgfu2yBwFGmRuJxeLQyCs7h0EEMqLsfnBiYQ4H6jcCmSKVw289l8mJ2CuO4eU9lUOD5b3QnZ5/dEJ X-Received: by 2002:a50:cd49:0:b0:566:be15:9a88 with SMTP id d9-20020a50cd49000000b00566be159a88mr3782094edj.20.1711814571781; Sat, 30 Mar 2024 09:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814571; cv=none; d=google.com; s=arc-20160816; b=FAlOUX7EXntxOZsvkIcNI9gRfzrh0frkNp5fjBiKX65AEUBA+OcR1f+ZMRXFjxOdVH haUrj1BhSpfbfQrsP5Q6Odl4FR9aEpIGawTabzHFaYkcJji3kAgDPv3uB3BdJjn8/Uzm duosujWl7I1eydTLnyK31eQCUsNzYd7j3I9clJtFkoy8IFaC4LAZDCdh1DUDtyRuPVXg Nj/fJLvNQLAwmL4B7xTmJH7hpqVPPZRFj3Tf2Fd/AYl5bKB2Y5tF6n7ctDvPVUlP94gU IYqQ69BwFbnYj+fi1wwuvyLslwTteQ30UrceyWqkhuAMJe4Q8gXtIWVy/CxH0++T0D1H D9rA== 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=HXoCNk8yn8O351HhXt27nGBLTN9Xx2AqAi95kTHgyMo=; b=PrblweNQCpBiDMaVs81hOvYaFy15ldRtl5YhCCIncWoAe+76otMpOmkFHmkan13FCm N0HWHrehgJNY8agZKpH/D1VDHPfRJFGZYWGh36JUzZ2HmZgj509PEs5TJMT22uGY44uL I3l+IbRMn9PN3cQ5GrKDvNr30Tmq+0XVTubPi/YmCffnTeEQXikhQIgHlw4BzqF57vhO ilEaaPeNEb0A9IG7o3dYRGM4Y0g2D5xnB2CaQHfF7Trx624GTMr5m3fKyRy7U83KtWDy 5t6w1Dusa88tp7n950ruXK+I7YMyNdSz4uxNtfi0TFbtC4k1ybinw9qhwgUEZosqGz3y ZJ1g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=q0g3QttA; 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 n29-20020a5099dd000000b0056c09a82c7dsor719503edb.6.2024.03.30.09.02.51 for (Google Transport Security); Sat, 30 Mar 2024 09:02:51 -0700 (PDT) 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; AJvYcCWlPpUCLsiiJMEn0Tlhld7veJhYHB8EmBGjOhYfBSFf9x/ziePlrfqELKvW7ZnhdRsn2NBM8oJu5jKvjfEBGc7nT/EKRwDQTYa4hA/LlSrx2Jo2 X-Received: by 2002:a50:a682:0:b0:56b:f54a:8485 with SMTP id e2-20020a50a682000000b0056bf54a8485mr4483237edc.0.1711814571523; Sat, 30 Mar 2024 09:02:51 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:51 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 02/12] boot/ti-k3-r5-loader: set binman environment Date: Sat, 30 Mar 2024 17:02:34 +0100 Message-ID: <20240330160244.3214733-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=q0g3QttA; 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 Sat Mar 30 16:02:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3064 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 40A793F333 for ; Sat, 30 Mar 2024 17:02:55 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-56c3dc8d331sf2096543a12.2 for ; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814575; cv=pass; d=google.com; s=arc-20160816; b=dD4PMyDMuYLFk2gZd8xY1u8PLImxFz8XdwNKp3JnInYHHO/AE9f5aOZhl+vVwqJKkE AhDlWWnTjfnrxcpXVsGWfGyfb0+GsJLFMrafceJuzt4/HRCncVwQEue9AOqm0kzsA1RR XSm9/KKsTqna79MpcOC2CGMZJM3lnXWFHURHY2UK41HPhmgWK6jAm/unv+JBWoTSCkHW 1pyyrmmW6Nn9479pcuHJvvxzYIsAiz/qqDAvbgmF2WiU1c7G7vn5VyN4xSWvSNGKhTi+ Vngz0cahZfq1cBpRUPtgr7kKb+d0N1yy5gsuRmQUkahj9i8owOP8FHdFEhuGcBtgK1EZ FFkQ== 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=tQF3rQWPiVL+iskPTOgdp2LQTBkGmeoIyHPLtkQBIuI=; b=TKtTt08ZzL6eRfU8Bkd/UR6zHr8xKJ3JjAC1J55cxp7W5F3sFrhz8wom2OI1BZp7bl IS3WS60KWeSjXFOcoduF0aJalVdJindLEqWBu8HydbInEvVRi+RG+rSRIf67t0+Xmnes tC47/74RRIf9PNw7VeWp+5SKrULtE7lpZmPt5XyRkAvTy44Eb+whkHPvtGGNgmKwUvOW kscx/UqP62w73vZ4HQ0tYH8gB5Q4xZ88Uk8wHXNCHHnuTmpGh4WGKT74WcD92p/K1yGT mjNXov0WruAmmxaABPoMWu8z9IUb89ytXDRl5/HEFaJYgcjHXidYL8lENV0WS+mxzLrr nzew==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fP+31sBR; 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=1711814575; x=1712419375; 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=D27BuK3HrAfcVQqBx0xEw206iPfk7so2RsbkyUI8hXcREr5rP8BDJsvNnOdQoyZ3Kz k1BKZ8J7XLDiao20UVZO4rdcsyCOj0Dp1sU22C2NCjAWurQ+/XEYr3i5/eV/5wrKBShF 019qigCtD0VO9SLiT27erkn2s6z6qC+7WQpMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814575; x=1712419375; 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=pPL0q7yg6HhvdjEzG6r8xrCYjMCRbMfG3fsSxcZ+oOK83gvsClAsZ+/1KdiWB1bblS u5Z1WEBpl4Mvj4Lx0+bmpNiPHqH5XEkOm/bRATbwUuJ5kF/t4dHkl6U7rzIgbqykz3+4 C0zQgPFTfpYN4mfPh90D+TUnIhiX8o6rLphtaiKqIjQgYIJ7h0eUuj4ue6tf8w3OJ5XB +pfzgfOwwXmOXlqyI92IPdxUMfJ85L/iDeAUaPC0+yu58EPP0vQycnFMPX6YWekSBSHk Os7wspnJgdGR9icQX3dTf3teyeNOWSIWg9eGGm5lIgA1FpHkC5ntNfABv3X/j4GFjxRy WzaQ== X-Forwarded-Encrypted: i=2; AJvYcCXBLb1jY5nveoGmlrgGreivPOnwsOkTqE6RfMhfTuOvfJn0q4yv8cxz05VZWe57x6CCACb8iKr3dEgNEb1QGYsLHjwb42Iyd1obOxQRM91qJpS79EKR275lhf97lA== X-Gm-Message-State: AOJu0YzOqWuYGRTekX+zGXuqEivZ1cUqCdoSlrG1iX6zAezVTgSAld62 zYgI5XgsTIv0sldwv/9irzCeZNnLgYPe2t9u+MzGRoKIdPEsKv4L0alt246R3yocVA== X-Google-Smtp-Source: AGHT+IFsJrVFGH7gIy2ADahBOlVtkR58VgwsM1d2M1IKIxj3KIbutnMDHGzOiVL+cilJJiHxOLUZag== X-Received: by 2002:a05:6402:4313:b0:568:1eee:5e23 with SMTP id m19-20020a056402431300b005681eee5e23mr4045608edc.21.1711814574919; Sat, 30 Mar 2024 09:02:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:2695:b0:56c:53e6:a904 with SMTP id w21-20020a056402269500b0056c53e6a904ls580334edd.2.-pod-prod-09-eu; Sat, 30 Mar 2024 09:02:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWMaFT0qNG+K95gRXn8mr0ndPENJGXcb+uRQEaCYUCrMRxTwHKy8ugxZrc52TFojx2cMDHf28eYy7FBr4Th+VXA1xYoF/njMn2LQyqFBridgiXm X-Received: by 2002:a50:a697:0:b0:56b:d212:b032 with SMTP id e23-20020a50a697000000b0056bd212b032mr3188084edc.14.1711814573245; Sat, 30 Mar 2024 09:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814573; cv=none; d=google.com; s=arc-20160816; b=EgVYQiakXV3PzPZ3khAJYZh+t0lyp6aohoFOJR/VUICbIOKv6aAACnhgD3u8gSGh7F NT5Oq3cH49XvJqxKAGYPN3iluX/NadpfJJznk8k7j85C0fdpez91YA5Xpj0HBWw/DRv2 YwRfY/Hz1oFg8zQGcS7WHC4IN5OybDeNrTW3KBLecaoENOn/SvkfbsAxNi+tGavzGkZb nfrNCE3DgkTOgshsXAK+o2ZMmncb95gLdMjAqAJK7wgHVUY/+95vIVo2O9vYrK1adhLD vXxUGn/riYzVGW7po9wlMpIeG/QfVWyzRbYlJFokHqnaPYFm3+1GTPi39FNi3lIosfda yc1A== 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=TZfEb6IRyJp9352U3xZdKVX6/deXwNYk87ebhMYl838=; b=WhFwHvb61CDA09e4+SRO+EFpuhj0IWM1UKhK+CFi+5A0WTgp0sLcZ5bYJksorrHa02 aMfVBfec1T1nVt97H0fIp1yds6g+IXyJDZQ4gZrVjEBgf94Ot9RcOzgfaLtaLfYUzuSr 74uY4rnTYsmlx2Rcfb+l37J4G2Ge61IwjaW/t1P4AOP5QskSLhpP/ljk0QA/ppen53Tu /XkmbxDCOfUxCKYTSAI8UztLSOK4Y+pFrOMONsHSx7QzCY4si4MrJaCx1tvJHh0bX3tO trcPmwNmsND4mW72pWhVzmcnsHr6Gb4jANKmQhGmAS3LFswcrubb8GOb5kJdW6F8zJr2 kGjw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fP+31sBR; 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 x12-20020a50ba8c000000b0056c2eef00b8sor1406879ede.1.2024.03.30.09.02.53 for (Google Transport Security); Sat, 30 Mar 2024 09:02:53 -0700 (PDT) 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; AJvYcCX7fnRlBQD8riKyw1XOj3lnQRPHRVzlYhHBmRewdQjNxugS/MbJqGA+bSgJU0mMuJ1nHK7ArWtJ0TwPrV2NvNg0vh7aV2pAvrYIckWzXZhrNMlo X-Received: by 2002:a50:ba8e:0:b0:56d:c548:6af8 with SMTP id x14-20020a50ba8e000000b0056dc5486af8mr773428ede.9.1711814572727; Sat, 30 Mar 2024 09:02:52 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:52 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 03/12] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Date: Sat, 30 Mar 2024 17:02:35 +0100 Message-ID: <20240330160244.3214733-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=fP+31sBR; 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 Sat Mar 30 16:02:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3065 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 69C513F333 for ; Sat, 30 Mar 2024 17:02:57 +0100 (CET) Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-513e45ab9a8sf2157131e87.2 for ; Sat, 30 Mar 2024 09:02:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814577; cv=pass; d=google.com; s=arc-20160816; b=U937TXZIh+EhK3UiJhxL2BAQDKCx7j+f4PFdLOQ9ypw+0tQ0TDSTu1FmB1S4TwTJYY KV8+Kgdb4kRINLSWLHwSddrTSkrtYLdLyjUGKKguchk3kutMaouEMvatFHfmLa0K3o7Y Dxf3/Pe0yGP6nVizGs4psNk0/I+7k3YIgvwQRASfH9ToS8YbVhJ8qbqQgW4P29v6BYxr p1p1iltXWY+FkkuvnBhENhHD8mIJ2Hae0TF/UBHpTGJA6lEJyAgsD+iZjDL1vM1CBHzB LLK76ZdbpMSBAdw0AHYXsEGhO7s23yJqyXv5Ciu16SqAziyCGnsRFxRLU04ITyB1vw5R oChA== 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=J9gbxQshNG/A5/pd/kbQ/ors5gQPPldBxl4m9mifvlc=; fh=PMC0K42vFnOqXRfGaVJ3rHpQp3FhdYH18AQKKJrATaY=; b=GPpEfo0bRphcmrmgaQfvdcexD8w0iUr8LHJ+Xw65ambS1M0i3BqwpdVwARGkN8uURp GpTlY1D4ilqf2flhsB+FCZgjHgyW0WmH92zL9FfriaVv0+f2cRjwUtlzKN2NpjXjuNwp Ol90vEXMNJX5f/1eAisYLIYlcTvBC6KIECY9DWZAwHVjVQ1rRvl9C3Tmrpprhhu3Quj5 4VLxXo0UEwbVV+iOdS17BoB/4vbGJN6E9OVsg73X1R0Gg07q5q7qQhfBjZluhg0w98qt Og9wm6MxNEgE6umCt/zs/w+hZtFj8w607FnB1U2NHXgowJlvpG62qMVYLxVH+VZ5iGsA mnag==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=A0+m+1RV; 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=1711814576; x=1712419376; 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=J9gbxQshNG/A5/pd/kbQ/ors5gQPPldBxl4m9mifvlc=; b=Wu3lCAx7hVtqP2TNjD3SGtBLedG7n4AAUBCQhD2puhKPqIL+K4+NTglJOSnLx7adUB UsKVFRGEKAdeKi/m56ONa+EeuSzah8UgqOQMtLkfWrO557JIkKCj4RZRwBc6OKk6gKJ9 BjL4fBjQPd798cHIy6T3Eqr3V8STnZ2F8J5qo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814577; x=1712419377; 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=J9gbxQshNG/A5/pd/kbQ/ors5gQPPldBxl4m9mifvlc=; b=kA/yzms8nvLIp8lVFzM06BrfzAQf8Rjowb6sSfKIMqtlwIpDiecALPZvbtvMsaCy4R O+57H0VkKWmvynK8C41Kbndvk+Aygpq42HOAGZjYYdCgoo9PITpHNbobWYqyB6cdWSXQ sRDCV4AyHB7hZWd0VfxjwGG050Lka5neIZ7YFssrIuZu/+gF7+yi0F4UgXGbd3SUpun2 0d0UyVaUp6IkikkJQTkcvPcabetess2yN6ch2ZHB6/r9+NlS22DjMF3A8oOUmuHHQc4+ LV9HXR+4kdxZb71IAqMyqIiCX4Fz8cgcHtQFCorp8mkj6T1AG040Szi6OiddAUV+HEmB P9Xg== X-Forwarded-Encrypted: i=2; AJvYcCVTEqxr779MMlsjiBfAYQHD+n1Nb+IaJ84zORV297KriHqTfyZjztEzgc6g6PSoGEplnHVPauAxytZd0wnGGnDaAO3J9kzcaX10qaUKNgQ8evAKI69/r/Dn8fu2xQ== X-Gm-Message-State: AOJu0Yx7gEuHcHcIuRlgelNOdF5QD48Um0xKhJ7sqcpXbepQApKXLCCe oxqsXcsJ/vBBSFV4YUSl2epvfqbRy8N165T4IBDPm17vlHUuxboE385S1I4d4p6DBQ== X-Google-Smtp-Source: AGHT+IE/YLCUykr8Ueqm27zbGgHbzeEvGFjHQfYQs650TBFz0d4ITCHNPmMq+4hOJU1xD3da51nBUQ== X-Received: by 2002:a05:6512:401a:b0:516:9f03:6a9b with SMTP id br26-20020a056512401a00b005169f036a9bmr1381673lfb.4.1711814576644; Sat, 30 Mar 2024 09:02:56 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:1391:b0:515:b137:ffe0 with SMTP id fc17-20020a056512139100b00515b137ffe0ls659744lfb.1.-pod-prod-01-eu; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV8VWLIq4eoOPt9kST+j/7Vt39q0yGPORbncBEjA4wJzkyqe2LactdfLwr9v9yEAQxcXNRpBglnbjhb8G0XN4URPsIb4XTPQI3lmEtZDeSEX2Sd X-Received: by 2002:a05:6512:68:b0:515:aae5:6c11 with SMTP id i8-20020a056512006800b00515aae56c11mr3075057lfo.34.1711814574725; Sat, 30 Mar 2024 09:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814574; cv=none; d=google.com; s=arc-20160816; b=saHz7IxDACD64Zzo43o0A43USwMScCvmV0UMmASqaHQ7+SFSwi4B6KHAn01Ru5xPxg tDqsASnBDf1csu1VwEyBW0zuMIxUrwAu2PXDZ16Od2Lusu35+AXR+thfhkR8e6XnUkj2 r6YiKeJiknSlNQezgU6zwtu3w/I5AySlw9NbSGRzt8atnLaaPtus6EzobJrCBd9oFfLs 1TBrcj37mId7r+OZpLVEjuLXTug6LP0+sASvHKluf9/nMgxlKTM4sjaBPrx2AP7YX+A5 lq+fM5Bw2Ifh9gz4yJVeQ9YPScjphxQhMkoLOAJXij2jxO72c2qIVWTKRZp6uMigZtqx 32KA== 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=6b2mFktqgsDVahTG36yqwYydAMnP8vuHi9nnxDrUDqw=; fh=tI095+iPDmgLs1fNotONOKgxmLK7v6F8hXcwAfR4148=; b=tuY7m0ogSwangG8Ns/NzMqWAISdabZkHI7cNOazaA/qwQ1fpGx0ykaA4mUX1sNmuzq kCSBuFwoQ5sHxMbO01eG6q9bPBBdaK+YmmFipjMa8KYVECYFPx3SWWKm52odPIaTDxH6 1tLb0N8X0xn76kPEFKhZ4bVmzP03INFV7aeFaDLuPBqOefEFttw2JYjz6rrhaodlhTAv I9QQgHmecY9RwntJ/5W70zuwRiIkMihYGXVP5c0FB/8qMauW/6NN/eeei7RfwpskMgbj /w8FV4caHKztSD8ip1QA3WnByA+xQZ4VGcGh3yerWf5VW2qsBuZxCU1iEvm1+OmxbGIW houQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=A0+m+1RV; 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 d11-20020a0565123d0b00b00514b4caea04sor1927113lfv.2.2024.03.30.09.02.54 for (Google Transport Security); Sat, 30 Mar 2024 09:02:54 -0700 (PDT) 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; AJvYcCWfegD7duKs791GAksu714imIpx1pbLKXk3xy6mPAqwaSKyovfHMEoFxiUTZU+wt6IgW0xSg7g2EZ84XW2EtNTyh7X4/nUwQzqy1pnaLT5uKXLM X-Received: by 2002:ac2:4a71:0:b0:516:9f28:f3d6 with SMTP id q17-20020ac24a71000000b005169f28f3d6mr913534lfp.1.1711814574081; Sat, 30 Mar 2024 09:02:54 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:53 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 04/12] package/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope Date: Sat, 30 Mar 2024 17:02:36 +0100 Message-ID: <20240330160244.3214733-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=A0+m+1RV; 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 37df7a93f77a..19f7a7bd771a 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -12,6 +12,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" @@ -24,7 +26,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 1ebdec68ac01..a19cf6f85572 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -12,6 +12,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" @@ -24,7 +26,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 410fe0f4935a..15ee978b6aba 100644 --- a/package/Config.in +++ b/package/Config.in @@ -630,6 +630,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 Sat Mar 30 16:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3067 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D135940CB3 for ; Sat, 30 Mar 2024 17:02:58 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-513e31aef6csf2283673e87.1 for ; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814578; cv=pass; d=google.com; s=arc-20160816; b=jhzKX53BED7PF6H0t4k6ZemuWBGfUrP0B1oinN8GX4iEIzZ480znVXLx3qAl2QVb0W hQGJKwuNMwj8Eym2w4tsDvmI1uYe/Pr/O8g5jdjRDTsQkMYeqY1XTGUQan45U5XRIL9G Y+/HePEhejlbG2N11aRBdgg9GnBawSAP/lDYrrsHi2npvQkrSlQClmVzc04MyXv0/eEO trTj9JUfN5J8R+o/mhUjbuC7o/IDNuV3cJvDPTkELOTfYyZVSiB7UkHuDvFWIhKXZdrh 6M2rJsn3JhcrlfOYKOxnQMzHY5ZIdA4BzblyKkIFnvLdm/JtP4B0FDWvkoisYJSPPYhJ kdSA== 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=mNAo/2Gk96aEwa4lsuMWfFW+wVxjK7P78oHEQ4fOLQI=; b=WdVnprlspmNrUtcL64aTUDqys+PGFTYvcgH8CzyGkH1BAXEcbpsZCjFaWlZGAuDREJ nyxLqHWaIoRdHZUW9VnvNxG1guBKINO+Pe352E0sp+Q5UU498j90tppfEZ1hzz6ma5yN rUFJDJY9mFJJ1h/SdVSPFYCEHzOklAESlWTMq21CpnO3Exz4sSinl/pkj1ABKyk5/iBm zRaUge3m36qqcOzyB6IfW5shBAQFObo+f1xDnM+745MbzkwN+DRznDo+RX6q8nM6gjq/ R4nq/g8Bz+eepP3bTv5umvY6gvGW7r71qPxh9eNsmnuet3iHuyeMs6DCEbqPiijH6Fsn nbqg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gm3TYAu9; 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=1711814578; x=1712419378; 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=Wjs33Fs6dPORe+IBjIms0d+xBbX1bPFCr1ubSQ957MVjWkfeeHBz5pHEN6xPz1PSD1 sGJQCACunU5IkhoRk4Nc7R/kGhZlsW8ueajfSkXhljbaFWdGYBX0aOgk8KIczb8AnGtV Ofhq+D6aL9IjqHJFnRI6z2q+4WyHDkqUfC0Fg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814578; x=1712419378; 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=js3NgTC79VVht1zGc9rbb+vGkPWu7ccgWYhkG+wZrVDGNL/peacMhEvOkOLJpXAIA5 l666S4vldzbR1L1s2um7SFfrxD0tV7izI9FYgWyfOWnoJnRidP/9k0NiyMqO2q8/yFEA yEawNbMyIA7J/3XxLW8rbJIg2PcwOQwc4vedveopEK6bqXnDrPpfPjRzIGN8QbicDKog ddO+85P3cXbVZiQ2MvytRsCMHeyPhqprXZpM8QnasS2ByC9G/SZota/TItH5trsNCQOj WveWLKDGq3Ha+3qlnGIO7ElyAKMeUtOwsXMx8CEJ5r0ilKdKChwKirQtduR9R0aVa0J4 MjAg== X-Forwarded-Encrypted: i=2; AJvYcCX+Ma2osK1BuYQT7WPhuTiiX7HZytppcaKqfSVaS/ysCpiPz2D75s4JgoRaQZx2aM0vThy8ttTvWufcQ30k5d6a/mcilpNLFSUqwCiz19h19RkPPF9mScbapqUoyg== X-Gm-Message-State: AOJu0Yw/7xMl+FQXYaotgKu/rZJwDxnZZtSr3Rw9Z/yGmxmM0QKFHgUB l8+4XQ5J8jHwqxDt6o73P/YqUi7DevtB/Q5IcDe6rLQWOhkXq6EhKsp1S+4meK1mcg== X-Google-Smtp-Source: AGHT+IHeMRqsMl/yKTld8FDKyUf4CPbBtydf1laAkfCPXeXiNR5iwWI0acol7n00+pcZSWLC9QchBg== X-Received: by 2002:ac2:5e8d:0:b0:513:e14d:15e1 with SMTP id b13-20020ac25e8d000000b00513e14d15e1mr4125430lfq.57.1711814577445; Sat, 30 Mar 2024 09:02:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3e06:b0:515:bebd:eca3 with SMTP id i6-20020a0565123e0600b00515bebdeca3ls651024lfv.2.-pod-prod-05-eu; Sat, 30 Mar 2024 09:02:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX/748kx5j25EW348F1PHlmob6dZCkDildyOSZx311x3K1Fo1EWoM+xJfOkq0Hzvzgs6HZc9ArapQHoDXUX7pNte/+3QJA5BgluBw4XHrK1QB1l X-Received: by 2002:a05:6512:1385:b0:515:d196:6d4d with SMTP id fc5-20020a056512138500b00515d1966d4dmr4906889lfb.24.1711814575530; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814575; cv=none; d=google.com; s=arc-20160816; b=pRIZZCGzqCf8zGBQ6l5krW+pzkRzlH3Q/01Ygr+UPacKdt35jKvnBm5Kn7XpwNEdMK aGy5ax8JUOB640FceR1YViBkZGl20/UnuwXZt/q+Bww/IczM+lXoevt2H2QwiqDmMxEj 7RSUHFunth0HMp4kfF7Y22gcAbOuVjijWsBIivjh/x5rWez9sT73IBPTlFj6TEXJFz/9 tK7Q5hEto7Zr48QJ6OVRz8gdG1MJR29SdCu+m82ZSmTcIKJAF8rTjavEYXkgsExfP7Gz q42FcZBApt38DPM0dAWYKo9nQKrPNzB3wCya3lfhBbj8KMdT3vvUyRdR7TOV6l0RUHRg KAnQ== 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=vyYPSWM1rpHbq0d2eQI4xpmaHLT7peEVUHxT+1Ll6Vg=; b=rCMRKJobVjMx57Ika/AQeyLIi4jyoFaD2Kid0FQo3Eksb2EdYtINGzr4OpNB7aPxw3 +QNvKaWgD6PdCJPYEFtOq7Ngg5FmUuQ77DRF5raWJb5l0H3vVFHGa+YcP8wyzpMFfrU0 bI5mYoDZ1fOYJwl9yEox60N/w7E41wgMeKzdE/peSV0q+cveDuvuCLZm+f5IaLUr4Yi/ I+wNk4BwCO8TkDmaG0WFOZ2MlQ8utDoKTBa7eVE5d4VmUMgH+Ps+sjcR5CqqakDZz4AH iBj++QUUTIkuRY4CcTn64FUnjGTBXEDrfeYxGAPtqWKz7LeGA6TMm/d7mp4mI7lt5OMr xFwA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gm3TYAu9; 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 f5-20020a170906084500b00a4e26a20078sor649203ejd.4.2024.03.30.09.02.55 for (Google Transport Security); Sat, 30 Mar 2024 09:02:55 -0700 (PDT) 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; AJvYcCWzou5jTepjn29Cwbde5Cggei0ibQcDCxaXVx4+djw1NgCgJLA5SnA08N4x6S2oayuugrwahpBDiC6028993E6bv34rTc5tEdvsYZVA8oJ2aGzg X-Received: by 2002:a50:ab14:0:b0:56c:5a49:738 with SMTP id s20-20020a50ab14000000b0056c5a490738mr4186054edc.10.1711814575243; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:54 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 05/12] package/ti-k3: disable HS-FS for AM65 SOC Date: Sat, 30 Mar 2024 17:02:37 +0100 Message-ID: <20240330160244.3214733-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=Gm3TYAu9; 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 Sat Mar 30 16:02:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3066 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 8FDBB3FAD6 for ; Sat, 30 Mar 2024 17:02:58 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-56bf76d4282sf3138241a12.1 for ; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814578; cv=pass; d=google.com; s=arc-20160816; b=tFvVj1Q0QHx//7h+PfFDFgm0SBx16+TXpG7Y+4GhGyDbpRyXj7p1mX1S2FKYUvl0VB ver74hSE+Lqa3bAwJAoxpEgrmbA8Z7JmN7DUGQJhqF2mYvhqNmCYhhUzXlL3L1wGCJ/Z IkNUaqi5BePil+xyz8UImPGgjEoJ/8mCyeBoGD22wA8axS/ETxvLhPV34fCtmE9NvbYI +QuU2FpzhbiZj8r3CJOmkye3BqkT9fvQ7116U2MpSTV6njv2mOkw1ObVtDtGSU4GLY2Q mjERabHpb7hOI2SeQAHyBqwk3IfqZ6Bl3qn157va2/ImTyH6IOSUaOibCNjscI0COSp+ hJVA== 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=t+7l5XKtRI0Ox7E7JEo+Ch43GSgsuRF5Mms/zheqM6c=; b=iLtF7xXM+eME5H+cXGXcEyalC9e980X9itmdstYjCuNX85W7WrIvbNDRqa1dbccOFT 0G5ZilqQdeZTlT9eTOVveEEByvcgA1ltmI7FezcZr9kFSMaavNkOFyfD6U5xbCvp35e7 fnk5EhC4ezCsVROn3Q5HH+cXTq4BRenYEvxWHYD1mm/9BDX1iYwqwEOUS14vQRUhmz3r tzsrGMjd8iI0wB7e8FTDaQlXpdqYJepwocnDQqfmSEpkkHjQMHADBZqRascVRc6SQyXZ kirMq428o5ox+vnIj3UlOLNPaWo/ThLhu4WQSYo/7+7NAjWjs763L8w1Kf9a7oQBcTTS 3hGA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VPYTTvfx; 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=1711814578; x=1712419378; 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=YcrdAWhRpw4hkNOcKM0w5Loa+p9rS+TIgj+XTfuABkOkE9hdiYte7aM47EqCJe2NX6 ONX/B0TVORDa5gLABdJz9v3xQmW8oc0eKdAy1sKn6qbN3aUIbcL/4budM/iuQYxi+9RL f2/49/ILdMojMuuREq2qIHKqm8wuNdaVKcfT4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814578; x=1712419378; 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=WHITNy7Cwq1d8Lu7LnZUmJLYMABEYF3EeEy5sP5myWuXkPE/822aoXn6nYEYDH3e// ZmRXfbsew9xT2dd7n/dKfROCcjkQ0uVUXnRhap9npHKkNdIYzF/B7v+jrsC/oJHOD3mM gOQ7KbbaaR1ukU8I/I45uJ6ENLvZSdoHwdfIypaK9KpBExN1ekNck3S+0H0a/y8YNTiL fP/s/FKd700ZAuXtD9sQYdvm+vADLDlBMD0VejUKTbIPG5yESarrNGKdd/XSNHNXoSSc 2eB1aZh4ODwG3sQVfhvJL9suouMOJhHRp16/swTisQQcCTJhIaWReVIfw7EGkXAhcLRn QkYg== X-Forwarded-Encrypted: i=2; AJvYcCVSlnpTG/yK89yMH4ZAzdwYkrff2vJXfSSkh18mzbJY1cHJBiVZWCAVBo5zvHF3kqGA7YVFw8foH71rOYVZMtf3Nqwb1TPPbUbvTo+MBoYw3PD3l7EU7mPphTUmhA== X-Gm-Message-State: AOJu0YynfmPvL97mAfb3+Mvly/3CGQa/mB9o6McRZt6P/JaiZ2btLwXc C+D3L6rXlskTGSBmVwd8X9ouweLBww/9Mtfl5/LZSF2gCObqCIthyvetk9qHNKeurw== X-Google-Smtp-Source: AGHT+IEmj757O9U3ZbitFND+kfWiSeWkCRlFSnZwvE3IE4vSPJQLJSyIuWKeuxrxZxYh2XZB8STekg== X-Received: by 2002:a50:cd02:0:b0:56d:c757:9379 with SMTP id z2-20020a50cd02000000b0056dc7579379mr621604edi.15.1711814578327; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:268a:b0:56c:4cab:8b77 with SMTP id w10-20020a056402268a00b0056c4cab8b77ls483162edd.2.-pod-prod-00-eu; Sat, 30 Mar 2024 09:02:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVmMgOngQpbERa0rq5HL+DG34g2MEofl6I8avkFhiUaQfjpK2f85amqHQFnF6VBCH6NaLu39GzJgj5agUy8RmXvgWBmKqUmpMvUef9skUH5xXOq X-Received: by 2002:a50:d714:0:b0:566:624a:9e3f with SMTP id t20-20020a50d714000000b00566624a9e3fmr7838782edi.3.1711814576785; Sat, 30 Mar 2024 09:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814576; cv=none; d=google.com; s=arc-20160816; b=MYS95wHjiJZgGQ3gU3x90cwveAfl5TEPlRzr6TUxBgtHe+/EWtTXjZhzK2t8U18Ic/ h4GFiJL2lSRmOsy33QnxEpGVXuF2Kv1tsCiXus+Pke2mXM8+EONWjbPPnPeQcl+LP1RX H9ZzOn+U14Tss5KNldNNEN7kPo65O9geOZCFwGhufirLYs1UsMQlY8Qcqob8GHFgF289 gVkDiRN0ytnxL+YRxnQE8BWiIYctg9q34SsUL6wULAVDGwoYn8EQvPWqKuegnONqb55m Oi1yhjw1AgHgJJFtDmFC5wbcb4QS42J30156SdVZv96X5OqPwlwiMca45rju04S3CIoA QMGg== 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=v2Qbfxv8+WACo9kZxzFvVSGZ9mpEI/9YCXmirxswbCw=; b=sK3ayNmTWyJz2N1XGHlwSvWEC+qfJAEDxxlebJQu6hA9kukzD4WalvSGYQh0fGi7Cu YumsA6KD8sp6y1mUKnsvLwdnpj9VLT4YxWx8Z16lLAHm2ZHUYDBBsLRM8WT9k/y056in iJwTWRzIYy9A2sLqGqdJV5eNxe1xjETnCr0A9WC1z/Hd2bReeHCXFmQQJYwf0zD7nUrZ 12mnDvf8bRhlfVFfdJH3hlXzg+vnuCxbPDD+0cAExDS6cCzpbZz6ZXTICACgTmbkptit TEe8lvVcv4NvLp1xZlvQpaKH6LUU4jErN9vN5RnfaEg/LpIbpm+pUC5hmphk8H4Jw2K0 o6Sw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VPYTTvfx; 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 b18-20020a056402351200b0056bc1116e06sor3565737edd.3.2024.03.30.09.02.56 for (Google Transport Security); Sat, 30 Mar 2024 09:02:56 -0700 (PDT) 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; AJvYcCWhrJCcsuNDmteOCtGcqkuHxIKv5BfS4xNTcJkV0oDL0goBCtEkQlcMGH/3z2Dc2Y4OUWNnF8igI5kvtFI7T1wr1Ve8ACdsyBf9rpFeV3OGaIw8 X-Received: by 2002:a05:6402:3590:b0:56b:ddcb:bb67 with SMTP id y16-20020a056402359000b0056bddcbbb67mr5473973edc.2.1711814576559; Sat, 30 Mar 2024 09:02:56 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:56 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 06/12] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin Date: Sat, 30 Mar 2024 17:02:38 +0100 Message-ID: <20240330160244.3214733-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=VPYTTvfx; 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 Sat Mar 30 16:02:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3068 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 F16213F333 for ; Sat, 30 Mar 2024 17:02:59 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5681b29771fsf2599562a12.1 for ; Sat, 30 Mar 2024 09:02:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814579; cv=pass; d=google.com; s=arc-20160816; b=QZMtEq5Pd3TvcIeZyzeJD9+jG1BSKNxF297LufAd1xqvxJijezNzXjznaspZkxXYIW OhvCLtbzFlTgwh+t4qorCyXjBmEpGtHbXLdsWlNP+2N+PFsdz9pkfIdAxx9RaMYlu3yu UJ42Qvb2G+Kl4+XpD255qB91ELUiC6EXU+P5ot3qYpTY0ar3Msu2QfRgJIionchGmXfU Y2efaczegQnYdfBaeUjDi6SBDgqwB+CpShjlGrvVD41nlblDToUoUwdE/g/dIvP1wdL+ nMLiRIDlXMt4gwsUjoKQkl2b9mSB1AZreAqJJNmxCu/7N7/aZV/yPUG7+YWHMlS1FG/x xyag== 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=jUHbM8rzmFQaa6VQ6xR5Dzz26Lrtk9Rc3JQUE2UYCzc=; fh=kZ/LBtLbiPfvPxt4WIB1HX9FBS0zaATGlmsEp+hPse8=; b=ialjFfqSs5c6CXr3eG8Xjw1MXsOslzcLdC4KH5BKK8gHwdtF50FtnVIiq6j+ADjdxy 9koueMDlP73qtBaBgVMfE/9cgOKLJs0s7K6rI45nWO7vUuPeycc769bSxCkW9WXKqi0v xB8GGaU9GaV9PUuzS8idIebROAybSK7MfVvB02wEOG+Ex5NQm9QYu2X5baSGY2RwxSW7 3SXTZXxP1tB/4+WwY961n+H+TVuUF6y8T2DYzqjKuLtP2ch5bPIFc5shpdc69EMTVs2j JcF3Ss8/ObLB09vr9iAjm+xrIURg+Vn45k1pkHkRLj7gXN9aJs8oJZryYVw9yOtmhnUT h2rQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oGPFLnt0; 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=1711814579; x=1712419379; 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=jUHbM8rzmFQaa6VQ6xR5Dzz26Lrtk9Rc3JQUE2UYCzc=; b=gsAdFDK0NmH7M1CVuE8OuWihLhx5L53/PG8ozIHTP+/TnB34PSj4NQ0o7DikXrN8OM spgKK+pf1fuuGUn7x/semeK50Cs7NxLoXFYPb/WHu288HWxf+voQGbtwaZD2Ndx1vFqF h1bxeNn3rTTXPq0XcnUxSOagLAVeA2GJoHkfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814579; x=1712419379; 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=jUHbM8rzmFQaa6VQ6xR5Dzz26Lrtk9Rc3JQUE2UYCzc=; b=fEqvcrNA7KDLwu6ofPcabcndwfrknwzcUwJIFMeP6jPWlU5hhnG9rASrJBbnm0p1nA zZ/YVWiN/u3CF9nwLmUX3c/TlPSWhbRy9UQ8/ye1TiKIcTKJ/dV+xWuCZYLvj1iU9yHk evBULzPcamaJgcXiHMZp9RDyK7h5XZonW9yj6z42yP1ChxkMOfFHnSLVzHz70pV/Gd2B lo0IZdfqQUeXCKkO1/Gf4HObFt462FgIklWxs435o8YN2cOR3pTfFssyYG4XJRAEoALj VXvZ/E2goJj1pZZnDte3rTXj5ivBUSy9qyNgyKoiXtrc8t21vmS65228hQ/dNv47R4CS kkvA== X-Forwarded-Encrypted: i=2; AJvYcCXEqPry1N8r3FqTLnREBjxwkfaARbG6izXvLRz7fZqQBugnzPB6XGCijreEOUnU9PudWetEvFWwrCJzVqa8zkPpg/NAe8RGRBzpw2Janm0MSxtCKHeanTvS+D54gw== X-Gm-Message-State: AOJu0Yxt20Sra182vZtodwaAxKkGPK29wiw9NfyDqGvd77u2HFIrt1eE qnPJmGsA+UTYqOf2qZpfAtHhwRukVvNeU2eaVS26SNaEjbzn1hwJiXgXkD4Q20in/g== X-Google-Smtp-Source: AGHT+IGVFzr/MtWT2PUzhVdJOREQLtlP6ZY2lhif2H69e+xOjG4yYuKHhA/ZUsKzeYG2YLtp6prCLg== X-Received: by 2002:a50:a455:0:b0:56b:863c:2c92 with SMTP id v21-20020a50a455000000b0056b863c2c92mr3506939edb.34.1711814579641; Sat, 30 Mar 2024 09:02:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1907:b0:56c:4c79:16b8 with SMTP id e7-20020a056402190700b0056c4c7916b8ls989588edz.1.-pod-prod-08-eu; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXRA4IUngXY27yJdBlwj/KxEmsOoWj3R5TkUfYM/REO8LoO4yoMppkxU5k6Oq+RCWAVot9jewzLEMhvLDzgZ+B/Fjb2e+LWVtx9j7kzwScckZdV X-Received: by 2002:a05:6402:34d4:b0:56b:9b11:9594 with SMTP id w20-20020a05640234d400b0056b9b119594mr5134887edc.2.1711814578042; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814578; cv=none; d=google.com; s=arc-20160816; b=iNknTCI1ZskXI/6DKX4VdNbjCllUQSmwydOYzVN+G6GEJod/L3S2QrQWTGuwJxJZT1 /lzRAHWyxGAenyM0DPrKWqB2sQCasTXXyDTanCI58uiH3/LIHiG56KBtv8XM9RK/UroF vh2cwcQF5BsaaEPofSQi3E/EwazRRynYKGiVhMF/jz4v8dU7wK8OywvXgWHe768bJHuz I2+ZN0NyyrnIVIAtBeyBc3D6R0ruLSlpsJt5Br5GX979SANNtvabeuhmcPU22PJWjwuM iOSHWOH5pIiRtKzmMSAAL5BeY17o0kt/DCQecbWTAACqUHmH9lqg/ODYrzo+XINNQEgl 2iLw== 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=7GMIv/FjA2xaHLfdH38b7W4guNhgmU1W9KtfoNKMuiM=; fh=fNhcTz60rgAnw7+J6Gujct6yV6zeiiQolEHxKu5aPsU=; b=JDga1FS/qBf0DELH0BmX3GONcblDlh40VURhdA/FmRnookgUo/4mRYH0d11dTJHDu7 6GoHaQSuwsWPCjvN2BUHQQC0bP89bHPX9AJemOYx3r54gWANSmLR9XLzM5M2zH0vYcYj pONEMjlvsA/V8kGOTTNjitsdemdUtl0CdIL5/aqPJxNMUzLX/Pp9pBWl5b/RECsRFxi0 wBpid5QO/OJ7UI44eVT7832yNmSI/g495NhBgDkTLb/dqNDEVh2RObERD7bF0eqZF3Bf x5XliQer3Fd5tEyVMSPCv4KiCQy3oog03MbS8qU9HSyrJY+0sQOnL+kOlHNSqVpYh0MV j8zg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oGPFLnt0; 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 i6-20020a50d746000000b0056836c2c1b4sor1339999edj.12.2024.03.30.09.02.57 for (Google Transport Security); Sat, 30 Mar 2024 09:02:58 -0700 (PDT) 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; AJvYcCVMPpFjxBJXgZt4ZUEmVgkACRNL7mu4lp0MyA7Vl1QncM8SaSoyRACDoDw77+B3mH8XkfPGDM0MaPAOep6UXhaXCaXqqnZYDLyeYyu/NVYWPr3P X-Received: by 2002:a50:bb44:0:b0:567:23a2:5b1e with SMTP id y62-20020a50bb44000000b0056723a25b1emr3823946ede.23.1711814577779; Sat, 30 Mar 2024 09:02:57 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:57 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 07/12] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Date: Sat, 30 Mar 2024 17:02:39 +0100 Message-ID: <20240330160244.3214733-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=oGPFLnt0; 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 ++- .../ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 - board/ti/am62x-sk/post-build.sh | 54 +++++++++++++++++++ board/ti/am62x-sk/post-image.sh | 5 ++ configs/ti_am62x_sk_defconfig | 14 ++--- 5 files changed, 72 insertions(+), 10 deletions(-) delete mode 100644 board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash 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/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash deleted file mode 100644 index 2a5c99c459f2..000000000000 --- a/board/ti/am62x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed: -sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 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 19f7a7bd771a..7d9912024a16 100644 --- a/configs/ti_am62x_sk_defconfig +++ b/configs/ti_am62x_sk_defconfig @@ -1,15 +1,14 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_GLOBAL_PATCH_DIR="board/ti/am62x-sk/patches" -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 @@ -25,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 Sat Mar 30 16:02:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3069 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 4697540CB4 for ; Sat, 30 Mar 2024 17:03:01 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-56be6572ebfsf1211288a12.2 for ; Sat, 30 Mar 2024 09:03:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814581; cv=pass; d=google.com; s=arc-20160816; b=fWLbCOEIeV2Pr4hQzc0JHSQD306nKSii6CvyJKkgVpivWuQAq4fnv43GGONpZmwCL6 T2044CXaL8yU47eL/IU8nD8Camq0lLZAK3rEIHsIiWm6H3tjOA+hpJRfSGA8yRRQNi5O LSmCpMNsgG1QkmbdxBGI2hWDT5hFMxL/Cm8ZxdCPoKD3zlu5HqvbFTzvH44Pzud5JUyR bYH8xkK6Qq8cctbgZpveCAHitl++01ZY/qY9gX4ORIeRClVeYa6qkjvxlauc54iHwhHQ wNHA8Tlv/j3z+R1T2p8n8WBnDVcM9QvDNn+99c5gyzEhz/S1R5pJ1+zbRg1g/VBwgKis xIgQ== 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=wd6mldjtol5Nap2YMdUCV69V8CoLdZ2BLfkbfg0deQs=; b=zOiwIBbZw05nYeTALtHOSThHr/O7hmMWKdKMvfb7vtEoDAv7cJDPK7OfzeGq+piq2A Rz5rv2hu49/90SaUupYtFVCdN4GizdM6jZzzGTmZuculJ8YNuBdyzSNUe+yGzEc8QK6+ MYiAGMBgf6d3GyfTweSCpJZn9paJlqDoFOO6CkFEXVyq2hUQDXCGyPrZHLIFe6NpcryR ObaK2OgpZ8GosIjcbRCCn7VmOsI4GJlscuBHTQaRBBZHB8RapO7LC/ymRcxy96scthEK W8aucTVjec/A1GW2xQf4HlDDzKPQqt5i5oOVplv//kdoBhuPt+yCVam7u9OsjncbRQpm 7+Dw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=foLMv6FF; 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=1711814581; x=1712419381; 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=gQj6lAcN1BnecmYqNXeONEbx2xS6P30kYmkN+1k76+9M6bYvZ4jiu69GYIpL21/tm5 eIMTsO2mn1wAjxuy+70rAfcEIH/xejWVFUYk/muj2M7y+8PljSscpsxviDPnRLgZoepe w83xLAhZBg348/bE4n2hINMLPwQp2ftzLgxJA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814581; x=1712419381; 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=pNEBXt7xd1+MGLqa8YKI67T/x390wCWbMF7nl7u827K7Jhb4R+RNT9gzBK/e15SiXs AvxkbuHDvE3u00MPaO/175iwotcpO3sreSdkeAU9rs2u/Oio4oegYRKjNawUNMTTa0Vc 0EJ+JqSD+4XxrLcPlOPHppq7vUcTVVmzjBaOMO1VFikVvmRbwH6j4p86scjB0m0Rf2AT OjU8QxC/yhVsku/JQee8iHE4ioMAvNA8plCcVBtAcNxqk+HPA2bFWEZufTjBJXIyIP94 N6gVoH+VXSadojJKVhUa5rJmbhE06P6MusfrHykpMs3KtHJ6nRywHog3k1aTizHVYy1L yyRw== X-Forwarded-Encrypted: i=2; AJvYcCUfj/MC8ar7DYcsLMuGZrZ4ey4dwkuj6hRcNWKj0DPZVoYtdJIVsugiiwq3OBZIVzWifDg08UDRalVVombvaWeM9atS8dABzVcuhYIEnAir1WlvP2oOi/nWK6hkyg== X-Gm-Message-State: AOJu0YxOBMWNIFCqHIoZ7NZi7TeD4Nc/QQc8mWOuopbdKtsTdSapR3nm gnqzbLQ+b8KjObICQ7Wv4tlej6mjeNJ50KdmgnnqBA5RjWwXouVk2tqGVBEyaC7KeQ== X-Google-Smtp-Source: AGHT+IFs2/GAmrgpy4Q6g1LVFH95rBPKA9EFl5gYdEBq+sprfru80TMYqC5pu4D45HzGg+2Y5b0lYw== X-Received: by 2002:a05:6402:5250:b0:567:737f:e910 with SMTP id t16-20020a056402525000b00567737fe910mr4990741edd.3.1711814580893; Sat, 30 Mar 2024 09:03:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:2695:b0:56c:53e6:c3fe with SMTP id w21-20020a056402269500b0056c53e6c3fels1158075edd.2.-pod-prod-08-eu; Sat, 30 Mar 2024 09:02:59 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXxIDW13Ij3EI9jHQY8RPp1mlfQwjwsPoJk19tVQFhpFnoiWMeuGD7zftMA22Bdrs1xb2va5nKFWh3aQA7VlyIZN86IeuW0Gc+SM5zZyDB89WYp X-Received: by 2002:a05:6402:40c2:b0:566:2aff:2d38 with SMTP id z2-20020a05640240c200b005662aff2d38mr4088715edb.26.1711814579271; Sat, 30 Mar 2024 09:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814579; cv=none; d=google.com; s=arc-20160816; b=RD7/75saZzwWknX1qh1SbGOX+10ErH6Kpvx2xZ59llZr5UihhrlMNYZIoHU5uwIr/Y 7el1JYM5n965FjvNsbLFElceWUviLlMkCSrLx7EYqv93f6etcqi1VtWiaKMdMxhoMBtp FWXUCJI4elJDgPR4hsNthVjhXaDQDWlWt847Of9cdHSs2dolipierqVR1kUnbIlURufy X7gz2iiTP+n3eA3LEalcP48SE+ohJIAUxIynGQ1V3Ul+xCIz7/MFOzcVmt5IGyPswl3y N8ZdtC4vFVyfPV1e/nam+xO/MtDdEjt1GPzwWO4UdFeVeQhCZD6so7ZF0TF2hCwqtEbI jHqA== 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=6SgOWrVVqbpkcIbfuu8nshrX2oZWOe6Myym60C1pl8k=; b=IKWNO1JSsMWxJVxmySiRrLe5MCLas+L7hFDAvbEHq9ftRP5vNfZCTMU+3uBb7gGXNG Im7ccnj9AFArJqQTnlcjkQ7AwBPWAXTXkiHAqw6YYIpafFHD1kUitlpY4mQT7VgIiBuy 0csW6F8ruPeErCo3dJILRo8E1nRunoKbgVFbyQQLwcMrL2ZaU3mnr0NVsJ0vYWPfSsbf wbMI0rBWB272SuF50uMlJcOBjeEEWrwQSbC2MXuwiPPlfqtk0DYVJoYSysTEAigRi+r4 Z5HXmq9g593U3xHlNlaYALmPwFINWL6NbVUW2YwEdCutaqT5BCRYLdsi7YCtCviWO3b1 A2Hg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=foLMv6FF; 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 17-20020a508751000000b0056c17c1ee22sor1256936edv.1.2024.03.30.09.02.59 for (Google Transport Security); Sat, 30 Mar 2024 09:02:59 -0700 (PDT) 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; AJvYcCUPzFK1eTvUWFRHcnVG5NhmJmyu7jPeSsuYgLZgfk0gpb3HJW0kxBjJRLLpYCja0CKXYP4pcpkWok/4MIhxK1FtMMd7mZmi+NqkcuRlIFP4PEVw X-Received: by 2002:a05:6402:5112:b0:56b:a03c:4eb with SMTP id m18-20020a056402511200b0056ba03c04ebmr4611234edd.31.1711814578985; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:58 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 08/12] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 Date: Sat, 30 Mar 2024 17:02:40 +0100 Message-ID: <20240330160244.3214733-9-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=foLMv6FF; 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 Sat Mar 30 16:02:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3070 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 795CF3FAD6 for ; Sat, 30 Mar 2024 17:03:02 +0100 (CET) Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a4dfdbdaf06sf149530266b.3 for ; Sat, 30 Mar 2024 09:03:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814582; cv=pass; d=google.com; s=arc-20160816; b=y48l7xJBAyc6PsyvDB3bPn+h0gz3ATTni030VDv+J9GJUCTMEV1nGy3wkSFy1Ux2ar 0thPgJy8gY5KDvIGcAbu0Wbv3pWj9zW2TTH7B6DjlaGvwt6JgIPeq8qs+mzQ4j94fS6/ LsXeUjbyQLKQQcmKkSmDUf1yvGlkCKdEThIrgbqybC6A6r7xN0BnSucBGqXOgwSmxEHF qR/+Ek1CXj0kJQ87vxVg7zSkISkDx5zJJ3cdCP8+jblMH7T0IeqpzyyugRmtB2wQHbuE E8yn4E8d2QKu6ge5rkiMJsOQsSjYxTwU/aLBVaGrZ4W0Qu0Hr7i9hQaFATcvCel8/DRo RacQ== 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=QcIGsVm/nYMDLnrX82Nm04f140wozpyGjJxGTgiiLXM=; b=ljooXZQWmGfOXGIouKR3ujd3t7aCzDwa6TePAYh9DPG6guGXNfpQm13DmJnTGIPEag LsapLrQ6sbJZQKvfWBm+tCs/cJ5G4D0Vb+XhtajvTUG4kgO0kESDNYk7gTyOZvUZJzHK CrudRjZYfJZb9Q4cbsEOCw6UibplSIjxdYTqUs+GcGlRVJxtdK3xbe8Sc2Rk9pw8g3C2 71kjjxMAwveQjXZVTfeEtk8BMRlRjjG5ZVrfPezs5Eyi+1eL1nhfGlzxLfIJmqOGpFOT 6Fqi1b7iKGP9e8LoATOY1uTw2DQSKu1F443qXqQo0h49WQHG5c2lnBthVtsoikvu2sht Hl/w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iK7Vx6Ce; 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=1711814582; x=1712419382; 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=BeLEfbm1O3oFkCt8o1j+hiwdDwGTftr/kAglw3vgYPS8/RHHidDzTJLIQdUODA91QQ VkYFgXy3RS8slsqc0NC7vOnn9V4qREQr5l8gfhTeC67h0HSAsZaXcbldrkJdtNPVGdaq P5f9UX+/3hvHZI7OOgGEBc6SFWlu6SpJ03kSc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814582; x=1712419382; 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=gbrsH87169B5+mEqFcmeymVhygnp3sYSWE+QHn2mCKgNaYUb50SE+0MwIFR4sVebBn WoE2PcGD11/vyColF8iYp3AFvVPZgURrzOPkRH/EFr2e8It0c9WbiBJs6CDOWYxEJtAQ KiHrSblyFgTDlP4dLQE0CtrzumUF/U6ikZuArOmdKMPkAZYjBUpt/H2+LILo+8x4K8re afTQQ5zGYwn9y11xRgEzJghwOaMnknyiJ/xFRInk7+R+mSDoPAqs5R5bBwH3U5JeblIQ nEoSxAPriDd4QU8bdbnF/3oXac6KBc6vUp6gu7vQlklbSboDI1qb4wKOjOtlYgvoKzWG QY+w== X-Forwarded-Encrypted: i=2; AJvYcCWmOB2jn8af7xdpn0yd5ihpDSz+1eQ3Evo5njV+BXRvRyCggj2vx8q6q5fOJN616NjD4PULOk45dzoEv/GOLdwI1zOIvOB4QVnLTx5g3/6pj0V155BiSCV5oIBD3Q== X-Gm-Message-State: AOJu0Yxnk7PcRrJS9Hb1pW38QeV3xv3jh9HHtOKHgrM18Hjmo4nduwCO ywzlg0/9hy7K1aHvclZtqmU5i3RMqITw1AYqjw6doYtSAih539CU1h+nRnDvJ4TN2A== X-Google-Smtp-Source: AGHT+IGOzVd4MITmih8Y6bHjSV5+xe3Al+FfDNu30938JRve4am7B+mBwg/Gch7lho/adWKkWV+fXQ== X-Received: by 2002:a05:6402:2114:b0:56c:d44:f1c3 with SMTP id bl20-20020a056402211400b0056c0d44f1c3mr3933181edb.25.1711814582161; Sat, 30 Mar 2024 09:03:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1907:b0:56c:4c79:16ab with SMTP id e7-20020a056402190700b0056c4c7916abls131188edz.1.-pod-prod-04-eu; Sat, 30 Mar 2024 09:03:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUcK/SoWEWF1U/uQuae5WA1B9KlnzTHT4OWGvDPYClZd8vHCQDfvZyGF0taCwj6xj/nziwJpGjy0U3F/A4aITJOPZuuHk+vHyqeBhe8EV2S1m6D X-Received: by 2002:a05:6402:3547:b0:567:1221:d486 with SMTP id f7-20020a056402354700b005671221d486mr3856560edd.33.1711814580567; Sat, 30 Mar 2024 09:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814580; cv=none; d=google.com; s=arc-20160816; b=a8BXhNyYhpdcEk4ElGAXV4YLQ79F0XfbQt9UFqxp1GtStZ+FOu6TR6s6mQhOVBp0P0 XLrpat/jBdfkB86tBHHDnW1HJ98hiE/dyuincv8cjQt/JEHIKLWp4DyDktR1dQvdDURe iLyBVB1enTMg2YPAAJVl+L8muuo4Vj/kOJnck3uLNj5xzlOwIbSykVZ2B9o4BtNYqK9L YRFoEtqbM42TUnyNIcSlSssrnF650Xi2iAbM7+BZ326VyMIdFHAHDyoecIHoHH0D81+S PhD+eGVIfuMq4qQKnnJRkDiLmV1xvDd41uwwE5rA+ilY/rq56/20mjqlhydTM+Y1pdW5 7nqw== 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=2LE0rIPebpGxL1G07YhkIddS2DYJOM+DgJ0h5WLyZoI=; b=Z9e1J1FkQ8iHkn5kACIOoX8SbW09L5nXxdfWvIt5u+eDKAL6o8WpAIJ/sNfc4+WmZj tKFahucdrQbX2rCa5JO4B7OcR5wAhGAYy0MBwXNNvmZyWRgf0qFdPSmDh7l4hPpHXMvz MrwdQrPRBHYhcKQsWkx8Cs4URozObjvn0mVaQ4DrdEEFqDHzV6aMACKV916ZrmN6PKsa 6Ul1n5q8lB1SiGW7AgH2k0zSkS9whm//XLbS4j4BcauX+fWuhc9PxMh7a7ZYn4sUqWJ6 8DSuwVvjv4IyEUV/yY0/KKvmvO4YPHLlU0laIeAXVaZ+jNb8Bk947rlMpcOTrIi+gxyw TiMg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iK7Vx6Ce; 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 x14-20020a50ba8e000000b0056bcba9d413sor1314289ede.5.2024.03.30.09.03.00 for (Google Transport Security); Sat, 30 Mar 2024 09:03:00 -0700 (PDT) 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; AJvYcCXoc1PW3hojee6+jV6WZ6phklwRa+ilyGLOnLd+mdBC4pIqrZ7D5oiTeLBD1lhUhMbi5ugpaGfp2Doua5hV1vdHyrkng4/L1pjsJLl6GLsdvVmr X-Received: by 2002:a05:6402:51cd:b0:566:777:af4f with SMTP id r13-20020a05640251cd00b005660777af4fmr3304678edd.1.1711814580288; Sat, 30 Mar 2024 09:03:00 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:03:00 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 09/12] board/ti/am62x-sk: generalize post-build.sh Date: Sat, 30 Mar 2024 17:02:41 +0100 Message-ID: <20240330160244.3214733-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=iK7Vx6Ce; 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 Sat Mar 30 16:02:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3071 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A71B03F333 for ; Sat, 30 Mar 2024 17:03:04 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-515bbb9a73asf2199680e87.0 for ; Sat, 30 Mar 2024 09:03:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814584; cv=pass; d=google.com; s=arc-20160816; b=1EcXj2vH4VJ4EgqB7Thi3MIe80cSF8Z8dKvNNkhCAQ0Gu0RuR9gmZu2xoNKT8BW25k XK/DIja3SBCwRqaYjqsX3dY7ViLvRJTIlFZtOIW3omcQBub2pmxyY6/s6E67zsJKDpSO JCqfZyEGuesoG9pOvOMYUv20qFjT9Ij0H3IHOcv2dfGgJhtl6UJjS+QFnscnXX+ONdAu EGjXnqkR+B8T53cCGwHj7F3TcRUeP6HIwVOuDISFcmOdBe2m6hl1joU8k2rN4v0dHGfe Lvjybru7yG4aeqRG3N0xOSM4vOw13212i5E+e3hqTDpTRmsAfUcxhCZx89euZoEJlFsd 8TOQ== 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=epfkfbzHN19R3jYxyOu2NATgm/4L534mSJ4RE3i+H9I=; b=qfnL9LPH/WYDmbQQ6tpU9flRxzXtPqq3PGyRqqY4UvIp0NZ3x9OmATIGpymWvQMh5P TToBwJBvkLz8K2HK6z191nL5VC1lp9bVg3XJbni9busGOSPmrzYE9dAH1zINdKRBDR+i R184JdA5DYwYOhjFO1ZTiPu1s38Ft1kviIu7hBNEHDJEM4yrTl7xLcJh73CtE7FDcY/C 5rRDpGAvwLha+t2UqAUb2hDmWNAHNaW+Poy4e42myzkG9CCcSca7m9njYMpoRC2wbkDx ajo4mihyPQ/83+7oSWZk3i7gMgUMssz4Pb/rXMCEz5LyErPloTKS8PjWX1bRqzHDrscR xkYg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y6TwbhJS; 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=1711814584; x=1712419384; 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=XhUUMChVXxj44ly4KEPbuam+8a54pjluS+hZkd4/F+cPtocYSGg8KF+7/vmSBv22kb VaCUo2FPAMQLYiwfMws3tTmYP6fYYzvlyDALxCsBq/ZfocnIDXYpMV4jbD/EAKI3REjY 1vnRI/X3GQ8BICc3q1HKrYxKOketsLIoDaDr8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814584; x=1712419384; 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=bu9KYGSLMn0Ocy6C6kVbHq5QkXsh4OLJjrmJpro/3rRQQORJcXANRl06hYNb61XoDi 6i8ly5TmcBavOagSBYtc/o+Ue+z42pKRA+DWmeZCAognkQpj7AUjG6ZRlt1qhBpY9Gl8 47CHjMqUc51BVq7koA5BYc5J7LeqezD3a54WQQVDy7PV6oZPyrjk80twbCQZ6RC+IQrv RYN9AfLL0POf815Pd9bSNGaSA+ZMbb5FPR7heZXOhbH92yzTr3iIj1yYvebi2dnySdlv MePjhYSP8kboQFv+tLldDs1Rp2iYnbYTwpaAzefmN9py/pS9BohoA/oYuGBd0EXvXq2f GA0w== X-Forwarded-Encrypted: i=2; AJvYcCUcvRe+L7hL1P3VuWKzKfuzXyhgJoT4TBM+p5YM3OE2wAXjE+AJLqieqAiD0f3v/PRR93EaiYRVmbrnlMgLTGOAuSQBd1k2aYqL2YVGqIhp5arQxy9WGVyd74/Aog== X-Gm-Message-State: AOJu0YzBG0MQJFbsu+TVve6wyVUNTwBDG7yU5Y5CqoM7Je3jsUmC6nIk FhDYTY5nCWxs19F1mVsIpUUbK2opgSHWrczSt/QzSmuSB4mOfwL6DxE52uI42Vwc9Q== X-Google-Smtp-Source: AGHT+IGTzBxlIV+9dZtbr8K9nKevvH7HzSA0aNFWDinak1r53JMp0sNghtlcpw0ezf8+s3chkEnAvQ== X-Received: by 2002:a05:6512:5c9:b0:513:b30c:53c7 with SMTP id o9-20020a05651205c900b00513b30c53c7mr3548893lfo.10.1711814584046; Sat, 30 Mar 2024 09:03:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:1391:b0:515:bf5a:b49 with SMTP id fc17-20020a056512139100b00515bf5a0b49ls693645lfb.1.-pod-prod-04-eu; Sat, 30 Mar 2024 09:03:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXANBaAa59fEYnIHXHUN8loomYhGgwSYOXh4v2DlcP79+nlw33PKKmJ2dyf6hliFM0sJb6qbm6MTmk8MGZB4wQ5Co2yNr0TiiU2y6dF16nivxDc X-Received: by 2002:a05:6512:2248:b0:515:9474:2fca with SMTP id i8-20020a056512224800b0051594742fcamr3814239lfu.5.1711814581828; Sat, 30 Mar 2024 09:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814581; cv=none; d=google.com; s=arc-20160816; b=uojH4j7Twn64Xw/Yueh4LPm8JyROsdNkFeUESuBaXOhDbGgt1rt2Bvgdn7n8JfKX8/ tpATL99caoQMKg2GSP0wbJCp5wmWA37KgZ44qBnLUaSgpfGN4SyaQmM45mdmLG0D1VOx n5Xa6EjabnA3wD76MZHCiWNrClBg9FI7dT9Z9TIoPNsqTg8nIfN5DV6pZWYPudohmg6Z aBf/RL7frzcpNB20oePO+8u5lpJGXXGC+LjcekAq28B/F8Swgc2TjVALokWtjDFevYHO iXKrroBP+WXbSdZXdFSVTYP+aB7TZZ4P+D+cTZuQj5qEY07UEjkuDlnFTq94PCpv1Wg1 MFdQ== 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=PRU0Cb4zGizYP1h8rqp+0XJnzXZKUzYvZRH1ODLM62c=; b=j3+JyzRZdDh/ZK03+Cw3ro8oDgJB17x17fq2sb/SxOmN/Zrh5Nd9eBlq4oak7aEb5M ulKp7d3yEDNut9HpX0Xn4fdk2/B7X9WLWmIjtU+/dajNuQ4EdkkAwhAvDqpEtTb+b6FH o9ZBdL1Sn9gK0tadpzJogWV1elVXu6Hb3W2wW+aGXs8bxznUw3VQrcm+6CaaO27yO9yn K+9CseqNcuDqvEaxfTtvKoK+Ngrehn+6qJ4xMjq0/KmDri2PFBZQIuRgZJwYnGZhBBe5 WWeE/X+EOYSYTcjke4h5cLLYr4TBqEjJG0ceItn7D78BFU2WwdY9IhoCmhmxav750H7F Mu1Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y6TwbhJS; 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 g21-20020a0565123b9500b00515a8e0bf48sor1976297lfv.0.2024.03.30.09.03.01 for (Google Transport Security); Sat, 30 Mar 2024 09:03:01 -0700 (PDT) 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; AJvYcCX6R50mMYrT/gvTjFo/8MvWuw8HQZmqblHTrzvItfEi7rlEwjzoEQx2QXVrCc3Vz0Uyb4+6yxSD+ztHafCkWjVKDnUtWGSqhAsravjXGJyTJjiQ X-Received: by 2002:ac2:420a:0:b0:514:cbee:a261 with SMTP id y10-20020ac2420a000000b00514cbeea261mr3341365lfh.27.1711814581547; Sat, 30 Mar 2024 09:03:01 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:03:01 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 10/12] board/ti/am62x-sk: move post-{build, image}.sh to board/ti/common/am6xx Date: Sat, 30 Mar 2024 17:02:42 +0100 Message-ID: <20240330160244.3214733-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=Y6TwbhJS; 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 Sat Mar 30 16:02:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3072 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7805340CB3 for ; Sat, 30 Mar 2024 17:03:05 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-516a368df47sf99551e87.2 for ; Sat, 30 Mar 2024 09:03:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814585; cv=pass; d=google.com; s=arc-20160816; b=jYTUPBG5PqDYcV73PgSZwzmk+sqWQhQAUFyQ2XGYYm6PJzQZtaXjxKQvvLH4EXQa4f 8CJ1bTt/eQwbCm/zfslBcaIk0QkiYjwOKaUDXEN/TLryJ6sxR0MELrY/Kci2x/yfzKaq 8kYrioZlWkNCEGoWuAmmUQ4JgBZXe2FwnStmdYxYpAVFd1lgESBNAEpEH7P7NkZ+pvYh Dfu/igWCDXAFw+VSTs0qcl54dljyj53fmzsSTj1Qn4KRH/nawzbCkMNTme/FIZEgk7Ez k3vwrNaafn3YQsgyx5EFBuccWAG8ymQ4H0ykn0k239od8+46y1jbeVw6TscYsmGLMOP6 bhdQ== 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=8RyjaKerJRYph5fYiw/j3/cdlh6d1unxpjAEa1SPGfI=; fh=lf+lm5BHy7MyuqxobKx5T0W5SY62M28nu0aR2w4t6is=; b=fAE8qfp7NSJaPP+z60DxolYmckale6SuXhR3ELBOKwnq1GkDNEwSII4+ZBj5VQ5wqE 64fp8M2FjZZghf+suZpe1yhIzVF5fYMotfkT3LXAkJOwppmV7CYEMvZrDze2+ezYRxGr w65wx1DloN43g/Q+1fCpm5jEGA7VXQ0+zWF/4VCcyvwK7cgOlBCHk0kf7TMkJegA6YNZ MWGqTiS/Iz5x+y+wRdQNfor/AbHRRlm5pj4anXaOxNybeor3RYwuV0Kz199uBdjSohbJ bRFi2QsklihWFeIC3OI87JdWq4jn1Vzj5VF3X7wjgUyfN7Rr5BCbSDap7J941G0eOWNI 9TNg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X+ZA+35U; 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=1711814585; x=1712419385; 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=8RyjaKerJRYph5fYiw/j3/cdlh6d1unxpjAEa1SPGfI=; b=JaDj3PHpgaZcxxap5vMQRjYPzlFX8AWyi+G0a2YRmjAD3dnwobBOm/QUeBHeb+GO2K /HZJQ7GtE/w9ugbTO032KAyt18tsjajQP7erlv5fj6zd4oa8yE+TKPSkjmtHphu/0AiY uXMDnIjH7858RIVo0S0Mc8wWzpkhYSXQRlulY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814585; x=1712419385; 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=8RyjaKerJRYph5fYiw/j3/cdlh6d1unxpjAEa1SPGfI=; b=sqhQlOzLKitfXnkGo5T62HWh4z9bua5zjphzu1u7LgM5JQrZgiHeRmY8mWJ6aSkbsA Nggr2qh13NQo+v3REEFHLMV5qSOOrZ2APioSnDio0w6WnaE058koKDXJQYmV3m0WtNJ+ +mZUs28UHXt9c8RzWS1N/l3msGE0OQOR0kzJFLrksa+E1oNPqm1IxnaXOpnO37iH53W7 AKhaLdwoLOnI+lv2bb3ZoqTh9ZwCz56QdNZKOgk4oI55zkcB7dSrGmQv1d2X3cNSXoEu 8OHd/bi/DAOagk4xmoeC7Uxsw2k0VL7w/tJbYSsmUt8olYNzAslyAgYoGhh5oDrudYSl JbFg== X-Forwarded-Encrypted: i=2; AJvYcCXxT+m06QGnVln5jj7cIxlFcCV4ibBW0Zfca5ZWr6LDKSA8tTCybkXSTruw0h57DHkwqeTQB+ItN+/yJAQnJwNzlH/UKH1cnojBBFhF8cyOtlmfhB7k5Nf9RtAnhQ== X-Gm-Message-State: AOJu0YxTuNp0GClHqfPGjROCZMr0kHO+gFSWls5rNYJXNHFSvk0fzM5X ootgQS8pjmueCt52+VeWBWRRyzp4dy4t0ZMpKJvgom8aauLT7wM9ibsk5uwpjGI84g== X-Google-Smtp-Source: AGHT+IGN9Q0gDK9o44w/GVNgUuiNVYUGvfIntrqrhBPUVCcQzCSBDLxNU/a6Cq12MlVvnK1ydZVPrg== X-Received: by 2002:a19:6919:0:b0:513:c54d:d4a with SMTP id e25-20020a196919000000b00513c54d0d4amr4025963lfc.5.1711814584886; Sat, 30 Mar 2024 09:03:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3d17:b0:515:bb46:8dd0 with SMTP id d23-20020a0565123d1700b00515bb468dd0ls657754lfv.0.-pod-prod-07-eu; Sat, 30 Mar 2024 09:03:03 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW1aM/wPRjzqiui2uDB3WWtUBckmx/emlyUulooK4r4TCIobN9H28Tqds5imDaCllcBkAxTRoMVqe2Z6G9kHTEHEAAcT5rOQw+8KVCPMvzvyJsj X-Received: by 2002:a05:6512:20a:b0:513:30fb:d64 with SMTP id a10-20020a056512020a00b0051330fb0d64mr3914675lfo.44.1711814583080; Sat, 30 Mar 2024 09:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814583; cv=none; d=google.com; s=arc-20160816; b=jbVkt8eahuLbaFBsRxHFb2InIqtpq9VH7iPbmW9kObHR5o227fzB1yf9iEiXrA9DlK HXHWEMKMAcZpNkCk8XMagSD7fTAy2NAeZbFacUJfLpJw1f7GSWAqWCErSx4FtgY5ci9h ZRCy+qPk77db8CaC+2kZodXaF59XkenBb52Awbfegb3uTwd2yWZMhbFusll8+gtfxKoy JHhZT5074/qhr9F6NdidX7KsiC9SHkGBCWGw+67oRZ6QY/RE1xzTSdGwsr15YbUgDwUM mfzdp6/W8JLbLKDU5O4keHApU8Mznew3ewPH5+CPwCoXpvVXee++86iGoe3StNJZ3wUd s+0A== 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=YxvvVcy6ShVKE63MsRrZeO1dFpKzH0nbG8hP8xbIMJU=; fh=Cg4xBJMU/Tb/owhcj3ItPUdbwYqeA6wE4nuloYARAx8=; b=BwVsBbnqfj6CD8nI313vgJ+ErSCYo/CwGRFUmk6Jje4QzfKV8sxiXkh4Od2S54vUWU /r5XgZcf1My5lGbi7Djiv+rg261EWXUuyZy6+PQcS2xWKJbLfsqNtpa6kJmvbC/pPt6S SndoaWKjhqt8Oct28iblfqCtKrmSFtxC6H7+n8uzFxvku0jylWqHZ8EMSSJFxcvO4BqY LOjcZpl7mRwoNNsof5B52b/b/f9Z9YmXYQbEe9lDPwXvy4QaIhbmiXR99Wk3dnMm1LMY D9T1j+0MZ8TeCsSaxgALMc/lV7GMv/e0mgA0asqpa5tdOQccbZxccWhZwZ+q25oE89vj JJgQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X+ZA+35U; 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 n2-20020a056512310200b00513a0abdf43sor1303352lfb.31.2024.03.30.09.03.03 for (Google Transport Security); Sat, 30 Mar 2024 09:03:03 -0700 (PDT) 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; AJvYcCWOaDbcbw301itGdXMwsFFwFhXWm2dr0EJGO/782M859GJEmG4zTK20yJf6uI+6NA34bEEKd3HwdJ/TUqyu/2aw0S/oPGnO/IijymAqVf/HeyT1 X-Received: by 2002:a05:6512:3d0a:b0:516:1a1e:164f with SMTP id d10-20020a0565123d0a00b005161a1e164fmr2383708lfv.41.1711814582767; Sat, 30 Mar 2024 09:03:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:03:02 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 11/12] configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 Date: Sat, 30 Mar 2024 17:02:43 +0100 Message-ID: <20240330160244.3214733-12-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=X+ZA+35U; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The 2024.01 version of U-Boot for the am64x-sk board has introduced two major changes: - The device tree k3-am642-sk.dtb is no longer searched in /boot, but in /boot/dtb/ti. Hence, the disabling of BR2_LINUX_KERNEL_INSTALL_TARGET and the use of extlinux.conf for the proper loading of the device tree. Furthermore, the parameter BR2_ROOTFS_POST_SCRIPT_ARGS was used to auto-generate the extlinux.conf file so that developers can change the kernel loading options by modifying the .config. - U-Boot is capable of building tiboot3.bin using Binman. So it's no longer necessary to use custom tools like ti-k3-image-gen. Furthermore, ti-k3-r5-loader creates the following tiboot3.bin files: - GP -> tiboot3_am64x-gp-evm.bin - HS -> tiboot3_am64x_sr2-hs-evm.bin - HS_FS -> tiboot3_am64x_sr2-hs-fs-evm.bin The patch also allows you to identify the correct file based on the SEC_TYPE option. Signed-off-by: Dario Binacchi --- Changes in v9: - squashed with patch [v8,20/23] "package/ti-k3: fix BR2_PACKAGE_TI_K3_SOC setting for am64x SOC" - Update the commit message Added in v8 Signed-off-by: Dario Binacchi --- board/ti/am64x-sk/genimage.cfg | 7 ++++++- .../patches/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 -- configs/ti_am64x_sk_defconfig | 14 +++++++------- package/ti-k3/Config.in | 3 ++- 4 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash 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/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash b/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash deleted file mode 100644 index 2a5c99c459f2..000000000000 --- a/board/ti/am64x-sk/patches/ti-k3-r5-loader/ti-k3-r5-loader.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed: -sha256 50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8 u-boot-2022.10.tar.bz2 diff --git a/configs/ti_am64x_sk_defconfig b/configs/ti_am64x_sk_defconfig index a19cf6f85572..9b92b645dd21 100644 --- a/configs/ti_am64x_sk_defconfig +++ b/configs/ti_am64x_sk_defconfig @@ -1,15 +1,14 @@ BR2_aarch64=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_GLOBAL_PATCH_DIR="board/ti/am64x-sk/patches" -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 @@ -25,19 +24,20 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y BR2_TARGET_OPTEE_OS=y BR2_TARGET_OPTEE_OS_PLATFORM="k3-am64x" -BR2_TARGET_TI_K3_IMAGE_GEN=y +BR2_TARGET_TI_K3_BOOT_FIRMWARE=y BR2_TARGET_TI_K3_R5_LOADER=y BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am64x_evm_r5" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am64x_evm_a53" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_USE_BINMAN=y # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_IMG=y BR2_TARGET_UBOOT_SPL=y diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in index b8545b7bca62..9c61f8880a15 100644 --- a/package/ti-k3/Config.in +++ b/package/ti-k3/Config.in @@ -43,7 +43,8 @@ config BR2_PACKAGE_TI_K3_SOC string default "am62ax" if BR2_PACKAGE_TI_K3_SOC_AM62AX default "am62x" if BR2_PACKAGE_TI_K3_SOC_AM62X - default "am64x" if BR2_PACKAGE_TI_K3_SOC_AM64X + default "am64x" if BR2_PACKAGE_TI_K3_SOC_AM64X && BR2_PACKAGE_TI_K3_SECTYPE_GP + default "am64x_sr2" if BR2_PACKAGE_TI_K3_SOC_AM64X && !BR2_PACKAGE_TI_K3_SECTYPE_GP default "am65x" if BR2_PACKAGE_TI_K3_SOC_AM65X config BR2_PACKAGE_TI_K3_SECTYPE From patchwork Sat Mar 30 16:02:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3073 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AE9BF40CB4 for ; Sat, 30 Mar 2024 17:03:06 +0100 (CET) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2d6b5ac2537sf23052911fa.0 for ; Sat, 30 Mar 2024 09:03:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814586; cv=pass; d=google.com; s=arc-20160816; b=oW56vlyQjf6BXCcriUI8FcXF0mwC8sG485MYcS3E8cQRoJ4M5Ad4BD4HfSLqBPY9/e zh2pZ9gCe4Mzf85L/klTbju04kKd4cQh2QTl33QhRXFcp0TmfHZMgG0XeqYn0a8G9nrH qWZVoh5E0OvslwYBfG0pRY+hYAXcDvZikfv757+eR9f4eVL961A5bGJx85PisWVBoQ3Y Zwqh9yKW2W/BHk5a3Ma4Mq/QfY5UZHJBtt0OYxYVZMQDn9bnTFyUT9GZB5WRkEWNHHnl CijNvPEK44fqIjoRBQh6XqwBnc9Ysgi+Sj8NFfkH+imwshNwl1Xa4EZHW2RMdown+8Q7 ipWg== 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=9DWqEQ1QWRaM86aMO7dChXWoGboSU/1a9ZfFS+/8Aa8=; b=DEeWsdu2QmjrYkORyTreWRbuuORH554HqVB3bZwJLAlRAP8Ut1op56WSMpz/VhZr3K gFoLOjP3S7HFrizJGaGCARpCUZvzD8szVY1Ud8GkGtQy2HqpRxNqC1sHY66cVXrhaB++ Avt431vblswZ/w4FvB4r41DT7DiWvbWIR0Sos1baFTyo7QqF4J3cI0U/jgCbDP30VpsY EnnTUNljtbNvbqob5f7Ry3f1thfY1Mu6djM9QgwqDeDJvP9pfepp1FMiD+VALjCzHKdT 9IInEOmbxm13tgp/BBxtlmuiwpSrgvs/juIDZ385G0gHzpyxZHaFaneKhryppuInouZv bPUw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bCT71t0c; 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=1711814586; x=1712419386; 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=lU/eAS6V0yKfO0Ukyy3rZp9sSqLPWpcZK/VhwFR+wdg7nmUIol0f3pxp4PU5vKp2F/ tCids8/Ivgdw140oGorENs0MA2SyUHTb9T+HEcUqIjWh8G0hdPkZTHS544mL3rnLYmdD ANDhUko9hVovqVMtcww7N4ROncYGxPTFjfvxc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814586; x=1712419386; 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=bns11Gt05Zq2DdxIAOUfm9zrL0QDtIgeL25dW30aLfG/ctMfuQeWrUo6DphDWjkqzk pN6GobvHZozfK0yWJh7qazgtIpig/xQ9uL5lwlVoJ68mim7jzwA6vfoaxyeAW/xw7awi mvu4QwSiL3QMZafSf+d+mT0seeIcr+bVaZ8BgI2UotppYhifPi8cWoQ9BkTRoyRJpc6A rgIMJPbyvRICUL7E73S5D7CoqcHwFLF8tDHCCpgbbNnW++YR8a7Ol+qyAFsOjnZmKTqV M9rCE3bE/aTL5wM8ypEc0IC72cznfxzw5yr1oLW1zYoViTiELtNaUSW3y/lhWwfH3nu5 jbvw== X-Forwarded-Encrypted: i=2; AJvYcCW3i1RzTlMUQT2rVrHZwKmmKNwTRa3/WOr5vzpqA6YoSvIuB/6t5vjtkIjqQrkrqcr1igaoxqSrXzAp7HzrAUgaoFhbC5HMQhnHbHUTHKIDfdbc/hQOiXWkbWN+vA== X-Gm-Message-State: AOJu0YxenmWULHRyo9vp+DBq26ohZH0J5Stc5uX8iPKKxlXJi/zM7Cf0 qBuGxHV1JsdGHBNrftcvXTAw/L4KPmLwrRuxwmWhT3WINPAdr/P/s0iy6Le+ORushg== X-Google-Smtp-Source: AGHT+IFw8NkQmD0Tiirco1zfIKhLmY48WACd8CKDy2nIP5YJbdPoFLOpZArbpz49mmAeHjgOzbpBdg== X-Received: by 2002:a2e:bc0f:0:b0:2d6:b528:9cfe with SMTP id b15-20020a2ebc0f000000b002d6b5289cfemr3515293ljf.3.1711814586077; Sat, 30 Mar 2024 09:03:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:9f57:0:b0:2d6:b5c6:47be with SMTP id v23-20020a2e9f57000000b002d6b5c647bels1447286ljk.2.-pod-prod-03-eu; Sat, 30 Mar 2024 09:03:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXGieRsQfqmBhdvDEbxnRP08xDf0i/at1Ukvt4gp4XQkX5BwhkFgZxc994vU6SB9MNd8LAt7kTz0vaFKOhNxZDpX5SYMuDd9JMk0WFaojh0U/eo X-Received: by 2002:ac2:4217:0:b0:513:5133:bd76 with SMTP id y23-20020ac24217000000b005135133bd76mr3012167lfh.9.1711814584260; Sat, 30 Mar 2024 09:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814584; cv=none; d=google.com; s=arc-20160816; b=fNasgM0JwzR36kTY5xOtLbq1D9KjRm4v8VeRxiyJIS/6kPqE8jeHR3ie4hJZhFsylz XQzOohBk6Cfvl4gFWr0sDQvZp9kppwiyVFt8EEcXH1MAKxKNPYPWZKlzClCbybmStF0q WswORsEFNxQ+FWN9DFgPjktWMo1ZFa+HjkhLHxj9ywtxtJUKPl4lPaOXCycfegll4JWh 09r124TqOdv41CnGl3nqjMf4qfmBs+Ss+tKLA1bfSgCle+WTt4S5QzJmzhCPKS2L6bdi m4KbQiMvxi5jKaVtM6sD783jF+Aby748gCi9U863Z7IErP5nYyknkfvo56bxDY16qSjT DU0g== 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=u5rRvNak8tBy2/EZn2qBf+3ia2L1kVwgxo24dwB56gM=; b=Zy44TJZA61ESDqJwOW4evMQHDBhLmXCvX0MEbpSeduBNwyKRL0jc+sYgHIUplqVgxG w2DTVZqOOqlwB8H426Bdnz00A8hV6056rAZd+VXpJZ4G5xqCEWyd6xbHZO+ZtWQTG/aX A+rAbZrakHhO8eIiUfHG2CDi9wgg9+BK3c+ODkUYjMeyB1sYe30/6Tt9ow8CM817HbCF BqIQnETfVLc4UoUnCPKN4qQKxt5wWqLfJaVJVJ+x+UcsIhNoR9d8LCjWJtHt0VC6I6HE IamqPiDKTiU7q64kl61z8sJ2SreyV50weYB9mSd1KZBY4JyeTzzBsFuy/lSVtAEtKz2h 1K4g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bCT71t0c; 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 z14-20020a19f70e000000b00515a7cb4c66sor1341081lfe.19.2024.03.30.09.03.04 for (Google Transport Security); Sat, 30 Mar 2024 09:03:04 -0700 (PDT) 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; AJvYcCVxZftwNYYvv5JDKDhsrXV1eqsbAtrpuqTnTNJjqsXoJub+awRjQCAM0qDmxmhJBXi2JHMuQZUm06Sw5dJLwNtraVSR+apcjatz5r3N2R4yLL3K X-Received: by 2002:ac2:51bb:0:b0:516:a320:3fb9 with SMTP id f27-20020ac251bb000000b00516a3203fb9mr309340lfk.56.1711814583992; Sat, 30 Mar 2024 09:03:03 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:03:03 -0700 (PDT) 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, "Yann E . Morin" Subject: [PATCH v10 12/12] configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Date: Sat, 30 Mar 2024 17:02:44 +0100 Message-ID: <20240330160244.3214733-13-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-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=bCT71t0c; 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"