<div dir="ltr"><div>Thanks for your feedback Chris.</div><div><br></div>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.<div><br></div><div>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.</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 1:30 AM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8/3/18 12:55 am, Éric Tremblay wrote:<br>
> Hi,<br>
> I read that it is possible to make a folder available to the guest system using<br>
> the vfat feature of Qemu but can't get it to work.<br>
><br>
> I am using qemu-system-ppc with PREP (-M prep) (qemu v2.5.0)<br>
> I am using rtems 4.11.3<br>
><br>
> I am currently experiencing with the 'qemu_vfat' example but can't get passed<br>
> the 'rtems_bdpart_register_from_<wbr>disk("/dev/hda")' which always return INVALID_NAME.<br>
><br>
> I am wondering if the problem is with the command line I am using, I tried with:<br>
><br>
> -drive file=fat:rw:./<br>
><br>
> or<br>
><br>
> -hda fat:./<br>
><br>
> In both cases I see that there is a vfat message displayed:<br>
><br>
> vvfat ./ chs 1024,16,63<br>
><br>
> How can I get it to work, does the bsp need to have a IDE driver?<br>
<br>
Yes. I am not sure which types are supported these days.<br>
<br>
> Is this<br>
> feature supported with the qemuprep ? If not how can I make it work or what are<br>
> my options ? using a shared memory to share data between the host and guest ?<br>
<br>
I have had it working many years ago with the PC BSP. There are limits on the<br>
number of files that can be handled.<br>
<span class="HOEnZb"><font color="#888888"><br>
Chris<br>
</font></span></blockquote></div><br></div></div></div>