From add0c0c6506b02e8a23597264564617a49fda644 Mon Sep 17 00:00:00 2001 From: Hanjie Lin Date: Thu, 13 Dec 2018 15:28:45 +0800 Subject: [PATCH] arm: makefile: change text_offset to 0x108000 [1/1] PD#SWPL-1505 PD#SWPL-8867 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 62732af..4d41a09 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 570d19a..9f8fd29 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 -- 2.7.4