[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting up ramdisk with dosfs
- Date: Tue, 09 Nov 2004 10:36:04 -0600
- From: joel.sherrill at OARcorp.com (Joel Sherrill <joel at OARcorp dot com>)
- Subject: Setting up ramdisk with dosfs
Eugeny S. Mints wrote:
> Thomas Doerfler wrote:
>> AFAIK the ramdisk would work fine with the MSDOS filesystem, but it is
>> not formatted :-(
> Exactly. Ramdisk works fine with DOSFS since I used ramdisk during DOSFS
> development:) And again - exactly - a ramdisk needs to be formatted by
> any means out of RTEMS since Thomas msdos_format for RTEMS is the work
> in progress (yet:).
>> I am currently developing a msdos_format function which should solve
>> this problem.
>>> I want to use the ramdisk with dosfs but has some problems.
>>> I am running on a sun solaris with target ERC32. Using TSIM as
>>> Want to modify the fileio sample to use ramdisk instead of ata.
>>> My questions are:
>>> What should I initialize? (I added RAMDISK_TABLE_ENTRY to the Device
>>> and this seems to work fine.)
> In addition to the RAMDISK_TABLE_ENTRY you need to define at least one
> ramdisk itself - rtems_ramdisk_configuration array of type
> rtems_ramdisk_config (please, see
> cpukit/libblock/include/rtems/ramdisk.h - there are good comments
> there). The rtems_ramdisk_configuration array is expected to be
> exported by a bsp.
> It seems one time (about june of 2002) I sent Angelo Fraietta <angelo_f
> at bigpond dot com> the ramdisk application example.
> 2Angelo: If it possible, please re-post the example on the list.
Is the attached program something like it?
>>> I am trying to run rtems_ide_part_table_initialize(dev) but it
>>> returns '25'
>>> and 'not a char device' (the ramdisk is accessed). Must I use ide_part?
>>> I really could use a step by step instruction how to init and mount a
>>> ramdisk and use msdos with it.
>>> Any information would be greatly appreciated.
>>> Daniel Gustavsson
>> IMD Ingenieurbuero fuer Microcomputertechnik
>> Thomas Doerfler Herbststrasse 8
>> D-82178 Puchheim Germany
>> email: Thomas.Doerfler at imd-systems.de
>> PGP public key available at: http://www.imd-
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1405 bytes
Desc: not available
Url : http://rtems.rtems.org/pipermail/rtems-users/attachments/20041109/027a3ce5/attachment.bz2