SlideShare a Scribd company logo
Embedding Linux For An Automotive Environment
page 2 6
Name of Presentation
Embedding Linux For An Automotive Environment
 Who is I, Anders Arnholm, What is Mecel
 What differs an embedded system to a conventional desktop
 What differs automotive from other embedded systems
 Some example automotive solutions
 Kernel start up optimizations, an example
 Don’t forget to ask
page 3 6
Name of Presentation
Me, Myself and I
page 4 6
Name of Presentation
Mecel
page 5 6
Name of Presentation
Embedded vs Desktop
 What is an embedded system
 How does embedded differ
 Some words on requirements for Embedded and real-time computing
page 6 6
Name of Presentation
Embedded system
An embedded system is a computer system designed to perform one or a
few dedicated functions often with real-time computing constraints. It
is embedded as part of a complete device often including hardware and
mechanical parts. By contrast, a general-purpose computer, such as
a personal computer (PC), is designed to be flexible and to meet a wide
range of end-user needs. Embedded systems control many devices in
common use today.
From Wikipedia, the free encyclopedia
page 7 6
Name of Presentation
Few functions, Similar/Same Hardware
 Solves one or a few problems
 Mobile phone, smart phones moves into general computing
 GPS Navigator
 Engine Control Module
 Hardware and Software one bundle
 Can test on all hardware
 Can test all software configurations
 Expected to always work
page 8 6
Name of Presentation
Real Time Myth? Or Fact?
 Real time
 Real-time computing, have a fixed deadline. An event in the
system need to have an answer within a fixed time. The
idea is that the result must arrive in time or the result is
invalid. This have to happened regardless of system load
 Often one know it’s a real time constraint but not the real
limit
 Many system run worst case scenario all the time
 Jitter problems
 Jitter are small variations of a periodic signal. Many
embedded systems work on tasks where the jitter have big
effects on the result. Often the results of jitter can be bigger
than the real time needs
 Effects audio
 Communications networks and busses
page 9 6
Name of Presentation
Automotive vs Embedded
 The automotive industry designs,
develops, manufactures, markets, and
sells motor vehicles, and is one of the
world's most important economic
sectors by revenue.
 Usually, Cars, Light Commercial
Vehicles, Heavy Commercial Vehicles
and Busses.
 All cars are an embedded systems
 Automotive industry are conservative
 Automotive industry are regulated
 Electronic Control Unit (ECU)
page 10 6
Name of Presentation
Example System, Gauge Cluster
 Main CPU Freescale i.MX51 600 MHz
Cortex-A8 + Linux
 GPU
 Renesas V850 + embedded system for
communication
 Media Oriented Systems Transport (MOST)
Connecting to mediaplayer to show some
information for the driver in the cluster and hud
display.
 CAN
Input for car information such as speed, RPM, etc
 Local Interconnect Network (LIN)
To connect with the physical keys for user
interaction such as button on the steering wheel.
page 11 6
Name of Presentation
Example System, Communications node
 Automotive communications busses are limited
 Either slow or expensive
 All systems use a mix of busses
 Node connected to communications busses, and transfers messages mostly
to and from the HMI for the driver.
 AutoSAR with a small real time OS
page 12 6
Name of Presentation
Zodiac Infotainment platform
 2009 Demo platform
 Based on Genivi IVI – Russellville
 Using Mecel Populus
 Using Mecel Betula
 Youtube video player
 Internet radio
 Podcast support
 Speech recognition
page 13 6
Name of Presentation
Demo - Autonomy
 CPU: Freescale (PowerPC) - MPC5121e
 128 Mb RAM
 64 MB Flash
 Touch screen
 Bluetooth
 GPS
 Can interface
page 14 6
Name of Presentation
Embedded solutions for Automotive
 AUTOSAR
 Linux
 Genivi Alliance – Delphi is Founding and Charter member
 LTIB – Linux Target Image Builder, Used by Freescale
 Buildroot – Also commonly used
 Windows Embedded Automotive
 QNX
 Custom software
page 15 6
Name of Presentation
Optimizing Linux start-up time
 Focus on kernel start up
 We like to have a one cpu solution
 For CAN communication start up time
critical target < 100 ms
 Low end system
 OMAP OSK5912
 ARM9 – 192 Mhz
 32 Mb NOR Flash
 32 Mb RAM
page 16 6
Name of Presentation
Optimize the kernel
 Quiet output
 Pre-calculate bogomips
 Remove Legacy PTY
 Remove Hotplug
 Remove MTD
 Remove Init
 Select filesystem
page 17 6
Name of Presentation
Flash Filesystems
 JFFS2
 Compressed filesystem
 Standard fs for flash drives
 Supports NAND flash devices
 Cramfs
 Compressed filesystem
 Can be used without decompression
 Linear Cramfs support application XIP
 AXFS
 Compressed filesystem
 Supports XIP
 Read only
page 18 6
Name of Presentation
Execute in Place
 Don’t copy the code into ram memory
 Optimize code for speed not size
 Flash slower that ram
 For applications need special filesystem, Linear CRAMFS or AXFS
 Read only FS
page 19 6
Name of Presentation
Boot times
Conguration
Before shell
is started
After shell is
started
Shell start
time
Unoptimized
with JFFS2
5.428 100% 6.207 100% 0.779
Optimized with
JFFS2
2.771 51% 2.964 47% 0.193
Optimized with
Cramfs
2.627 48% 2.814 45% 0.187
Optimized with
AXFS
1.451 27% 1.576 25% 0.125
Optimized XIP
with AXFS
0.189 3% 0.360 6% 0.171

More Related Content

PDF
Software, Over the Air (SOTA) for Automotive Grade Linux (AGL)
PDF
LAS16-400K2: TianoCore – Open Source UEFI Community Update
PDF
BKK16-105 HALs for LITE
ODP
Introduction to Optee (26 may 2016)
PDF
BUD17-400: Secure Data Path with OPTEE
PDF
LAS16-300: Mini Conference 2 Cortex-M Software - Device Configuration
PDF
Deep Learning Neural Network Acceleration at the Edge - Andrea Gallo
PDF
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
Software, Over the Air (SOTA) for Automotive Grade Linux (AGL)
LAS16-400K2: TianoCore – Open Source UEFI Community Update
BKK16-105 HALs for LITE
Introduction to Optee (26 may 2016)
BUD17-400: Secure Data Path with OPTEE
LAS16-300: Mini Conference 2 Cortex-M Software - Device Configuration
Deep Learning Neural Network Acceleration at the Edge - Andrea Gallo
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...

What's hot (20)

PDF
LAS16-402: ARM Trusted Firmware – from Enterprise to Embedded
PDF
BKK16-500K2 CTO talk - The End to End Story
PDF
LAS16-200: Firmware summit - Tianocore Progress and Status
PDF
BKK16-100K1 George Grey, Linaro CEO Opening Keynote
PDF
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
PDF
BKK16-301A Expanding the Enterprise Landscape in Centos
PDF
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
PPTX
LAS16-203: Platform security architecture for embedded devices
PDF
LAS16-201: ART JIT in Android N
PDF
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
PDF
Embedded Recipes 2019 - Making embedded graphics less special
PDF
Learning notes on Open Source License
PDF
Porting a new architecture (NDS32) to open wrt project
PDF
BUD17 Socionext SC2A11 ARM Server SoC
PDF
BKK16-309A Open Platform support in UEFI
PDF
HKG18-212 - Trusted Firmware M: Introduction
PDF
Internet of Tiny Linux (IoTL): Episode IV - SFO17-100
PDF
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
PDF
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
PDF
LAS16-100K1: Welcome Keynote
LAS16-402: ARM Trusted Firmware – from Enterprise to Embedded
BKK16-500K2 CTO talk - The End to End Story
LAS16-200: Firmware summit - Tianocore Progress and Status
BKK16-100K1 George Grey, Linaro CEO Opening Keynote
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
BKK16-301A Expanding the Enterprise Landscape in Centos
BKK16-201 Play Ready OPTEE Integration with Secure Video Path lhg-1
LAS16-203: Platform security architecture for embedded devices
LAS16-201: ART JIT in Android N
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
Embedded Recipes 2019 - Making embedded graphics less special
Learning notes on Open Source License
Porting a new architecture (NDS32) to open wrt project
BUD17 Socionext SC2A11 ARM Server SoC
BKK16-309A Open Platform support in UEFI
HKG18-212 - Trusted Firmware M: Introduction
Internet of Tiny Linux (IoTL): Episode IV - SFO17-100
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
Embedded Recipes 2019 - Linux on Open Source Hardware and Libre Silicon
LAS16-100K1: Welcome Keynote
Ad

Viewers also liked (14)

PDF
Automotive Grade Linux and systemd
PDF
GENIVI Development Platform (GDP) summary : 15th AMM
PDF
Consolidation of IVI Graphic Subsystems; Weston, a Wayland Compositor, and Ge...
PPTX
Ivi external briefing_pack_v.aim
PDF
Ibm mobile first strategy software approach
PDF
Current trends in open source and automotive
PDF
The Importance of IVI, GENIVI and Open Source
PDF
Developing the Next Generation Embedded HMIs
PDF
IVI Software Update - Challenges and Strategies - Webinar Presentation (updated)
PDF
HKG15-311: OP-TEE for Beginners and Porting Review
PDF
Automotive communication systems: from dependability to security
PDF
GENIVI Development Platform, la plataforma para desarrolladores de software l...
PPTX
How to develop an effective Business Development Strategy
PPT
New Product Development Strategy
Automotive Grade Linux and systemd
GENIVI Development Platform (GDP) summary : 15th AMM
Consolidation of IVI Graphic Subsystems; Weston, a Wayland Compositor, and Ge...
Ivi external briefing_pack_v.aim
Ibm mobile first strategy software approach
Current trends in open source and automotive
The Importance of IVI, GENIVI and Open Source
Developing the Next Generation Embedded HMIs
IVI Software Update - Challenges and Strategies - Webinar Presentation (updated)
HKG15-311: OP-TEE for Beginners and Porting Review
Automotive communication systems: from dependability to security
GENIVI Development Platform, la plataforma para desarrolladores de software l...
How to develop an effective Business Development Strategy
New Product Development Strategy
Ad

Similar to Embedding Linux For An Automotive Environment (20)

PDF
K vector embedded_linux_workshop
PPTX
Introduction of carrier embedded system.pptx
PDF
Embedded intro india_2018-02-v1
PPTX
Design challenges, flow and GPS systems (1).pptx
PDF
L2 B Embedded Systems
PDF
mechatronics.pdf
PPTX
EMBEDDED SYSTEM-2.pptx
PDF
Embedded Systems Introduction
PDF
Embedded systems introduction
PDF
Internet of thing (IOT) ,Embedded Systems
ODP
Advancement on embedded linux-v2
PPT
Embedded Linux Talk Uni Forum
PPT
Embedded System
PPT
Architecture offffffffffffff ESD-ppt.ppt
PPTX
Embedded systems ppt
PDF
embeddedsystemsppt-170506195901.pdf
PPT
PPTX
Language for Embedded System
PPTX
Language for embedded system
K vector embedded_linux_workshop
Introduction of carrier embedded system.pptx
Embedded intro india_2018-02-v1
Design challenges, flow and GPS systems (1).pptx
L2 B Embedded Systems
mechatronics.pdf
EMBEDDED SYSTEM-2.pptx
Embedded Systems Introduction
Embedded systems introduction
Internet of thing (IOT) ,Embedded Systems
Advancement on embedded linux-v2
Embedded Linux Talk Uni Forum
Embedded System
Architecture offffffffffffff ESD-ppt.ppt
Embedded systems ppt
embeddedsystemsppt-170506195901.pdf
Language for Embedded System
Language for embedded system

More from FSCONS (20)

ODP
Rikard Fröberg - Events for everybody
PDF
Mats Lundälv - Open Accessibility Everywhere – Presenting the AEGIS Project
PDF
Ester Ytterbrink - FOSS for crips
ODP
Evenemang för alla - Presentation på sharea
ODP
Appleseed Social Networking
ODP
Distributed Democracy
PDF
Open Hardware Repository
PDF
2010 11 eek kangas
PDF
The Inanna Project
PPT
Fcons
PPTX
How far are we ready to go?
ODP
Glyn moody ethics of intellectual monopolies - fscons 2010
PDF
GNU Parallel - Ole Tange
PDF
Embedded erlang-fscons-2010
PPTX
Filesharer? GO TO JAIL!
PPTX
Etik och it
PDF
Kaizendo: Customizable schoolbooks
ODP
Are you weak in the middle?
ODP
Multitouching your apps
PDF
Who are the free users
Rikard Fröberg - Events for everybody
Mats Lundälv - Open Accessibility Everywhere – Presenting the AEGIS Project
Ester Ytterbrink - FOSS for crips
Evenemang för alla - Presentation på sharea
Appleseed Social Networking
Distributed Democracy
Open Hardware Repository
2010 11 eek kangas
The Inanna Project
Fcons
How far are we ready to go?
Glyn moody ethics of intellectual monopolies - fscons 2010
GNU Parallel - Ole Tange
Embedded erlang-fscons-2010
Filesharer? GO TO JAIL!
Etik och it
Kaizendo: Customizable schoolbooks
Are you weak in the middle?
Multitouching your apps
Who are the free users

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release
sap open course for s4hana steps from ECC to s4
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25 Week I
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing

Embedding Linux For An Automotive Environment

  • 2. page 2 6 Name of Presentation Embedding Linux For An Automotive Environment  Who is I, Anders Arnholm, What is Mecel  What differs an embedded system to a conventional desktop  What differs automotive from other embedded systems  Some example automotive solutions  Kernel start up optimizations, an example  Don’t forget to ask
  • 3. page 3 6 Name of Presentation Me, Myself and I
  • 4. page 4 6 Name of Presentation Mecel
  • 5. page 5 6 Name of Presentation Embedded vs Desktop  What is an embedded system  How does embedded differ  Some words on requirements for Embedded and real-time computing
  • 6. page 6 6 Name of Presentation Embedded system An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. By contrast, a general-purpose computer, such as a personal computer (PC), is designed to be flexible and to meet a wide range of end-user needs. Embedded systems control many devices in common use today. From Wikipedia, the free encyclopedia
  • 7. page 7 6 Name of Presentation Few functions, Similar/Same Hardware  Solves one or a few problems  Mobile phone, smart phones moves into general computing  GPS Navigator  Engine Control Module  Hardware and Software one bundle  Can test on all hardware  Can test all software configurations  Expected to always work
  • 8. page 8 6 Name of Presentation Real Time Myth? Or Fact?  Real time  Real-time computing, have a fixed deadline. An event in the system need to have an answer within a fixed time. The idea is that the result must arrive in time or the result is invalid. This have to happened regardless of system load  Often one know it’s a real time constraint but not the real limit  Many system run worst case scenario all the time  Jitter problems  Jitter are small variations of a periodic signal. Many embedded systems work on tasks where the jitter have big effects on the result. Often the results of jitter can be bigger than the real time needs  Effects audio  Communications networks and busses
  • 9. page 9 6 Name of Presentation Automotive vs Embedded  The automotive industry designs, develops, manufactures, markets, and sells motor vehicles, and is one of the world's most important economic sectors by revenue.  Usually, Cars, Light Commercial Vehicles, Heavy Commercial Vehicles and Busses.  All cars are an embedded systems  Automotive industry are conservative  Automotive industry are regulated  Electronic Control Unit (ECU)
  • 10. page 10 6 Name of Presentation Example System, Gauge Cluster  Main CPU Freescale i.MX51 600 MHz Cortex-A8 + Linux  GPU  Renesas V850 + embedded system for communication  Media Oriented Systems Transport (MOST) Connecting to mediaplayer to show some information for the driver in the cluster and hud display.  CAN Input for car information such as speed, RPM, etc  Local Interconnect Network (LIN) To connect with the physical keys for user interaction such as button on the steering wheel.
  • 11. page 11 6 Name of Presentation Example System, Communications node  Automotive communications busses are limited  Either slow or expensive  All systems use a mix of busses  Node connected to communications busses, and transfers messages mostly to and from the HMI for the driver.  AutoSAR with a small real time OS
  • 12. page 12 6 Name of Presentation Zodiac Infotainment platform  2009 Demo platform  Based on Genivi IVI – Russellville  Using Mecel Populus  Using Mecel Betula  Youtube video player  Internet radio  Podcast support  Speech recognition
  • 13. page 13 6 Name of Presentation Demo - Autonomy  CPU: Freescale (PowerPC) - MPC5121e  128 Mb RAM  64 MB Flash  Touch screen  Bluetooth  GPS  Can interface
  • 14. page 14 6 Name of Presentation Embedded solutions for Automotive  AUTOSAR  Linux  Genivi Alliance – Delphi is Founding and Charter member  LTIB – Linux Target Image Builder, Used by Freescale  Buildroot – Also commonly used  Windows Embedded Automotive  QNX  Custom software
  • 15. page 15 6 Name of Presentation Optimizing Linux start-up time  Focus on kernel start up  We like to have a one cpu solution  For CAN communication start up time critical target < 100 ms  Low end system  OMAP OSK5912  ARM9 – 192 Mhz  32 Mb NOR Flash  32 Mb RAM
  • 16. page 16 6 Name of Presentation Optimize the kernel  Quiet output  Pre-calculate bogomips  Remove Legacy PTY  Remove Hotplug  Remove MTD  Remove Init  Select filesystem
  • 17. page 17 6 Name of Presentation Flash Filesystems  JFFS2  Compressed filesystem  Standard fs for flash drives  Supports NAND flash devices  Cramfs  Compressed filesystem  Can be used without decompression  Linear Cramfs support application XIP  AXFS  Compressed filesystem  Supports XIP  Read only
  • 18. page 18 6 Name of Presentation Execute in Place  Don’t copy the code into ram memory  Optimize code for speed not size  Flash slower that ram  For applications need special filesystem, Linear CRAMFS or AXFS  Read only FS
  • 19. page 19 6 Name of Presentation Boot times Conguration Before shell is started After shell is started Shell start time Unoptimized with JFFS2 5.428 100% 6.207 100% 0.779 Optimized with JFFS2 2.771 51% 2.964 47% 0.193 Optimized with Cramfs 2.627 48% 2.814 45% 0.187 Optimized with AXFS 1.451 27% 1.576 25% 0.125 Optimized XIP with AXFS 0.189 3% 0.360 6% 0.171

Editor's Notes

  • #2: Mallanvisningar generellt Förstasidan med vägen är valfri. Mallens färgschema bör följas – välj mellan Mecelblått, rött, gult, grått, turkos (utöver svart) för diagram, illustrationer mm. Huvudrubriker ska vara versala – tips: ändra versalgemen text genom att markera den och klicka Shift + F3 en eller två gånger. Ett kartotek med loggor, pilar och bilder ligger i L:\DEPARTMENTS\BRAND MANAGEMENT\Powerpoint Fråga gärna Brand Management (Carina Å x4403) om hjälp med att fixa till viktiga presentationer för kunder! Namn på presentationen &amp; datum läggs in under View &amp;gt; Header and Footer (inte på Slide Masten). Datumet får man trixa med. Man behöver gå in på View &amp;gt; Master &amp;gt; Slide Master, klicka på datumet i sidfoten och sedan Insert &amp;gt; Date and Time &amp;gt; välj Language English och välj datumformat så det blir t ex ”10 November 2008” för presentationer på engelska. Sedan kan man välja att datumet uppdateras eller ligger fast. Uppdatering av presentation från gammal mall När man kopierar in bilder från en gammal presentation kan man behöva klicka på Layout längst upp i högra hörnet så sidfältet med Slide Layout kommer upp. Vi använder i princip bara de översta Text layouts. Om man sätter pekaren i högra kanten av en sådan, t ex bredspaltsliden med punktlista kommer en liten blå kant med en pil upp. Där kan man klicka på Reapply layout så lägger sig rubrik + textruta på rätt ställe.
  • #3: Remove this slide? Make agenda
  • #5: * Mecel, We make vehicles communicate with dependable automotive software, giving our customers a technological advantage. We are able to give our customers a competitive edge by introducing new technology in a dependable and cost-effective way. Mecel is active in concept, advanced and product engineering for the automotive industry. We specialize in the development of electronic systems and software for automobiles, trucks, buses, and their infrastructure. Delphi is a leading global supplier of electronics and technologies for automotive, commercial vehicle and other market segments. Operating major technical centers, manufacturing sites and customer support facilities in 30 countries, Delphi delivers real-world innovations that make products smarter and safer as well as more powerful and efficient. Picea – Autosar Betula – Bluetooth Populus - HMI
  • #13: Remove example? As I cant think of any to talk about.
  • #14: CPU: MPC5121e rev. 2.0, Core e300c4 at 400 MHz, CSB at 200 MHz Board: Autonomy rev. A (CPLD rev. 0x0b), bootloader_info=0xfff2fd38 I2C: ready DRAM: 128 MB FLASH: 64 MB Image Name: Linux-2.6.24.6 Blueetooth, GPS, Can, Touchscreen.
  • #15: * AUTOSAR (AUTomotive Open System ARchitecture) is an open and standardized automotive software architecture, jointly developed by automobile manufacturers, suppliers and tool developers. Delphi Premium member Doug Welk form delphi is in the board of genivi, bmw, gm, intel, arm, Windows mostly IVI, same as Genivi, Ford.
  • #17: - Filesystem: Depending on what lesystem that is used time can vary considerably. The rst conguration used the lesystem JFFS2. This lesystem takes more time to mount than for example Cramfs or AXFS. - Quiet: During a normal boot the kernel usually prints out messages to show how the boot process progresses. These prints can be disabled by passing a ag in the arguments line that the bootloader passes to the kernel. Depending on how much output that will be printed the savings here vary but generally the time gain will be around 0.3 seconds. - BogoMIPS: BogoMIPS is a hardware dependent value that is calculated during boot of the Linux kernel. It is possible to statically pass this value in the boot argument line to the kernel so that it is not calculated each time. This naturally gives some time savings. - Disabling Legacy PTY: A PTY or pseudo terminal is a software device. There is an option in the kernel cong for enabling these legacy devices but disabling them will not cause any problems on most systems including our system. If they are enabled they will signicantly increase the boot time. - Remove Hotplug: Hotplug lets the user plug in devices and use them immediately without manually conguring them. In this case nothing is plugged in and the hardware is specic and hotplug is therefore not needed. This is an option that is disabled in the kernel before compilation. - Remove MTD: Memory Technology Device is a type of device le used for interaction with ash memory. Removing this from the kernel and statically specify the address in ash will reduce the boot time. - Replace Init: In the end of the boot the kernel will start a program named init which will spawn all other processes. This step takes some time and in a nal system this would be adapted to the actual needs through a custom init program. In our case we just replaced it with a simple shell to make the boot progress, beyond this step.
  • #19: clementes (Browse Tux)
  • #20: 4.2.2 Table with Results Conguration Before shell is started (s) After shell is started(s) Unoptimized with JFFS2 5.428 6.207 Optimized with JFFS2 2.771 2.964 Optimized with Cramfs 2.627 2.814 Optimized with AXFS 1.451 1.576 Optimized XIP with AXFS 0.189 0,360