From d99379ee5b0523ae509bbcea812fe99a33878993 Mon Sep 17 00:00:00 2001 From: Hanjie Lin Date: Thu, 13 Dec 2018 15:28:45 +0800 Subject: arm: makefile: change text_offset to 0x108000 [1/1] PD#SWPL-1505 Problem: Amlogic arm kernel text_offset is 0x208000, ko start address to kernel text end address arrange is too big(>32M) it can cause insmod ko failed. Solution: modify text_offset to 0x108000 first 0x100000 is invisibe to kernel. Verify: u200 Change-Id: I9684b108b57a15b03e4279146c1dc57667aa5d12 Signed-off-by: Hanjie Lin --- arch/arm/Makefile | 2 +- arch/arm/mach-meson/Makefile.boot | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 62732af6cd4d..4d41a095ed95 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -152,7 +152,7 @@ endif textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 -textofs-$(CONFIG_ARCH_MESON) := 0x00208000 +textofs-$(CONFIG_ARCH_MESON) := 0x00108000 # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name. diff --git a/arch/arm/mach-meson/Makefile.boot b/arch/arm/mach-meson/Makefile.boot index 570d19aaa009..9f8fd298471b 100644 --- a/arch/arm/mach-meson/Makefile.boot +++ b/arch/arm/mach-meson/Makefile.boot @@ -1,3 +1,3 @@ - zreladdr-y += 0x00208000 -params_phys-y := 0x00200100 + zreladdr-y += 0x00108000 +params_phys-y := 0x00100100 initrd_phys-y := 0x00a00000 -- cgit v1.2.3