How to use qemu vfat feature with RTEMS and the powerPC PREP bsp
chrisj at rtems.org
Thu Mar 8 06:30:29 UTC 2018
On 8/3/18 12:55 am, Éric Tremblay wrote:
> 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:./
> -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.
More information about the users