December 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
X(cross) Development System X(cross) Development System make AGL - - PowerPoint PPT Presentation
X(cross) Development System X(cross) Development System make AGL application development easier make AGL application development easier December 2017 Sbastien Douheret sebastien.douheret@iot.bzh IoT.bzh Located in France - Brittany (
December 2017
make AGL application development easier
Sébastien Douheret sebastien.douheret@iot.bzh
make AGL application development easier
December 2017 X(cross) Development System 2
– 40% coming from Tizen IVI (Intel+Samsung) – 40% coming from Wind River – 20% coming from industry
December 2017 X(cross) Development System 3
Namespaces ...)
December 2017 X(cross) Development System 4
enable apps developer without Yocto skills →
trigger actions
ie CI workflows or specific environments →
December 2017 X(cross) Development System 5
(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)
December 2017 X(cross) Development System 6
Single Host mode
Subsystem
through native access
Local Network mode
through docker volume
Cloud mode
running in the Cloud
through sync tool
Dev Host
IDE Docker XDS Server
Target
Local network
Cloud Target Dev Host Windows
Linux Subsystem XDS Server IDE USB or local network
Dev Host Linux
IDE
Build Host
Docker XDS server
Target
Local network
December 2017 X(cross) Development System 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 File Sync
Local network
Cloud network
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 File Sync
Direct link (eg. USB <=> Ethernet) XDS plugin Files
Command line
xds-cli
December 2017 X(cross) Development System 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/
December 2017 X(cross) Development System 9
– Core of the system, running in container:
exit)
– Client side part, running on developer host.
– Command line tool for XDS.
– Command line tool to allow application debugging (based on gdb).
December 2017 X(cross) Development System 10
1) Install xds-server on a build server machine 2) Install xds-agent and start-it on your machine 3) Browse XDS dashboard: http://localhost:8800 4) Add a new project 5) Cross build/compile your project using either : 1) Dashboard build page 2) IDE using xds-cli 6) Deploy app 7) Source debug from IDE (xds-gdb)
December 2017 X(cross) Development System 11
– Pre-build docker image including XDS server – Packaged Multi-platforms (Linux / Windows/ MacOS)
host tools : xds-agent, xds-cli, xds-gdb
– Supported file sharing: Cloud mode or path
mapping
– Command line tool (xds-cli) or Webapp (Dashboard) – IDE integration (manual setup) – Debugging mode (based on gdb and AGL app-
templates)
December 2017 X(cross) Development System 12
http://docs.automotivelinux.org/docs/devguides/en/dev/#xcross-development-system-user's-guide
https://build.opensuse.org/project/show/isv:LinuxAutomotive:app-Development
– xds-server : https://github.com/iotbzh/xds-server – xds-agent : https://github.com/iotbzh/xds-agent – xds-cli: https://github.com/iotbzh/xds-cli – xds-gdb: https://github.com/iotbzh/xds-gdb
December 2017 X(cross) Development System 13
1st Release v1.0.0 (CES – January 18)
mapping, NFS, syncthing)
dashboard
December 2017 X(cross) Development System 14
<sebastien.douheret@iot.bzh>
<stephane.desneux@iot.bzh>
December 2017 X(cross) Development System 15
Gulf of Morbihan, south of Brittany, France