author | Hanjie Lin <hanjie.lin@amlogic.com> | 2018-12-13 07:28:45 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2019-05-22 09:56:43 (GMT) |
commit | d99379ee5b0523ae509bbcea812fe99a33878993 (patch) | |
tree | 9b02cfadf874460b07d0e13879f571ef312b4595 | |
parent | 184969c48448f87fafe8f858699f68ac98d4d514 (diff) | |
download | common-d99379ee5b0523ae509bbcea812fe99a33878993.zip common-d99379ee5b0523ae509bbcea812fe99a33878993.tar.gz common-d99379ee5b0523ae509bbcea812fe99a33878993.tar.bz2 |
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 <hanjie.lin@amlogic.com>
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | 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 |