Skip to main content

Embedded Linux-The Magic of Open Source

Operating system (OS) is the heart of any computer device controlling tasks like process scheduling, memory management, and driver implementation. There is a large difference between OS used in main frame or desktop computers, and embedded systems


Embedded Systems

An embedded system is a miniature computer used to perform a single task. This could be a medical device monitoring heartbeat, or a flight control system. Because of size constraints, the processing power as well as memory/storage capacity is less for the same. 


Enter the brain

Embedded Linux is a stripped-down version of the original Linux kernel, used in desktops. What makes it different is its capability to run in low power embedded systems, such as smart phones, tablets, medical equipment and avionics system. This OS is a classification of RTOS (Real time operating systems). It means they process data in real time mostly from sensors measuring humidity or temperature, and provide output within a fixed deadline

 

Components

The main components are listed as below

  • Kernel: The heart of the system, it forms as a bridge between the hardware and software. Other functions include memory management, process scheduling and driver implementation.
  • Bootloader: Is initiated when the device is powered on. Performs checks on hardware peripherals for errors, as well as loads the Linux kernel to memory.
  • Root file system: Contains files and directories used by the operating system. Also includes configuration files, that if tampered can cause runtime error. Malwares usually target this area to gain access to the system 
  • Device drivers: They are the firmware that communicates between the hardware peripherals and the OS. Drivers provide information about the device type, function and connection port. This helps for isolating the peripherals from high level programming.


Cross Compilation

A feature provided by Linux kernel, where code can be transported from one machine to the other. Since embedded system lack processing power, code compilation is done on a more powerful system. This can be a desktop PC or a laptop where the code is debugged and checked for error. Then the same is uploaded to the target device. USB (Universal Serial Bus) port is used as the hardware link/connection.


User Space Application

This is the area where the user interacts with the device. This can be a GUI (Graphical User Interface) on an external display. Hardware/Software calls are made to processor such as x86/x64 or an ARM chip from the Linux kernel.   


IOT Device

Smart devices have seen a large hype recently, whether it being a personal digital assistant or a smart door lock. Embedded Linux is well suited for these type of applications because of high security, open-source status and good developer support. It seems the Linux kernel is here to stay 

Comments

Popular posts from this blog

Man In The Middle Attack - EavesDropping in the Digital World

    This is a term used to describe a cyber attack where a hacker acts as middleman, during data transfer between user and an application. The app can be a financial or an E commerce website, Software as a Service (SaaS) etc. The hacker can intercept data passed via the browser to the website, and collect sensitive information such as account and credit card details, user login etc. To put it into context, it is like a postman who reads all the letters addressed to you, then reseals the same, on delivery. This way no one suspects a foul play.   Interception This is the first phase of the attack. Here the hacker establishes a connection with the target device whether a PC, Laptop or Smart phone. This is done   through various methods   like   Free WiFi  : Here a WiFi hot spot is set up  which is not password protected. When a user logs in to the network, they are in essence connecting to the hacker's system. Now any data transfer occurs via this co...

Internet of Things-Connection Redefined

  Imagine driving home after a long day of work. En route the car instructs the residence to automatically turn on the lights, prepare a hot bath, and download the latest Netflix series. While this may seem like a line from a SciFi script, the future is more realistic than ever. Welcome to the world of IoT or Internet of Things. Though not as popular as its famous counterpart, Artificial Intelligence, its penetration into the consumer market is indeed extensive. What is IoT...... It is the term used to describe a   device, or set of devices which are connected to the internet,   and also communicate with each other. They can share data obtained from various sensors to a central hub, analyze it using  AI, and take appropriate actions. For example, a smart thermostat can read the room temperature, analyze the same, and adjust the heating system without any human intervention. Another example would be a smart camera which provides video footage when a movement is detect...

Bluetooth - You are Connected

       We are entering the era of Internet of Things (IoT) devices, where each device connects remotely to one another, and the world wide web. This makes them smart in the way of integration to Artificial Intelligence, Machine learning and Data analysis. There are number of network protocols that facilitate this peer to peer communication be it ZigBee, Matter etc. More on that later.    What is Bluetooth  Invented  in 1994 by Ericsson and widely used, Bluetooth allows for short distance communication, within 10 meter radius. The data speed is between 1 Mbps and 3 Mbps. The bandwidth is in the range of 2.4 GHz to 2.485 GHz.   Frequency Hopping Unfold Spectrum This is the underlying tech used in Bluetooth. Data signals by default have low frequency, and high bandwidth. This makes them prone to distortion, affecting long distance transmission. Also the receiving antennas  have to be large in size which is a limitation for mobile phone...