Menu

#159 QEMU-ARM under windows: -verbose: invalid option

Next release
closed
None
5
2015-08-26
2015-01-25
belerafon
No

Hi. I try to run qemu (qemu-w32-setup-20150115, version 2.2.50) with latest gnu arm eclipse plugin on Windows. In new configuration I set path to executable: http://postimg.org/image/5a12uj1q7/
and try to run. Debug session instantly ended with error http://postimg.org/image/akfowohof/
because process qemu-system-arm.exe ended with error. But there are no errors in eclipse console, only in qemu directory I found stderr.txt file where it say:

qemu-system-arm.exe: -verbose: invalid option

I do not know what do next. Checkbox "verbose" unchecked in plugin configuration...

Discussion

  • Liviu Ionescu (ilg)

    the qemu plug-in requires a patch in qemu, patch available only in the gnuarmeclipse branch of qemu.git.

    the instructions to build the qemu setup are probably slightly inaccurate and the command to switch to the gnuarmeclipse branch is missing, if you do it manually and rerun the procedure it should work.

    these days I plan to finalise the qemu build procedures and publish the binaries.

    I'll post in the beta tracker the announcement when ready.

     
  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    fixed in 2.8.1-201504061754; please test the new version and let me know if it works for you.

    use the generic Cortex-M3 template, as mentioned in the release notes and the documentation. (more documentation pages to come shortly)

     
  • Liviu Ionescu (ilg)

    • status: open-accepted --> closed
     
  • belerafon

    belerafon - 2015-06-18

    It works very well now, thanks!

     
  • Liviu Ionescu (ilg)

    great!

    I'm pretty advanced with a new version of QEMU, it runs projects generated with the STM32F1 template.

     
  • Liviu Ionescu (ilg)

    I recently released a new version of QEMU, did you have any chance to test it?

     
  • belerafon

    belerafon - 2015-08-19

    Hi. I have download QEMU 2.3.50-201508051820-dev and update latest plugins from http://gnuarmeclipse.sourceforge.net/updates . QEMU is not work now with error in qemu console:
    qemu-system-gnuarmeclipse.exe: Attempt to set CP10/11 in SCB->CPACR, but FP is not supported yet.
    My project uses float point, but in previous version of qemu (2.2.92-201504041652-dev) it simply not calculate it but other commands works well. Now I can't debug anything because error "FP is not supported yet." Maybe I need create project without FP but It takes a time... If I set old path in plugin to previous qemu 2.2.92 it not work too because error qemu-system-gnuarmeclipse.exe: --board: invalid option.

     
  • Liviu Ionescu (ilg)

    yes, this error might be annoying, but it is intended to prevent innacurate emulation due to missing hard FP unit.

    previous experimental versions can no longer be used.

    no need to create another project, I suggest you just duplicate the Debug configuration and disable FP for it.

     
  • belerafon

    belerafon - 2015-08-19

    I have not understand how can I set FP using in Debug configuration. FP is configurable in C/C++ Build->Settings and my project have not compiled with softfp. I think what there are need other project to test qemu...

     
  • Liviu Ionescu (ilg)

    need other project to test qemu

    nope. you need another build configuration (not launch configuration). Debug and Release are build configurations. create a new one based on Debug and then change it to softfp.

     
  • belerafon

    belerafon - 2015-08-26

    I check it on other project, QEMU works fine for me.

     
  • Liviu Ionescu (ilg)

    ok, great!