Google
  Web www.spinics.net

RE: Creating RAM disk on ARM9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Thanks.
I'm just using busybox ver 0.60.5 but it doesn't include any mke2fs command and it's not possible to include that.
Under /dev/rd path I found 16 directories (from "0" to "15") which probably correspond to memory areas.
I tried to mount as ramdisk one of that and I corrected obtained a /mnt/ path. Now I can read/write to that.


But...
where to specify the corrispondence from each /dev/ directory to memory area.
If I solve this.. probably I'll be able to mount the specified ram area as ramfs.


Thanks


At 09.17 03/02/2005 -0600, you wrote:
If I am not wrong, The ramdisk loads from INITRD
arch/arm/boot/Makefile has the defines in the MV kernel I have. I guess
U can also pass bootargs as follows in the .config:
CONFIG_CMDLINE="root=/dev/ram rw mem=64M console=ttyS0,115200n8
initrd=0x80800000,8M ramdisk_size=8192 ramdisk_start=0x80800000"

To create an ramdisk, u can use dd command with mke2fs to do so. The
corresponding man pages should give u more details. If you want a ready
to configure filesystem go for something like busybox.
Regds
NM
> -----Original Message-----
> From: linux-arm-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:linux-arm-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Fabrizio Grasso
> Sent: Thursday, February 03, 2005 7:49 AM
> To: linux-arm@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Creating RAM disk on ARM9
>
> Hi all,
> I'm using ARM9 S3C2410A from Samsung, using Linux 2.4.18 from Mizi.
I'm
> trying to create a ramdisk filesystem on a portion of memory at
specified
> address and with a specified size.
>
> How can I specify what portion of memory to use as ramdisk?
> What linux commands I've to use?
>
> Thanks a lot!
>
>
>
>
>
> -------------------------------------------------------------------
> Subscription options:
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ/Etiquette:
http://www.arm.linux.org.uk/armlinux/mailinglists.php


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux