ALS 2017 Tokyo - June 2017
X(cross) Development System
make AGL application development easier
Sébastien Douheret sebastien.douheret@iot.bzh
X(cross) Development System make AGL application development easier - - PowerPoint PPT Presentation
X(cross) Development System make AGL application development easier ALS 2017 Tokyo - June 2017 Sbastien Douheret sebastien.douheret@iot.bzh IoT.bzh : 1 st technical contributor Application Development AGL Development Kit Secure
ALS 2017 Tokyo - June 2017
make AGL application development easier
Sébastien Douheret sebastien.douheret@iot.bzh
June 2017 XDS - ALS 2017 - Tokyo 2
June 2017 XDS - ALS 2017 - Tokyo 3
enable apps developer without Yocto skills →
trigger actions
ie CI workflows or specific environments →
June 2017 XDS - ALS 2017 - Tokyo 4
(Linux / Windows / MacOS)
Near-zero install, no admin privileges required
Compatibility with existing IT policies (e.g. corporate backup, git, ...)
container ...)
(e.g. Linux for Windows Subsystem, docker)
June 2017 XDS - ALS 2017 - Tokyo 5
June 2017 XDS - ALS 2017 - Tokyo 6
Single Host mode
Subsystem
through native access
Local Network mode
through docker volume
Cloud mode
running in the Cloud
through sync tool
Target Dev Host Windows
Linux Subsystem XDS Server daemon IDE USB or local network
Dev Host Linux
IDE
Build Host
Docker XDS Server daemon
Target
Local network
Dev Host
IDE Docker XDS Server daemon
Target
Local network
Cloud
June 2017 XDS - ALS 2017 - Tokyo 7
AGL repo
Development Host
Linux / Windows / MacOS
Development Host
Linux / Windows / MacOS
XDS Server Container
Local or remote
XDS Server Container
Local or remote App sources
IDE UI
(Eclipse, Visual Studio Code, …)
XDS-server
Daemon + File Sync Local network
Cloud network
REST + WS REST + WS
These blocks may be bypassed when fjles can be shared over a local network (eg. NFS mount or docker volume)
Target Target
deployment Files
App sources (duplicated) Cross Toolchain B Cross Toolchain A
XDS-agent + exec + File Sync
Direct link (eg. USB <=> Ethernet) XDS plugin Files
June 2017 XDS - ALS 2017 - Tokyo 8
(portable Linux/Windows/MacOS)
development setup easier
Cloud model
(see flavour xds [2])
[1]: https://syncthing.net/ [2]: https://git.automotivelinux.org/AGL/docker-worker-generator/
June 2017 XDS - ALS 2017 - Tokyo 9
– Core of the system, running in container:
(commands exit)
– Client side part, running on developer host.
– Command line tool to wrap standard exec command.
June 2017 XDS - ALS 2017 - Tokyo 10
1) Browse XDS dashboard: eg. http://localhost:8000 2) Download xds-agent, install and start-it on desktop 3) Add a new project 4) Cross build/compile your project using either :
5) Deploy app 6) Source debug from IDE (work in progress)
June 2017 XDS - ALS 2017 - Tokyo 11
wget http://iot.bzh/download/public/2017/XDS/docker/docker_ agl_worker-xds-3.2.tar.xz docker load < agl_worker-xds-3.2.tar.xz wget http://iot.bzh/download/public/2017/XDS/xds-utils/xds- exec_linux-amd64-v1.0.0_e555da5.zip
June 2017 XDS - ALS 2017 - Tokyo 12
June 2017 XDS - ALS 2017 - Tokyo 13
June 2017 XDS - ALS 2017 - Tokyo 14
<sebastien.douheret@iot.bzh>
<stephane.desneux@iot.bzh>
June 2017 XDS - ALS 2017 - Tokyo 15
Gulf of Morbihan, south of Brittany, France
June 2017 XDS - ALS 2017 - Tokyo 16
replaced by a single Eclipse plugin(3)
and Docker
corporate networks with firewalls as HTTP does)
supported
(1): https://github.com/crops/crops (2): https://www.youtube.com/watch?v=R54vRP0-omw (3): https://github.com/crops/eclipse-crops