0e65515862
The weston runtime test uses the CRC of the framebuffer to detect that "something" is being drawned on the framebuffer. This requires that the sampling of the CRC happens does not happen too early after trigerring an action, or the rendering may be not be finishe, either: - weston may not have had time to initialise, or - the test application may not have started rednering, The sequence of rendering that has been observed yields this sequence of CRCs (elided for brevity): - boot: - alternating between 0x4c4126bf and 0x5d2f9aa5: console cursor blinking - start weston: - 0x4c4126bf: weston switches to a cleared vt, no blinking cursor ... - 0xe54b7895: weston is starting ... - 0xe54b7895: wayland socket appears! ... - 0x6bf28bdf: weston is ready ... - start weston-simple-egl: - 0x6bf28bdf: application is starting ... - 0xNNNNNNNN: random CRCs while the application renders ... - stop weston-simple-egl: - 0xNNNNNNNN: zero, one, or two random CRCs while the application renders before it handles SIGTERM - 0x6bf28bdf: application is stopped ... - stop weston: - 0x6bf28bdf: a few CRC identical to when weston was started, while weston is processing SIGTERM - oscillating between 0x4c4126bf and 0x5d2f9aa5: console cursor blinking, back to initial vt, weston dead. So, we need to wait "enough" after each action. Moreover, when the wayland socket appears, weston may not have stabilised yet, so we also need to wait after the socket appears. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Julien Olivain <ju.o@free.fr> |
||
---|---|---|
arch | ||
board | ||
boot | ||
configs | ||
docs | ||
fs | ||
linux | ||
package | ||
support | ||
system | ||
toolchain | ||
utils | ||
.checkpackageignore | ||
.clang-format | ||
.defconfig | ||
.flake8 | ||
.gitignore | ||
.gitlab-ci.yml | ||
.shellcheckrc | ||
CHANGES | ||
Config.in | ||
Config.in.legacy | ||
COPYING | ||
DEVELOPERS | ||
Makefile | ||
Makefile.legacy | ||
README |
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches