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 40564EB64DD for ; Mon, 10 Jul 2023 02:42:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 301E9865EB; Mon, 10 Jul 2023 04:41:49 +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="oFecj7GE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A3D6865D3; Mon, 10 Jul 2023 04:41:39 +0200 (CEST) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 2E049865CA for ; Mon, 10 Jul 2023 04:41:35 +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-il1-x136.google.com with SMTP id e9e14a558f8ab-345b347196cso13927395ab.3 for ; Sun, 09 Jul 2023 19:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688956893; x=1691548893; 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=/Ct+XAfv/7YqQj3rSU1ZzwYB41rph8v3STs4OQq9fhI=; b=oFecj7GEf6rRniJ4kJ6X42HywHsRVAx6kdYZ2AJpW8FHsnmhbbwwOuA1GRjwfJOqan Kloo6RAhWqKLMcpaflrriPLlCXBSwIsXrNwxLLpfyUJG13kauzDGNzFAQpZN/GBIorjB 2hWdPIX8blEjwBUsgXh285ZI7E/WUc6vSJg4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688956893; x=1691548893; 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=/Ct+XAfv/7YqQj3rSU1ZzwYB41rph8v3STs4OQq9fhI=; b=RmplOlpcp2SApHX49pzaz5Q2emo13ulSfE6BPJy5JRaMpDqsE8kBsf1MRaejBnVleC jp3/ooe0evJ17t9M7A99RaRepv0ww5xwYpV66LQQ9GiUMW3gQ7oYXOMOIOa2xTxxUfpD AVtvjbVqTYkkKnwL0GeN7Xe76gHLY0kBnFKusI5MWcyZdEP/rDOAmKujTSvIDYaCNA+/ nAv52TrjODheYr6RG+uVkEeJYREO0npZMAT7JA+Kpz8r6lkmYVVVtsY2u9303pVf3DVk A1GG/rWjpyyvIQWL+wvo6gz5NbXFNZz8j/3ysWFa+aaiKUCu/fyENIhSOWVzLpxPE3mv 3nqg== X-Gm-Message-State: ABy/qLawVaSuYomKa5moZvdLExU90kn/RTHubEBUYZ1T7UZvO1FwB8b9 cClz98An7EwbZ7z4pw6MPBUE1PHA82bY+Tuhxjk= X-Google-Smtp-Source: APBJJlGjPY7sTgvZBhDIzhTL8p7f4Pn+e3McDeSFOdISF2DA+8EoFy1THkuWh4xgiyVgwVbY0OjYew== X-Received: by 2002:a92:d381:0:b0:346:6633:5c2b with SMTP id o1-20020a92d381000000b0034666335c2bmr435505ilo.1.1688956893786; Sun, 09 Jul 2023 19:41:33 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id v22-20020a5ec116000000b00783581fd200sm3354025iol.20.2023.07.09.19.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 19:41:33 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Jan Kiszka , Simon Glass Subject: [PATCH v3 06/19] stm32mp15: Avoid writing symbols in SPL Date: Sun, 9 Jul 2023 20:41:04 -0600 Message-ID: <20230710024123.2078645-7-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.390.g38632f3daf-goog In-Reply-To: <20230710024123.2078645-1-sjg@chromium.org> References: <20230710024123.2078645-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 --- (no changes since v1) 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.390.g38632f3daf-goog