Difference between revisions of "Board Farm"

From eLinux.org
Jump to: navigation, search
(Hardware)
m
(24 intermediate revisions by 10 users not shown)
Line 27: Line 27:
 
* Tim Orling <ticotimo (at) gmail (dot) com>
 
* Tim Orling <ticotimo (at) gmail (dot) com>
 
* Ryan Arnold <ryan <dot> arnold <at> linaro <dot> org>
 
* Ryan Arnold <ryan <dot> arnold <at> linaro <dot> org>
 +
* Behan Webster <behanw (at) converseincode (dot) com> *
 +
* Michal Simek <monstr (at) monstr (dot) eu>
 +
* Krzysztof Kozlowski <krzk (at) kernel (dot) org>
 +
* Jagan Teki <jagan (at) openedev (dot) com>
 +
* Heiko Schocher <hs (at) denx (dot) de>
 +
* Khiem Nguyen <khiem.nguyen.xt (at) renesas.com>
 +
* Amit Kucheria <amit.kucheria (at) verdurent.com>
  
 
  * = have seen this person on the e-mail list, or already subscribed.
 
  * = have seen this person on the e-mail list, or already subscribed.
Line 35: Line 42:
  
 
== Next meeting ==
 
== Next meeting ==
To be determined - probably at [http://events.linuxfoundation.org/events/embedded-linux-conference ELC 2018]
+
To be determined.
 +
 
 +
Maybe at Plumbers 2018, Connect, or ELCE 2018
 +
 
 +
See [[Automated Testing Summit]]
  
 
= Actions =
 
= Actions =
Line 47: Line 58:
 
** r4d
 
** r4d
 
* survey of existing tools, hardware, practices
 
* survey of existing tools, hardware, practices
 +
* create a definition for an "automated testing" stack - see [[Automated Testing Stack]]
 +
** start with definitions from SLAV?
 +
** identify different areas of test automation operation
  
 
= Presentations =
 
= Presentations =
Line 84: Line 98:
 
** control program by Tim Bird: [[File:Powerswitch-set.sh]]
 
** control program by Tim Bird: [[File:Powerswitch-set.sh]]
 
* [https://energenie4u.co.uk/catalogue/product/ENER011 Energenie Power Management System (USB controlled 4-way power switch +2 always on) (UK)]
 
* [https://energenie4u.co.uk/catalogue/product/ENER011 Energenie Power Management System (USB controlled 4-way power switch +2 always on) (UK)]
 +
* [https://github.com/mvp/uhubctl uhubctl] USB hub per-port power control
  
 
== relays/buttons ==
 
== relays/buttons ==
Line 91: Line 106:
 
* [https://www.kmtronic.com/lan-ethernet-ip-8-channels-web-relay-board.html KMTronic 8-channel IP relay controller]
 
* [https://www.kmtronic.com/lan-ethernet-ip-8-channels-web-relay-board.html KMTronic 8-channel IP relay controller]
 
* [https://www.waveshare.com/rpi-relay-board.htm Raspberry Pi relay board]
 
* [https://www.waveshare.com/rpi-relay-board.htm Raspberry Pi relay board]
 +
* [https://robot-electronics.co.uk/products/relay-modules/ethernet-relay/eth008-8-x-16a-ethernet-relay.html Relays over ethernet]
  
 
== multi-function ==
 
== multi-function ==
 
* [http://baylibre.com/acme/ BayLibre ACME cape] - power and temperature measurement with different probes (USB, Jack power cable, HE10)
 
* [http://baylibre.com/acme/ BayLibre ACME cape] - power and temperature measurement with different probes (USB, Jack power cable, HE10)
 
* [[Sony_Debug_Assist_board]] - Open Hardware design by Sony for multi-function DUT controller (USB, serial, power, buttons)
 
* [[Sony_Debug_Assist_board]] - Open Hardware design by Sony for multi-function DUT controller (USB, serial, power, buttons)
  * connection to host = USB
+
** connection to host = USB serial
 +
** elinux page about v2 of the board (how to use) is here: [[Sony_Debug_Assist_board]]
 +
** github page with source code, schematics, gerber files, etc. is at: https://github.com/sonyxperiadev/CDB-Assist
 +
** schematics here: https://github.com/sonyxperiadev/CDB-Assist/blob/master/Hardware/CDBAssist-v3.1-Schematics.pdf
 
* [https://wiki.tizen.org/MuxPi MuxPi] by Tizen Open Hardware design by Samsung for multi-function DUT controller (serial, power, buttons, network?)
 
* [https://wiki.tizen.org/MuxPi MuxPi] by Tizen Open Hardware design by Samsung for multi-function DUT controller (serial, power, buttons, network?)
  * connection to host = network
+
** connection to host = network
 +
* [https://3mdeb.com/rte/ Remote Testing Environment] - Open Hardware design by 3mdeb for multi-function DUT controller (power, programmer, serial)
 +
** connection to host = network
 +
** [https://github.com/3mdeb/rte-schematics github page] for RTE schematics (rev 1.0.0)
 +
** [https://github.com/3mdeb/meta-rte github page] with meta-rte layer based on Yocto Project
 +
** [https://github.com/3mdeb/RteCtrl github page] for RTE REST API controller (beta)
  
 
== USB mega-ports ==
 
== USB mega-ports ==
 
A few people are using these:
 
A few people are using these:
 
* [https://www.amazon.com/Manhattan-Port-USB-Hub-161718/dp/B0074024XU Manhattan Mondohub 28-port USB hub]
 
* [https://www.amazon.com/Manhattan-Port-USB-Hub-161718/dp/B0074024XU Manhattan Mondohub 28-port USB hub]
 +
 +
* [https://cambrionix.com/products/powerpad15s-industrial-strength-managed-hub/ PowerPad15S USB hub used by Lava]
 +
 +
== USB switchers ==
 +
* [https://lava.coreboot.org/static/docs/v1/lmp_test_guide.html LAVA-LMP USB] - allows switching USB connections to a DUT
 +
* [https://www.extron.com/product/swusbseries Extron USB Switcher]
 +
* [https://mcci.com/usb/dev-tools/2101-usb-connection-exerciser/ 2101 USB Connection Exerciser]
 +
 +
== gpio controllers ==
 +
 +
== HDMI testing ==
 +
* [https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-33 SDI/HDMI grabber]
 +
 +
== unsorted LAVA hardware helpers ==
 +
See  https://lava.coreboot.org/static/docs/v1/lmp_test_guide.html
 +
*
  
 
= Software =
 
= Software =
Line 111: Line 151:
 
* ttc      : https://github.com/tbird20d/ttc - documentation at: [[Ttc_Program_Usage_Guide]]
 
* ttc      : https://github.com/tbird20d/ttc - documentation at: [[Ttc_Program_Usage_Guide]]
 
* tbot    : https://github.com/hsdenx/tbot - http://www.tbot.tools/main.html
 
* tbot    : https://github.com/hsdenx/tbot - http://www.tbot.tools/main.html
 +
* SLAV stack : ??? (Pawel's thing - see [[Media:Piece_of_cake.pdf]]
  
 
= Notes =
 
= Notes =

Revision as of 22:24, 25 June 2019

Here is some information about board farms.

Community

At the Embedded Linux Conference Europe 2017 Andrew Murray held a BoF session titled Farming Together. The purpose of this BoF was to bring together people that are actively working on board farms to create a community, to knowledge share and to start a collaborative effort.

Add your name and contact information if you would like to be notified when an e-mail list is created, or are generally interested in this topic:

  • Andrew Murray - <amurray (at) witekio.com> *
  • Tim Bird - <tim.bird (at) sony.com> *
  • Robert Schwebel <r.schwebel (at) pengutronix.de> *
  • Arnout Vandecappelle - <arnout at mind dot be> -- doesn't have a board farm but is interested
  • Mirza Krak - <mirza.krak (at) endian.se> *
  • Alan Bennett - <alan (at) opensourcefoundries.com>
  • Geert Uytterhoeven - <geert (at) linux-m68k.org> *
  • Andrea Scian - <andrea.scian (at) dave.eu>
  • Kieran Bingham - <kbingham (at) kernel.org> *
  • Jan Lübbe - <j.luebbe (at) pengutronix.de> *
  • Marco Cavallini - <m.cavallini (at) koansoftware.com>
  • Kevin Hilman - <khilman (at) baylibre.com>
  • Bill Mills - <wmills (at) ti.com>
  • Tom Gall - <tom.gall (at) linaro.org>
  • Stephano Cetola - <stephano.cetola (at) linux.intel.com>
  • Mike Holmes - <mike.holmes (at) linaro.org>
  • Matteo Vit - <matteo.vit (at) dev.starwaredesign.com>
  • Attie Grande - <attie (at) argentum-systems.co.uk>
  • Roland Hieber <r <dot> hieber <at> pengutronix <dot> de>
  • Tim Orling <ticotimo (at) gmail (dot) com>
  • Ryan Arnold <ryan <dot> arnold <at> linaro <dot> org>
  • Behan Webster <behanw (at) converseincode (dot) com> *
  • Michal Simek <monstr (at) monstr (dot) eu>
  • Krzysztof Kozlowski <krzk (at) kernel (dot) org>
  • Jagan Teki <jagan (at) openedev (dot) com>
  • Heiko Schocher <hs (at) denx (dot) de>
  • Khiem Nguyen <khiem.nguyen.xt (at) renesas.com>
  • Amit Kucheria <amit.kucheria (at) verdurent.com>
* = have seen this person on the e-mail list, or already subscribed.

Mailing list

Discussions on this topic have started at on the "Automated Testing" mailing list of the Yocto Project

Next meeting

To be determined.

Maybe at Plumbers 2018, Connect, or ELCE 2018

See Automated Testing Summit

Actions

Presentations

If you know of a presentation on this topic, please add it below:

  • "Test Standards - Can Fuego, Lava and others agree?" by Tim Bird at Linaro Connect SFO 2017
    • description: Tim proposes several areas of standardization collaboration between different Linux test initiatives
    • Slides and Video
  • "Herd Your Boards, Become a Farmer" by Geert Uytterhoeven at ELCE2016
  • "Automation beyond Testing and Embedded System Validation" by Jan Luebbe (Pengutronix) at ELCE2017
  • Introduction to kernelCI.org
  • Piece of cake - testing remote embedded devices made easy with MuxPi by Paweł Wieczorek at FOSDEM 2018

Best Practices

Issues/Requirements

Misc / Tools

Hardware

SD muxers

  • USB-SD-Mux by Pengutronix
  • SD-MUX by Tizen (deprecated - see MuxPi)
  • MuxPi by Tizen (MuxPi is the successor to SD-MUX)

Kevin Hilman mentioned (at ELCE 2017) wifi SDCards as a way to handle the SD mux problem. Was he referring to something like these? http://techpp.com/2015/04/28/wifi-sd-cards-camera/

power control

relays/buttons

multi-function

USB mega-ports

A few people are using these:

USB switchers

gpio controllers

HDMI testing

unsorted LAVA hardware helpers

See https://lava.coreboot.org/static/docs/v1/lmp_test_guide.html

Software

Notes

  • spend money on USB serial adapter cables - cheap adapters sometimes drop connections and are a pain to debug
    • FTDI cables seem to work well.

Farm Survey

Tim Bird is conducting a survey of Farm hardware (DUT controllers). See this page: Board Farm Survey