Files
kernel_common_drivers/scripts/amlogic
dongqing.li 4f5ec8d880 ramdump: Use RAMDUMP_TEXTOFFSET to integrate text modifications [1/1]
PD#SWPL-182182
PD#SWPL-190334

Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.

Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.

Verify:
T5D

Change-Id: Ifcbf7883969161ff2872d3300ee9b756dc949917
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-11-07 23:12:35 -08:00
..