All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Ramdisk larger than 8M causes problem
Date: Wed, 05 Mar 2008 09:30:17 +0100	[thread overview]
Message-ID: <m21w6p609y.fsf@ohwell.denx.de> (raw)
In-Reply-To: <005801c87e65$bb562200$3400a8c0@xgw> (Robert's message of "Wed, 5 Mar 2008 10:07:54 +0800")

Hi Robert,

>     I am facing a problem that ,I built a ramdisk(16M)  larger than 8M,
> the kernel couldn't start up correctly with this ramdisk , the filesystem
> couln't be mounted and "kernel panic" happened. But if the ramdisk is 
> smaller
>  than or equal to 8M , it works fine. I tried the two method as what  the
> website
> (http://www.denx.de/wiki/view/DULG/RamdiskGreaterThan4MBCausesProblems)
>  said. but it takes no effect.
> Anybody gives me some hints?

This is really offtopic on the U-Boot ML, but anyway...

The 8MB are usually a compiled in limit for the size of ramdisks.  You
can either change CONFIG_BLK_DEV_RAM_SIZE at compile time or provide a
command line parameter to the kernel, e.g. "ramdisk_size=8192k".

Best wishes
  Detlev

-- 
He who can properly define and divide is to be considered a god.
                                        -- Plato
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

      reply	other threads:[~2008-03-05  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05  2:07 [U-Boot-Users] Ramdisk larger than 8M causes problem Robert
2008-03-05  8:30 ` Detlev Zundel [this message]

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=m21w6p609y.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.