Message ID | 1568109833-11780-1-git-send-email-alexandru.elisei@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | docs: arm: Fix RAM offset requirement for loading a raw image | expand |
diff --git a/Documentation/arm/booting.rst b/Documentation/arm/booting.rst index 4babb6c6ae1e..0507e7e3357e 100644 --- a/Documentation/arm/booting.rst +++ b/Documentation/arm/booting.rst @@ -178,8 +178,8 @@ prior to decompression, which will make the boot process slightly faster. When booting a raw (non-zImage) kernel the constraints are tighter. -In this case the kernel must be loaded at an offset into system equal -to TEXT_OFFSET - PAGE_OFFSET. +In this case the kernel must be loaded at an offset into system RAM +equal to TEXT_OFFSET. In any case, the following conditions must be met:
Commit 83d26d1113d8 ("ARM: 7824/1: update advice on kernel, initramfs and FDT load address.") changed the offset requirement for loading a raw kernel image into RAM from 32KiB (0x8000) to TEXT_OFFSET - PAGE_OFFSET, which results in a negative value. Change the offset to be TEXT_OFFSET, which has an arch dependent value between 0x8000 and 0x308000. Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> --- Documentation/arm/booting.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)