Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ARM9 Linux 2.4.27 and ramdisk
PostPosted: Thu Feb 03, 2005 7:42 pm 
Offline

Joined: Mon Nov 22, 2004 4:15 pm
Posts: 73
Location: Florence.
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 10:41 pm 
Offline

Joined: Thu Mar 25, 2004 12:10 am
Posts: 126
Location: Germany
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

Quote:
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.

Quote:
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


Top
 Profile  
 
 Post subject: Thank you.
PostPosted: Mon Feb 14, 2005 11:07 am 
Offline

Joined: Mon Nov 22, 2004 4:15 pm
Posts: 73
Location: Florence.
Again, thank you for your prompt and accurate help.

Misha.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: