Add support for serial-only targets to Fuego


 * Summary: Add support for serial-only targets to Fuego
 * Proposer: Tim Bird

Description
Currently, the Fuego test system supports targets that have an ssh daemon running on the target. ssh is used for command execution and file transfer operations.

This project will consist of adding support to the Fuego test system for command execution, file transfer operations, and log retrieval for targets that only support a serial console.

It is envisioned that something like zmodem will be used on both host and target side to transfer files over the serial connection, and that command execution will be accomplished by just echoing the command to the shell on the serial console.

Fuego already includes stubs for where to place the commands to perform execution and file transfer. Please see the file: fuego-core/engine/overlays/base/base-board.class, the functions ov_transport_get, ov_transport_put and ov_transport_cmd

Details

 * add the lrzsz package to DockerFile container build script
 * add lrzsz package as a test to Fuego
 * This should allow it to be built for an arbitrary target, using the target SDK installed for Fuego
 * add appropriate commands in base-boards.class
 * make a test to verify that it is working
 * run Fuego test suite on a beaglebone, using the serial transport option

Related work

 * see the lrzsz package for Debian and Ubuntu
 * See the lrzsz home page
 * See the Fuego page on this wiki

Scope
I would expect this to take about 2 weeks, including test time.

Contractor Candidates

 * Cogent Embedded