<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mar 8, 2018 8:39 AM, "Éric Tremblay" <<a href="mailto:e.tremblay@axis-canada.com">e.tremblay@axis-canada.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">I'm not going to tell you that it will work out if the box. I am just going to suggest that you double check what ide support this qemu configuration has.  </div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="quoted-text"><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_di<wbr>sk("/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="m_8655497949839883583HOEnZb"><font color="#888888"><br>
Chris<br>
</font></span></blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div></div>