From mboxrd@z Thu Jan 1 00:00:00 1970 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 EDE08C43334 for ; Thu, 23 Jun 2022 12:20:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0737D8440D; Thu, 23 Jun 2022 14:19:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="aQQOBguT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3EF4C843DF; Thu, 23 Jun 2022 14:19:34 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 96F1E843D0 for ; Thu, 23 Jun 2022 14:19:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf36.google.com with SMTP id g18so22093576qvn.2 for ; Thu, 23 Jun 2022 05:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mO29vGU03WO0aD5vWMkRLHeT+o6jQTRO4dQtEGIv81I=; b=aQQOBguTpEt8nKDteIrYQ8ZnkCrJO6n+wIEcu+Nep8eqN6ozj5h2lUSpw2dSpG3OdL zRmH3x19ZV2/a2E3PWbWDKFquL7U8d2YBUYuwh31y5Gf7viUCxHtE39JoLRfKAKVcqRl RBQX5qixVTozdjFN/PyI1hPccl2dRxanxvmi8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mO29vGU03WO0aD5vWMkRLHeT+o6jQTRO4dQtEGIv81I=; b=td9vJ0Emt8oo/8lsz5Ij6J0aC4GmZlPMnmsw3WmADaVqI7VZEgbYg3tfGrI7UYx+6B su4CeORhGneWVLhZvH5d84qsUP3qY7BKpjSwhBZ5j0y7CWAhUrIgqKcTb/478a/E3DJQ qdHT4sWPlOCSXbTFAhGn4nDKnNkOnyWBCCShdo2qD7/sWuC5B6hum4yt7e0IIhVg3Oaa /uAhzPnCrtbvA0qd/u76vEzRpAuxnoQ7Dbir38pJv1F8UyiuP5kSvC7gXdbidyFnKqMm QP973WDlr7SC7e4zu6d2P791bZZH8YQQEhMH0BmbiljP54gYiyUD6ZqfFeWLwWNd/vkf LqqA== X-Gm-Message-State: AJIora9LoZBNSJ9N6FdBHed8418jXPaiCEsjGjMgwCc3NCR8VT5JIkXP f/iT85W8E28SQ0e25d/x8b1SuA== X-Google-Smtp-Source: AGRyM1sZVE8CxkcNxKaejrBgAVAT8GJuGdSvl8v4FC/YwbPgb2nlYQgqwd8PRiA8ioraKOreI/uIuA== X-Received: by 2002:ac8:5e0c:0:b0:305:2d69:eddc with SMTP id h12-20020ac85e0c000000b003052d69eddcmr7518378qtx.435.1655986771173; Thu, 23 Jun 2022 05:19:31 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id u15-20020a05620a430f00b006a693e46d5csm18752876qko.11.2022.06.23.05.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 05:19:30 -0700 (PDT) Date: Thu, 23 Jun 2022 08:19:28 -0400 From: Tom Rini To: Chia-Wei Wang Cc: ryan_chen@aspeedtech.com, BMC-SW@aspeedtech.com, joel@jms.id.au, u-boot@lists.denx.de Subject: Re: [PATCH] configs: ast2600: Move SPL bss section to DRAM space Message-ID: <20220623121928.GI2484912@bill-the-cat> References: <20220601082115.10799-1-chiawei_wang@aspeedtech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uTFalyLIuNT0jbUC" Content-Disposition: inline In-Reply-To: <20220601082115.10799-1-chiawei_wang@aspeedtech.com> X-Clacks-Overhead: GNU Terry Pratchett 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.6 at phobos.denx.de X-Virus-Status: Clean --uTFalyLIuNT0jbUC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 01, 2022 at 04:21:15PM +0800, Chia-Wei Wang wrote: > The commit b583348ca8c8 ("image: fit: Align hash output buffers") places > the hash output buffer at the .bss section. However, AST2600 by default > executes SPL in the NOR flash XIP way. This results in the hash output > cannot be written to the buffer as it is located at the R/X only region. >=20 > We need to move the .bss section out of the SPL body to the DRAM space, > where hash output can be written to. This patch includes: > - Define the .bss section base and size > - A new SPL linker script is added with a separate .bss region specified > - Enable CONFIG_SPL_SEPARATE_BSS kconfig option >=20 > Signed-off-by: Chia-Wei Wang > Reviewed-by: Neal Liu Applied to u-boot/next, thanks! --=20 Tom --uTFalyLIuNT0jbUC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmK0WlAACgkQFHw5/5Y0 tyw64gwAqcFz3E2+WtBZiPHG2y41meMC/pdD+AptmZ4xF1N/IqLEVVilVPxSzlTk tCsau2S3ocwkccd0lBKjEbtB43qsZjhRyYrFStIvFy2zQLMIqn6nMaMMgE3IJ8hd BGhYgkCHsxI1V1nSkmXsSpQSfWTJX67vfzCZcl2DEke2i2u3i8nfBi2OrblapDze 24daB4IttVHq5vGsqcwp9cnrfwupUb8lJjH2XhJmYdkkVRLQJJoCN0piwctO1umf GJkQt4BYQv1HdvLY72hg2P9yHvHYPNTWRltZwG83PjV4jArKezeqhMinyjVapXbX j6bW5U3xGeLHTnCtSdu3NWudOqWw5NYStaj3Lx0P0OUn44rHpP8A7F2YDV53Uk2z vo3PJbZySI35qWa9c+u8l7OpMAA0shQjWmoGbvw2h0n96pAufGvAq+ILUGnyxs3l CFjtkW4XQ+8p8bVdfQzvSjsLtzYpy+x9br37QSutchiOIATykBJk9sA6nsq2Gcm7 YRlr4Gt/ =V/lC -----END PGP SIGNATURE----- --uTFalyLIuNT0jbUC--