Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC OE-core/meta/lib] BSP Specific Qemurunner
@ 2014-01-07  3:09 Sipke Vriend
  2014-01-07 13:59 ` Richard Purdie
  0 siblings, 1 reply; 8+ messages in thread
From: Sipke Vriend @ 2014-01-07  3:09 UTC (permalink / raw)
  To: paul.eggleton@linux.intel.com, ross.burton@intel.com,
	openembedded-core@lists.openembedded.org

Hi,

This RFC is a proposal to allow BSP layers to setup qemu with their specific
requirements for the testimage oe-core functionality.
The suggested changes will be exercised by the 
bitbake -c testimage <image> 
command.
Similarly to the oeqa test cases this proposal extends the meta/lib/oeqa 
python modules to allow inclusion of python utility scripts in the BSP 
layers.
Any BSP layer wishing to supply their own qemu setup would need to create
an appropriate meta-bsplayer/lib/oeqa/utils/<machine>starter.py
The effect is that the lib/oeqa/utils/qemurunner will either allow the 
bsp layer provided <machine>starter to spawn qemu or if not provided, 
spawn qemu via runqemu as currently.
An example bsp layer is available here:
https://github.com/sipke/meta-xilinx/tree/sipke/qemurunner
with all required additions in the meta-xilinx/lib directory.

This RFC is triggered by and indirectly related to
Bugzilla report "runqemu shouldn't hard-code machine knowledge"
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4827

The following changes since commit cd94dd3d9bba32c3fd55959586128b236d1d4e34:

  security_flags: more relocation issues (2013-12-18 17:23:55 +0000)

are available in the git repository at:

  https://github.com/sipke/oe-core/tree/sipke/qemurunner

Sipke Vriend (6):
  meta:lib:oeqa:utils Allow other layers to have utils in same named
    directory
  meta:lib:oeqa:utils:sshcontrol Allow a non root user for ssh control
  meta:lib:oeqa:utils:targetcontrol Allow for a TEST_USER variable
  meta:lib:oeqa:utils:sshcontrol Allow different port for ssh control
  meta:lib:oeqa:utils:qemurunner Move runqemu code into method
  meta:lib:oeqa:utils:qemurunner Add ability to launch qemu from python
    script

 meta/lib/oeqa/targetcontrol.py    |   11 +++-
 meta/lib/oeqa/utils/__init__.py   |    3 +
 meta/lib/oeqa/utils/qemurunner.py |  121 +++++++++++++++++++++++++++++--------
 meta/lib/oeqa/utils/sshcontrol.py |    8 ++-
 4 files changed, 115 insertions(+), 28 deletions(-)

Cheers
Sipke



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-09 23:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07  3:09 [RFC OE-core/meta/lib] BSP Specific Qemurunner Sipke Vriend
2014-01-07 13:59 ` Richard Purdie
2014-01-07 22:59   ` Sipke Vriend
2014-01-08 13:12     ` Richard Purdie
2014-01-08 13:52       ` Paul Eggleton
2014-01-09  0:01         ` Sipke Vriend
2014-01-09 12:19           ` Stanacar, StefanX
2014-01-09 23:29             ` Sipke Vriend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox