From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x Date: Thu, 20 Aug 2015 12:20:10 -0500 Message-ID: <20150820172010.GB10796@qualcomm.com> References: <20150820121541.GA14664@codeaurora.org> <20150820130005.GS7557@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:44932 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752583AbbHTRUN (ORCPT ); Thu, 20 Aug 2015 13:20:13 -0400 Content-Disposition: inline In-Reply-To: <20150820130005.GS7557@n2100.arm.linux.org.uk> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Russell King - ARM Linux Cc: Varadarajan Narayanan , Kumar Gala , David Brown , Stephen Boyd , Lina Iyer , Georgi Djakov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org On Thu, Aug 20, 2015 at 02:00:06PM +0100, Russell King - ARM Linux wrote: > On Thu, Aug 20, 2015 at 05:45:41PM +0530, Varadarajan Narayanan wrote: > > RAM starts at 0x40000000 for IPQ. The lower 21MB of RAM is used > > for Shared Memory and the kernel can start from 0x41500000. > > Why do people keep creating crap like this? Each time something like > this is created, it means that you _need_ to have a special kernel for > your platform and you can't be part of the single zImage. > > Please, rather than creating crap like this, find a better way. In the case of the IPQ, we don't use the zImage because the decompress requires a larger jump than we can do on that platform. Having this change at least gets us back 2MB of memory. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 From: agross@codeaurora.org (Andy Gross) Date: Thu, 20 Aug 2015 12:20:10 -0500 Subject: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x In-Reply-To: <20150820130005.GS7557@n2100.arm.linux.org.uk> References: <20150820121541.GA14664@codeaurora.org> <20150820130005.GS7557@n2100.arm.linux.org.uk> Message-ID: <20150820172010.GB10796@qualcomm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Aug 20, 2015 at 02:00:06PM +0100, Russell King - ARM Linux wrote: > On Thu, Aug 20, 2015 at 05:45:41PM +0530, Varadarajan Narayanan wrote: > > RAM starts at 0x40000000 for IPQ. The lower 21MB of RAM is used > > for Shared Memory and the kernel can start from 0x41500000. > > Why do people keep creating crap like this? Each time something like > this is created, it means that you _need_ to have a special kernel for > your platform and you can't be part of the single zImage. > > Please, rather than creating crap like this, find a better way. In the case of the IPQ, we don't use the zImage because the decompress requires a larger jump than we can do on that platform. Having this change at least gets us back 2MB of memory. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project