linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: arm: Fix RAM offset requirement for loading a raw image
@ 2019-09-10 10:03 Alexandru Elisei
  0 siblings, 0 replies; only message in thread
From: Alexandru Elisei @ 2019-09-10 10:03 UTC (permalink / raw)
  To: linux-doc, linux-arm-kernel
  Cc: ian.campbell, corbet, catalin.marinas, linux, mchehab, will

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(-)

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:
 
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-10 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 10:03 [PATCH] docs: arm: Fix RAM offset requirement for loading a raw image Alexandru Elisei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).