Re: Help needed with initramfs
From: Scott Wood <hidden>
Date: 2009-01-26 17:09:46
On Mon, Jan 26, 2009 at 11:17:05AM +0100, Jean-Michel Hautbois wrote:
I have a working Kernel with a NFS mounted root filesystem. I am trying to use my root file system, but with the use of initramfs. Compiling the kernel is not a problem, but when booting, I have the following error: "Insufficient memory for kernel at address 0! (_start=00400000, uncompressed size=005a0b0c)" I understand that my load address is 0x400000 and that the image is too big, but I can't find where this load adress is defined. It seems (from the .../arch/powerpc/boot/wrapper file) that this adress is calculated from the _start adress in the objfile. Is it possible to change this adress ? What can I do (with the idea of not reducing the size of my rootfs) ?
You can change link_address in arch/powerpc/boot/wrapper, or provide a vmlinux_alloc method in the wrapper ops struct. -Scott