Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01443EB64D7 for ; Wed, 28 Jun 2023 11:43:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7822F86641; Wed, 28 Jun 2023 13:43:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="eGQ1Q8jJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 43D0A86633; Wed, 28 Jun 2023 13:42:26 +0200 (CEST) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1560E86399 for ; Wed, 28 Jun 2023 13:42:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-51d9850ef09so3979431a12.0 for ; Wed, 28 Jun 2023 04:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687952541; x=1690544541; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8AWfrG++fqqTuDHMRp3DqB9lcTtS9Z5G+x16SCr6Me4=; b=eGQ1Q8jJCkXMFcYd/EXmlhsVs7gt0nmchXT50FZONQpBTEZKMMepIxYGnUNpc8zqoO wOx7cxTi8e+8F7CuFu5svBayEY9mqzISE4bUol12kMWFr7Eetb+bjvxrcdw9C6ORH5HF 1qwdHKDVSuIL6SruLb5bS1X7IS+CHwMG4rgfs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687952541; x=1690544541; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8AWfrG++fqqTuDHMRp3DqB9lcTtS9Z5G+x16SCr6Me4=; b=Yw/VnzH1aZCUmYG+9ye6ih5oifCgCy21Oz6xwxBtrilxSiizy2Xb3rFe8DJ0YspS1I 2xY0pTHtZ5tvw13eJvvCRQo8Vd9t2a27ED4xg8rEvOeHm3GB1SkkodMFStkvEn6YSHFU +KEZK9sACzXif8+eBonAHeFoGC6En6xxdkBuV8LKbjwMlf9skaNzoow7p7+ufH25UuxS yeCsZEh7flXndI64t3GAQyMDaJTJbTXWVoXsouziF/NQxKo2QM5x9D9medT/qp94ayHN nRkz242E3Hp7RmOk147GgjlYZrtn12SXuhuos7XCDC2PMYWzDmrv7pIeg6tZYtZkUMHg zNDw== X-Gm-Message-State: AC+VfDzNd5pDP0J6bHosy6A6TLOjmFmpu23Ukny8c/WamKvg+VQQtyfR uJXTbGfzCifcd6PqvjOyzoOL4OLkur5DakCPKLpOEA== X-Google-Smtp-Source: ACHHUZ6JHmhur9mgdUlkJsw/ZhuCq7XyOyU4UfXGpRKNqdRk8HWqJqOueiXSU7tRWnf/iUJkiqCU7Q== X-Received: by 2002:aa7:d9cf:0:b0:516:459d:d913 with SMTP id v15-20020aa7d9cf000000b00516459dd913mr26308503eds.37.1687952541498; Wed, 28 Jun 2023 04:42:21 -0700 (PDT) Received: from sjg1.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id r18-20020aa7cb92000000b0051bec856cb4sm4676423edt.50.2023.06.28.04.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 04:42:21 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Jan Kiszka , Simon Glass , Patrice Chotard , Patrick Delaunay , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 05/12] stm32mp15: Avoid writing symbols in SPL Date: Wed, 28 Jun 2023 12:41:38 +0100 Message-ID: <20230628114149.439723-6-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230628114149.439723-1-sjg@chromium.org> References: <20230628114149.439723-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean These boards use SPL in a mkimage entry and apparently access the symbol containing the image position of U-Boot, but put U-Boot in another image. This means that binman is unable to fill in the symbol correctly in the SPL binary. This doesn't matter at present since mkimage doesn't support symbol writing. But with the upcoming conversion to a section, it will. So add a property to disable symbol writing. Signed-off-by: Simon Glass --- arch/arm/dts/stm32mp15-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32mp15-u-boot.dtsi b/arch/arm/dts/stm32mp15-u-boot.dtsi index d872c6fc5679..573dd4d3ed56 100644 --- a/arch/arm/dts/stm32mp15-u-boot.dtsi +++ b/arch/arm/dts/stm32mp15-u-boot.dtsi @@ -226,6 +226,7 @@ mkimage { args = "-T stm32image -a 0x2ffc2500 -e 0x2ffc2500"; u-boot-spl { + no-write-symbols; }; }; }; -- 2.41.0.162.gfafddb0af9-goog