* Boot code stack size
@ 2004-01-28 23:59 Greg Watson
0 siblings, 0 replies; only message in thread
From: Greg Watson @ 2004-01-28 23:59 UTC (permalink / raw)
To: linuxppc-dev
I'm working on the PPC LinuxBIOS project and have recently managed to
boot the Sandpoint (Altimus 7410 PMC) using the latest
linuxppc_2_4_devel kernel (2.4.24-pre2).
However while getting Linux to run on this machine, I hit a problem
with this and earlier kernels running out of stack while
uncompressing the kernel image. The symptom I see is that inflate
returns -3 (FFFFFFFD). To get around the problem, I have to modify
arch/ppc/boot/common/relocate.S and increase the stack size from 8K
(4096*2) to 28K (4096*7). The kernel image is 792890 bytes compressed
and 1734312 bytes uncompressed. The Sandpoint boots reliably with the
increased stack size.
I'm wondering a) if anyone has seen this problem while booting other
PPC based systems, and b) if it would be worth adding a configuration
option that allows this early stack size to be specified, rather than
hard-coding it in relocate.S.
Regards,
Greg
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-28 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-28 23:59 Boot code stack size Greg Watson
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).