getting started with beaglebone black - embedded linux
TRANSCRIPT
Team Emertxe
Beagle Bone BlackOverview
Contents
Beagle Bone BlackContents
● Target Overview
● Booting Sequence
● Peripheral Interfaces
Target Overview
Beagle Bone BlackTarget Overview
● Know your Target Controller
● Target Architecture
● Target Board
Beagle Bone BlackTarget Overview - Target Controller
Beagle Bone BlackTarget Overview - Target Architecture
AM3359
DDR3L
EEPROM
HDMI
DBGU
USB
GPIO
Ethernet
Micro SD
eMMC
UserLEDs
Beagle Bone BlackTarget Overview - Board
Booting Sequences
Beagle Bone BlackBooting Sequence
● Controller's Booting Sequence
● Boot Loader Stages
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
Beagle Bone BlackBooting Sequence - Controller's Boot Sequence
System Startup
Initialization
__main()(stack setup)
main()
MPU WDT1 Setup
DPLL and ClockConfigurations
Booting
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
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
● Stage 1 Boot Loader
● Stage 2 Boot Loader
Beagle Bone BlackBooting Sequence – Boot Loader Stages
● 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
● 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
Thank You