The ABCs of the Beagle Boardx M Gerald
The ABCs of the Beagle. Board-x. M Gerald Coley G-coley 1@ti. com gerald@beagleboard. org 11/26/2020 1
Find the right ARM® Solution for you MPUs – Microprocessors 11/26/2020 32 -bit ARM MCU for Safety-Critical Applications 32 -bit ARM Cortex™-M 3 MCUs ARM Cortex-A 8 & ARM 9™ MPUs TMS 570 Stellaris® Sitara™ ARM Cortex-R 4™ ARM Cortex-M 3 ARM Cortex-A 8 & ARM 9 Up to 250 DMIPS/ 160 MHz Up to 80 MHz 375 MHz to >1 GHz DSP+ARM C 6000™ Integra™ Da. Vinci™ Digital Media processors 300 MHz to >1 Ghz +Accelerator Cache RAM, ROM Flash Cache, 8 KB to 256 KB RAM, ROM FPU, ECC, Timer/PWM USB, ENET, USB, CAN, SATA, Co-Proc, 12 bit ADCs, CAN, MAC+PHY CAN, PCIe, SATA, SPI, PCIe, EMAC EMIF, LIN, SPI, Flexray ADC, PWM, SPI Transportation, Motor Connectivity, Security, Industrial automation, Floating/Fixed Point Control, Certified for use in Video, Audio, Voice, Motion Control, HMI, POS & portable safety critical (SIL 3) systems data terminals Security, Conferencing Industrial Automation $7. 00 to $18. 00 $5. 00 to $200. 00 $5. 00 to $25. 00 $1. 00 to $8. 00 2 MB Flash, 160 KB RAM Development tools Software support Comprehensive developer ecosystem Responsive design support 2
Agenda • Introduction to Beagle. Board. org • Meet the Beagles • Beagle. Board-x. M Walkthrough • Qt Demo • Working with the Community • OS and Distro Options • Questions 11/26/2020 3
What’s in the name…Beagle • Bring your own peripherals • Entry-level cost • ARM Cortex-A 8 (superscalar) • Graphics and/or DSP accelerated • Linux and open source community • Environment for innovators 11/26/2020 4
Beagle Community > 3, 200 participants and growing Active & technical community Open access to hardware documentation Opportunity to tinker and learn 11/26/2020 Personally affordable Addressing open source community needs Wikis, blogs/RSS, promotion of community activity Freedom to innovate Multiple OS and distribution support, applications Free software 5
Why such an active community? § $149/179 for same core processing as used in Affordable Freedom to tinker at all levels Lots of open starting points Large and experienced community Open ecosystem provides real options § § § more expensive, yet popular, commercial products Focus on open source, open hardware and DIY § Tens-of-thousands of boards sold exclusively in small quantities All design, test, web, etc. materials shared § Teaching tool for high-level OS on embedded § The Beagle. Board community shares § § § Over 150 registered projects on Beagle. Board. org Part of the Google Summer of Code with 6 on-going projects to improve Linux, XBMC, and other open source Average of around 5 articles or blog posts a day Over 3, 200 English-language mailing list subscribers with additional dedicated mailing lists in Japanese and Portuguese and numerous project oriented mailing lists in dozens of languages Hundreds of followers on each of Facebook, Twitter, and Linked. In Rich ecosystem using the design materials § § § 11/26/2020 Ubuntu, Debian, Angstrom, Gentoo, Win. CE, Symbian, QNX, and many others Compatible or enhanced system-on-module/computer-on-module designs § See http: //beagleboard. org/resources Innovative mobile computers (Touch. Book) Radios (Beagle. Brick) Modular rapid prototyping development systems (Bug 2. 0) And many add-ons… 6
Open source, do-it-yourself, and pro developers embracing the Beagle. Board FFmpeg Beagle. Board Video Wall • Firefox • Ubuntu 10. 04 • Android • Gnome • Angstrom Distribution • Gentoo • Win. CE • QNX • Flash • Monta. Vista MVL 6 and Montabello • Time. Sys Linux. Link • Ridge. Run SDK • ARM DS-5 and ALIP • Halcon machine vision • Beagle. Board video wall (>1080 p video) • … Open. CV ARM DS-5 for the Beagle. Board 11/26/2020 7
Beagle is Open Source Hardware • Every component used in the design of the BB is available for purchase • Schematics are provided in: – Or. Cad – Altium – PDF • PCB files are provided in: – Allegro – Altium – Gerber • Bills of materials are provided in Excel • Anyone is free to use the design material in their product 11/26/2020 8
Where can I get a Beagle? • Digi-Key (World-wide) • Mouser (World-wide) • IDA Systems (India) • Spark. Fun • Special Computing • Watterott Electronic (Germany) • Liquidware • . . more online soon (Brazil and China) 11/26/2020 9
Meet the Beagles…. . A Tail of Two Beagles • Original Version Rev C – – ARM Cortex. TM-A 8 @ 720 MHz Commonly known as the Beagle. Board Rev C Launched August of 2008 21, 000 shipped • Newest Version -x. M – – 11/26/2020 ARM Cortex. TM-A 8 @ 1 GHz Launched August 2010 Ramping production 2, 000 shipped to date 10
Fast, low power, flexible expansion Rev C OMAP 3530 Processor § 720 MHz Cortex-A 8 § NEON+VFPv 3 § 16 KB/16 KB L 1$ § 256 KB L 2$ § 430 MHz C 64 x+ DSP § 32 K/32 K L 1$ § 48 K L 1 D § 32 K L 2 § Power. VR SGX GPU § 64 K on-chip RAM POP Memory § 256 MB LPDDR RAM § 256 MB NAND flash 11/26/2020 $149 3. 1” Peripheral I/O § DVI-D video out § SD/MMC § S-Video out § USB 2. 0 HS OTG § I 2 C, I 2 S, SPI, MMC/SD § JTAG § Stereo in/out § Alternate power § RS-232 serial USB Powered § 2 W maximum consumption § OMAP is small % of that § Many adapter options § Car, wall, battery, solar, … 11
And more… Other Features § 4 LEDs § USR 0 § USR 1 § PMU_STAT § PWR § 2 buttons § USER § RESET § 4 boot sources § SD/MMC § NAND flash § USB § Serial 11/26/2020 3. 1” Peripheral I/O § DVI-D video out § SD/MMC § S-Video out § USB HS on-the-go § I 2 C, I 2 S, SPI, MMC/SD § JTAG § Stereo in/out § Alternate power § RS-232 serial 12
Beagle. Board–x. M • 2, 000 Dhrystone MIPS performance with ARM® Cortex™-A 8 x. M means Extra MHz and Extra MB • 512 MB POP memory enabling – Native builds of Ubuntu and other distros – More multitasking with complex apps like Firefox or Open. Office. org • Robust expansion with more direct connectivity without external hubs; – On-board Ethernet – Five USB 2. 0 ports • USB-powered board via low power processor integration $179 11/26/2020 13 13
Beagle. Board-x. M details Laptop-like performance 3. 35”** DM 3730 processor (AM 37 x-compatibile) § 1 GHz superscaler ARM® Cortex ™-A 8 § More than 2, 000 Dhrystone MIPS § Up to 20 Million polygons per sec graphics § 512 KB L 2$ § 512 MB LPDDR RAM § HD video capable C 64 x+™ DSP core 11/26/2020 DM 3730 Desktop-style USB peripherals and embedded style expansion § LCD Expansion § I 2 C, I 2 S, SPI, MMC/SD Expansion § DVI-D § Camera Header § S-Video § JTAG § 4 -port USB 2. 0 Hub § Stereo Out § Stereo In § 10/100 Ethernet § USB 2. 0 HS OTG § Alternate Power § RS-232 Serial § micro. SD Slot 14
Beagle. Board-x. M details • Ships with 4 GB u. SD card with diagnostic Linux load – No desktop • Wiki Diagnostic page – – 11/26/2020 http: //code. google. com/p/beagleboard/wiki/Beagle. Board. Diagnostics. Next Diagnostic image (Ships with board) Full desktop Angstrom demo image Source code w/Build instructions 15
Use your Beagle. Board like a desktop SD USB Stereo in Stereo out Power DVI-D 11/26/2020 16 16
Take your Beagle. Board anywhere & crank code on the go Serial Port Power over USB 11/26/2020 17 17
Expand your Beagle. Board Turn innovations into massproduced products to share with the world USRP USB Power SD 16 GB Stereo out 11/26/2020 18 Photo by Philip Balister 18
Beagle. Board-x. M Demo Boot the -x. M • A short demo walkthrough of the Beagle in action – Production Beagle. Board-x. M version • Setup: – – – Connect the LCD monitor (Projector) using HDMI-to-DVI-D cable Connect your keyboard and mouse to the board Insert your SD card (comes inserted from the box) Connect the power Watch it boot Watch the blinking LEDs 11/26/2020 19 19
Beagle. Board-x. M Demo TI Matrix GUI • Web browser with HTML code served up from the board • Written in Qt • Includes ability to launch apps Show Me Click 3 D Graphics Click Chameleon Close window Select Main Select Exit 11/26/2020 20
Beagle. Board-x. M Demo Gnome Desktop • Just one of the desktop options as part of the Angstrom Distribution • Menu bar at top gives list of installed programs • Add other applications using ‘opkg’ Show Me Applications Click Applications Scroll down the Menu Close window 11/26/2020 21
Beagle. Board-x. M Demo System Monitor • Monitors the system performance • Displays CPU loading Show Me System Monitor Select Applications Select System Tools Select System Monitor Select Resources Tab 11/26/2020 22
Beagle. Board-x. M Demo Frequency Scaling • Monitors the system performance • Gnome Media Player Show Me Freq Scaling Select 1 GHz Icon Select 600 MHz Select 600 MHz Icon Select 1 GHz Close window all windows 11/26/2020 23
Beagle. Board-x. M Demo GNOME MPlayer • GNOME Multimedia player • Comes standard in Desktop Image • Big Buck Bunny is an open source project from the Peach Open Movie Project. Show Me GNOME MPlayer Select Big. Buck Icon 11/26/2020 24
The Linux command-line • There is a shortcut on the desktop to open a terminal • Can also use an external debug port over the serial port Show Me Terminal Select Applications Select Terminal 11/26/2020 25
GUI building with Qt Qt C++ framework is just one option for creating graphical applications, but it is fast, flexible, cross-platform and well-supported by an open source community Thanks to Gregg Lebovitz of ICS 11/26/2020 26
Qt architecture 11/26/2020 27
Qt Creator http: //qt. nokia. com • Integrated development environment – Runs on Windows, Mac, or Linux – Designer for your GUIs – C++ editor and debugger • Build your GUI on your PC, then move it over to the Beagle. Board to add I/O, etc. – Angstrom Linux distribution has the compiler and libraries ready to build Qt apps natively on your Beagle. Board 11/26/2020 28
Qt Demos • Descriptions not compiled in here • Lots of different GUI tools • Many other programming tools, like networking, IPC, 3 D, database, … Show Me Qt Select Applications Select Terminal Type qtdemo Select Graphics View Select Ported Asteroids Select Launch Close and select Back Select Desktop Select Screenshot Select Launch Close all windows 11/26/2020 29
Working With The Community Order of resources 1. Search beagleboard. org, e. Linux. org, the mailing list archive, and IRC logs 2. Read and search BBSRM_latest. pdf 3. Check the http: //beagleboard. org/faq link 4. Search the web 5. Try something • Gives you some perspective on what to ask Ask on IRC and be patient/polite 6. • Don’t disrupt everyone Mailing list 7. • Individual developers will go away if load isn’t shared • If you can help, please do! 11/26/2020 30 30
Working With The Community How to ask for help http: //catb. org/~esr/faqs/smart-questions. html • Know the on-line resources • Know the on-line community • Know the manual • Listen to the answers • Share the answers you find 11/26/2020 31 31
Working With The Community The community perspective • Earn respect by saying what you’ve done and how you’ve tried to find an answer – Where did you search? – What did you try on the board? • You aren’t entitled to an answer – Show that you are willing to work for it and the community will feel you are a part of it – Impatience implies that your time is more valuable than others in the community 11/26/2020 32 32
Working With The Community Chat, mail, forums, blogs, and wikis! • All exist because they all solve different problems • Chat allows you to know someone’s listening http: //beagleboard. org/chat or #beagle on irc. freenode. net – Great for beginner questions and rapid coordination • Mail allows you to reach almost anyone http: //groups. google. com/group/beagleboard – Brings larger group into the conversation – Provides you with a personal log in your inbox • Forums helps get the threads organized https: //community. ti. com/forums/32. aspx (minimal activity to avoid disrupting community critical mass) • Blogs provide emphasis, filtering, and timeliness http: //beagleboard. org/news and http: //beagleboard. blogspot. com • Wikis enable inputs to become documentation http: //e. Linux. org/Beagle. Board and http: //code. google. com/p/beagleboard/wiki 11/26/2020 33
Working With The Community Order of resources Chat on IRC • http: //freenode. net/ – – – • #beagle: discussion of the Beagle. Board #gst-ti: discussion of GStreamer with TI DSP components #ubuntu-arm: discussion of Ubuntu on ARM processors #rowboat: discussion of Android on OMAP & Sitara devices #linux-omap: discussion of OMAP Linux kernel IRC clients – http: //beagleboard. org/chat – http: //pidgin. im – http: //www. mirc. com – – 11/26/2020 /List_of_IRC_clients http: //www. ircreviews. org/clients http: //en. wikipedia. org/wiki 34
Working With The Community Baseline tools and software http: //beagleboard. org/resources 11/26/2020 • Hardware verification procedure (http: //beagleboard. org/support) – GPL x-load, u-boot, Linux kernel, and demo distro for validation – Code images, procedure, and sources are provided to verify the board functionality • GPL ARM GNU compiler collection (GCC) – Code Sourcery version 2009 q 1 is the latest supported by TI • Runs on Linux/Windows and generates ARMv 7/Thumb 2 – Angstrom version is utilized in ESC training and demo image on x. M • Access to C 6000 with compilers and open source software – Free TI C 6000 compiler for non-commercial use • x 86 -Linux hosted (ARM hosted version in evaluation) – GPL GCC compiler in progress (http: //linux-c 6 x. org) – C 6 Run (DSPEasy) project to simplify development model – BSD/GPL DSP/Link interface software • Free 3 D graphics libraries (Open. GLES 2. 0) • Free production audio/video codecs for the DSP 35
OS and Distro Options Angstrom and Open Embedded http: //www. angstrom-distribution. org/demo/beagleboard • Angstrom is what we are running today • OE = metadata and bitbake = build tool – Used by Ridge. Run, Mentor Graphics, Monta. Vista, Wind. River, and many others – Builds many distributions besides Angstrom 11/26/2020 36 36
OS and Distro Options Ubuntu https: //wiki. ubuntu. com/ARM/Beagle • Most popular Linux distribution • Has support for the Beagle. Board – Netbook, server, and network installers • Builds all packages natively • Boots of the u. SD card 11/26/2020 37
OS and Distro Options Android http: //arowboat. org • Uses most of the Linux kernel, but own versions of user-space applications • Runs applications within a virtual machine • At least half-a-dozen companies provide commercial support for Android on the Beagle. Board • Rowboat is the one endorsed by TI • 0 xdroid (0 x 1 ab) and Embinux are also interesting and free 11/26/2020 38 38
OS and Distro Options Mee. Go http: //wiki. meego. com/ARM/Meego_on_Beagleboard_from_scratch • The combination of Moblin and Maemo • Maemo was the first of the two and started on OMAP processors • Good support on the Beagle. Board with demonstrations directly from the Linux Foundation • Initially focused on Internet Tablets and Netbooks • Very interesting for automotive infotainment 11/26/2020 39 39
OS and Distro Options Gentoo https: //www. slashorg. net/48 -Gentoo-port-for-Beagle. Board. html • Builds every package from source • The Linux distribution the Beagle. Board. org web server runs • Builds ARM applications both natively and cross 11/26/2020 40 40
OS and Distro Options QNX http: //www. qnx. com/products/reference-design/ti-reference-design. html • See Foundary 27 • Not Linux, but Posix compliant and real-time • Great for time critical and high reliability applications 11/26/2020 41 41
OS and Distro Options Symbian http: //developer. symbian. org/wiki/index. php/Beagle. Board_Quick_Start • Most popular smart phone operating system • Initial open source release was on the Beagle. Board 11/26/2020 42 42
OS and Distro Options Win. CE http: //beagleboard. org/esc • Real-time • Advanced GUI and code tools • Lots of code libraries available • Low-cost entry through “Spark” 11/26/2020 43 43
Questions? Thank you! • g-coley 1@ti. com • gerald@beagleboard. org • http: //beagleboard. org/chat • http: //beagleboard. org/discuss 11/26/2020 44
- Slides: 44