[PATCH v3] ARM: xip: Use correct symbol for end of ROM marker
Nicolas Pitre
nico at fluxnic.net
Mon Nov 16 16:48:56 PST 2015
On Mon, 16 Nov 2015, Chris Brandt wrote:
> > New sections (lots of them) were added as well since the introduction
> > of XIP kernel with no consideration for XIP usage.
>
> So I've noticed. As far as I can tell, the XIP kernel stuff broke years
> ago.
That, of course, brings the question about keeping XIP around.
> > I think the only way to fix it properly is to have a separate linker
> > script for XIP usage with proper (and obvious) section placement.
>
> I guess then the parts of the kernel that refer to section locations
> need to be looked at again. As you can see from my other patches,
> there's a bit of miss-match that I was trying to align.
I don't think that's a big issue. Those section locations are obtained
from symbols that the linker script creates explicitly.
> So at this point...I'm assume all my XIP 'hacks' are being rejected.
Pretty much. Everything can be fixed at once with a new linker script.
> As for making a new XIP-only linker script, note that I really only
> work with the ARMv7. I know the M4 and M5 guys do XIP_KERNEL builds,
> but I've got no way of testing their XIP_KERNEL builds or knowing
> what will break.
Things can hardly be worse than they are right now.
Nicolas
More information about the linux-arm-kernel
mailing list