boxes_img2

Embedded Linux

Platform Developer

Course Description

Advanced training program on Embedded Linux platform development with comprehensive coverage on target board bring up, Embedded Linux porting, Linux kernel BSP and Embedded Linux Device Driver Development

Course Highlights

  • Detailed analysis of modern embedded hardware architectures and board bring up strategies
  • In depth understanding of open source boot loader “uboot”
  • Hands on sessions on uboot customization for new targets
  • Hands on sessions on Embedded Linux porting strategies
  • Analysis and detailed walkthrough of Embedded Linux board support code
  • Analysis and detailed walkthrough of Embedded Linux board support code Analysis and walkthrough of Embedded Linux video and audio driver stacks
  • Hands on sessions on multi-media application porting
  • Hands on sessions on various hardware targets including Mini 2440, Omap, Zed etc.

Who should attend?

Developers looking to master or expecting assignments/projects in the following core areas:
  • Embedded Linux Porting
  • Linux BSP development
  • Uboot Customization
  • Embedded Linux Driver Development
  • Android System Development
(OR)
  • GNU C programmers looking to master Embedded Linux, BSP and Embedded Device Driver Development
  • Experienced developers looking for a refresher course on Linux BSP and Embedded Device Driver Development.

Course pre-requisites

  • Good programming skills using GNU C
  • Application programming experience on Linux platform
  • Linux kernel programming basics
(OR)
  • Participants who have undergone “Linux Kernel and Driver Developer” course from Veda Solutions

Course Contents:

Part 1: Embedded Hardware

Understanding Embedded Systems

  • Embedded systems landscape
  • Attributes of Embedded Systems
  • Trends in Embedded technology
  • Embedded Platform Architecture
  • Embedded Processor Architecture
  • Microcontroller, microprocessors and SOC

Understanding Embedded Boot sequence

  • Boot technology considerations
  • Role of Bootstrap Processor
  • Boot components
  • Hardware Power sequences
  • RESET vectors
  • CPU initialization
  • Device Initialization
  • Boot device selection

Understanding ARM Architecture

  • Introduction to ARM architecture
  • Processor modes
  • ARM Registers
  • ARM Endian Support
  • ARM Instruction Set
  • Addressing modes
  • The System Control Processor

Embedded Target boards (ARM Soc based)

  • Understanding Target board schematic
  • Interpreting Target board manuals/data sheets
  • Identifying key components on Target board
  • Identifying various Device interfaces
  • Understanding Memory maps

Part 2: Platform BSP

Embedded Board Support Packages

  • Introduction to BSP
  • BSP design considerations
  • Various stages in Board Support Code

Working with components of BSP

  • Introduction to BootROM
  • BootROM design
  • BootROM design considerations
  • BootROM code
  • BootROM executions trace
  • Memory organization
  • Introduction to FSBL
  • FSBL functionalities
  • FSBL design standards
  • Getting hands on with FSBL (case study)
  • Build & Running FSBL
  • FSBL Call Graph
  • Introduction to SSBL
  • Types of SSBL
  • SSBL as primary bootloader

Uboot

  • Introduction to Uboot
  • Key Features
  • Supported Platforms & Processors
  • Supported Boot modes

Uboot source walk-through

  • Uboot source tree layout
  • Memory organization
  • Memory relocation
  • Stack setup
  • Important Misc.

Uboot build and setup

  • Build structure
  • Building U-Boot for emulator
  • Building U-Boot for physical target
  • Creating flash partitions
  • Environment variables
  • Commands
  • Uboot call graph

Customizing Uboot for new targets

  • Uboot source tree in detail
  • Porting/upgrading u-boot
  • Coding guidelines
  • Customizing configuration files
  • Target specific modifications
  • Customizing/adding drivers
  • Customizing/adding new commands
  • Uboot scripts
  • Hosting Apps on Uboot

Part 3: Embedded Linux & Application Porting

Embedded Linux overview

    • Linux as an Embedded Operating system
    • Linux and open source Ecosystem for Embedded Devices
    • Linux kernel facilities for Embedded Devices
    • Understanding Linux system Boot Process
  • Introduction to Linux system components

Building kernel Image

  • Kernel Source tree organization
  • Introduction to kernel Build system
  • Understanding Kconfig and Make scripts
  • Kernel configuration for target
  • Cross compiling kernel source
  • Linker scripts
  • Build analysis
  • Kernel parameters

Upgrading/Porting kernel to specific target

  • Prerequisites
  • Generic procedure
  • Kconfig language and Makefile
  • Module by module porting

Linux File Systems for Embedded Storage

  • Need for flash file systems
  • Linux File system support for Flash memory
  • Understanding jffs2 file system
  • Enabling kernel support for jffs2
  • Understanding UBI file system
  • Enabling kernel support for UBIFS
  • Understanding Cramfs
  • Enabling kernel support for Cramfs
  • Understanding SquashFS
  • Kernel support for SquashFS
  • Understanding YAFFS2
  • Kernel support for YAFFS2

Root File system

  • Understanding Linux Init process
  • Need of root file system
  • Understanding Unix File system hierarchy
  • Choosing root file system layout
  • Startup scripts
  • Choosing system binaries and utilities
  • Cross-compiling and hosting Apps
  • Populating device nodes

Cross-compiler tool-chains

  • Need for cross tool-chain
  • Different tool-chains’ build procedures
  • Using pre-build cross tool-chain
  • Building cross tool-chain using cross tool-NG
  • Using Scratch box
  • Need for log daemons
  • Setting up log daemons
  • Building fs image

Deploying & Testing Linux system on target

  • Flashing U-boot to target
  • Booting Linux kernel from DDR
  • Flashing kernel image to target
  • Deploying RFS through initrd(ramdisk)
  • Deploying RFS through initramfs
  • Deploying RFS through NFS
  • Flashing root file system to target
  • Kernel boot from NOR flash
  • Kernel boot from NAND flashes
  • Kernel boot from SD/MMC
  • Kernel boot from Serial flashes

Network services and utilities

  • nfs
  • Telnet
  • Ssh
  • Dhcp
  • Snmp
  • http

Graphical interface frameworks

  • X.org
  • Fltk
  • Nano-x
  • Gtk
  • WxEmbedded
  • Qt for Embedded

Porting multimedia Apps

  • Audio Apps
  • Video Apps
  • Direct media layer
  • DirectFB
  • Video for Linux
  • Digital video broadcasting

Part 4: Embedded Linux BSP

Linux BSP basics

  • Linux BSP components
  • Platform Devices
  • Understanding timers
  • Understanding interrupts
  • Understanding clocks
  • Understanding power management
  • Understanding memory map
  • Understanding interrupts
  • Understanding GPIO

Hardware Clocks

  • Introduction to clocks
  • Clock types and significance
  • Linux clock management framework
  • Using clock interfaces in drivers

Power Management

  • Introduction to power management
  • Device power management and significance
  • Linux power management framework
  • Using power API’s in drivers

Device Tree (FDT)

  • Introduction to Device tree
  • Device Tree Script (dts)
  • Device Tree compiler(dtc)
  • Device Tree Blob (dtb)
  • Booting Linux with device tree
  • Device tree and drivers

Part 5: Embedded Linux Device Drivers

Linux device driver model

  • Introduction to device driver model
  • Design objectives
  • Hotplug drivers
  • Sysfs filesystem
  • Procfs filesystem
  • Debugfs filesystem

Linux device drivers

  • Overview of Linux device drivers
  • Categories of Linux device drivers

Handling Platform devices

  • Linux platform driver stack
  • Platform devices Enumeration
  • Hands on with platform drivers

RTC

  • Basic RTC operation
  • Linux RTC subsystem
  • Implementing RTC driver

Handling SPI interface

  • Introduction to SPI Bus
  • SPI protocols
  • Linux SPI subsystem
  • SPI drivers

Handling GPIO

  • Introduction to GPIO
  • Linux GPIO management
  • Accessing GPIO interfaces

Handling Input devices

  • Introduction to input devices
  • Linux Input subsystem
  • Implementing input drivers (Keypad, mouse, Touch screen)

USB

  • USB protocol introduction
  • Linux USB subsystem
  • Linux USB OTG subsystem
  • Implementing USB driver for Mass storage protocol

SD/MMC

  • SD/MMC protocol introduction
  • Linux SD/MMC subsystem
  • Implementing SD/MMC driver

Watchdog

  • Basic watchdog operation
  • Linux watchdog subsystem
  • Implementing watchdog driver

UART controller

  • UART introduction
  • Linux UART stack
  • Implementing UART driver

Console Devices

  • Introduction to console
  • Need for console dev
  • Writing Console Driver

Handling i2c interface

  • Introduction to i2c
  • i2c protocol
  • Linux i2c driver stack
  • i2c adapter driver
  • i2c bus manager
  • i2c client drivers

NAND

  • Introduction to MTD devices
  • Linux MTD Subsystem
  • NAND device introduction
  • Implementing NAND driver

Ethernet

  • Network protocols introduction
  • Introduction to Ethernet
  • Implementing Ethernet driver

Audio Devices

  • Basic audio operation
  • Audio codec’s introduction
  • Linux Audio Subsystem
  • Implementing audio drivers

Display/LCD

  • Basic display operation
  • Linux Display Subsystem
  • Implementing display drivers

Frame buffer and Video Devices

  • Introduction to Linux Video Subsystem
  • Analysis of Frame Buffer Driver

Part 6: Debugging Tools

User space tools

  • GDB, gdb server
  • Valgrind

Kernel space tools

  • Printk
  • Kernel OOPS
  • KDB
  • KGDB

Boot time measurement tools

  • Grabserial
  • Bootchart

Part 7: Open Source Development

Open Source Contribution

  • Importance/Benefits of open source contributions
  • Open Source project management Practices
  • Development tools required

Source control tools (GIT)

  • Overview of GIT
  • Useful git commands
  • Open source projects hosted under Git

Using GIT

  • How to clone an existing git tree
  • How to create your own working branch in existing git tree
  • How to create patches against the reference tree
  • Review of few useful commands

Merging GIT trees

  • How to upgrade your source tree in sync with mainline tree version
  • How GIT tree merging works
  • How to merge the mainline tree changes into your internal tree
  • How to merge BSP into mainline

Contributing patches

  • How to send your own patches to mainline GIT tree
  • Precautions, while sending patches to mainline
  • Other important open source contribution tips
  • >> Classroom
    • Course Name :
      Embedded Linux Platform Developer
    • Next batch starts :
      To be Announced
    • Class Timing :
      10:00 am to 05:00 pm
    • Course Duration :
      4 Weekends
    • Course Fee :
      Rs.19,000/-
  • >> Audio/Video
    • Course Name :
      Embedded Linux Platform Developer
    • Next batch starts :
      Not Available
    • Class Timing :
      Not Available
    • Course Duration :
      Not Available
    • Course Fee :
      Not Available
  • >> Online

Course feedbacks

Success Stories

Related Articles