SlideShare uma empresa Scribd logo
1 de 37
From Silicon
     to
          Software


     Aanjhan Ranganathan & Sudarshan S
So whats the agenda . . .
For the perspective . . .


●   Cray 1 Specs
    ●   64 Mb memory
    ●   ~1 million gates
    ●   80 Mhz clock, 115kW
    ●   700,000 $
Some modern art
Chips are pieces of artwork too




 Intel Pentium 4, 2000
                         Intel dual core , 2007
VLSI Design flow
Chip to System on Chip (SoC)
Embedded Systems
Embedded Development Boards
Importance of Embedded Software


●   Therac 25
       –   Overdose of radiations for therapy of cancer patients
●   Ariane 5 failure
       –   Launch failed, exploded just 40 secs after take off
A typical embedded system
            build . . .

                         Mapping soft, games?,
                           Dialer, Phonebook
Application Software


 System Software
                          RTOS, Task manager,
                         Device management etc
 Core        I/O
 Proc

           Peripherals
Memory
             Hardware     Target Board
Terminologies
●   Cross compilation
       –   Build , Target, Host
       –   Reasons for this?
●   Bootloader
●   Target architecture
●   Board Support Package
RTEMS
●   Real Time Executive for Multiprocessor
    Systems
●   Since late 1980's (under contract with US Army
    Missile Command.
●   Ported to few ESA and NASA space hardened
    procs in the late 1990s
RTEMS in Use
●   Space and Aviation
       –   ESA's Herschel and Planck, LISA Pathfinder,
           NASA ST5 satellite
●   Scientific – EPICS labs
●   Military and defense – Air defense systems,
    Flight data recorders
●   Industrial, Robotics, Medical and
    Communication fields
    http://www.rtems.com/wiki/index.php/RTEMSApplications
RTEMS features

➔   RTEMS is a full featured Real-Time Operating System
➔   Commercial grade
➔   All source code for OS, support components, tests, documentation,
    development environment, and project website is provided
➔   Truly free in price, liberty, and end user requirements
➔   High performance, deterministic behavior
➔   Standards compliant environment
➔   Highly portable across CPU architectures
➔   Many Board Support Packages available
➔   Prebuilt development toolsets for GNU/Linux and MS-Windows
Motivation for RTEMS developers

                         Open
          Incremental   Standards
                                    Pet Projects
         Improvements



     Scientific                                Space
    Community                                Community



          Student
                                    Commercial
          Projects
                        Research      Users
RTEMS - Architecture
Demo based on a GsoC project
●   MMU – Memory Management Unit
●   PowerPC simulator PSIM
●   Memory region protection (SUPERVISOR
    access only etc)
Cross Debugging

GUI Front end (DDD)



  Cross debugger
                        Target system
(powerpc-rtems-gdb)




Other debugging ways
JTAG, BDM
In the end, it all boils down to User
   space applications (or in other
    words the icing on the cake)
Different Hardwares with different
               capabilities

●   Make phone calls
●   Send Text messages
●   Receive emails
●   Know your current location
●   Listen to Music
     and much much more
'nuff said
We solve problems with
                abstractions
●   Symbian
●   Android
●   J2ME
●   Blackberry
●   Iphone SDK
Freesmartphone.org Framework
What is FSO?


●   freesmartphone.org is a collaboration platform
    for open source and open discussion software
    projects working on interoperability and
    shared technology for Linux-based
    SmartPhones
Inter Process Communication
●   Files
●   Anonymous pipes
●   CORBA (really really painful)
●   Java RMI (Language specific)
●   Shared Memory
..all of which has a potential to make
              you suicidal
DBus
●   IPC done right
●   Method: Which can be invoked
●   Signals: Broadcast messages which an
    observer can listen to
●   Bus: Session or System
Everybody loves Dilbert
Under the hood



Pidgin's Dbus service                          Our Evil Script
                        Request a proxy from
                        the bus
Under the hood



Pidgin's Dbus service                          Our Evil Script




        We now have a copy of the “remote” object with methods
        from im.pidgin.purple.PurpleService
FSO + Dbus + Python = 42



         ... almost
Neo Freerunner. Be in control
Enough Talk, show me the code!
       Talk              code
Thanks!




To all the cool FOSS developers. So long and
             thanks for all the fish

Mais conteúdo relacionado

Semelhante a From Silicon to Software - IIT Madras

Rapid prototyping with open source
Rapid prototyping with open sourceRapid prototyping with open source
Rapid prototyping with open sourceAlison Chaiken
 
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)Ron Munitz
 
Chap3 Device Technology
Chap3 Device TechnologyChap3 Device Technology
Chap3 Device TechnologyANUSUYA T K
 
Introduction To SPOT
Introduction To SPOTIntroduction To SPOT
Introduction To SPOTpauldeng
 
How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...IndicThreads
 
Kahuna Systems : Product Engineering Services
Kahuna Systems : Product Engineering ServicesKahuna Systems : Product Engineering Services
Kahuna Systems : Product Engineering Serviceskahunasystems
 
Unit 1 computer concepts
Unit 1   computer conceptsUnit 1   computer concepts
Unit 1 computer conceptsMithun DSouza
 
BUD17-104: Scripting Languages in IoT: Challenges and Approaches
BUD17-104: Scripting Languages in IoT: Challenges and ApproachesBUD17-104: Scripting Languages in IoT: Challenges and Approaches
BUD17-104: Scripting Languages in IoT: Challenges and ApproachesLinaro
 
Machine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroMachine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroDicodingEvent
 
Robots in Human Environments
Robots in Human EnvironmentsRobots in Human Environments
Robots in Human EnvironmentsAndreas Heil
 
Add sale davinci
Add sale davinciAdd sale davinci
Add sale davinciAkash Sahoo
 
Profiling Multicore Systems to Maximize Core Utilization
Profiling Multicore Systems to Maximize Core Utilization Profiling Multicore Systems to Maximize Core Utilization
Profiling Multicore Systems to Maximize Core Utilization mentoresd
 
Pristine glif 2015
Pristine glif 2015Pristine glif 2015
Pristine glif 2015ICT PRISTINE
 

Semelhante a From Silicon to Software - IIT Madras (20)

Rapid prototyping with open source
Rapid prototyping with open sourceRapid prototyping with open source
Rapid prototyping with open source
 
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)
BYOD Revisited: Build Your Own Device (Embedded Linux Conference 2014)
 
SivaBorra
SivaBorraSivaBorra
SivaBorra
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Chap3 Device Technology
Chap3 Device TechnologyChap3 Device Technology
Chap3 Device Technology
 
Introduction To SPOT
Introduction To SPOTIntroduction To SPOT
Introduction To SPOT
 
How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...
 
Kahuna Systems : Product Engineering Services
Kahuna Systems : Product Engineering ServicesKahuna Systems : Product Engineering Services
Kahuna Systems : Product Engineering Services
 
Unit 1 computer concepts
Unit 1   computer conceptsUnit 1   computer concepts
Unit 1 computer concepts
 
BUD17-104: Scripting Languages in IoT: Challenges and Approaches
BUD17-104: Scripting Languages in IoT: Challenges and ApproachesBUD17-104: Scripting Languages in IoT: Challenges and Approaches
BUD17-104: Scripting Languages in IoT: Challenges and Approaches
 
ICIT2013-Keynote-Speech-In-Bali
ICIT2013-Keynote-Speech-In-BaliICIT2013-Keynote-Speech-In-Bali
ICIT2013-Keynote-Speech-In-Bali
 
Machine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - NurendrantoroMachine Learning pada Perangkat Portabel - Nurendrantoro
Machine Learning pada Perangkat Portabel - Nurendrantoro
 
Robots in Human Environments
Robots in Human EnvironmentsRobots in Human Environments
Robots in Human Environments
 
Add sale davinci
Add sale davinciAdd sale davinci
Add sale davinci
 
Linux-Internals-and-Networking
Linux-Internals-and-NetworkingLinux-Internals-and-Networking
Linux-Internals-and-Networking
 
Introduction
IntroductionIntroduction
Introduction
 
KIRANKUMAR_MV
KIRANKUMAR_MVKIRANKUMAR_MV
KIRANKUMAR_MV
 
Profiling Multicore Systems to Maximize Core Utilization
Profiling Multicore Systems to Maximize Core Utilization Profiling Multicore Systems to Maximize Core Utilization
Profiling Multicore Systems to Maximize Core Utilization
 
Intro to linux
Intro to linux Intro to linux
Intro to linux
 
Pristine glif 2015
Pristine glif 2015Pristine glif 2015
Pristine glif 2015
 

Último

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 

Último (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

From Silicon to Software - IIT Madras

  • 1. From Silicon to Software Aanjhan Ranganathan & Sudarshan S
  • 2. So whats the agenda . . .
  • 3. For the perspective . . . ● Cray 1 Specs ● 64 Mb memory ● ~1 million gates ● 80 Mhz clock, 115kW ● 700,000 $
  • 5. Chips are pieces of artwork too Intel Pentium 4, 2000 Intel dual core , 2007
  • 7. Chip to System on Chip (SoC)
  • 10. Importance of Embedded Software ● Therac 25 – Overdose of radiations for therapy of cancer patients ● Ariane 5 failure – Launch failed, exploded just 40 secs after take off
  • 11. A typical embedded system build . . . Mapping soft, games?, Dialer, Phonebook Application Software System Software RTOS, Task manager, Device management etc Core I/O Proc Peripherals Memory Hardware Target Board
  • 12. Terminologies ● Cross compilation – Build , Target, Host – Reasons for this? ● Bootloader ● Target architecture ● Board Support Package
  • 13. RTEMS ● Real Time Executive for Multiprocessor Systems ● Since late 1980's (under contract with US Army Missile Command. ● Ported to few ESA and NASA space hardened procs in the late 1990s
  • 14. RTEMS in Use ● Space and Aviation – ESA's Herschel and Planck, LISA Pathfinder, NASA ST5 satellite ● Scientific – EPICS labs ● Military and defense – Air defense systems, Flight data recorders ● Industrial, Robotics, Medical and Communication fields http://www.rtems.com/wiki/index.php/RTEMSApplications
  • 15. RTEMS features ➔ RTEMS is a full featured Real-Time Operating System ➔ Commercial grade ➔ All source code for OS, support components, tests, documentation, development environment, and project website is provided ➔ Truly free in price, liberty, and end user requirements ➔ High performance, deterministic behavior ➔ Standards compliant environment ➔ Highly portable across CPU architectures ➔ Many Board Support Packages available ➔ Prebuilt development toolsets for GNU/Linux and MS-Windows
  • 16. Motivation for RTEMS developers Open Incremental Standards Pet Projects Improvements Scientific Space Community Community Student Commercial Projects Research Users
  • 18. Demo based on a GsoC project ● MMU – Memory Management Unit ● PowerPC simulator PSIM ● Memory region protection (SUPERVISOR access only etc)
  • 19. Cross Debugging GUI Front end (DDD) Cross debugger Target system (powerpc-rtems-gdb) Other debugging ways JTAG, BDM
  • 20. In the end, it all boils down to User space applications (or in other words the icing on the cake)
  • 21. Different Hardwares with different capabilities ● Make phone calls ● Send Text messages ● Receive emails ● Know your current location ● Listen to Music and much much more
  • 23. We solve problems with abstractions ● Symbian ● Android ● J2ME ● Blackberry ● Iphone SDK
  • 25. What is FSO? ● freesmartphone.org is a collaboration platform for open source and open discussion software projects working on interoperability and shared technology for Linux-based SmartPhones
  • 26.
  • 27.
  • 28. Inter Process Communication ● Files ● Anonymous pipes ● CORBA (really really painful) ● Java RMI (Language specific) ● Shared Memory
  • 29. ..all of which has a potential to make you suicidal
  • 30. DBus ● IPC done right ● Method: Which can be invoked ● Signals: Broadcast messages which an observer can listen to ● Bus: Session or System
  • 32. Under the hood Pidgin's Dbus service Our Evil Script Request a proxy from the bus
  • 33. Under the hood Pidgin's Dbus service Our Evil Script We now have a copy of the “remote” object with methods from im.pidgin.purple.PurpleService
  • 34. FSO + Dbus + Python = 42 ... almost
  • 35. Neo Freerunner. Be in control
  • 36. Enough Talk, show me the code! Talk code
  • 37. Thanks! To all the cool FOSS developers. So long and thanks for all the fish