Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Varadarajan Narayanan
On Thu, Aug 20, 2015 at 08:54:55PM +0100, Russell King - ARM Linux wrote: > On Thu, Aug 20, 2015 at 12:20:10PM -0500, Andy Gross wrote: > > 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: > > > >

Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Russell King - ARM Linux
On Thu, Aug 20, 2015 at 12:20:10PM -0500, Andy Gross wrote: > 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 0x4000 for IPQ. The lower 21MB of RAM is used > > > for Shared M

Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Andy Gross
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 0x4000 for IPQ. The lower 21MB of RAM is used > > for Shared Memory and the kernel can start from 0x4150. > > Why do people k

Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Russell King - ARM Linux
On Thu, Aug 20, 2015 at 05:45:41PM +0530, Varadarajan Narayanan wrote: > RAM starts at 0x4000 for IPQ. The lower 21MB of RAM is used > for Shared Memory and the kernel can start from 0x4150. Why do people keep creating crap like this? Each time something like this is created, it means tha

[PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Varadarajan Narayanan
RAM starts at 0x4000 for IPQ. The lower 21MB of RAM is used for Shared Memory and the kernel can start from 0x4150. However, this cannot be accomodated within the current AUTO_ZRELADDR framework. If textofs-y is set to 0x01508000, compilation breaks with arch/arm/kernel/head.S:181: