From patchwork Thu Oct 31 09:33:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3617 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 7367E3F380 for ; Thu, 31 Oct 2024 10:33:22 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5c95b050667sf652203a12.2 for ; Thu, 31 Oct 2024 02:33:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1730367202; cv=pass; d=google.com; s=arc-20240605; b=Qr+Y2U1SjsxYZDODqADxDXNqZhqNnZ2HB8L3k6pR+UoK5cm2ymbRHUHU/Zjer2inMY h0yy+BJba2wMw+9Q1vspeDeSmVFiQvJahjVaQNnm/Ker1yc1ESUG9EyHY30ipH5fRKLr NppLNQUJ+GpeeptRI4LGBDurPrBIUJPjyPk7YYMfF8mLEc4y2OI2Yfj9vrveLpIig/Mq 9Hh8PhKZphjT1r7s2Yb5Nox9XaZyzMwjbhGaH7J98BiKeeTlZWWwmBqxy/cTwcByKI0q iYvZl8xZr67FlfHQB1PTXUkWKfT6Dq8kjZaHi9UoY6axtZb9hJxj/ZXGSkcNctHaPfwa aYeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iKqDpbkB0kyENhG0hQJNeaRky/vFcTCb5PMBRlDr0ds=; fh=HcpfW812tQQkZpm0mU5+9US3u5cP3hLyR21MTmhlcrA=; b=C4+EhrfcOEnS9JPTv89t186KJhnFv2+VK5iZZWqBV9/9xA8N8VpzIPA3c9pfDa3ri4 GlVit30sd0fM934L5+yMW3t9OcFYUUWjYwm0tV1apClIhhEEuu+H8fmm2T6dPjp7UKxa wZcdjkpzJJfpiQBlKT70y/DQ0dYFtyFib+pYdhfDDdK9JgSUvIR8Rubb58YmuKsj29X7 lCy2cy184QsCEqgUVDwqlCk/rH/wD+oBGPxF7vup/a6WVd9wc9sLmsYz7zwZX1qEhQho axwAXw8OdIa+luxzLtNQ08HBeceEnxzPuNKxXrVY/FvHO9+P7KcMj7AU5RIwppH9VmeJ QeBQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QaAa26Ll; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1730367202; x=1730972002; 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:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=iKqDpbkB0kyENhG0hQJNeaRky/vFcTCb5PMBRlDr0ds=; b=Y8i4WgGm06yRaqh/ogUmZLF7vhkaBexjHE2m6SRjYBigFI+r1eBEa85asoqJ5JVrCH 8c8r45KnEfnLp/GeBSYnPo0lx5cjidlrX0irTmNVCUksVy9RLPS/R6mM+RsIfvUYmd6d xx1GcFY4EYUWpnpyeWyQpf89+3iKil4y9rvNc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730367202; x=1730972002; 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 :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iKqDpbkB0kyENhG0hQJNeaRky/vFcTCb5PMBRlDr0ds=; b=H+cpZg1QY5tPY1KxEOdoHrzW351Ux6BHRTci6jPbVC63or9mHUmRhWYVPEqv3Haai3 Km/2rCJM9sGFJNKrqoqkE5B6UR0kotkJu2EXd6sObJl5tRgCc2Lcvgvnm+PbXx1WINjB mBoxxBoeAFCC3QvCYwH8X80ed1ryt0M73CgoWprZQM0BhR4+FPQ6gHZTXbxlJkE1LduP h81Dh/IYjbTd4szovAVTyySgVbS+fISGNERUConQOOrSePRmH0UaQGmSvCy+6/crSJl0 +SFn7eZuajt6HBQSyqtMxhLwUp8S7MB3wrUTAI5ydWpKwB7Y8NT2lG+4460f/SFNmfeR zvBg== X-Forwarded-Encrypted: i=2; AJvYcCVCbVkcAfs9XLXMg3MTDp/nZ2cGSVtJC4y5y7RFsQNWOTxuuckgznKU2Hvgv9OYFKSGSEpJbMBgRuQskoEP@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yy6Z2LY17mi0MOwxEwfFCNo51dkUFrGoFuieJuA5yqbSjd+icr+ 8DgYHaltBGB+WLRLCEYiyWxNuSovp3frz7IQzcQzlBGkD9IHiZk+ziUG8Tu+7XyncA== X-Google-Smtp-Source: AGHT+IE5Mq/mK1kEgzK5+CSp6HL3nNyanq220mTZbYVFqSO0UPaaqbd7zKVNug4x6+/EL2OtS2emnQ== X-Received: by 2002:a05:6402:254b:b0:5c9:5a96:2869 with SMTP id 4fb4d7f45d1cf-5cea967a7ebmr2136258a12.10.1730367201657; Thu, 31 Oct 2024 02:33:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:34c7:b0:5c6:a1fa:16f with SMTP id 4fb4d7f45d1cf-5cea96ea055ls171625a12.1.-pod-prod-03-eu; Thu, 31 Oct 2024 02:33:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXgz8InyEeesWsyqVSFju2d4Ptgjz5oauYoSnpdnbm5vfnW8LEMfSOn9awV65b41A66RICEAUkERlhDFqcM@amarulasolutions.com X-Received: by 2002:a17:907:2da0:b0:a99:ed2e:3875 with SMTP id a640c23a62f3a-a9e50b56a41mr245532866b.42.1730367199527; Thu, 31 Oct 2024 02:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730367199; cv=none; d=google.com; s=arc-20240605; b=FE4FkK/RUD3EZjpOyjZpEVIDKNNrYueXQbTX/UJC0HdBXdxo+niuvIHfxyerK5eGK6 TZRFZD5HRZUhmMW4BOOFQjidtmuT9Ng3NyV83BcKMXz6luZiZuaM6maDjqQYCw50woee rXF2jr7jhUx8rj6PWA51445Dmzr4Tnr2F/RgwwINMrD0fl0Aq8Un2ZN2Cha50ZeNE3O3 OL9S0TU65e3DMLphL00g0KbvPWUR5OXew/nKlByZhw1KnbKHmJhMDt38+5fxOlVKXYPe DrMiPn1TYwznnBAXCBKU4eW4ZrjPQj159qq0tc9YCtplI3DBIiaynD4oEtzQbtqtHjM4 FcpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=r/9xS2lDOoaSBhB27WbbrwYmapPWl5pqBFHxs5uAlHA=; fh=QakmJmLozwh4Nf7ztVIsdIHmis7N22zqKm0meQYzJd8=; b=DB/sblhs4ojGKXFwvyJCGudYLf9mU40ppbOuOnsd5bK9xpP+5RlrU2QfQWPR46RIyj dNLh8NBv8CxWQQ8G4rPo5K241F9g8YGP90ku6fHmwD68hWU5A0SkpPIGmKE+irnVIswC eqfcel5nRDnA2XY8/dvdPE4wsm1+Ks/PQc6cHZK7TAALiKYULM/O1Xs/K/grJjJGMk9h KaaD32MIP4HE23a9uy9ND94Sz/uZ23BDuquxVymVOQes8f0s2Idk958KLLs6rI1yHqfH 46zk2lC5EoaEGzTM82WXHWsod/v0abL9Kv92VeNTwjgYkw/GDtVVLXW9Ii/QQzXiX8If s3+A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QaAa26Ll; 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; dara=pass header.i=@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 a640c23a62f3a-a9e564d1c72sor46834066b.9.2024.10.31.02.33.19 for (Google Transport Security); Thu, 31 Oct 2024 02:33:19 -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; AJvYcCULtu+19P04n6eB/VvSx15CQy7J68e2vRAvvAEwp9k9v91YivHWZK0MZCJYNzks4aBa9BPbA2bp/8tU9wSF@amarulasolutions.com X-Received: by 2002:a17:907:6d11:b0:a99:5f16:3539 with SMTP id a640c23a62f3a-a9e505ceefcmr232913066b.0.1730367198962; Thu, 31 Oct 2024 02:33:18 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.36]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9e564c4e0asm45692466b.46.2024.10.31.02.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 02:33:18 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dick Olsson , Thomas Petazzoni , Marleen Vos , Bartosz Bilas , Sergey Matyukevich , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH v4 1/2] boot/arm-trusted-firmware: v2.11: fix building ST elf file Date: Thu, 31 Oct 2024 10:33:10 +0100 Message-ID: <20241031093311.636608-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 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=QaAa26Ll; 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; dara=pass header.i=@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 commit backports a pending, but likely correct, patch that fixes the following build error: 'buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gcc' -o buildroot/output/build/arm-trusted-firmware-custom/build/stm32mp1/release/tf-a-stm32mp157c-dk2.elf -Wl,--hash-style=gnu -Wl,--as-needed -nostartfiles -Wl,-Map=buildroot/output/build/arm-trusted-firmware-custom/build/stm32mp1/release/tf-a-stm32mp157c-dk2.map -Wl,-dT buildroot/output/build/arm-trusted-firmware-custom/build/stm32mp1/release/stm32mp1.ld buildroot/output/build/arm-trusted-firmware-custom/build/stm32mp1/release/stm32mp1-stm32mp157c-dk2.o buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/13.3.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: buildroot/output/build/arm-trusted-firmware-custom/build/stm32mp1/release/tf-a-stm32mp157c-dk2.elf: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status Signed-off-by: Dario Binacchi --- Changes v3 -> v4: - Replace the fixing patch. The previous patch did not pass the tests because it caused regressions on platforms other than ST. The review process led to a new patch specifically for the ST platform. No changes since v2 Added in v2 ...pie-option-when-building-ST-elf-file.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 boot/arm-trusted-firmware/v2.11/0001-fix-st-set-no-pie-option-when-building-ST-elf-file.patch diff --git a/boot/arm-trusted-firmware/v2.11/0001-fix-st-set-no-pie-option-when-building-ST-elf-file.patch b/boot/arm-trusted-firmware/v2.11/0001-fix-st-set-no-pie-option-when-building-ST-elf-file.patch new file mode 100644 index 000000000000..d2b82e0921f4 --- /dev/null +++ b/boot/arm-trusted-firmware/v2.11/0001-fix-st-set-no-pie-option-when-building-ST-elf-file.patch @@ -0,0 +1,37 @@ +From fbd050b61652db732f7a7a1ca36450b1bb339298 Mon Sep 17 00:00:00 2001 +From: Yann Gautier +Date: Tue, 29 Oct 2024 13:42:07 +0100 +Subject: [PATCH] fix(st): set no-pie option when building ST elf file + +This elf file is used to build a binary file that concatenates BL2 and +its device tree blob. It then does not need PIE option, and this avoids +the following compilation error with some compiler versions: + error: PHDR segment not covered by LOAD segment + +Change-Id: I7562e8c1890275fe0409f3a23cc66a8e14ea1ee0 +Signed-off-by: Yann Gautier +Signed-off-by: Dario Binacchi +Upstream: backport from https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/32960 +--- + plat/st/common/common_rules.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/plat/st/common/common_rules.mk b/plat/st/common/common_rules.mk +index 212a67d5168c..b9fe3d4d676f 100644 +--- a/plat/st/common/common_rules.mk ++++ b/plat/st/common/common_rules.mk +@@ -58,9 +58,9 @@ $(eval $(call MAKE_LD,${STM32_TF_LINKERFILE},$(STM32_LD_FILE),bl2)) + tf-a-%.elf: $(PLAT)-%.o ${STM32_TF_LINKERFILE} + @echo " LDS $<" + ifeq ($($(ARCH)-ld-id),gnu-gcc) +- ${Q}$($(ARCH)-ld) -o $@ $(subst --,-Wl$(comma)--,${STM32_TF_ELF_LDFLAGS}) -nostartfiles -Wl,-Map=$(@:.elf=.map) -Wl,-dT ${STM32_TF_LINKERFILE} $< ++ ${Q}$($(ARCH)-ld) -o $@ $(subst --,-Wl$(comma)--,${STM32_TF_ELF_LDFLAGS}) -nostartfiles -Wl,-no-pie -Wl,-Map=$(@:.elf=.map) -Wl,-dT ${STM32_TF_LINKERFILE} $< + else +- ${Q}$($(ARCH)-ld) -o $@ ${STM32_TF_ELF_LDFLAGS} -Map=$(@:.elf=.map) --script ${STM32_TF_LINKERFILE} $< ++ ${Q}$($(ARCH)-ld) -o $@ ${STM32_TF_ELF_LDFLAGS} -no-pie -Map=$(@:.elf=.map) --script ${STM32_TF_LINKERFILE} $< + endif + + tf-a-%.bin: tf-a-%.elf +-- +2.43.0 + From patchwork Thu Oct 31 09:33:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3618 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A727341742 for ; Thu, 31 Oct 2024 10:33:23 +0100 (CET) Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2fb57430706sf5477951fa.2 for ; Thu, 31 Oct 2024 02:33:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1730367203; cv=pass; d=google.com; s=arc-20240605; b=HJRq2JutmhnEBA7J2uGqy+qu1nYJdOOdWuU5qaNU9GW/Gt3Q+MuXg8mDRbUBN1X27Y fFYk5wUNLfl9LY+sWRYmDNPY9bKSlLzLlGViG3UxxdNrrXmqXs+uI4aRw7IwFQDOvSxK INo6y8HbljWu82ZyGE/T2VWLVb/pWjdXDtiWhk9f+IaisIwXy6uumF3y70ErFVmq7IdH CN6cdAlvp1kinCGm1ROR1yeVZ3cckyoYU287tzl539VlFJqMsjM9gEpv2bgYQ6uFzHWZ LHhXaQSOU6GnOEuiWHptW1FvY0K+WYTaRI7ISjOaBntCTSh5PJfJCnV9y9db0VifYNWq 0XqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=I4bKV+TfYuoa0c18hVAMOrs6UMhMkqjrQHeKzBW2Co8=; fh=Ev2wRiCg63ftBIR7y9o7FFfr2GARZsKRgl0gnh/Eg3U=; b=El4GxT3UHfQD5VOtDyEFO0wIrTrR6PvNurVRZfIQjgJKbqJ6t7RGE0odIlgVyKLKye VSAM/pJb06ZjKw2vfcr+S/+uNUx0ujK1hcu22sN8dtdEAOAljBlRBZa2kgjtykje2It9 6FdZnorRPQIlaQo2nRKJrULy18iFjqawupq+MJnPYw9o6NGIGFEZSPq+jbFNX1x3NmWX /9hWtl15ypsRg41bLFPq3KzkGRCfe46P9LnuXhGCFG7BBExxO00hr4N7MYftyZm5SziM zOfysheeC6VvhZBp0qFxn1gaWBwy5eA+QG/JZ2nsDwd3gT9m2xHvToH7677flac6IdNn 2ymg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HpacAQJM; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1730367203; x=1730972003; 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=I4bKV+TfYuoa0c18hVAMOrs6UMhMkqjrQHeKzBW2Co8=; b=DEqvwvUQdxRzoPQ2EbzPxM+ud1uCiVYPjlslhpFjKH1h0ZlbCSOIdFeuYveRgHah82 9ZKfmzRqxbSWOZhhc6XJWh90UYpsTZOIj4eeN23nrFRD348em+5XA7wmUsGwJc3ntToB U+1F+BjpVk1ZGipfwZcfyMS6Yxu8aW2Wflb6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730367203; x=1730972003; 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=I4bKV+TfYuoa0c18hVAMOrs6UMhMkqjrQHeKzBW2Co8=; b=tHi+DDzBRat7lN87Ujl3t5o6P/lDGoHZHF/x2eOj+jL1hHUw8bZN4QGZg9DLs1Bd2v 4Zccez3mmNkai+LEpU86H9/mEF9kkAjM9H5SIv1yIznplapjx+aWSHOJZnrdXMoMFoqG 0JZg2Z8fraOksubfKPFEJBpYRKIqYuMNFLAapv97aaCa+A+l+FgDwr9f5kZ9z9/H+6FS cJJrchJBR1NsI/hXpQNIDWx88GEiWQUV0yDrvhYu8D96M246gnTqcTLs919QeXTZZaHw Evc4sFtTjXB0rcHRP3W586Wr7Ypbn5JH6hxcJMhRDTRfGeZ4nj6Vm4lYzH6UeVKfVsdQ M28A== X-Forwarded-Encrypted: i=2; AJvYcCVQ3QwawjXMxMZYcJBTLeXFVw/YkeRziOSAVtqbjkQNLlJx2haic9WHVPYhLtSfNQU/XBbxClsp6hDPG2xn@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxatrkUGvFK2pMJiqFvBOoXBitnWK7ysse3bjJnvNL6Led5JGIN z9FSesRoeB0CORwD+UgkOUQ0gmv0bwXtG13J3KlJKm60UUp9rSLTaSOdkjs+sPBuFw== X-Google-Smtp-Source: AGHT+IGvu67IUp+gzNMzu59biP7qAoyJQaaksQv9r3WInslHZG/dvmlPQrqGoCxIzNiJIDSL06LdoQ== X-Received: by 2002:a05:651c:507:b0:2fc:a347:6d90 with SMTP id 38308e7fff4ca-2fcbdfe2dcbmr86986451fa.27.1730367202569; Thu, 31 Oct 2024 02:33:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:4690:b0:431:4f3d:83c3 with SMTP id 5b1f17b1804b1-4327b6d4d4bls3830865e9.0.-pod-prod-07-eu; Thu, 31 Oct 2024 02:33:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUNGEc2kTZ9otLVT+VQpDP6cikmzDWy7eJIMm6nG6deBQMbOvIMpWQKb43b/zGuBN25AtuLbyx9Droy2W9k@amarulasolutions.com X-Received: by 2002:a17:907:9604:b0:a99:f4be:7a6a with SMTP id a640c23a62f3a-a9de61ce626mr1648492166b.47.1730367200737; Thu, 31 Oct 2024 02:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730367200; cv=none; d=google.com; s=arc-20240605; b=Eu0vVQLxW5o8v24iklZor46SjhSKUZz8RRrPE+ovrq9hlNLJ5j3Gpvd2CcyrNbiooH zgqSz7eQT9cRCYhLdr4XoXo7Ogy3bLLE+VnYW+DRfHcjS7GzPC+gumN7XCn8iooF3dY6 BsXN5B8AGeCDJ8eDOCbNH/16TkIKKeQiPJBXdLm+iqxQKQk/GPV6SqCvICwSmUe36xne TAXa8nXxfGHwSXy9FwXpe9NQRGGn+DmiMfIuJjaA1dhu3HifMpntj1/TnZykSsYCn3nZ AIb90eiE3FmeII0eXKtP2LkZ5flxeHJ7VHtTSiEnqjHLdE6Wyl7V9GsvVxILl1+cpIVA LPTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jqW25wuxdbGPyKj6JkZxMY8M2h5zx6beJ7R0AEvrugE=; fh=RlAfVItVjnZIF/e9GM+Qx1UeNLWc9SktUQe23/DkosM=; b=UmpavvYgcRWf8ZWPJOkXhrR0fLe9dJWN1pFqBYeMsse//JhJTVO7XkAU3nMBJcXuys njVPUoQ2Vl+kxWeLqKautknsmIXahUiQJI9H/EnYioCXTuDO++FMAMsYfau1eYx/qdRH QzaVGtxTASvK4z+I0zTyht+u7+XhqEO+MhTATA9j5GBXX5545LIaTYnSSXzAVWnLQl9m KkJIw/do+kCNeVDrZ6iw7PPmUD91q0ELTGUF9gSuswy3iJaB/A5+jESBVSObqaPgL+nq LlGufLiGSf1FiyN0gKWpAudIn6P2jj9UWTt0l6ptZPmpI9j/NRMD5NQ4aeRQS+MEiN8j RnWw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HpacAQJM; 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; dara=pass header.i=@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 a640c23a62f3a-a9e564d2a41sor48865866b.9.2024.10.31.02.33.20 for (Google Transport Security); Thu, 31 Oct 2024 02:33:20 -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; AJvYcCXomihF1JXoK1Pu+z+KZ53c4FBeCZqMjiLc4m2FPP39kA5QK4cx8GtZ3IDkMfIItaMo67BiVtXsw1nDnyE2@amarulasolutions.com X-Received: by 2002:a17:906:fd42:b0:a9e:211f:7dc6 with SMTP id a640c23a62f3a-a9e211f7ebemr633136866b.8.1730367200246; Thu, 31 Oct 2024 02:33:20 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.36]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9e564c4e0asm45692466b.46.2024.10.31.02.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 02:33:19 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dick Olsson , Thomas Petazzoni , Marleen Vos , Bartosz Bilas , Sergey Matyukevich , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH v4 2/2] configs/stm32mp157*_dk*: bump TF-A to 2.11, Linux to 6.9.12 and U-Boot to 2024.10 Date: Thu, 31 Oct 2024 10:33:11 +0100 Message-ID: <20241031093311.636608-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241031093311.636608-1-dario.binacchi@amarulasolutions.com> References: <20241031093311.636608-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=HpacAQJM; 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; dara=pass header.i=@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 bumps Arm Trusted Firmware (TF-A) to version 2.11 the Linux kernel to version 6.9.12 and U-Boot to version 2024.10. Tested on STM32MP157C-DK2 Discovery Board. Signed-off-by: Dario Binacchi --- No changes since v3 Changes v2 -> v3: - Update TF-A hash file. Changes v1 -> v2: - Bump TF-A. .../patches/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- .../common/stm32mp1xx/patches/linux/linux.hash | 2 +- .../common/stm32mp1xx/patches/uboot/uboot.hash | 2 +- configs/stm32mp157a_dk1_defconfig | 6 +++--- configs/stm32mp157c_dk2_defconfig | 7 ++++--- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/board/stmicroelectronics/common/stm32mp1xx/patches/arm-trusted-firmware/arm-trusted-firmware.hash b/board/stmicroelectronics/common/stm32mp1xx/patches/arm-trusted-firmware/arm-trusted-firmware.hash index 2bc5030cf2ff..8b77e1f1653a 100644 --- a/board/stmicroelectronics/common/stm32mp1xx/patches/arm-trusted-firmware/arm-trusted-firmware.hash +++ b/board/stmicroelectronics/common/stm32mp1xx/patches/arm-trusted-firmware/arm-trusted-firmware.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 72df0928138de111bf5e75fae47f88a4d1b4930ad52b7902e2b53e117be650c8 arm-trusted-firmware-v2.9-git4.tar.gz +sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz diff --git a/board/stmicroelectronics/common/stm32mp1xx/patches/linux/linux.hash b/board/stmicroelectronics/common/stm32mp1xx/patches/linux/linux.hash index 95bd23c8d022..8cde9f620b0d 100644 --- a/board/stmicroelectronics/common/stm32mp1xx/patches/linux/linux.hash +++ b/board/stmicroelectronics/common/stm32mp1xx/patches/linux/linux.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 f048267b7b88316c9ca708c68d15a9ae802dcfc943c3188c1273eb958c433281 linux-6.9.8.tar.xz +sha256 5ae7cc4e0e2f6b9ba630f643985ba0522c7d5e5b9571ba478a3cb513edd4cf22 linux-6.9.12.tar.xz diff --git a/board/stmicroelectronics/common/stm32mp1xx/patches/uboot/uboot.hash b/board/stmicroelectronics/common/stm32mp1xx/patches/uboot/uboot.hash index fe9b4f53dc63..904fa56c02a3 100644 --- a/board/stmicroelectronics/common/stm32mp1xx/patches/uboot/uboot.hash +++ b/board/stmicroelectronics/common/stm32mp1xx/patches/uboot/uboot.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2 +sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2 diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig index c1ecbd22c198..1a851946b022 100644 --- a/configs/stm32mp157a_dk1_defconfig +++ b/configs/stm32mp157a_dk1_defconfig @@ -7,7 +7,7 @@ BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp1xx/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.9.8" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.9.12" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.11" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y @@ -31,7 +31,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig index c35d75853f06..89555244049f 100644 --- a/configs/stm32mp157c_dk2_defconfig +++ b/configs/stm32mp157c_dk2_defconfig @@ -7,7 +7,7 @@ BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp1xx/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.9.8" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.9.12" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -19,7 +19,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.9" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.11" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y @@ -31,10 +31,11 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=y # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_DTB=y BR2_TARGET_UBOOT_FORMAT_CUSTOM=y