| 16 | [https://cillianodonnell.github.io//rtems,/testing/2017/06/12/testing-qemu.html Testing-Couverture-Qemu] |
| 17 | |
| 18 | [https://cillianodonnell.github.io//rtems,/rsb/2017/06/22/RSB-qemu.html Switching-RSB-to-Couverture-Qemu] |
| 19 | |
| 20 | = Building Couverture-Qemu with the RSB = |
| 21 | The build set for Couverture-Qemu can be found in rsb/bare/config/devel and the command to build it from rsb/rtems is |
| 22 | {{{ |
| 23 | ../source-builder/sb-set-builder --log=couverture_qemu_log.txt --prefix=$HOME/development/4.12 devel/couverture-qemu |
| 24 | }}} |
| 25 | |
| 26 | This will build the qemu tools for the currently supported architectures a list of which can be found in rsb/source-builder/config/couverture-qemu-2-1.cfg. The current list at the time of writing is: |
| 27 | |
| 28 | {{{ |
| 29 | 22 %define qemu_archs arm-softmmu,i386-softmmu,lm32-softmmu,mips-softmmu |
| 30 | 23 %define qemu_archs %{qemu_archs},ppc-softmmu,sparc-softmmu |
| 31 | }}} |
| 32 | |
| 33 | There is also a feature to override this list and build the architectures of your choice, if needed for a new bsp maybe. The option is --with-qemu-archs=<arch-you-want-to-build> which is passed in the command line argument to invoke the RSB |
| 34 | |
| 35 | {{{ |
| 36 | ../source-builder/sb-set-builder --log=couverture_qemu_log.txt --prefix=$HOME/development/4.12 --with-qemu-archs=ppc-softmmu devel/couverture-qemu |
| 37 | }}} |
| 38 | |
| 39 | This would build ppc-softmmu only and place it in your prefix location. |
| 40 | |