Re: [yocto] genericx86 vs qemux86

2017-02-04 Thread Burton, Ross
On 4 February 2017 at 03:59, Takashi Matsuzawa wrote: > So, if virtualization platform provides what intel-core* builds expects, > then I will see a better performance with them, rather thatn qemu* builds. > Or qemu* builds provide particular features that suites well with VM, > other thna its 's

[yocto] [meta-zephyr][morty][PATCH 2/7] zephyr-philosophers: use common naming conventions

2017-02-04 Thread Juro Bystricky
Derive the name of the resulting image based on PN. Signed-off-by: Juro Bystricky --- recipes-kernel/zephyr-kernel/zephyr-philosophers.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb b/recipes-kernel/zephyr-kernel/z

[yocto] [meta-zephyr][morty][PATCH 0/7] consolidated pull for Morty

2017-02-04 Thread Juro Bystricky
The attached series of patches containes various improvements for meta-zephyr. These are intended for a new meta-zephyr branch "morty". Juro Bystricky (7): zephyr-kernel-common.inc: also build qemus if needed zephyr-philosophers: use common naming conventions zephyr-getchar: minor cleanup

[yocto] [meta-zephyr][morty][PATCH 3/7] zephyr-getchar: minor cleanup

2017-02-04 Thread Juro Bystricky
Signed-off-by: Juro Bystricky --- recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb b/recipes-zephyr/zephyr-getchar/zephyr-getchar_git.bb index 3a34b22..f721033 100644 ---

[yocto] [meta-zephyr][morty][PATCH 1/7] zephyr-kernel-common.inc: also build qemus if needed

2017-02-04 Thread Juro Bystricky
Also build qemus if a recipe is built for a MACHINE=qemuXXX. Allow inheriting classes based on recipe context. Signed-off-by: Juro Bystricky --- recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/zephyr-ke

[yocto] [meta-zephyr][morty][PATCH 6/7] qemu-*.conf: support for qemuboot

2017-02-04 Thread Juro Bystricky
Add support to run qemus using runqemu. All qemu machines will inherit the bbclass "zephyr-qemuboot", which is responsible to set up everything that is needed in order to use "runqemu". Signed-off-by: Juro Bystricky --- conf/machine/qemu-cortex-m3.conf | 8 ++-- conf/machine/qemu-nios2.conf

[yocto] [meta-zephyr][morty][PATCH 5/7] zephyrtest.bbclass: refactor

2017-02-04 Thread Juro Bystricky
Only keep code/variables related to individual test/package names. Moved ZEPHYR_TEST_SRCDIR into zephyr-kernel.inc as it is zephyr kernel version specific. Moved ZEPHYR_MAKE_OUTPUT into zephyr-kernel-common.inc as it is as it is not zephyr test specific but applicable to all zephyr images. Addition

[yocto] [meta-zephyr][morty][PATCH 4/7] zephyr-kernel-test-all: implement clean

2017-02-04 Thread Juro Bystricky
support for: $ bitbake zephyr-kernel-test-all -c clean Signed-off-by: Juro Bystricky --- recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-test-all.bb b/recipes-kernel/zephyr-kernel/zephyr-ke

[yocto] [meta-zephyr][morty][PATCH 7/7] zephyr-qemuboot.bbclass

2017-02-04 Thread Juro Bystricky
A bbclass used to generate qemuboot.conf and various symbolic links needed to properly run "runqemu". Signed-off-by: Juro Bystricky --- classes/zephyr-qemuboot.bbclass | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 classes/zephyr-qemuboot.bbcla

[yocto] [meta-zephyr][morty][PATCH] testimage: performace improvements

2017-02-04 Thread Juro Bystricky
Refactored processing of QEMU logs. The original code read QEMU logs every 30 seconds, which resulted in each test taking at least 30 seconds to finish. In reality, most tests take only a few seconds. Although the tests run in parallel, on systems with only a few CPUs this can make a very noticable