at91sam linux introduction
Download
Skip this Video
Download Presentation
AT91SAM Linux Introduction

Loading in 2 Seconds...

play fullscreen
1 / 10

AT91SAM Linux Introduction - PowerPoint PPT Presentation


  • 116 Views
  • Uploaded on

AT91SAM Linux Introduction. What do you need to setup a complete Linux system?. Morning Agenda. Environment Setup. Hands-on 01. U-Boot Introduction. Use TFTP on U-Boot. Hands-on 03. NFS Use. Hands-on 04. Kernel Building. Hands-on 05. AT91 Linux Introduction. Linux Getting Started.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' AT91SAM Linux Introduction' - jocelyn-mays


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
at91sam linux introduction
AT91SAM Linux Introduction

What do you need to setup a complete Linux system?

morning agenda
Morning Agenda

Environment Setup

Hands-on 01

U-Boot Introduction

Use TFTP on U-Boot

Hands-on 03

NFS Use

Hands-on 04

Kernel Building

Hands-on 05

AT91 Linux Introduction

Linux Getting Started

Hands-on 02

outlines
Outlines

Embedded Linux overview

AT91 Linux components and functions

AT91 Linux boot sequence

AT91 Linux ecosystem

Summary

embedded linux overview
Embedded Linux Overview

HOST

OS(Ubuntu 11.04)

Cross-platform

Development

Environment

TARGET

Bootloader

Kernel

Root File System

Serial Cable

Ethernet Cable

USB Cable

  • Host
    • OS (Linux/Windows)
      • For develop tools
    • Virtual Machine (Linux)
      • For develop tools
    • Tools
      • SAM-BA, Serial port terminal
    • Cross-platform development environment
      • Different CPU architecture

Linked Connection

    • For deploy and debug
  • Target
    • Bootloader
      • Initialization of the board
      • Load kernel
    • Kernel
      • Drivers
    • Root File System
      • CUI/GUI
      • Applications packages
linux components functions
Linux Components & Functions

A Linux system requires several components:

  • Bootloader(s)
    • Configure the memory system.
    • Load the kernel image at the correct memory address.
    • Optionally load an initial RAM disk at the correct memory address.
    • Initialize boot parameters for the Linux kernel.
    • Obtain the ARM Linux machine type.
  • Linux kernel image
    • Usually a compressed image is used (zImage)
    • Some bootloaders (Ex: U-Boot) do not support normal kernel image and have to convert it to another format: uImage
  • Root file system
    • The kernel needs a root file system to mount at startup.It contains init program, applications, libraries, data….
at91sam linux components and functions
AT91SAM Linux components and functions

AT91 ROM code (embedded in the board)

  • Provide USB connection for SAM-BA
  • Determine where to boot the system

AT91 Bootstrap

  • Configure the memory system.
  • Low level hardware initialization
  • Load U-Boot image to RAM and run it.

U-Boot

  • Initialize network connection and flash read/write functions.
  • Load the kernel image at the correct memory address.
  • Initialize boot parameters for the Linux kernel.

Kernel

  • OS

Root FS

  • Applications
  • Libraries
  • UI
at91 linux boot sequence nand flash
AT91 Linux boot sequence – NAND flash

InternalMemories

NAND flash offset:

Root FS

0x00400000

Linux Kernel

Linux Kernel

0x00200000

SAMBA Boot

U-Boot

U-Boot

0x00020000

NandFlash-Boot

NVM Boot

NandFlash-Boot

AT91Bootstrap

AT91Bootstrap

0x00000000

ROM

NAND FLASH

Physical Addr:

Linux Kernel

0x72200000

AT91Bootstrap

U-Boot

0x73F00000

0x00300000

DDRAM

9X5 addr is 0x2xxxxxxx

SRAM

Current running Application in Red

linux4sam http www linux4sam org
Linux4SAM – http://www.linux4sam.org

Centralize information about Linux Kernel and open source project on AT91 products

Experimental patches (not yet submitted)

AT91 Linux Demo including bootstrap, u-boot, Linux kernel and root file system

ecosystem diagram
Ecosystem Diagram

A Linux system requires several components:

AT91Linux -> ARM Linux -> Mainline Linux

http://www.kernel.org is the goal

http://www.linux4sam.org

http://www.at91.com/android4sam.org

more information at91sam os ecosystem
More information AT91SAM OS Ecosystem:
  • AT91SAM Linux Ecosystem http://linux4sam.org
  • AT91SAM WinCE Ecosystem http://www.at91.com/windows4sam
  • AT91SAM Android Ecosystem http://www.at91.com/android4sam
  • AT91SAM community forum: http://www.at91.com
ad