piece of cake – testing remote embedded devices made easy ... · piece of cake – testing remote...
TRANSCRIPT
![Page 1: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/1.jpg)
Piece of cake – testing remoteembedded devices made easy
using open-hardware MuxPi
.
Paweł Wieczorek
March 12, 2018
Samsung R&D Institute Poland
![Page 2: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/2.jpg)
Agenda.
1. Introduction
2. Previous efforts
3. Idea
4. Hardware
5. Software
6. Next steps
7. Conclusion 1/50
![Page 3: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/3.jpg)
Introduction.
![Page 4: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/4.jpg)
Tizen.
2/50
![Page 5: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/5.jpg)
Use cases.
https://news.s6msung.com/glob6l/tizen- - -first-milestone-rele6se-to-open-new-opportunities-in-the-iot-er6
3/50
![Page 6: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/6.jpg)
Release engineering.
• Continuous platform development
• QA step prior pulling new changes
• Package internal tests are not enough
4/50
![Page 7: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/7.jpg)
Remote accessibility.
• Easy to storein a secure manner
• Less effort thanper developer
• Better utilizedwhen shared
.....
5/50
![Page 8: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/8.jpg)
Piece of cake (with MuxPi).
6/50
![Page 9: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/9.jpg)
Piece of cake (with Dryad).
..
7/50
![Page 10: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/10.jpg)
Piece of cake (with Dryad).
..
7/50
![Page 11: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/11.jpg)
Piece of cake (with Dryads).
..
8/50
![Page 12: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/12.jpg)
Piece of cake (with Dryads).
..
8/50
![Page 13: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/13.jpg)
Piece of cake (with Dryads).
..
8/50
![Page 14: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/14.jpg)
Previous efforts.
![Page 15: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/15.jpg)
LAVA.
• Linaro Automated Validation Architecture• Automation system for deploying operating systems• Virtual and physical hardware supported• Allows running boot, bootloader and system level tests
9/50
![Page 17: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/17.jpg)
LAVA LMP.
https://linux.codehelp.co.uk/the-problem-of-sd-mux.html11/50
![Page 18: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/18.jpg)
SD MUX.
12/50
![Page 19: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/19.jpg)
SD MUX – open hardware.
https://git.tizen.org/cgit/tools/testl6b/sd-mux 13/50
![Page 20: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/20.jpg)
Autohat board (SD MUX-based).
https://github.com/resin-io/6utoh6t-bo6rd14/50
![Page 21: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/21.jpg)
SD MUX issues.
$ dmesg | t6il -[ . ] usb - : new full-speed USB device number using xhci_hcd[ . ] usb - : device descriptor re6d/ , error -[ . ] usb - : device descriptor re6d/ , error -[ . ] usb - : new full-speed USB device number using xhci_hcd[ . ] usb - : Device not responding to setup 6ddress.[ . ] usb - : Device not responding to setup 6ddress.[ . ] usb - : device not 6ccepting 6ddress , error -[ . ] usb - : new full-speed USB device number using xhci_hcd[ . ] usb - : Device not responding to setup 6ddress.[ . ] usb - : Device not responding to setup 6ddress.[ . ] usb - : device not 6ccepting 6ddress , error -[ . ] usb usb -port : un6ble to enumer6te USB device
15/50
![Page 22: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/22.jpg)
Idea.
![Page 23: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/23.jpg)
Constraints.
• Only replaceable media
• No single point of failure parts
• No USB involvement(from test server)
16/50
![Page 24: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/24.jpg)
Requirements.
• Minimum external connections
• Unified remote accessto target devices
• Easy setup and maintenance
17/50
![Page 25: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/25.jpg)
Features.
• User interface (often requested)
• Power measurement (increasing demand)
• Writing EDID to HDMI
18/50
![Page 26: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/26.jpg)
Hardware.
![Page 27: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/27.jpg)
MuxPi.
19/50
![Page 28: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/28.jpg)
MuxPi components.
..
20/50
![Page 29: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/29.jpg)
MuxPi components.
..
20/50
![Page 30: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/30.jpg)
MuxPi components.
..
20/50
![Page 31: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/31.jpg)
MuxPi components.
..
20/50
![Page 32: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/32.jpg)
MuxPi components.
..
20/50
![Page 33: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/33.jpg)
MuxPi components.
..
20/50
![Page 34: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/34.jpg)
MuxPi components.
..
20/50
![Page 35: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/35.jpg)
MuxPi components.
..
20/50
![Page 36: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/36.jpg)
MuxPi components.
..
20/50
![Page 37: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/37.jpg)
MuxPi components.
..
20/50
![Page 38: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/38.jpg)
MuxPi components.
..
20/50
![Page 39: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/39.jpg)
Essential MuxPi functions.
• Switching a microSD card between DUT and TS
• Switching power supply for DUT
• Switching jumpers/buttons of DUT
• Measuring power consumption of DUT
• Writing EDID to DUT over HDMI connection
• Providing DUT connection (UART, USB, ETH, microSD card) over Ethernet
• Interacting with farm maintainer
21/50
![Page 40: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/40.jpg)
Indicators.
22/50
![Page 41: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/41.jpg)
Easy maintenance.
23/50
![Page 42: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/42.jpg)
Extensibility.
24/50
![Page 43: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/43.jpg)
Major improvements.
• Independent (standalone)
• Aware of its state
• Easy to maintain
• Extensible from start
25/50
![Page 44: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/44.jpg)
Building your own.
NanoPi NEO ≈ $10
PartsSoldering skills HighPatience A LOT
https://git.tizen.org/cgit/tools/muxpi
26/50
![Page 45: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/45.jpg)
Building your own.
NanoPi NEO ≈ $10
Parts ≈ $80
Soldering skills HighPatience A LOT
https://git.tizen.org/cgit/tools/muxpi
26/50
![Page 46: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/46.jpg)
Building your own.
NanoPi NEO ≈ $10
Parts ≈ $80
Soldering skills High
Patience A LOT
https://git.tizen.org/cgit/tools/muxpi
26/50
![Page 47: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/47.jpg)
Building your own.
NanoPi NEO ≈ $10
Parts ≈ $80
Soldering skills HighPatience A LOT
https://git.tizen.org/cgit/tools/muxpi
26/50
![Page 48: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/48.jpg)
Building your own.
NanoPi NEO ≈ $10
Parts ≈ $80
Soldering skills HighPatience A LOT
https://git.tizen.org/cgit/tools/muxpi
26/50
![Page 49: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/49.jpg)
Software.
![Page 50: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/50.jpg)
Multitier architecture.
• “Do One Thing and Do It Well”
• RESTful HTTP APIs
• Homogeneous solution stack
27/50
![Page 51: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/51.jpg)
Responsibilities.
• Who knows what requires verification?
Perun
• Who knows which actions are necessary?
Weles
• Who knows where can it be done?
Boruta
• Who knows how to do it?
Dryad (MuxPi-based)
28/50
![Page 52: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/52.jpg)
Responsibilities.
• Who knows what requires verification?
Perun
• Who knows which actions are necessary?
Weles
• Who knows where can it be done?
Boruta
• Who knows how to do it?
Dryad (MuxPi-based)
28/50
![Page 53: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/53.jpg)
Responsibilities.
• Who knows what requires verification?
Perun
• Who knows which actions are necessary?
Weles
• Who knows where can it be done?
Boruta
• Who knows how to do it?
Dryad (MuxPi-based)
28/50
![Page 54: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/54.jpg)
Responsibilities.
• Who knows what requires verification?
Perun
• Who knows which actions are necessary?
Weles
• Who knows where can it be done?Boruta
• Who knows how to do it?
Dryad (MuxPi-based)
28/50
![Page 55: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/55.jpg)
Responsibilities.
• Who knows what requires verification?
Perun
• Who knows which actions are necessary?
Weles
• Who knows where can it be done?Boruta
• Who knows how to do it?Dryad (MuxPi-based)
28/50
![Page 56: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/56.jpg)
Dryad (farm).
• Manages single DUT
• Fully aware of its capabilities
• Requires only two interfaces• Power supply• Network connection (Ethernet)
....
29/50
![Page 57: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/57.jpg)
Dryad (software).
$ fot6 --helpUs6ge of fot6:
-c6rd stringp6th to SDc6rd
-m6p stringp6th to JSON form6tted m6pping
-md stringURL to MD SUMS file
-quietsuppress logging
$ stm --helpUs6ge of stm:
-dutconnect SD c6rd to DUT
-m dur6tiontime del6y for tick comm6nd
-tickpower off 6nd on 6fter 'm' (s)
-tsconnect SD c6rd to test server
....
30/50
![Page 58: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/58.jpg)
Dryad (software).
$ fot6 --helpUs6ge of fot6:
-c6rd stringp6th to SDc6rd
-m6p stringp6th to JSON form6tted m6pping
-md stringURL to MD SUMS file
-quietsuppress logging
$ stm --helpUs6ge of stm:
-dutconnect SD c6rd to DUT
-m dur6tiontime del6y for tick comm6nd
-tickpower off 6nd on 6fter 'm' (s)
-tsconnect SD c6rd to test server
.....
30/50
![Page 59: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/59.jpg)
Dryad (software).
$ fot6 --helpUs6ge of fot6:
-c6rd stringp6th to SDc6rd
-m6p stringp6th to JSON form6tted m6pping
-md stringURL to MD SUMS file
-quietsuppress logging
$ stm --helpUs6ge of stm:
-dutconnect SD c6rd to DUT
-m dur6tiontime del6y for tick comm6nd
-tickpower off 6nd on 6fter 'm' (s)
-tsconnect SD c6rd to test server
....
30/50
![Page 60: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/60.jpg)
Dryad (software).
$ fot6 --helpUs6ge of fot6:
-c6rd stringp6th to SDc6rd
-m6p stringp6th to JSON form6tted m6pping
-md stringURL to MD SUMS file
-quietsuppress logging
$ stm --helpUs6ge of stm:
-dutconnect SD c6rd to DUT
-m dur6tiontime del6y for tick comm6nd
-tickpower off 6nd on 6fter 'm' (s)
-tsconnect SD c6rd to test server
....
30/50
![Page 61: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/61.jpg)
Boruta.
• Dryad farm management system
• Schedules requests• Priority• Device groups• Delayed access
• Provides convenient accessto selected Dryad
31/50
![Page 62: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/62.jpg)
Dryad life cycle in Boruta.
.
.
.
Actionsperformed
.
.
Unallocated
.
.
Matchesrequirements
.
.
Preparesenvironment
. .Sets uptunnel
.
.
.
Maintenancemode
.32/50
![Page 63: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/63.jpg)
Boruta on stack.
........
33/50
![Page 64: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/64.jpg)
Boruta on stack.
........
33/50
![Page 65: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/65.jpg)
Boruta on stack.
........
33/50
![Page 66: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/66.jpg)
Boruta on stack.
........
33/50
![Page 67: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/67.jpg)
Boruta on stack.
........
33/50
![Page 68: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/68.jpg)
Boruta on stack.
........
33/50
![Page 69: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/69.jpg)
Boruta on stack.
........
33/50
![Page 70: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/70.jpg)
Weles.
• Lightweight testing framework
• Provides LAVA-like interface
• YAML job definition 7→
actions executed on DUT• Deploy• Boot• Test• Collect
34/50
![Page 71: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/71.jpg)
Weles purpose.
.
.
.
Actionsperformed
.
.
Unallocated
.
.
Matchesrequirements
.
.
Preparesenvironment
. .Sets uptunnel
.
.
.
Maintenancemode
.35/50
![Page 72: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/72.jpg)
Weles action sequence.
.
.
.
ParsesYAML
.
.
Collectsassets
.
.
RequestsDUT
.
.
Performstests
36/50
![Page 73: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/73.jpg)
Weles on stack.
...........
37/50
![Page 74: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/74.jpg)
Weles on stack.
...........
37/50
![Page 75: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/75.jpg)
Weles on stack.
...........
37/50
![Page 76: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/76.jpg)
Weles on stack.
...........
37/50
![Page 77: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/77.jpg)
Weles on stack.
...........
37/50
![Page 78: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/78.jpg)
Weles on stack.
...........
37/50
![Page 79: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/79.jpg)
Perun.
• OS images testing system
• Schedules verification(per new set of OS images)
• Automates QA step ofRelease Engineering Duty
38/50
![Page 80: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/80.jpg)
Perun action sequence.
.
.
.
CrawlURL
.
.
Reportchanges
.
.
SubmitWelesjobs
.
.
Collectartifacts
. .Interpretresults
39/50
![Page 81: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/81.jpg)
Perun on stack.
...........
40/50
![Page 82: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/82.jpg)
Perun on stack.
...........
40/50
![Page 83: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/83.jpg)
SLAV.
...........
41/50
![Page 84: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/84.jpg)
Keeping SLAV simple.
42/50
![Page 85: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/85.jpg)
Keeping SLAV simple (and decoupled).
43/50
![Page 86: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/86.jpg)
Keeping SLAV simple (and decoupled).
43/50
![Page 87: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/87.jpg)
Keeping SLAV simple (and decoupled).
43/50
![Page 88: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/88.jpg)
Keeping SLAV simple (and decoupled).
43/50
![Page 89: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/89.jpg)
Next steps.
![Page 90: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/90.jpg)
Future plans.
Hardware• Audio I/O
• USB Type C investigation
• NanoPi serial consoleon USB
Software• Web interfacesfor current layers
• Service state management
• Release engineer's layer
44/50
![Page 91: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/91.jpg)
Further details.
• MuxPihttps://wiki.tizen.org/MuxPi
• SD MUX (deprecated – lesson learnt)https://wiki.tizen.org/SD_MUX
45/50
![Page 92: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/92.jpg)
Help?.
• Mailing [email protected]
• #tizen on Freenodehttps://webchat.freenode.net/?channels=tizen
46/50
![Page 93: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/93.jpg)
Conclusion.
![Page 94: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/94.jpg)
Summary.
• Quick setup
• Easy maintenance
• Responsibilities division
• Execution parallelization
• Environment unification
47/50
![Page 95: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/95.jpg)
Questions?
47/50
![Page 98: Piece of cake – testing remote embedded devices made easy ... · Piece of cake – testing remote embedded devices made easy - using open-hardware MuxPi Author: Paweł Wieczorek](https://reader035.vdocuments.us/reader035/viewer/2022062607/605a2142b882913bcd713234/html5/thumbnails/98.jpg)
Pictures used
• https://en.wikipedi6.org/wiki/File:Heckert_GNU_white.svg• https://commons.wikimedi6.org/wiki/File:Tux.svg• https://commons.wikimedi6.org/wiki/File:W6yl6nd_Logo.svg• https://commons.wikimedi6.org/wiki/File:Enlightenment_logo_bl6ck.png• https://developer.tizen.org/sites/def6ult/files/im6ges/6bout_tizen_ .png• https://pix6b6y.com/en/security-industri6l-logistic- /• https://commons.wikimedi6.org/wiki/File:ColoredBl6nkM6p-World- E.svg• https://commons.wikimedi6.org/wiki/File:Nuvol6_Kore6n_fl6g.svg• https://commons.wikimedi6.org/wiki/File:Nuvol6_Polish_fl6g.svg• https://commons.wikimedi6.org/wiki/File:Nuvol6_USA_fl6g.svg• https://v6lid6tion.lin6ro.org/st6tic/docs/v /_im6ges/l6v6.svg• https://wiki.lin6ro.org/Pl6tform/LAB/LMP_in_pr6ctice• https://forums.resin.io/uplo6ds/resin/origin6l/ X/ 6b e cd b b f6 ede ce b 6df6 .jpg• https://commons.wikimedi6.org/wiki/File:It6li6n_tr6ffic_signs_-_ferm6rsi_e_d6re_precedenz6_-_stop.svg• https://f6rm .st6ticflickr.com/ / _d b 6e _k_d.jpg• https://pix6b6y.com/en/st6rs-new-6dvertisement-sign- /• https://pix6b6y.com/en/upd6te-upgr6de-renew-improve- /• https://www.goodfreephotos.com/6lbums/vector-im6ges/different-colored-l6yers-vector-file.png• https://pix6b6y.com/en/ethernet-internet-l6n-network- /• https://pix6b6y.com/en/power-c6ble-plug-socket- /• https://pix6b6y.com/en/memory-c6rd-sd-secure-digit6l- /• https://pix6b6y.com/en/kiss-lips-mouth-red-love-ros6- /• https://commons.wikimedi6.org/wiki/File:PEO-smiley_smile.svg