Skip to content

Sources of Dockerfile generated image "Debian Stretch with Linux RT patch tests"

License

Notifications You must be signed in to change notification settings

HilscherAutomation/netPI-linux-rt-patch-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux RT patch tests

Made for netPI, the Open Edge Connectivity Ecosystem

Debian Stretch with Linux real-time kernel patch tests

The image provided hereunder deploys a container with installed Debian Stretch, SSH server and Linux RT patch tests. All netPI kernels are patches with real time features (RT-patch). It is possible to use all these RTOS extending functions also within this container. Read the original RT documentations here for more informations about the RT capabilities.

Base of this image builds a tagged version of debian:stretch with enabled SSH and created user 'root' and RT-Tests.

Container prerequisites

Port mapping

For remote login to the container across SSH the container's SSH port 22 needs to be mapped to any free netPI host port.

Getting started

STEP 1. Open netPI's landing page under https://<netpi's ip address>.

STEP 2. Click the Docker tile to open the Portainer.io Docker management user interface.

STEP 3. Enter the following parameters under Containers > Add Container

  • Image: hilschernetpi/netpi-linux-rt-patch-tests

  • Port mapping: Host "22" (any unused one) -> Container "22"

  • Restart policy" : always

STEP 4. Press the button Actions > Start container

Pulling the image from Docker Hub may take up to 5 minutes.

Accessing

The container starts the SSH service automatically. The RT tests are precompiled and ready for a manual test in the console.

Login to it with an SSH client such as putty using netPI's IP address at your mapped port. Use the credentials root as user and root as password when asked and you are logged in as root user root.

As example use the command cyclictest starting a measure of a high resultion timer and its latency. See in the last row of its output a latency time of 100usec in maximum, independent of what is running on netPI in other containers. So applications needing an accurate timer of below 500usec should be safe.

Tags

  • hilscher/netPI-linux-rt-patch-tests - non-versioned latest development output of the master branch. Can run on any netPI system software version.

GitHub sources

The image is built from the GitHub project netPI-linux-rt-patch-tests. It complies with the Dockerfile method to build a Docker image automated.

View the license information for the software in the Github project. As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained). As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

To build the container for an ARM CPU on Docker Hub(x86 based) the Dockerfile uses the method described here resin.io.

N|Solid Hilscher Gesellschaft fuer Systemautomation mbH www.hilscher.com

About

Sources of Dockerfile generated image "Debian Stretch with Linux RT patch tests"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published