From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AB0EC3A5A2 for ; Tue, 10 Sep 2019 10:04:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1BE0E2067B for ; Tue, 10 Sep 2019 10:04:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kWyOLnqa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1BE0E2067B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=jzCLjSUMUhMvrmLA9OJBXDOjmweBmD7Z7NljOX9RJdg=; b=kWy OLnqakD3SA0Ev8py/Ym084iHuDwqf2JOrEtzHzUGl7XDe1Kqeb8II9nbXkwzpaMQrKU5CYIpoFtLu HcVAQC24jl8TKhE07EWYw7VWLgDxcWoVOCeCpJiWoyrRtYp8VVGQHrSsH8LO1lPXxtez0aRuDYAgs lH7PvhIx8xpRWK+VIOX30m21XYc1yu1TTagWEiF5W3o3RxoYMiLzGDKNovuHO9KOWLoHYKPBDP47a YHl70Y6/TQVNdYi0Kdp1uB4Ji+YhQ2wJcndjHzG5cLp6gVJcgKYEc4o6w9zKFnFE2EC7rmMbEVH+7 R+Lpfb8w3n3XzXJo0QpgfEDp1mtPKEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i7d0h-0000HZ-UG; Tue, 10 Sep 2019 10:04:31 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i7d0f-0000H3-5p for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2019 10:04:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F288F28; Tue, 10 Sep 2019 03:04:24 -0700 (PDT) Received: from e121566-lin.cambridge.arm.com (e121566-lin.cambridge.arm.com [10.1.196.217]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C9D8F3F71F; Tue, 10 Sep 2019 03:04:23 -0700 (PDT) From: Alexandru Elisei To: linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] docs: arm: Fix RAM offset requirement for loading a raw image Date: Tue, 10 Sep 2019 11:03:53 +0100 Message-Id: <1568109833-11780-1-git-send-email-alexandru.elisei@arm.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190910_030429_261640_D368DDA4 X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ian.campbell@citrix.com, corbet@lwn.net, catalin.marinas@arm.com, linux@armlinux.org.uk, mchehab@kernel.org, will@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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