Skip to contentSkip to conversation

Ramdisk trivial question

DISCUSSION Ing.Gianfranco Morandi 3 participants 3 messages Nov 24, 2003

lore
Share & tools
lore
#0 lore raw

Dear friends,

in our project we have always used the NFS to run linux over an 8260 custom board. Now since the activity is almost stable we have tried to build the root filesystem on ramdisk. Obviously we have followed all the main rules which are contained into several good books, but an important choice is always left to the user: " what are the components of filesystem?". The answer to this of course depend on several factors which are not the scope of this e-mail.

The question is: The ELDK 2.01 package (which is currently being used in our system) is too large to be fitted into a ramdisk, while the minimum filesystem does not allow to be used in our midrange application. Does anybody have or can indicate where can we find an almost complete filesystem scheme (for instance based on the ELDK packages)?

Any help would be apreciated

Many thanks

Gianfranco

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

#1 lore raw

Hi Gianfranco,

Isn't busybox a good option? A large part of your ramdisk is filled with binaries and libraries (glibc is big) which can be included in a single static binary (busybox)

Jaap-Jan

Quoted 16 lines · Ing.Gianfranco Morandi

Dear friends,

in our project we have always used the NFS to run linux over an 8260 custom board. Now since the activity is almost stable we have tried to build the root filesystem on ramdisk. Obviously we have followed all the main rules which are contained into several good books, but an important choice is always left to the user: " what are the components of filesystem?". The answer to this of course depend on several factors which are not the scope of this e-mail.

The question is: The ELDK 2.01 package (which is currently being used in our system) is too large to be fitted into a ramdisk, while the minimum filesystem does not allow to be used in our midrange application. Does anybody have or can indicate where can we find an almost complete filesystem scheme (for instance based on the ELDK packages)?

Quoted 7 lines

Any help would be apreciated

Many thanks

Gianfranco

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

#2 lore raw
In reply to Ing.Gianfranco Morandi

Dear Gianfranco,

Quoted 4 lines · in message <005601c3b275$39446fd0$0700a8c0@pc005> you wrote:

The question is: The ELDK 2.01 package (which is currently being used in our system) is too large to be fitted into a ramdisk, while the minimum filesystem does not allow to be used in our midrange application. Does

What do you mean with "the minimum filesystem does not allow to be used" ?

Quoted 2 lines

anybody have or can indicate where can we find an almost complete filesystem scheme (for instance based on the ELDK packages)?

The ELDK contains the SELF package (SELF = Simple Embedded Linux Framework) which is intended as a building stone for your own application images. Instructions how to add files and/or change the size of the filesystem and how to generate different image formats (ramdisk, cramfs, JFFS2) can be fund in the DULG. See especially

http://www.denx.de/twiki/bin/view/DULG/HowToIncreaseSizeOfRamdisk
http://www.denx.de/twiki/bin/view/DULG/HowToAddFiles

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] ...when fits of creativity run strong, more than one programmer or writer has been known to abandon the desktop for the more spacious
floor. - Fred Brooks, Jr.

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