How to use qemu vfat feature with RTEMS and the powerPC PREP bsp

Éric Tremblay e.tremblay at axis-canada.com
Fri Mar 9 14:11:24 UTC 2018


I worked on adding an IDE driver since none existed for this bsp.  I have
something that works now but need to do a little more testing and packaging.

How should I submit this patch, I need to create a ticket for a new feature?

Thanks,
Éric

On Thu, Mar 8, 2018 at 9:39 AM, Éric Tremblay <e.tremblay at axis-canada.com>
wrote:

> Thanks for your feedback Chris.
>
> I checked the source file used for the PREP bsp and there are no IDE / ATA
> driver provided which I think is required in order to have it working.  The
> PC bsp has an IDE driver defined so that would explain why it is functional.
>
> I will try to see if I can add an IDE driver for the qemuprep bsp...unless
> someone tells me that it should work out-of-the-box with qemuprep bsp.
>
>
> On Thu, Mar 8, 2018 at 1:30 AM, Chris Johns <chrisj at rtems.org> wrote:
>
>> On 8/3/18 12:55 am, Éric Tremblay wrote:
>> > Hi,
>> > I read that it is possible to make a folder available to the guest
>> system using
>> > the vfat feature of Qemu but can't get it to work.
>> >
>> > I am using qemu-system-ppc with PREP (-M prep)  (qemu v2.5.0)
>> > I am using rtems 4.11.3
>> >
>> > I am currently experiencing with the 'qemu_vfat' example but can't get
>> passed
>> > the 'rtems_bdpart_register_from_disk("/dev/hda")' which always return
>> INVALID_NAME.
>> >
>> > I am wondering if the problem is with the command line I am using, I
>> tried with:
>> >
>> > -drive file=fat:rw:./
>> >
>> > or
>> >
>> > -hda fat:./
>> >
>> > In both cases I see that there is a vfat message displayed:
>> >
>> > vvfat ./ chs 1024,16,63
>> >
>> > How can I get it to work, does the bsp need to have a IDE driver?
>>
>> Yes. I am not sure which types are supported these days.
>>
>> >  Is this
>> > feature supported with the qemuprep ?  If not how can I make it work or
>> what are
>> > my options ?  using a shared memory to share data between the host and
>> guest ?
>>
>> I have had it working many years ago with the PC BSP. There are limits on
>> the
>> number of files that can be handled.
>>
>> Chris
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180309/dd2c9db6/attachment.html>


More information about the users mailing list