[PATCH v3 01/20] mips: add support to restore exception vector base before booting linux
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Mon Feb 10 16:12:15 CET 2020
Am 21.01.20 um 09:18 schrieb Weijie Gao:
> In U-Boot the exception vector base will be moved to top of memory, to be
> used to display register dump when exception occurs.
>
> But some old linux kernel does not honor the base set in CP0_EBASE. A
> modified exception vector base will cause kernel crash.
>
> This patch adds an option to enable reset exception vector base to its
> previous value, or a user configured value before booting linux kernel.
>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
> Changes since v2: none
> ---
> arch/mips/Kconfig | 30 +++++++++++++++++++++++++++++
> arch/mips/include/asm/u-boot-mips.h | 2 ++
> arch/mips/lib/bootm.c | 3 +++
> arch/mips/lib/traps.c | 19 ++++++++++++++++++
> 4 files changed, 54 insertions(+)
>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list