All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [PATCH 1/8] rockchip: rk3368: adjust CONFIG_SYS_LOAD_ADDR
Date: Tue,  9 Feb 2021 14:47:03 +0100	[thread overview]
Message-ID: <20210209134710.2313240-2-heiko@sntech.de> (raw)
In-Reply-To: <20210209134710.2313240-1-heiko@sntech.de>

From: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>

CONFIG_SYS_LOAD_ADDR currently is at 0x00280000 which is only 512KB
behind the area where we load u-boot to, which depending on u-boot size
may overlap at some point.

So for safety just pick the same value rk3399 has and set
CONFIG_SYS_LOAD_ADDR to 0x00800800 on rk3368 as well.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
---
 include/configs/rk3368_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h
index f178a06945..86498b4c82 100644
--- a/include/configs/rk3368_common.h
+++ b/include/configs/rk3368_common.h
@@ -24,7 +24,7 @@
 #define CONFIG_IRAM_BASE		0xff8c0000
 
 #define CONFIG_SYS_INIT_SP_ADDR		0x00300000
-#define CONFIG_SYS_LOAD_ADDR		0x00280000
+#define CONFIG_SYS_LOAD_ADDR		0x00800800
 
 #define CONFIG_SPL_MAX_SIZE             0x40000
 #define CONFIG_SPL_BSS_START_ADDR       0x400000
-- 
2.29.2

  reply	other threads:[~2021-02-09 13:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 13:47 [PATCH 0/8] rockchip: resurrect rk3368 functionality and make lion bootable again Heiko Stuebner
2021-02-09 13:47 ` Heiko Stuebner [this message]
2021-02-09 13:47 ` [PATCH 2/8] rockchip: rk3368: set CONFIG_SYS_BOOTM_LEN to 64MB Heiko Stuebner
2021-02-09 13:47 ` [PATCH 3/8] rockchip: rk3368: increase SYS_MALLOC_F_LEN to 0x4000 Heiko Stuebner
2021-02-09 13:47 ` [PATCH 4/8] rockchip: rk3368: move STACK_R_ADDR address and into Kconfig Heiko Stuebner
2021-02-09 13:47 ` [PATCH 5/8] rockchip: rk3368: sync clock dt-binding header from Linux Heiko Stuebner
2021-02-09 13:47 ` [PATCH 6/8] rockchip: rk3368: sync main rk3368 dtsi " Heiko Stuebner
2021-02-09 13:47 ` [PATCH 7/8] rockchip: rk3368: sync down rk3368-lion board devicetree " Heiko Stuebner
2021-02-09 13:47 ` [PATCH 8/8] rockchip: lion: update board defconfig Heiko Stuebner

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=20210209134710.2313240-2-heiko@sntech.de \
    --to=heiko@sntech.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.