diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2018-08-21 18:54:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-09-19 10:44:50 +0100 |
commit | f3c899927e19d1be39818145efc39ea27b8efc69 (patch) | |
tree | 907774fde22b48241e28cc379d8ebe81fc2d4279 /arch/arm/kernel | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) |
ARM: 8786/1: Debug kernel copy by printing
It may happen that when we relocate the kernel we corrupt other
sensible memory (e.g. the memory needed by U-Boot for dealing
with bootm command) while copying the kernel. If we overwrite
the content of the memory area used by U-Boot's command bootm
(described by U-Boot's parameters bootm_low and bootm_size),
the kernel won't be able to boot. Troubleshooting the problem
then is not straightforward.
This commit allows the user to easily print information on
where the kernel gets copied from/to in order to help with the
design of the system memory map (e.g. bootm_low and bootm_size)
at boot up.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Acked-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions