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 E154BEB64DC for ; Tue, 11 Jul 2023 15:01:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 619F4868A7; Tue, 11 Jul 2023 17:00:18 +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="D+1IVNvX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6DC2F8688B; Tue, 11 Jul 2023 16:59:56 +0200 (CEST) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 70264868A6 for ; Tue, 11 Jul 2023 16:59:51 +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-x12f.google.com with SMTP id e9e14a558f8ab-345f3e28082so21385765ab.1 for ; Tue, 11 Jul 2023 07:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689087590; x=1691679590; 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=D+1IVNvXTU/8Xnkz+STMvw9/oOKGzGZewWbYDxVSICvNTtvlbLETwtI6JygrQlnSOH 4WuKxF6yZ9mV/yAts4LVCeXNsE/utKWEzpO1qyN62W3PXtRcnSJa8F9WV3EOwXPSalU3 Z4Xx4fM5GGvdqMbPAwGOGo68D/gQMhOoJ1d9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689087590; x=1691679590; 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=NDJJL9SMU1vwxIp5Ns2MgwqJweQbiSlnBlVZ4u7I4B9lqpfH82nwQoihF7TgSG3my+ ED8Z5KOSYaIcn9IDSVaCoKlCBZcC2aWpHzjYN7W3B8rn93tpshgOhq1k/PtnHtOW9s3X c0WJIT+sedcbP1Iu5cYwKeHqfxdvOu/HGH+ioTH5dRHjqVQxQIVN65o4h2oLrgKqLc0P ny4CuwwUSg9e4aWz2ySSbPJbL+qLLfMxBmzAUGdKCPgGC/befJ0WnXq4UsYaTJt4JtL2 NuNk6xwHH29cURrJZNnAfdUzOaqociua9hLAHvEWnm82BSvAhsIaa4YbGrqvup6g/AWC p9VA== X-Gm-Message-State: ABy/qLYzNV0i4pzcQ/Hy4f4u1K6HsCpbfiHD1pbWAmNB3NmUNdczn694 QOgFaw5WG1gnnZyYjgkxEMrzdMf17pXHMscVidQ= X-Google-Smtp-Source: APBJJlGjg4Atk0Jtl1s9tsafFMxtUKAaoOg9NSRF3XoZa4kxHxUUQX6y1K7k54e/AwB8sXCCyLuPxw== X-Received: by 2002:a92:dc09:0:b0:341:d9e7:9d88 with SMTP id t9-20020a92dc09000000b00341d9e79d88mr14803551iln.11.1689087590063; Tue, 11 Jul 2023 07:59:50 -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 v6-20020a92cd46000000b00338a1272ce1sm658881ilq.52.2023.07.11.07.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:59:49 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Jan Kiszka , Simon Glass Subject: [PATCH v4 06/20] stm32mp15: Avoid writing symbols in SPL Date: Tue, 11 Jul 2023 08:59:08 -0600 Message-ID: <20230711145935.2289816-7-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.390.g38632f3daf-goog In-Reply-To: <20230711145935.2289816-1-sjg@chromium.org> References: <20230711145935.2289816-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