ARM: relocation out of range (when loading a module)

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jan 11 10:59:30 EST 2011


On Tue, Jan 11, 2011 at 09:16:38PM +0530, Rabin Vincent wrote:
> It's possible to hack around this by placing the initramfs at the end of
> the kernel image rather than at the beginning with the rest of the init
> data.  Something like the below should work, although you should also
> probably take care of alignment and also have this section freed when
> the rest of the init data is freed.

You're then running into problems as _sdata.._edata is copied to RAM on
XIP kernels, and you really don't want to waste time copying the
initramfs to RAM.



More information about the linux-arm-kernel mailing list