realtek: Migrate to upstream generic MIPS addresses
authorOlliver Schinagl <oliver@schinagl.nl>
Wed, 4 Jan 2023 13:53:54 +0000 (14:53 +0100)
committerSander Vanheule <sander@svanheule.net>
Thu, 5 Jan 2023 20:59:20 +0000 (21:59 +0100)
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@schinagl.nl>
Tested-by: Jan Hoffmann <jan@3e8.eu> # HPE 1920-8G, HPE 1920-48G
target/linux/realtek/files-5.10/arch/mips/rtl838x/Platform
target/linux/realtek/files-5.15/arch/mips/rtl838x/Platform
target/linux/realtek/image/Makefile

index 9d45d2ddd5bbf8a9c157d7014f4f60c916cf19b0..98f18cac1be13ba97168c7a4d86574b53f250b5b 100644 (file)
@@ -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
index 9d45d2ddd5bbf8a9c157d7014f4f60c916cf19b0..98f18cac1be13ba97168c7a4d86574b53f250b5b 100644 (file)
@@ -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
index 7c5b67191cb779f2d83b722ce2a6e3b6ab8221d5..82390212e62d55e39e70e17a6b919d42fa790c9f 100644 (file)
@@ -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 \