RAM disk size

Jim Lewis jlewis at mvista.com
Sun May 7 02:12:31 EST 2000


Hello Mike,

The default max ramdisk size is 4096K. You can change this using the
ramdisk_size boot parameter. You will definitely need to change this default on
the target.

On the host, another way to create a ramdisk image is to use the loopback
filesystem. This will allow you to avoid having to change the Ramdisk-size of
your development host. Take a look at the Loopback-Root-FS How-To.

-Jim

Mike Flynn wrote:

> I need to flash an image larger than 4 megs to an Embedded Planet RPX CLLF
> (860T) board with 8 MB of flash. I'm having a problem making a RAM disk file
> image larger than 4 MB on a LinuxPPC host preceding the download to the
> target:
>
> mkfs -m 0 /dev/ram XXXX
> or
> mke2fs -c /dev/ram XXXX
>
>  with XXXX anything more than 4000 returns the following message:
>
> "Filesystem larger than apparent filesystem size.
> Proceed anyway? (y,n)"
>
> Proceeding "anyway" seems to work until any activity that would put more
> than 4 MB in /dev/ram (mounted as /mnt) yields:
>
> "No space left on device"
>
> How do I get beyond this host limitation to use more of the available flash
> on the CLLF board?
>
> Thanks,
> Mike Flynn
> Enerdyne Technologies
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list