ARM9 Linux 2.4.27 and ramdisk

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Misha
Location: Florence.
Posts: 73
Joined: Mon Nov 22, 2004 4:15 pm

ARM9 Linux 2.4.27 and ramdisk

Thu Feb 03, 2005 7:42 pm

Who can show me where to find an inital ramdisk suitable for custom ramdisk creation ?
The two ramdisks I find in AT91 ftp have no "mke2fs" command inside.

By the way : which is the meaning of their name ramdisk_llibc-2.1.3 and ramdisk_llibc-2.1.3 ?

If there is a "proven" method to create the custom ramdisk, it will be great.


Thank you in advance
edi
Contact:
Location: Germany
Posts: 126
Joined: Thu Mar 25, 2004 12:10 am

Tue Feb 08, 2005 10:41 pm

Hi Misha,
the site http://www.arm.linux.org.uk/ is a very nice base for getting information about arm-linux in general.
If you want search for specific informations in the mailing list, then you can "google" like this:

site:lists.arm.linux.org.uk at91rm9200 ramdisk
The two ramdisks I find in AT91 ftp have no "mke2fs" command inside.
To build your own ram disk you can use mkfs.ext2 on your desktop pc. But you should make this for a loop device. You need detailed information about how linux starts for doing this. There are a lot of configurations and libraries which are needed inside this image. I would prefer to start using a existing ram disk.

Described in the following:
- use a existing RAM disk and mount it on your (desktop) computer
gunzip ram_disk
mount -o loop -t ext2 ramdisk /ramd (directory /ramd have to exist befor)

- make changes
- unmount the disk
umount /ramd
- compress it
- sorry - don't know at the moment how to make this

- transfer it to the board (be sure that the size is like configured at kernel build process)

You can find some RAM disks at the Atmel ARM CD (mentioned in this forum). Mount this as loop device:
gunzip ramdisk_img.gz | mount -o loop -t ext2 ramdisk /ramd
The directory /ramd have to exist befor doing this. In the most cases you have to be "root" for this.
By the way : which is the meaning of their name ramdisk_llibc-2.1.3 and ramdisk_llibc-2.1.3 ?
The same name should be the same ram disk. :)

Best regards,
Edi
Misha
Location: Florence.
Posts: 73
Joined: Mon Nov 22, 2004 4:15 pm

Thank you.

Mon Feb 14, 2005 11:07 am

Again, thank you for your prompt and accurate help.

Misha.

Return to “LINUX”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests