* Help needed with initramfs
@ 2009-01-26 10:17 Jean-Michel Hautbois
2009-01-26 17:09 ` Scott Wood
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Michel Hautbois @ 2009-01-26 10:17 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
Hi everybody !
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) ?
Thanks in advance !
Best Regards,
JM
[-- Attachment #2: Type: text/html, Size: 802 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help needed with initramfs
2009-01-26 10:17 Help needed with initramfs Jean-Michel Hautbois
@ 2009-01-26 17:09 ` Scott Wood
2009-01-27 8:18 ` Jean-Michel Hautbois
0 siblings, 1 reply; 3+ messages in thread
From: Scott Wood @ 2009-01-26 17:09 UTC (permalink / raw)
To: Jean-Michel Hautbois; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-27 8:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 10:17 Help needed with initramfs Jean-Michel Hautbois
2009-01-26 17:09 ` Scott Wood
2009-01-27 8:18 ` Jean-Michel Hautbois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).