public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses
Date: Thu, 27 Aug 2020 15:01:25 +0200	[thread overview]
Message-ID: <20200827130128.22389-1-pali@kernel.org> (raw)
In-Reply-To: <20200824142502.7281-1-pali@kernel.org>

According to Marvell's U-Boot description [1] current env load addresses
overlaps with ATF RT services region and TEE. Because the ATF RT service
and TEE region is going to be marked as secure and can't be overwritten,
use different different addresses for envs.

[1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7

Signed-off-by: Pali Roh?r <pali@kernel.org>
---
Changes in V2:
* Move also ramdisk_addr_r, so there is enough space for kernel
* Drop patch "Define console env" as it cause problems for Debian bootscript
---
 include/configs/mvebu_armada-37xx.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index ca662b0ce7..a9ed0a838f 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -91,11 +91,11 @@
 #include <config_distro_bootcmd.h>
 
 #define CONFIG_EXTRA_ENV_SETTINGS	\
-	"scriptaddr=0x4d00000\0"	\
-	"pxefile_addr_r=0x4e00000\0"	\
-	"fdt_addr_r=0x4f00000\0"	\
-	"kernel_addr_r=0x5000000\0"	\
-	"ramdisk_addr_r=0x8000000\0"	\
+	"scriptaddr=0x6d00000\0"	\
+	"pxefile_addr_r=0x6e00000\0"	\
+	"fdt_addr_r=0x6f00000\0"	\
+	"kernel_addr_r=0x7000000\0"	\
+	"ramdisk_addr_r=0xa000000\0"	\
 	BOOTENV
 
 #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
-- 
2.20.1

  parent reply	other threads:[~2020-08-27 13:01 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 14:24 [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses Pali Rohár
2020-08-24 14:24 ` [PATCH 2/5] arm: mvebu: Espressobin: Change default loadaddr Pali Rohár
2020-08-25  7:06   ` Stefan Roese
2020-08-24 14:25 ` [PATCH 3/5] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases Pali Rohár
2020-08-25  7:07   ` Stefan Roese
2020-08-24 14:25 ` [PATCH 4/5] arm: mvebu: Espressobin: Define console env Pali Rohár
2020-08-25  7:08   ` Stefan Roese
2020-08-26 13:22   ` Andre Heider
2020-08-26 13:31     ` Pali Rohár
2020-08-26 14:00       ` Andre Heider
2020-08-26 14:10         ` Pali Rohár
2020-08-26 14:43           ` Andre Heider
2020-08-26 15:10             ` Pali Rohár
2020-08-26 15:29               ` Andre Heider
2020-08-27  4:51               ` Andre Heider
2020-08-27 10:29                 ` Pali Rohár
2020-08-27 14:34                   ` Andre Heider
2020-08-27  5:25               ` Andre Heider
2020-08-24 14:25 ` [PATCH 5/5] arm: mvebu: Espressobin: Update README.marvell file Pali Rohár
2020-08-25  7:08   ` Stefan Roese
2020-08-25  7:05 ` [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses Stefan Roese
2020-08-26  7:30 ` Andre Heider
2020-08-26  8:31   ` Espressobin booting (Was: Re: [PATCH 1/5] arm: mvebu: Espressobin: Move env load addresses) Pali Rohár
2020-08-26  9:57     ` Andre Heider
2020-08-26 10:51       ` Pali Rohár
2020-08-26 11:40         ` Pali Rohár
2020-08-26 13:22           ` Andre Heider
2020-08-27 13:14             ` Pali Rohár
2020-08-28 12:39             ` Pali Rohár
2020-08-28 14:35               ` Andre Heider
2020-08-28 14:53                 ` Pali Rohár
2020-08-27 13:01 ` Pali Rohár [this message]
2020-08-27 13:01   ` [PATCH v2 2/4] arm: mvebu: Espressobin: Change default loadaddr Pali Rohár
2020-08-27 15:31     ` Stefan Roese
2020-08-27 16:04     ` Andre Heider
2020-08-31 13:06     ` Stefan Roese
2020-08-27 13:01   ` [PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases Pali Rohár
2020-08-27 15:31     ` Stefan Roese
2020-08-27 16:04     ` Andre Heider
2020-08-31 13:06     ` Stefan Roese
2020-08-27 13:01   ` [PATCH v2 4/4] arm: mvebu: Espressobin: Update README.marvell file Pali Rohár
2020-08-27 15:32     ` Stefan Roese
2020-08-31 13:06     ` Stefan Roese
2020-08-27 14:31   ` [PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses Andre Heider
2020-08-27 15:37     ` Stefan Roese
2020-08-27 15:31   ` Stefan Roese
2020-08-31 13:06   ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200827130128.22389-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox