Setting up ramdisk with dosfs

Daniel Gustafsson daniel.gustafsson at space.se
Wed Nov 10 08:00:58 UTC 2004


 
>
>Joel Sherrill  wrote:
>> Eugeny S. Mints wrote:
>> 
>>> Greetings,
>>>
>>> Thomas Doerfler wrote:
>>>
>>>> Hi,
>>>>
>>>> AFAIK the ramdisk would work fine with the MSDOS 
>filesystem, but it 
>>>> is not formatted :-(
>>>


How soon can the format function be released, at least as an alpha or a beta
version?


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


How can I format the ramdisk out of Rtems without the format function?


>>>>
>>>> I am currently developing a msdos_format function which 
>should solve 
>>>> this problem.
>>>>
>>>>
>>>>> Hi.
>>>>>
>>>>> 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 
>>>>> simulator.
>>>>> 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 
>>>>> table
>>>>> 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.


This works fine...


>>>
>>> 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?
>
>Yes, thanks Joel. (I've searched mail archive for 10 minutes 
>but failed 
>to find)


The program works fine in TSIM, thanks.


>
>> 
>>> Regards,
>>>         Eugeny
>>>
>>>>> 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.
>>>>>
>>>>> Regards
>>>>> 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-
>>>> systems.de/pgp_keys.htm
>>>>
>>>>
>>>>
>>>
>>>
>> 
>> 
>
>
>




More information about the users mailing list