Images information:
- Root password - qthread
- OpenThread stack commit Id - 7 digits of TAG (ex. 40ff2d8)
- Path of OpenThread stack - /usr/local/src/openthread
- Path of Qthread Lib - /usr/local/lib/qthread
- Path of QtRpi - /opt/qtrpi
Ubuntu16.04_latest (Ubuntu16.04_60f5b3f):
- docker run -d -P ryanjh31011/qthread:Ubuntu16.04_latest /usr/sbin/sshd -D
- ssh -p 32779 [email protected] #The Port and IP address should be set accordantly
RaspberryPi2_latest (RaspberryPi2_60f5b3f):
- docker run -d -P ryanjh31011/qthread:RaspberryPi2_latest /usr/sbin/sshd -D
- ssh -p 32779 [email protected] #The Port and IP address should be set accordantly
Sample Applications:
https://github.com/ryanjh/qthread.git
Qt5 cross-compiled libraries for Raspberry:
http://www.qtrpi.com/faq
- cd /usr/local/src/qtrpi
- export QTRPI_QT_VERSION='5.7.0'
- export QTRPI_TARGET_DEVICE='linux-rasp-pi2-g++'
- export QTRPI_TARGET_HOST='[email protected]'
- ./init-qtrpi-minimal.sh
- export PATH=$PATH:/opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
Build patched Openthread static libraries:
- git clone https://github.com/ryanjh/openthread
- ./bootstrap
- make -f examples/Makefile-posix
- append /usr/local/src/openthread/build/x86_64-unknown-linux-gnu/include/openthread-config.h
#define OPENTHREAD_MULTIPLE_INSTANCE
#include <stddef.h>
#include <stdlib.h>
- make -f examples/Makefile-posix