All of lore.kernel.org
 help / color / mirror / Atom feed
From: manu <manuel.pezzin@free.fr>
To: Linuxppc-embedded@ozlabs.org
Subject: problems to boot 2.6.23 kernel on XILINX ppc with 8Mbytes of RAM
Date: Wed, 24 Oct 2007 22:01:15 +0200	[thread overview]
Message-ID: <471FA48B.2020809@free.fr> (raw)

Hello,
I work on a custom board based on a virtex 2 pro FPGA and 8Mbytes of SDRAM.
Untill now I used a 2.4.31 linux ppc kernel with John Williams patches
and uclinux distribution and everything worked perfectly.
I've decided to move to the latest 2.6 version from kernel.org
(2.6.23.1) with an initramfs containing a busybox.
My complete zImage including the initramfs has a size of 900Kbytes.
I made some tests with a ML300 board and I managed to get a shell easily.
When I migrated to the custom board, I had the "Now booting the kernel"
message and then nothing.
When I trace the code running on the ppc with the debugger, execution
seems to be stuck in some early initialization code.
I managed to reproduce the problem on the ML300 using "mem=8m" parameter
on the bootline.
With "mem=16m" the kernel boots correctly.
I'm really surprised by the amount of RAM required to boot the kernel.
Is there a way to make it boot with only 8Mbytes of RAM ?
Thanks for your help.

Manu

             reply	other threads:[~2007-10-24 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24 20:01 manu [this message]
2007-10-25  7:00 ` problems to boot 2.6.23 kernel on XILINX ppc with 8Mbytes of RAM Magnus Hjorth
2007-10-26 18:43   ` manu
2007-10-26 19:54   ` Grant Likely
2007-10-27  8:35     ` [PATCH] ppc4xx: mmu_mapin_ram bugfix for booting with mem<16 MB Magnus Hjorth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=471FA48B.2020809@free.fr \
    --to=manuel.pezzin@free.fr \
    --cc=Linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.