[openwrt/openwrt] realtek: Migrate to upstream generic MIPS addresses
LEDE Commits
lede-commits at lists.infradead.org
Thu Jan 5 13:02:43 PST 2023
svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/44e07852856e65d4348185ed8042fa8a8c05530f
commit 44e07852856e65d4348185ed8042fa8a8c05530f
Author: Olliver Schinagl <oliver at schinagl.nl>
AuthorDate: Wed Jan 4 14:53:54 2023 +0100
realtek: Migrate to upstream generic MIPS addresses
Upstream generic MIPS uses 0x80100000 and 0x80100400 for the LOADADDR
and ENTRY addresses. As we do not want to diverge from upstream and
patch upstream when not needed, adjust our addresses as well to be
future proof.
Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
Tested-by: Jan Hoffmann <jan at 3e8.eu> # HPE 1920-8G, HPE 1920-48G
---
target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform | 2 +-
target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform | 2 +-
target/linux/realtek/image/Makefile | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform b/target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform
index 9d45d2ddd5..98f18cac1b 100644
--- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform
+++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform
@@ -2,4 +2,4 @@
# Realtek RTL838x SoCs
#
cflags-$(CONFIG_RTL83XX) += -I$(srctree)/arch/mips/include/asm/mach-rtl838x/
-load-$(CONFIG_RTL83XX) += 0xffffffff80000000
+load-$(CONFIG_RTL83XX) += 0xffffffff80100000
diff --git a/target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform b/target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform
index 9d45d2ddd5..98f18cac1b 100644
--- a/target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform
+++ b/target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform
@@ -2,4 +2,4 @@
# Realtek RTL838x SoCs
#
cflags-$(CONFIG_RTL83XX) += -I$(srctree)/arch/mips/include/asm/mach-rtl838x/
-load-$(CONFIG_RTL83XX) += 0xffffffff80000000
+load-$(CONFIG_RTL83XX) += 0xffffffff80100000
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile
index 7c5b67191c..82390212e6 100644
--- a/target/linux/realtek/image/Makefile
+++ b/target/linux/realtek/image/Makefile
@@ -3,8 +3,8 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-KERNEL_LOADADDR = 0x80000000
-KERNEL_ENTRY = 0x80000400
+KERNEL_LOADADDR = 0x80100000
+KERNEL_ENTRY = 0x80100400
DEVICE_VARS += \
CAMEO_BOARD_VERSION \
More information about the lede-commits
mailing list