tizen-rt-javascript-20181011

Phil www.rzr.online.fr
Phil www.rzr.online.frSr Software Enginner at Undisclosed
Samsung Open Source Group 1 https://www.meetup.com/Rennes-Embedded/
JavaScript in constrained devices
Using :RT
with IoT.js
#RennesEmbedded
Rennes, France <2018-10-11>
Philippe Coval
Samsung Open Source Group / SRUK
p.coval@samsung.com
Samsung Open Source Group 2 https://www.meetup.com/Rennes-Embedded/
What do you know of ?
● Operating System powered by Linux Kernel
● Shipped into consumer electronics products
– TVs, Wearables, Home kitchen appliances…
● Tizen the OS of Everything?
– What about low-end and low-cost IoT devices?
● Note: uClinux is lowering requirements
– but not optimal so we need a dedicated kernel !
● TizenRT is targeting middle configurations (RAM+Flash):
– Cortex M3 (30KB+512KB), M4 (256KB+16MB), R4 (2MB+16MB)
Samsung Open Source Group 3 https://www.meetup.com/Rennes-Embedded/
TizenRT's origin
● TinyAra 2015 project to collect, store, and deliver IoT sensor data using:
– IoTivity for connectivity & AraStorage: Data management
– Sources released to public on tizen.org (SOSCON2016)
● It was based on NuttX RealTime kernel (deterministic and priorities)
– UNIX/Linux inspired OS (+shell +apps) comply to standards, POSIX, GNU tools
– Initial release in 2007, community led by main author Gregory Nutt
– Stable & Mature (2.5M LoC), 8 to 32 bits, ~20 archs, 200 boards (<16KB)
– BSD Licensed: Industry & community adoption
● TizenRT is the whole stack: TinyAra kernel + middlewares (TDC2017)
Samsung Open Source Group 4 https://www.meetup.com/Rennes-Embedded/
Tizen:RT Architecture
Current
status:
2.0_GBM_M1
+
~1000
patches
Samsung Open Source Group 5 https://www.meetup.com/Rennes-Embedded/
Tizen:RT plan for reliability
● Memory protection unit (MPU > MMU)
– User/Kernel separation
●
Per thread mem protection
● Micro kernel architecture
– Only for scheduling tasks, memory, IPC
● + user space services (Net, drivers...)
● Fault Tolerance
– Self healing
● restart services (and dependencies)
– Fallback option: Live update (DM)
Samsung Open Source Group 6 https://www.meetup.com/Rennes-Embedded/
Application development on Tizen:RT
●
Platform is supporting native development (POSIX)
– with optional middlewares:
– WiFi, LWIP port for IPv6, +LWM2M, CoAP, HTTP, DTLS, WebSockets, MQTT
– Wakaama (LWM2M) for device management
– IoTivity for seamless connectivity between devices
● But some (or most) applications
– Are not requiring low level primitives
● When high level API are available
– Need secured context
● For many developers
"Any application,
that can be written in JavaScript
will eventually be written in JavaScript."
~Jeff Atwood
Samsung Open Source Group 7 https://www.meetup.com/Rennes-Embedded/
“Simplicity
is the ultimate sophistication.”
~Leonardo da Vinci
Samsung Open Source Group 8 https://www.meetup.com/Rennes-Embedded/
IoT.js: platform powered by JerryScript engine
● JerryScript: A JavaScript interpreter
– Optimized for constrained devices: <64 KB RAM & <200 KB ROM
– Available in various RTOS: Tizen:RT, RIOT, Zephyr…
● IoT.js: Runtime environment
– Supports modules (built in)
● Timers, GPIO, ADC, I2C,UART
● UDP, HTTP, WebSockets, DNS, BLE
● Developer friendly environment:
– Develop using iotjs on GNU/Linux
– Port and deploy to constrained device
– Or even port modules (NPM)
Samsung Open Source Group 9 https://www.meetup.com/Rennes-Embedded/
“Any sufficiently
advanced technology
is indistinguishable
from magic.”
~ Arthur C. Clarke
Samsung Open Source Group 10 https://www.meetup.com/Rennes-Embedded/
Demo !
https://youtu.be/S7zpBpnpflU#tizen-rt-lpwan-20180204rzr
● https://my.wirelessthings.be/index.php/device/device_view/1229
Samsung Open Source Group 11 https://www.meetup.com/Rennes-Embedded/
Mozilla IoT & WebThings powered by ARTIK
https://youtu.be/qrFTn0eA8iQ#web-of-things-agriculture-20180712rzr
https://youtu.be/qrFTn0eA8iQ
web-of-things-agriculture-20180712rzr#
Samsung Open Source Group 12 https://www.meetup.com/Rennes-Embedded/
Summary
● Tizen is based on Linux kernel for high end devices
● Tizen ecosystem is now addressing more constrained IoT devices
– Tizen:RT was originally based on NuttX kernel,
● then evolved into micro kernel architecture
● Tizen:RT is open to application developers by providing
– Native, C, C++ POSIX standard libraries
– Javascript runtime, using IoT.js + JerryScript interpreter
● Open Community (github.com/Samsung) & Tools: SDK (CLI or IDE)
Samsung Open Source Group 13 https://www.meetup.com/Rennes-Embedded/
References
 Entry points:
– https://fosdem.org/2018/schedule/event/tizen_rt/
– https://wiki.tizen.org/Category:RT
– https://github.com/Samsung/TizenRT/
 Keep in touch online:
– https://s-opensource.org/author/philcovalsamsungcom/
https://wiki.tizen.org/wiki/Meeting
– https://wiki.tizen.org/wiki/Events
– https://wiki.tizen.org/wiki/FOSDEM
More:
● https://source.tizen.org/documentation/tizen-rt
● https://www.artik.io/modules/artik-05x/
● https://developer.artik.io/documentation/artik-05x/getting-started/
● http://www.nuttx.org/
● http://youtube.com/channel/UC0QciIlcUnjJkL5yJJBmluw
● https://www.slideshare.net/MyungJooHam/tdc-mjham-armkernelintizen3noani
● http://opensource.samsung.com/
Bonus tip:
for demo convenience
I am drafting demo recipes (WIP)
git clone https://github.com/rzr/TizenRT
14Samsung Open Source Group
Thank you
https://wiki.tizen.org/wiki/User:Pcoval
BTW greetings to :
Resources: flaticons CC
1 of 14

Recommended

Rapid SPi Device Driver Development over USB by
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBSamsung Open Source Group
1K views18 slides
Internet of Smaller Things by
Internet of Smaller ThingsInternet of Smaller Things
Internet of Smaller ThingsSamsung Open Source Group
1.1K views50 slides
Development Boards for Tizen IoT by
Development Boards for Tizen IoTDevelopment Boards for Tizen IoT
Development Boards for Tizen IoTSamsung Open Source Group
34.1K views30 slides
How to Connect MQTT Broker on ESP8266 WiFi by
How to Connect MQTT Broker on ESP8266 WiFiHow to Connect MQTT Broker on ESP8266 WiFi
How to Connect MQTT Broker on ESP8266 WiFiNaoto MATSUMOTO
3.8K views6 slides
IoTivity: From Devices to the Cloud by
IoTivity: From Devices to the CloudIoTivity: From Devices to the Cloud
IoTivity: From Devices to the CloudSamsung Open Source Group
18.3K views28 slides
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices by
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesTizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
Tizen RT: A Lightweight RTOS Platform for Low-End IoT DevicesSamsung Open Source Group
10.6K views33 slides

More Related Content

What's hot

C Cross Compile for Linkit Smart 7688 by
C Cross Compile for Linkit Smart 7688C Cross Compile for Linkit Smart 7688
C Cross Compile for Linkit Smart 7688Nattapong Rodmuang
2.8K views26 slides
Introduction to IoT.JS by
Introduction to IoT.JSIntroduction to IoT.JS
Introduction to IoT.JSSamsung Open Source Group
14.4K views41 slides
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux by
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxSamsung Open Source Group
28.5K views47 slides
Introduction to Linux-wpan and Potential Collaboration by
Introduction to Linux-wpan and Potential CollaborationIntroduction to Linux-wpan and Potential Collaboration
Introduction to Linux-wpan and Potential CollaborationSamsung Open Source Group
18.9K views23 slides
Esp8266 hack sonoma county 4/8/2015 by
Esp8266 hack sonoma county 4/8/2015Esp8266 hack sonoma county 4/8/2015
Esp8266 hack sonoma county 4/8/2015mycal1
1.4K views10 slides
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux by
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxSamsung Open Source Group
20.1K views39 slides

What's hot(20)

Esp8266 hack sonoma county 4/8/2015 by mycal1
Esp8266 hack sonoma county 4/8/2015Esp8266 hack sonoma county 4/8/2015
Esp8266 hack sonoma county 4/8/2015
mycal11.4K views
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux by Samsung Open Source Group
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
ESP8266 and IOT by dega1999
ESP8266 and IOTESP8266 and IOT
ESP8266 and IOT
dega199910.3K views
HKG18-113- Secure Data Path work with i.MX8M by Linaro
HKG18-113- Secure Data Path work with i.MX8MHKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8M
Linaro1.4K views
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin... by Samsung Open Source Group
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
Transform Old Router into Digital Jukebox/Internet Radio with LEDE/openWRT by Iwan Tahari
Transform Old Router into Digital Jukebox/Internet Radio with LEDE/openWRTTransform Old Router into Digital Jukebox/Internet Radio with LEDE/openWRT
Transform Old Router into Digital Jukebox/Internet Radio with LEDE/openWRT
Iwan Tahari2.2K views
BKK16-500K2 CTO talk - The End to End Story by Linaro
BKK16-500K2 CTO talk - The End to End StoryBKK16-500K2 CTO talk - The End to End Story
BKK16-500K2 CTO talk - The End to End Story
Linaro397 views
Getting Started with Embedded Python: MicroPython and CircuitPython by Ayan Pahwa
Getting Started with Embedded Python: MicroPython and CircuitPythonGetting Started with Embedded Python: MicroPython and CircuitPython
Getting Started with Embedded Python: MicroPython and CircuitPython
Ayan Pahwa991 views

Similar to tizen-rt-javascript-20181011

Easy IoT with JavaScript by
Easy IoT with JavaScriptEasy IoT with JavaScript
Easy IoT with JavaScriptSamsung Open Source Group
11.2K views20 slides
digital-twins-webthings-iotjs-20190512rzr by
digital-twins-webthings-iotjs-20190512rzrdigital-twins-webthings-iotjs-20190512rzr
digital-twins-webthings-iotjs-20190512rzrPhil www.rzr.online.fr
1.6K views25 slides
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris by
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisThe complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisOW2
93 views23 slides
webthing-floss-iot-20180607rzr by
webthing-floss-iot-20180607rzrwebthing-floss-iot-20180607rzr
webthing-floss-iot-20180607rzrPhil www.rzr.online.fr
350 views23 slides
The Complex IoT Equation (and FLOSS solutions) by
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)Samsung Open Source Group
9.9K views23 slides
webthing-iotjs-20181027rzr by
webthing-iotjs-20181027rzrwebthing-iotjs-20181027rzr
webthing-iotjs-20181027rzrPhil www.rzr.online.fr
5.9K views38 slides

Similar to tizen-rt-javascript-20181011(20)

The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris by OW2
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, ParisThe complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
OW293 views
ELCE 2010 - State Of Multimedia In 2010 Embedded Linux Devices by Benjamin Zores
ELCE 2010 - State Of Multimedia In 2010 Embedded Linux DevicesELCE 2010 - State Of Multimedia In 2010 Embedded Linux Devices
ELCE 2010 - State Of Multimedia In 2010 Embedded Linux Devices
Benjamin Zores511 views
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이... by OpenStack Korea Community
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
Introduction to the new MediaTek LinkIt™ Development Platform for RTOS by MediaTek Labs
Introduction to the new MediaTek LinkIt™ Development Platform for RTOSIntroduction to the new MediaTek LinkIt™ Development Platform for RTOS
Introduction to the new MediaTek LinkIt™ Development Platform for RTOS
MediaTek Labs1.6K views
Gluing the IoT world with Java and LoRaWAN by Pance Cavkovski
Gluing the IoT world with Java and LoRaWANGluing the IoT world with Java and LoRaWAN
Gluing the IoT world with Java and LoRaWAN
Pance Cavkovski948 views
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe) by The Linux Foundation
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
Software virtualization lessons for extreme IoT portability and scale by MicroEJ
Software virtualization lessons for extreme IoT portability and scaleSoftware virtualization lessons for extreme IoT portability and scale
Software virtualization lessons for extreme IoT portability and scale
MicroEJ305 views
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all? by Julien Vermillard
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Julien Vermillard10.9K views
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp... by WithTheBest
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
WithTheBest360 views

More from Phil www.rzr.online.fr

Iot privacy-soscon-2019 by
Iot privacy-soscon-2019Iot privacy-soscon-2019
Iot privacy-soscon-2019Phil www.rzr.online.fr
540 views25 slides
aframe-webthing-20190710 by
aframe-webthing-20190710aframe-webthing-20190710
aframe-webthing-20190710Phil www.rzr.online.fr
475 views40 slides
up-down-stream-flows-20190411rzr by
up-down-stream-flows-20190411rzrup-down-stream-flows-20190411rzr
up-down-stream-flows-20190411rzrPhil www.rzr.online.fr
1.6K views19 slides
wotxr-20190320rzr by
wotxr-20190320rzrwotxr-20190320rzr
wotxr-20190320rzrPhil www.rzr.online.fr
2K views20 slides
mozilla-things-fosdem-2019 by
mozilla-things-fosdem-2019mozilla-things-fosdem-2019
mozilla-things-fosdem-2019Phil www.rzr.online.fr
2.3K views28 slides
IoT-javascript-2019-fosdem by
IoT-javascript-2019-fosdemIoT-javascript-2019-fosdem
IoT-javascript-2019-fosdemPhil www.rzr.online.fr
959 views35 slides

More from Phil www.rzr.online.fr(20)

FOSDEM2015: Porting Tizen:Common to open source hardware devices by Phil www.rzr.online.fr
FOSDEM2015: Porting Tizen:Common to open source hardware devicesFOSDEM2015: Porting Tizen:Common to open source hardware devices
FOSDEM2015: Porting Tizen:Common to open source hardware devices

Recently uploaded

STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdfDr. Jimmy Schwarzkopf
20 views29 slides
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...Jasper Oosterveld
19 views49 slides
PRODUCT PRESENTATION.pptx by
PRODUCT PRESENTATION.pptxPRODUCT PRESENTATION.pptx
PRODUCT PRESENTATION.pptxangelicacueva6
15 views1 slide
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院IttrainingIttraining
58 views8 slides
STPI OctaNE CoE Brochure.pdf by
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
14 views1 slide
Zero to Automated in Under a Year by
Zero to Automated in Under a YearZero to Automated in Under a Year
Zero to Automated in Under a YearNetwork Automation Forum
15 views23 slides

Recently uploaded(20)

STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely25 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software280 views
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays11 views
The Forbidden VPN Secrets.pdf by Mariam Shaba
The Forbidden VPN Secrets.pdfThe Forbidden VPN Secrets.pdf
The Forbidden VPN Secrets.pdf
Mariam Shaba20 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10300 views
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe by Simone Puorto
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
Simone Puorto12 views
Future of AR - Facebook Presentation by ssuserb54b561
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
ssuserb54b56115 views
Special_edition_innovator_2023.pdf by WillDavies22
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdf
WillDavies2218 views

tizen-rt-javascript-20181011

  • 1. Samsung Open Source Group 1 https://www.meetup.com/Rennes-Embedded/ JavaScript in constrained devices Using :RT with IoT.js #RennesEmbedded Rennes, France <2018-10-11> Philippe Coval Samsung Open Source Group / SRUK p.coval@samsung.com
  • 2. Samsung Open Source Group 2 https://www.meetup.com/Rennes-Embedded/ What do you know of ? ● Operating System powered by Linux Kernel ● Shipped into consumer electronics products – TVs, Wearables, Home kitchen appliances… ● Tizen the OS of Everything? – What about low-end and low-cost IoT devices? ● Note: uClinux is lowering requirements – but not optimal so we need a dedicated kernel ! ● TizenRT is targeting middle configurations (RAM+Flash): – Cortex M3 (30KB+512KB), M4 (256KB+16MB), R4 (2MB+16MB)
  • 3. Samsung Open Source Group 3 https://www.meetup.com/Rennes-Embedded/ TizenRT's origin ● TinyAra 2015 project to collect, store, and deliver IoT sensor data using: – IoTivity for connectivity & AraStorage: Data management – Sources released to public on tizen.org (SOSCON2016) ● It was based on NuttX RealTime kernel (deterministic and priorities) – UNIX/Linux inspired OS (+shell +apps) comply to standards, POSIX, GNU tools – Initial release in 2007, community led by main author Gregory Nutt – Stable & Mature (2.5M LoC), 8 to 32 bits, ~20 archs, 200 boards (<16KB) – BSD Licensed: Industry & community adoption ● TizenRT is the whole stack: TinyAra kernel + middlewares (TDC2017)
  • 4. Samsung Open Source Group 4 https://www.meetup.com/Rennes-Embedded/ Tizen:RT Architecture Current status: 2.0_GBM_M1 + ~1000 patches
  • 5. Samsung Open Source Group 5 https://www.meetup.com/Rennes-Embedded/ Tizen:RT plan for reliability ● Memory protection unit (MPU > MMU) – User/Kernel separation ● Per thread mem protection ● Micro kernel architecture – Only for scheduling tasks, memory, IPC ● + user space services (Net, drivers...) ● Fault Tolerance – Self healing ● restart services (and dependencies) – Fallback option: Live update (DM)
  • 6. Samsung Open Source Group 6 https://www.meetup.com/Rennes-Embedded/ Application development on Tizen:RT ● Platform is supporting native development (POSIX) – with optional middlewares: – WiFi, LWIP port for IPv6, +LWM2M, CoAP, HTTP, DTLS, WebSockets, MQTT – Wakaama (LWM2M) for device management – IoTivity for seamless connectivity between devices ● But some (or most) applications – Are not requiring low level primitives ● When high level API are available – Need secured context ● For many developers "Any application, that can be written in JavaScript will eventually be written in JavaScript." ~Jeff Atwood
  • 7. Samsung Open Source Group 7 https://www.meetup.com/Rennes-Embedded/ “Simplicity is the ultimate sophistication.” ~Leonardo da Vinci
  • 8. Samsung Open Source Group 8 https://www.meetup.com/Rennes-Embedded/ IoT.js: platform powered by JerryScript engine ● JerryScript: A JavaScript interpreter – Optimized for constrained devices: <64 KB RAM & <200 KB ROM – Available in various RTOS: Tizen:RT, RIOT, Zephyr… ● IoT.js: Runtime environment – Supports modules (built in) ● Timers, GPIO, ADC, I2C,UART ● UDP, HTTP, WebSockets, DNS, BLE ● Developer friendly environment: – Develop using iotjs on GNU/Linux – Port and deploy to constrained device – Or even port modules (NPM)
  • 9. Samsung Open Source Group 9 https://www.meetup.com/Rennes-Embedded/ “Any sufficiently advanced technology is indistinguishable from magic.” ~ Arthur C. Clarke
  • 10. Samsung Open Source Group 10 https://www.meetup.com/Rennes-Embedded/ Demo ! https://youtu.be/S7zpBpnpflU#tizen-rt-lpwan-20180204rzr ● https://my.wirelessthings.be/index.php/device/device_view/1229
  • 11. Samsung Open Source Group 11 https://www.meetup.com/Rennes-Embedded/ Mozilla IoT & WebThings powered by ARTIK https://youtu.be/qrFTn0eA8iQ#web-of-things-agriculture-20180712rzr https://youtu.be/qrFTn0eA8iQ web-of-things-agriculture-20180712rzr#
  • 12. Samsung Open Source Group 12 https://www.meetup.com/Rennes-Embedded/ Summary ● Tizen is based on Linux kernel for high end devices ● Tizen ecosystem is now addressing more constrained IoT devices – Tizen:RT was originally based on NuttX kernel, ● then evolved into micro kernel architecture ● Tizen:RT is open to application developers by providing – Native, C, C++ POSIX standard libraries – Javascript runtime, using IoT.js + JerryScript interpreter ● Open Community (github.com/Samsung) & Tools: SDK (CLI or IDE)
  • 13. Samsung Open Source Group 13 https://www.meetup.com/Rennes-Embedded/ References  Entry points: – https://fosdem.org/2018/schedule/event/tizen_rt/ – https://wiki.tizen.org/Category:RT – https://github.com/Samsung/TizenRT/  Keep in touch online: – https://s-opensource.org/author/philcovalsamsungcom/ https://wiki.tizen.org/wiki/Meeting – https://wiki.tizen.org/wiki/Events – https://wiki.tizen.org/wiki/FOSDEM More: ● https://source.tizen.org/documentation/tizen-rt ● https://www.artik.io/modules/artik-05x/ ● https://developer.artik.io/documentation/artik-05x/getting-started/ ● http://www.nuttx.org/ ● http://youtube.com/channel/UC0QciIlcUnjJkL5yJJBmluw ● https://www.slideshare.net/MyungJooHam/tdc-mjham-armkernelintizen3noani ● http://opensource.samsung.com/ Bonus tip: for demo convenience I am drafting demo recipes (WIP) git clone https://github.com/rzr/TizenRT
  • 14. 14Samsung Open Source Group Thank you https://wiki.tizen.org/wiki/User:Pcoval BTW greetings to : Resources: flaticons CC