오픈소스와 diy 임베디드시스템 - 픈소스임베디드.pdf · pdf file순서...
TRANSCRIPT
2014.12
mailto:[email protected]
(OSS) (OSHW) SDx (Software-Defined Anything)
: Arduino, Rasberry Pi, Beagle Bd, Galileo, etc. H/W S/W
IOT IOT
www.openwith.net 2014-12-13 2
www.openwith.net 2014-12-13 3
(1)
www.openwith.net 2014-12-13 4
(2)
www.openwith.net 2014-12-13 5
(OSS)
www.openwith.net 2014-12-13 6
www.openwith.net 2014-12-13 7
www.openwith.net 2014-12-13 8
www.openwith.net 2014-12-13 9
www.openwith.net 2014-12-13 10
=
? = Open Recipe
=
=
www.openwith.net 2014-12-13 11
OSS
1960's ARPANET, ... 1969 Unix 1980 Usenet 1983 GNU 1985 FSF 1989 386BSD, FreeBSD, 1991 Linux kernel 1994 MySQL 1996 Apache 2001 Open Source : 2004 Ubuntu
Before C:
1957 FORTRAN/ 1959 COBOL/ 1964 BASIC
C
1969 C 1973 PASCAL
C++ 1983 C++
http://www.youtube.com/watch?v=JoVQTPbD6UY
After C/C++ 1991 Python 1995 Java, Javascript 1995 R
www.openwith.net 2014-12-13 12
http://www.youtube.com/watch?v=JoVQTPbD6UYhttp://www.youtube.com/watch?v=JoVQTPbD6UYhttp://www.youtube.com/watch?v=JoVQTPbD6UY
http://www.youtube.com
/watch?v=POexV1k62_Y
www.openwith.net 2014-12-13 13
http://www.youtube.com/watch?v=POexV1k62_Yhttp://www.youtube.com/watch?v=POexV1k62_Y
OSI OSS (1) (2) (3) 2 (Derived works) (4) (5) (6) (7) (8)
( must not be specific to a product)
(9) ( must not contaminate other software)
(10) ( must be Technology-Neutral)
www.openwith.net 2014-12-13 14
http://opensource.org/licenses : https://www.blackducksoftware.com/resources/data/
www.openwith.net 2014-12-13 15
http://opensource.org/licenseshttps://www.blackducksoftware.com/resources/data/
(Open Standards)
No Intentional Secrets:
Availability:
Patents:
No Agreements:
No OSR-Incompatible Dependencies
www.openwith.net 2014-12-13 16
: www.oshw.org ? :
(Original Design Files) (Auxiliary Design Files) (Bill Of Material) , (Instructions)
1970 1980~90 OSS 1990 OSHW: SOC, FPGA,
www.openwith.net 2014-12-13 17
http://www.oshw.org/
OSHW
www.openwith.net 2014-12-13 18
OSHW
www.openwith.net 2014-12-13 19
www.openwith.net 2014-12-13 20
www.openwith.net 2014-12-13 21
MIT
Simplified
BSD Modified
BSD
Creative Commons - Attrib
ution 3.0
Creative Commons - Attribution - Share
Alike 3.0
TAPR Open Hardware (OHL)
GPL/LGPL
Optional Optional NO Required Required Optional NO
2 ?
No No No No Yes Yes Yes
2 ?
Yes Yes Yes Yes Yes No No
2 ?
Yes Yes Yes Yes Yes Yes Yes
Patent restrictions
No No No No No No Yes
: http://www.inmojo.com/licenses/ www.openwith.net 2014-12-13 22
http://www.inmojo.com/licenses/
Open Compute
The value of disaggregation!
(break down)
OS-agnostic top-of-rack (TOR) switches.
www.openwith.net 2014-12-13 23
SDx (S/W-Defined Anything)
SDx Umbrella term SDN: s/w-defined networking SDC: s/w-defined computing SDDC: s/w-defined datacenter SDS: s/w-defined storage and SN.
intelligent s/w
black box Commodity , ownership
Vendor
Programmable Everything
: Gartner
www.openwith.net 2014-12-13 24
SDx : SDR
: Alexander Graham Bell
1876
Nyquist Shannon
Sampling/ Modulation (ADC/DAC)
Signal
SDR, Cognitive Radio
Programmable Digital H/W
Programmable Analog H/W
Fourier works in digital, too: Discrete Fourier Transform
Herz Marconi
DSP Radio
Discrete Approximation
www.openwith.net 2014-12-13 25
New Paradigm: SDR
RX LNA S/W digitize,
S/W flexible TX, vice versa
Programmable SDR: Classical way:
VERILOG : H/W (board) specific,
rewrite for different boards
State-of-the-art SCA (S/W Comm. Architecture) CORBA, XML with ORB
middleware
Ontology - describe to
the board what to do, board (compiler) figures out how
Board
architecture reconfiguration on-the-fly
www.openwith.net 2014-12-13 26
Open Source SDR HPSDR
High Performance Software Defined Radio http://openhpsdr.org/
GNU "next generation" SDR
Radio Amateurs ("hams") Short Wave Listeners (SWLs)
GNURadio signal processing blocks to implement S/W radios
GPL v3
Universal Software Radio Peripheral (USRP)
...
www.openwith.net 2014-12-13 27
http://openhpsdr.org/
SDN
mobile device access
mobile security DDOS
Application layer threats
policy
Inconsistency
Application
, load balancing, authentication/authorization, Layer 7
More applications need services
API Proxy
API versioning, Client-based steering
API Load Balancing, Metering & Billing
API key management,
www.openwith.net 2014-12-13 28
SDN
control plane data plane
S/W (API )
ONF (Open Network Foundation)
www.openwith.net 2014-12-13 29
www.openwith.net 2014-12-13 30
Google router router 7% SDN + OpenFlow: Bandwidth utilization = 40% 97%
www.openwith.net 2014-12-13 31
SDN Applications Programmable Open API
Cloud Orchestration
SDN Control Plane
Controller
NOS
SDN Data Plane
Network Devices
OpenFlow
www.openwith.net 2014-12-13 32
OpenStack
S/W kernel .
OpenStack
Compute: Nova, Glance
Storage: Swift, Cinder
Networks: Quantum
Tools: Horizon, Ceilometer, Heat
Security: Keystone
OpenFlow
SDN : OpenFlow
(dynamically/ programmatically)
Flow tables
NOX, POX, Beacon, Floodlight
OpenDaylight
Linux Foundation
www.openwith.net 2014-12-13 33
Amazon
EC2, S3, EMR,
Rackspace
Compute: Cloud servers
API-accessible servers
Xen & XenServer HVs
Storage: Cloud Files
Ojbect file store
PaaS: Cloud Sites
: F5 Synthesis Software Defined Application Services (SDAS)
36
Elastic, multi-tenant platform
Application-aware, BigIQ
Services Fabric
20.5 TByte combined throughput
92 connection capacity (20 session)
www.openwith.net 2014-12-13 34
SDS
Software-Defined Storage
RAID (1988)
www.openwith.net 2014-12-13 35
SDDC (Software-Defined Datacenter)
Cloud-ready Datacenter
Homogeneous configuration Fat Tree/Mesh networks
Zettabyte = 1,000 Exabytes = 1,000,000 Petabytes (150GB/person), 2% on earth in 2020 Data must be stored efficiently
= GDP 38%!
www.openwith.net 2014-12-13 36
Leave No Service Behind! Leave no applications behind!
Cloud
cloud load balance
Cloud Federation
SAML Internet SSO
Security
Access
Administration
www.openwith.net 2014-12-13 37
www.openwith.net 2014-12-13 38
?
DIY
H/W + S/W + F/W Sensor + + Actuator
Prototyping OR () Field Deploy : ??
www.openwith.net 2014-12-13 39
Arduino Uno Raspberry Pi B+ Beaglebone Black
Arduino () IDI ()
Raspberry () Cambridge
Beagleboard () Texas Instrument
CPU ATmega 328 16 MHz ARM 700MHz ARM Cortex-A8 1GHz
RAM 2KB 512MB 512MB
Flash Memory 32KB - 2GB eMMC
OS Firmware (toolkit) Linux, Android Linux, Android
Network - Ethernet Ethernet
Sensing/Actuator SBC + SBC +
$35 $35 $45
S/W Ard IDE, Processing Scratch, Python Cloud9, Node.js
www.openwith.net 2014-12-13 40
www.openwith.net 2014-12-13 41
Arduino
:
www.openwith.net 2014-12-13 42
Rasberry Pi
Model B+ BCM2835 application processor 512MB RAM. 40 pin GPIO 4 USB 2.0 ports, micro SD version". , replacing linear regulators
with switching ones
SBC (Single Board Computer)
mainly with Linux
www.openwith.net 2014-12-13 43
Beaglebone Black
AM335x 1GHz ARM Cortex-A8 512MB DDR3 RAM 4GB 8-bit eMMC on-board
flash storage 3D graphics accelerator 2x PRU 32-bit microcontrollers
Connectivity USB client for power &
communications Ethernet, HDMI, 2x 46 pin
headers
Debian, Android, Ubuntu Cloud9 IDE on Node.js w/
BoneScript library
www.openwith.net 2014-12-13 44
Banana Pi
Allwinner A20 ARM Cortex ARM7 dual-core processor.
26-pin GPIO headers (Raspberry Pi )
OS: Linux and Android
$29.99
On-board: , SATA , IR , OTG connector, &am