getting started with beaglebone black - embedded linux

18

Click here to load reader

Upload: emertxe-information-technologies-pvt-ltd

Post on 23-Jan-2018

679 views

Category:

Technology


13 download

TRANSCRIPT

Page 1: Getting started with BeagleBone Black - Embedded Linux

Team Emertxe

Beagle Bone BlackOverview

Page 2: Getting started with BeagleBone Black - Embedded Linux

Contents

Page 3: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackContents

● Target Overview

● Booting Sequence

● Peripheral Interfaces

Page 4: Getting started with BeagleBone Black - Embedded Linux

Target Overview

Page 5: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackTarget Overview

● Know your Target Controller

● Target Architecture

● Target Board

Page 6: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackTarget Overview - Target Controller

Page 7: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackTarget Overview - Target Architecture

AM3359

DDR3L

EEPROM

HDMI

DBGU

USB

GPIO

Ethernet

Micro SD

eMMC

UserLEDs

Page 8: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackTarget Overview - Board

Page 9: Getting started with BeagleBone Black - Embedded Linux

Booting Sequences

Page 10: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackBooting Sequence

● Controller's Booting Sequence

● Boot Loader Stages

Page 11: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackBooting Sequence - Controller's Boot Sequence

● The AM338X controller has many booting options

● The SYSBOOT pins configuration decide the booting sequence

● The ROM Code creates the booting device list based on the the SYSBOOT pins

● The Booting sequence is discussed in the next slide

Page 12: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackBooting Sequence - Controller's Boot Sequence

System Startup

Initialization

__main()(stack setup)

main()

MPU WDT1 Setup

DPLL and ClockConfigurations

Booting

Page 13: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackBooting Sequence - Controller's Boot Sequence

Booting

Set the booting device list based onthe SW Booting Configuration or

SYSBOOT pins

MemoryBooting

PeripheralBooting

Process Device List

Last device in thelist

Process next device

Device is of memory type Device is of peripheral type

Jump to Initial SW

Get next device in the listNo

No more devices in the list

Yes

DeadLoop

FailFailTimeout

success success

Page 14: Getting started with BeagleBone Black - Embedded Linux

Beagle Bone BlackBooting Sequence – BBB Boot Device List

● On SW2 release

– MMC1 (on board eMMC)

– MMC0 (micro SD Card)

– UART0

– USB0● On SW2 pressed

– SPI0 (SPI EEPROM)

– MMC0 (micro SD Card)

– UART0

– USB0

Page 15: Getting started with BeagleBone Black - Embedded Linux

● Stage 1 Boot Loader

● Stage 2 Boot Loader

Beagle Bone BlackBooting Sequence – Boot Loader Stages

Page 16: Getting started with BeagleBone Black - Embedded Linux

● Pointer to Stage 2 Boot Loader

Beagle Bone BlackBooting Sequence – Stage 1 Boot Loader

ROM(ROM Code)

SRAMStage 2

Boot Loader

Kernel

Data

MMC/eMMC

Stage 1Boot Loader

Page 17: Getting started with BeagleBone Black - Embedded Linux

● Pointer to Kernel Image

● We use U-Boot as S2BL

Beagle Bone BlackBooting Sequence – Stage 2 Boot Loader

Stage 2Boot Loader

Kernel

Data

MMC/eMMC

Stage 1Boot Loader

Page 18: Getting started with BeagleBone Black - Embedded Linux

Thank You