Access my local files using RTEMS
Till Straumann
strauman at slac.stanford.edu
Thu Jul 15 07:12:45 UTC 2010
On 07/15/2010 08:55 AM, Chris Johns wrote:
> On 12/07/10 1:48 AM, Vinu Rajashekhar wrote:
>> I have a follow-up question based on this.
>> I could access my local files using pc386
>> script and qemu -hda fat: option.
>>
>> Similarly, does all the other targets also support
>> something like this, if the simulator is not qemu ?
>>
>
> Sorry to butt in on your thread :) :)
>
> Yes qemu provides access via the FAT emulation method. This method has
> a limited number of files that can be seen. I am not sure what the
> limit is but a large tree of files results in files not appearing with
> no errors or warnings.
>
> On real hardware with working networking configurations I use the NFS
> file system.
Obviously, on qemu you can also use NFS or TFTPFS.
- Till
>
> Chris
>
>> On Sun, Jul 11, 2010 at 5:06 AM, Vinu Rajashekhar <vinutheraj at gmail.com
>> <mailto:vinutheraj at gmail.com>> wrote:
>>
>>
>> On Sun, Jul 11, 2010 at 5:02 AM, Vinu Rajashekhar
>> <vinutheraj at gmail.com <mailto:vinutheraj at gmail.com>> wrote:
>>
>> On Sun, Jul 11, 2010 at 4:01 AM, Vinu Rajashekhar
>> <vinutheraj at gmail.com <mailto:vinutheraj at gmail.com>> wrote:
>>
>> I was wondering whether there is some way through
>> which I could access my local files using RTEMS,
>> running on qemu ?
>>
>> I tried running the fileio test in samples using the pc386
>> test script, but my local files do not seem to be affected.
>> I changed the config from IMFS to RFS, by the way,
>> before running the test.
>>
>> Yes, I am able to access my local files using the technique
>> in fileio + pc386 script.
>>
>> If you want to modify your local files you have to change the
>> fat: option in pc386 to fat:rw:
>>
>>
>> Additionally, I had to add a config option
>> CONFIGURE_FILESYSTEM_DOSFS too to make this work.
>>
>> If anybody knows of any easier way to do this, please
>> do reply.
>>
>>
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list