Unit II oprating system in raspberry pi
Unit II oprating system in raspberry pi
7. DietPi
How to Choose:
1. Core Pipeline
2. Cache System
4. Jazelle Technology
1. Provides hardware acceleration for Java bytecode execution.
2. Optimizes performance for Java-based applications by reducing interpretation
overhead.
5. Vector Floating Point (VFP) Coprocessor
A specialized hardware unit for floating-point arithmetic operations.
Enhances performance in applications requiring mathematical computations, such
as multimedia and scientific processing.
6. Trust Zone Security Extensions
A security architecture that creates two execution environments:
Secure World: For trusted operations like secure key storage.
Normal World: For regular operations.
Ensures data integrity and confidentiality, especially for embedded and mobile
devices.
7. AMBA Bus Interface
The Advanced Microcontroller Bus Architecture (AMBA) connects the CPU
core with other system components like memory, peripherals, and coprocessors.
Ensures efficient communication and data transfer across the system.
8. Debugging and Trace Units
Embedded Trace Module (ETM): Enables real-time debugging and
performance analysis.
JTAG Interface: Provides hardware debugging capabilities.
9. Clock and Power Management
Includes mechanisms to optimize power consumption.
Dynamically scales performance and power usage based on workload
requirements.
10. Interrupt Controller
Manages hardware interrupts for efficient task switching.
Supports both standard and fast interrupts for low-latency response.
The 1176 is one of the more advanced cores in this series, offering features
like support for multimedia processing and a floating-point unit (FPU).
J:
Stands for Jazelle technology, a feature enabling hardware acceleration of
Java bytecode execution.
Z:
Indicates the inclusion of Trust Zone technology. Trust Zone provides a
secure execution environment, enabling trusted operations alongside normal
system operations, commonly used for secure payments, DRM, and sensitive
data protection.
F:
Denotes the presence of a Floating-Point Unit (FPU). The FPU accelerates
mathematical calculations, particularly those involving decimal points,
making the core suitable for multimedia and signal processing tasks.
S:
Refers to the synthesizable nature of the core. A synthesizable core can be
customized and implemented in a variety of chip designs, providing
flexibility to chip manufacturers.
Pipelining in ARM :
A Pipelining is the mechanism used by RISC (Reduced instruction set computer) processors
to execute instructions, by speeding up the execution by fetching the instruction, while other
instructions are being decoded and executed simultaneously, which in turn allows the
memory system and processor to work continuously.
The pipeline design for each ARM family is different. Pipelining is a design technique or a
process which plays an important role in increasing the efficiency of data processing in the
processor of a computer and microcontroller. By keeping the processor in a continuous
process of fetching, decoding and executing called (F&E cycle). ARM devices need
pipelining because of RISC as it emphasizes on compiler complexity. Each stage is
equivalent to 1 cycle, that is n stages = n cycles.
Pipeline:
3 stage pipelining:
Execute processes the instruction and writes the result back to the register.
By over lapping the above stages of execution of different instructions, the speed of
execution is increased.
The pipelining allows the core to execute an instruction every cycle, which results in
increased throughput.
The ARM pipeline doesn‘t process an instruction until it passes completely through the
execution stage.
In the execution stage, the PC always points to the instruction address + 8 bytes.
When the processor is in thumb state, PC always points to the instruction address + 4 bytes.
While executing branch instructions or branching by direct modification of PC causes the
ARM core to flush it‘s pipeline.
As instruction in the execution stage will complete its execution even though an interrupt
has been raised.
ARM 7 –
ARM 9 –
5 stage pipelining:
Decode- It decodes the instructions that were fetched in the first cycle.
ALU – It executes the instruction that has been decoded in the previous stage.
LS2 (Write) Extracts (zero or sign) extends the data loaded by byte or half word load
instruction.
Because of an increase in stages and efficiency, the throughput is 10%-13% higher than
ARM 7.
Core frequency of ARM 9 is slightly higher than that of ARM 7
ARM 10
It is a six stage pipeline, which in turn takes 6 cycles to complete the process.
Same as that of ARM 9 but with an issue stage which checks whether the instruction is
ready to get decoded in the current stage or not.
It nearly doubles the throughput than that of ARM 7.
The core frequency is higher than that of ARM 9.
Pipeline stages used by ARM1176JZF-S: CPU Pipeline
Cache Organization
A fast buffer lies between the main memory (RAM) and the CPU called the CPU Cache. The
main purpose of this model is to cut down the latency associated with the fetching process
from main memory to the CPU register. Two main categories of CPU caches exist: I
(Instruction)-Cache and D (data)-Cache.
GPU Overview
Broadcom Videocore IV GPU
Tile-based renderer (TBR) that use up to four cores
40 nm technology
Integrated graphics card so shared memory
Capable of Blu-Ray quality of 1080p with H.264 at 40Mb/s
Graphics performance is similar to the Xbox 1
24 GFLOPS of general purpose computational power
Has texture filtering and DMA infrastructure
OpenGL ES 1.1, OpenGL ES 2.0, hardware accelerated OpenVG 1.1, Open EGL,
and OpenMAX
Questions:
1. What are the benefits of Raspberry pi operating system ? (4M)
2. Write a note on different types of operating systems and their applications that
are used in Raspberry Pi.(4M)
3. Draw and explain block diagram of Raspberry Pi in detail (8M)
4. Give the comparison between BCM 2835/BCM 2836/BCM 2837 (4M/8M)
5. State the characteristics of Broadcom processor BCM 2835/BCM 2836/BCM
2837.
6. Draw and explain block diagram of ARM1176JZF-S (8M)
7. What is mean pipelining in ARM? Explain 3 stage pipelining in ARM(4M).
8. What is mean pipelining in ARM? Explain 5 stage pipelining in ARM (4M).
9. With the help of diagram explain cache organization in Raspberry pi(8M)
10. Draw the diagram for Pipeline stages used by ARM1176JZF-S: CPU Pipeline
1. Execution flow for ALU operations
2. Execution flow for Multiply operations
3. Execution flow for Load/Store operations