[PATCH 0/2] Simple fix to the ARM kexec tools implementation
Russell King - ARM Linux
linux at armlinux.org.uk
Fri Jun 17 12:44:05 PDT 2016
This is the "simple" fix for the ARM kexec tools code, which makes
the code actually do what the comments describe.
There are two problems:
1. When placing the initrd, we do not take account of the 32k offset
that is required for the kernel image.
2. The code claims to allow the zImage decompressor to expand by a
factor of 4, but only allows space for a factor of 3, since the
decompressor itself has to fit in this memory space as well.
Changing the code to follow the comments allows Keystone II to kexec
with DEBUG_RODATA enabled, at least with the kernel I've been testing
with.
This is a stop-gap solution until a better solution can be implemented.
kexec/arch/arm/kexec-zImage-arm.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the kexec
mailing list