[Avila] GW2348-4 howto extend ramdisk size to 16M? (snapgear)

dave.hunt at tecnomen.com dave.hunt at tecnomen.com
Tue Jun 20 04:14:47 EDT 2006


You could try the following:

1. In the "Block Devices" section of your kernel parameters, I would
recommend changing the Default RAM sized to your requirements.

 <*> RAM disk support
 (16384)   Default RAM disk size 
 [*]   Initial RAM disk (initrd) support

2. Then modify the initrd kernel parameter in the "General Setup" section

console=ttyS0,115200 root=/dev/ram0 initrd=0x00800000,16M mem=64M at 0x00000000

3. You probably also need to change the way you build your ramdisk
filesystem as well. I haven't used the snapgear toolchain for my rootfs.gz,
I use buildroot, but the concept should be the same. In the initial creation
of the filesytem

dd if=/dev/zero of=rootfs bs=1k count=16384

4. If you're storing the new filesystem on fis, you may need to re-organise
the layout of your flash to hold the bigger rootfs.gz if it's too big for
the existing 'partitions'.

I haven't tested this, but I hope this helps point you in the right
direction, at least. :)

Cheers,
Dave.

-----Original Message-----
From: huchijwk at naver.com [mailto:huchijwk at naver.com] 
Sent: 20 June 2006 01:30
To: avila at lists.unixstudios.net
Subject: [Avila] GW2348-4 howto extend ramdisk size to 16M? (snapgear)
Subject: [Avila] hi there 
 
is it possible? 
then how to do? 
 





More information about the Avila mailing list