Getting Started with DragonBoard™ for Embedded...

36
[email protected] Ryan Kuester Independent Consultant Getting Started with DragonBoard™ for Embedded Development 1

Transcript of Getting Started with DragonBoard™ for Embedded...

Page 1: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

[email protected]

Ryan KuesterIndependent Consultant

Getting Started with DragonBoard™ for

Embedded Development

1

Page 2: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

2

Page 3: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

CPU Daughterboard

APQ8060ARMv7

Dual core1.5 GHz

512 MB RAM4 GB eMMC

3

Page 4: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Video

Adreno™ 220 GPU 24-bit 1440x900

RGB4-lane MIPI DSI

HDMI Out1080p HD Video

4

Page 5: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Camera

4-lane MIPI CSI2-lane MIPI CSI

5

Page 6: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Wireless Card

Wi-Fi b/g/nBluetooth

6

Page 7: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Sensor Card

PressureTemperature

CompassAccelerometer

Gyroscope

7

Page 8: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Also

Ethernet5 SDIO

173 GPIOI2CSPI

UARTUSB OTG

I2SPCM

8

Page 9: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

>50 voltage regulators

9

Page 10: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Fully embrace the device model in drivers

Employ aggressive power management

Look to ecosystem for guidance & training

Best practices are required

10

Page 11: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Imagine what else you could build with a smartphone chipset

11

Page 12: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

12

Page 13: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

13

Page 14: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

fastbootprotocol

14

Page 15: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

15

Page 16: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

16

Page 17: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

17

Page 18: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

Normally don’t touch this

# fastboot flash $IMAGE

18

Page 19: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

# fastboot flash $IMAGE

boot.img

19

Page 20: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

# fastboot flash $IMAGE

system.img

20

Page 21: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

myDragonBoard.org

21

Page 22: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

CodeAurora Forum

repo

build system

fastboot

adb

Demo

22

Page 23: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Bootloader

Linux kernel

Misc.

Application framework

Init

23

Page 24: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

24

Page 25: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Pragmatux

25

Page 26: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

is taking Debian and deriving an OS suited for embedded devices

Pragmatux

26

Page 27: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

embraces package management

Pragmatux

27

Page 28: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

CodeMeta

SourcePackage

Target files

Pre-compiledPackage

Build

Repository

Upload

Workstation

RepositoryRepository

Device

images

Update

28

Page 29: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Package management has been lacking in the embedded Linux

community

29

Page 30: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Software components

Configuration

And development environments

Develop & deploy updates

30

Page 31: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Access to 29,000 open-source packages

Cross-tools and libraries

Compose packages from multiple sources

Superb documentation and community

Other advantages

31

Page 32: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Create develpoment workstation

Build target images

Flash DragonBoard

Kick the tires

Demo

32

Page 33: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Pragmatux

33

Page 34: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

http://www.pragmatux.org

Pragmatux

34

Page 35: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

Declarative

35

Page 36: Getting Started with DragonBoard™ for Embedded Developmentinsymbols.com/misc/dragonboard-for-embedded-linuxcon2012.pdf · PCM 8 >50 voltage regulators 9. Fully embrace the device

[email protected]

Ryan KuesterFreelance

Getting Started with DragonBoard™ for

Embedded Development

36