Building Embedded Linux Systems with Buildroot
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Embedded Linux Systems with the Yocto Project™
OPEN SOURCE SOFTWARE DEVELOPMENT SERIES Embedded Linux Systems with the Yocto Project" FREE SAMPLE CHAPTER SHARE WITH OTHERS �f, � � � � Embedded Linux Systems with the Yocto ProjectTM This page intentionally left blank Embedded Linux Systems with the Yocto ProjectTM Rudolf J. Streif Boston • Columbus • Indianapolis • New York • San Francisco • Amsterdam • Cape Town Dubai • London • Madrid • Milan • Munich • Paris • Montreal • Toronto • Delhi • Mexico City São Paulo • Sidney • Hong Kong • Seoul • Singapore • Taipei • Tokyo Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales depart- ment at [email protected] or (800) 382-3419. For government sales inquiries, please contact [email protected]. For questions about sales outside the U.S., please contact [email protected]. Visit us on the Web: informit.com Cataloging-in-Publication Data is on file with the Library of Congress. -
Introduction to the Yocto Project / Openembedded-Core
Embedded Recipes Conference - 2017 Introduction to the Yocto Project / OpenEmbedded-core Mylène Josserand Bootlin [email protected] embedded Linux and kernel engineering - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 1/1 Mylène Josserand I Embedded Linux engineer at Bootlin since 2016 I Embedded Linux expertise I Development, consulting and training around the Yocto Project I One of the authors of Bootlin’ Yocto Project / OpenEmbedded training materials. I Kernel contributor: audio driver, touchscreen, RTC and more to come! embedded Linux and kernel engineering - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 2/1 I Understand why we should use a build system I How the Yocto Project / OpenEmbedded core are structured I How we can use it I How we can update it to fit our needs I Give some good practices to start using the Yocto Project correctly I Allows to customize many things: it is easy to do things the wrong way I When you see a X, it means it is a good practice! Introduction I In this talk, we will: - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 3/1 I How the Yocto Project / OpenEmbedded core are structured I How we can use it I How we can update it to fit our needs I Give some good practices to start using the Yocto Project correctly I Allows to customize many things: it is easy to do things the wrong way I When you see a X, it means it is a good practice! -
Mobile Linux Mojo the XYZ of Mobile Tlas PDQ!
Mobile Linux Mojo The XYZ of Mobile TLAs PDQ! Bill Weinberg January 29, 2009 Copyright © 2009 Bill Weinberg, LinuxPundit,com Alphabet Soup . Too many TLAs – Non-profits – Commercial Entities – Tool Kits – Standards . ORG Typology – Standards Bodies – Implementation Consortia – Hybrids MIPS and Open Source Copyright © 2008 Bill Weinberg, LinuxPundit,com Page: 2 The Big Four . Ahem, Now Three . OHA - Open Handset Alliance – Founded by Google, together with Sprint, TIM, Motorola, et al. – Performs/support development of Android platform . LiMo Foundation – Orig. Motorola, NEC, NTT, Panasonic, Samsung, Vodaphone – Goal of created shared, open middleware mobile OS . LiPS - Linux Phone Standards Forum – Founded by France Telecom/Orange, ACCESS et al. – Worked to create standards for Linux-based telephony m/w – Merged with LiMo Foundation in June 2008 . Moblin - Mobile Linux – Founded by Intel, (initially) targeting Intel Atom CPUs – Platform / distribution to support MIDs, Nettops, UMPC MIPS and Open Source Copyright © 2008 Bill Weinberg, LinuxPundit,com Page: 3 LiMo and Android . Android is a complete mobile stack LiMo is a platform for enabling that includes applications applications and services Android, as Free Software, should LiMo membership represents appeal to Tier II/III OEMs and Tier I OEMs, ISVs and operators ODMs, who lack resources LiMo aims to leave Android strives to be “room for differentiation” a stylish phone stack LiMo presents Linux-native APIs Android is based on Dalvik, a Java work-alike The LiMo SDK has/will have compliance test suites OHA has a “non Fragmentation” pledge MIPS and Open Source Copyright © 2008 Bill Weinberg, LinuxPundit,com Page: 4 And a whole lot more . -
Linux Foundation to Host Meego Workgroup
Linux Foundation To Host MeeGo Workgroup New Open Source Software Platform Backed by Intel and Nokia will Power the Next Generation of Computing Devices SAN FRANCISCO, February 15, 2010 – The Linux Foundation, the nonprofit organization dedicated to accelerating the growth of Linux, today announced it will host the MeeGo project, the open source software platform for the next generation of computing devices. MeeGo combines Intel’s Moblin™ and Nokia’s Maemo projects into one Linux-based platform. MeeGo, announced today in a joint release by Intel and Nokia, will be deployed across many computing device types - including pocketable mobile computers, netbooks, tablets, mediaphones, connected TVs and in-vehicle infotainment systems, and brings together the leaders in computing and mobile communications as the project’s backers. MeeGo is designed for cross-device, cross-architecture computing and is built from the ground up for a new class of powerful computing devices. The workgroup will be hosted by the Linux Foundation as a fully open source project, encouraging community contributions in line with the best practices of the open source development model. The Linux Foundation expects MeeGo to be adopted widely by device manufacturers, network operators, software vendors and developers across multiple device types and for many organizations and developers to participate in the workgroup. “With MeeGo, you have the world’s leader in computing – Intel – uniting with the world’s leader in communications – Nokia – in a true open source project hosted at the Linux Foundation,” said Jim Zemlin, executive director at the Linux Foundation. “MeeGo has been built from the ground up for rich, mobile devices and will deliver choice to consumers without lock-in. -
Mer: Core OS Mobile & Devices
Mer: Core OS mobile & devices Qt Developer Days - Silicon Valley 2012 Carl Symons Introduction Plasma Active chooses Mer Not just another Linux distribution Focus - device providers Where's Mer? SDKs - apps & platform Get Mer Resources Carl Symons Large company Mktg/BusDev Start-ups } Slightly geeky Grassroots LinuxFest organizer KDE News editor/promo KDE Plasma Active Mer upstream and downstream First LinuxCon September 2009 Portland Moblin is a hot topic Moblin 2.1 for phones introduced MeeGo Announced February 201 0 Moblin & Maemo merger Support for Intel Atom Desktop Summit August 11 , 2011 Berlin; Free Desktop meeting Developer orientation; ExoPCs MeeGo AppStore A real Linux OS LinuxCon - Vancouver August 1 8, 2011 Intel AppUp Developer orientation; ExoPCs MeeGo AppStore show real Linux OS; possibilities Intel AppUp Elements September 28, 2011 National developer conference Tizen announced (led by Intel and Samsung) MeeGo and Qt abandoned HTML5/CSS3 Maemo Reconstructed October 3, 2011 Mer announced The spirit of MeeGo lives on Plasma Active chooses Mer October 5, 2011 No viable alternative Lightweight Mer talent and community Performant Boot time - more than a minute to about 1 5 seconds on Atom tablet Not just another Linux MeeGo - large company dominated; closed governance Mer - Core OS only Packages Focus - Device Providers Complete world class platform for building commercial products Modern, clean Linux Easy to try; easy to port Systems, structures, processes, code to serve device providers Where's Mer? X86, ARM, MIPS NemoMobile -
How to Create a Partitioned Image with the Custom Wic Plugin?
How to create a partitioned image with the custom Wic plugin? Tips and tricks based on the bootimg-grub-tb plugin development Norbert Kamiński, 3mdeb Embedded Systems Consulting Yocto Project Virtual Summit Europe, October 29-30, 2020 Agenda • $ whoami • Wic – OpenEmbedded Image Creator • Preparing layer • WKS files • Wic Plug-in Interface • Overall information • PluginSource Methods • Wic Plug-in development • bootimg-grub-tb - custom Wic Plug-in 2 Yocto Project® | The Linux Foundation® $ whoami • Open-source contributor • meta-pcengines • meta-trenchboot • qubes-fwupd • Scope of interests • embedded Linux • virtualization and containerization • bootloaders Norbert Kamiński Embedded Systems Engineer at 3mdeb Embedded Systems Consulting • • 3 Yocto Project® | The Linux Foundation® Wic – OpenEmbedded Image Creator Yocto Project | The Linux Foundation What is the Wic? • Wic stands for OpenEmbedded Image Creator • It is used to a create partitioned image • Wic is loosely based on the Meego Image Creator framework (mic) • It is using build artifacts instead of installing packages and configurations 5 Yocto Project® | The Linux Foundation® Prepare your layer • Go to your meta layer • Add wic to the IMAGE_FSTYPE variable in your local configuration IMAGE_FSTYPES += "wic" • Use the existing wic kickstart file or create specific one for your purposes 6 Yocto Project® | The Linux Foundation® Default partition layouts • At the start source poky/oe-init-build-env • List the available wic kickstart configurations $ wic list images mpc8315e-rdb Create -
& Qt What Meego Could Have Been
& Qt What MeeGo could have been David Greaves / lbt merproject.org Qt Developer Days 2012 We're proud of what we've achieved ! … what are we talking about? Making things TVs Cars Mobile Tablets Control/Embedded ... origins : ● Maemo reconstructed '09 ● We drank the MeeGo coolaid – and still do ! ● MeeGo needed to evolve ... but died ● Mer was reborn … vendor focus ... is : ● A core for mobile and smaller devices ● Aimed at device vendors ● Qt / QML ● Quality oriented ● Optimised for speed and size ● Ready to productise ... is not : ● A 'user experience' – no UI ● A 'hardware adaptation' – no kernel, GLES drivers ● Everything including the kitchen sink – <shock>Mer doesn't have Emacs</shock> ... delivers : ● Mobile / Nemo, Tablet / Plasma Active & Vivaldi, TV / TVOS (China), Healthcare / Lincor, IVI / Nomovok... ● X86 (not just Atom), ARM, MIPS ● N950/N900/N9 / Spark / STB / ExoPC / RasPi / Panda-beagleboards / Joggler / ... ... will let you : ● Operate efficiently ● Deliver quickly ● Use closed code ● Innovate ... will achieve this by : ● Customer focus ● Pragmatic ● Operating entirely in the open ● Being meritocratic ● Inclusive ... because code is not enough ... provides : ● Code – of course ● Systems – for build, QA, collaboration ● Best practices ● Documentation and support ... contains : ● Build & development ● Base ● Security ● Session ● Hardware ● Connectivity ● Audio Qt ● Graphical ● X11 / Wayland ● Libraries (inc perl + python libs) ... systems : ● OBS ● Upstream patches ● Integration with sb2 ● BOSS ● Business process automation by Ruote ● Scratchbox2 ● Next generation cross-building ... systems : ● IMG / mic ● Automated image builds ● Bugzilla ● Or <insert your choice here> ● Gerrit ● Or <insert your choice here> ● Futures.... ● Package DB for license tracking and libhybris Mer SDK Mer SDK Qt Creator with Mer plugins + Mer VM with Platform SDK = Mer SDK SDK roadmap .. -
Yocto-Slides.Pdf
Yocto Project and OpenEmbedded Training Yocto Project and OpenEmbedded Training © Copyright 2004-2021, Bootlin. Creative Commons BY-SA 3.0 license. Latest update: October 6, 2021. Document updates and sources: https://bootlin.com/doc/training/yocto Corrections, suggestions, contributions and translations are welcome! embedded Linux and kernel engineering Send them to [email protected] - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 1/296 Rights to copy © Copyright 2004-2021, Bootlin License: Creative Commons Attribution - Share Alike 3.0 https://creativecommons.org/licenses/by-sa/3.0/legalcode You are free: I to copy, distribute, display, and perform the work I to make derivative works I to make commercial use of the work Under the following conditions: I Attribution. You must give the original author credit. I Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one. I For any reuse or distribution, you must make clear to others the license terms of this work. I Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. Document sources: https://github.com/bootlin/training-materials/ - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 2/296 Hyperlinks in the document There are many hyperlinks in the document I Regular hyperlinks: https://kernel.org/ I Kernel documentation links: dev-tools/kasan I Links to kernel source files and directories: drivers/input/ include/linux/fb.h I Links to the declarations, definitions and instances of kernel symbols (functions, types, data, structures): platform_get_irq() GFP_KERNEL struct file_operations - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 3/296 Company at a glance I Engineering company created in 2004, named ”Free Electrons” until Feb. -
Porting Tizen to Popular Reference Phone
Porting Tizen to Popular Reference Phone Pengcheng Zou SVP of Thundersoft the TOP Project Tizen Open Porting The Most Open and Powerful Mobile OS on the Most Popular Reference Design 2 10 FREE Tizen QRD Devices, Just Ask or Contribute Ask Questions Contribute to The TOP Project 3 A Little Bit of History • 2005: Maemo (Nokia) • 2006: Midinux (RedFlag) • 2007: Moblin (Intel) • 2008: Thundersoft Founded, the leading Mobile OS Provider • 2010: MeeGo (Nokia, Intel, other major hardware & software companies) • 2010: Bada (Samsung : for less Android dependance) • 2011: MeeGo abandoned by Nokia (for Windows Phone) • 2011: MeeGo abandoned by Intel, and then by its other supporters • 2011: LiMo 4 (LiMo Foundation - Samsung collaboration with the EFL project • (Carsten Haitzler = Rasterman) • 2011: Intel joins LiMo, which is renamed Tizen • 2012: LiMo Foundation is renamed Tizen Association • 2012: Samsung has aim to merge Bada with Tizen 2007 2008 2009 2010 2011 2012 2013 2014 MID Midinux Team, 1997 @ Beijing IDF 4 What’s QRD? “Qualcomm Reference Design (QRD) combines technology innovation, optimized design, hardware/software ecosystem, factory/development tools and altogether, and provides the turn- key solution for device vendor to release product in a more cost effective, broader and faster way.” Nokia X Xiaomi Coolpad Lenovo Note 5951 Yoga Tablet 10 TCL Lenovo Hisense Little Cilly M812 A380t U958 LA3 5 Why Tizen on QRD? • The pleasure of hacking • We have ported Ubuntu and FirefoxOS on QRD • The most open and powerful operating system on the -
User Manual Indicates the User Manual Should Be Referenced for Operating Instructions
SGXTM 5150, SGXTM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide Part Number 900-776-R Revision G August 2019 Intellectual Property © 2019 Lantronix, Inc. All rights reserved. No part of the contents of this publication may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. Lantronix and MACH10 are a registered trademarks of Lantronix, Inc. in the United States and other countries. DeviceInstaller is a trademark of Lantronix, Inc. Patented: http://patents.lantronix.com; additional patents pending. Wi-Fi is a registered trademark of the Wi-Fi Alliance Corporation. Windows and Internet Explorer are registered trademarks of Microsoft Corporation. Mozilla and Firefox are registered trademarks of the Mozilla Foundation. Chrome is a trademark of Google Inc. Safari is a registered trademark of Apple Inc. All other trademarks and trade names are the property of their respective holders. Warranty For details on the Lantronix warranty policy, please go to our web site at www.lantronix.com/support/warranty. Contacts Lantronix, Inc. 7535 Irvine Center Drive Suite 100 Irvine, CA 92618, USA Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-453-3995 Technical Support Online: www.lantronix.com/support Sales Offices For a current list of our domestic and international sales offices, go to the Lantronix web site at www.lantronix.com/about/contact. Open Source Software Some applications are Open Source software licensed under the Berkeley Software Distribution (BSD) license, the GNU General Public License (GPL) as published by the Free Software Foundation (FSF), and the Python Software Foundation (PSF) License Agreement for Python 2.7.6 (Python License). -
The Meego Multimedia Stack
The MeeGo Multimedia Stack Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe The MeeGo Multimedia Stack MeeGo Intro Architecture Development GStreamer Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Quick MeeGo Intro ● MeeGo = Moblin + Maemo ● Linux distribution for CE devices ● Netbook, Phone (Handset), Connected TV, In-Vehicle ● http://meego.com ● Linux Foundation hosted project Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Architecture http://meego.com/developers/meego-architecture Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Architecture - Multimedia ● Kernel ● V4l2, Alsa ● Middleware ● GStreamer, Pulseaudio, GUPnP ● API ● Qt, Qt Mobility Multimedia, Qt GStreamer Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Development ● Hardware Adaptation ● Core OS Platform ● Applications Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Development – HW Adaptation ● Linux Kernel ● Drivers ● user space libraries (alsa, v4l2) ● Middleware plugins ● GStreamer plugins (Codecs, Camera, Video) Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Development - Platform ● libraries from the Linux eco system ● GStreamer, GUPnP, PulseAudio, Xiph codecs, … Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe Development - Applications ● QT interfaces are the official one ● Lower level interfaces might have less stability guarantees Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe GStreamer – Use Cases ● Media Playback ● Voice and Video Call ● Camera Still and Video Capture ● Video Editing ● Media Transcoding ● Metadata Indexing and Thumbnailing Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe GStreamer - Framework Dr. -
[WEEKLY WIRELESS REPORT] Week Ending September 30, 2011
[WEEKLY WIRELESS REPORT] Week ending September 30, 2011 This Week’s Stories key rhetorical question: "Why not just evolve MeeGo?" The answer, he said, is that "the future belongs to HTML5-based applications, outside of a AT&T Mobility Suffers Huge relatively small percentage of apps ," and Intel Network Outage in Los Angeles believes its investment should shift in that direction. September 26, 2011 But, he added, "shifting to HTML5 doesn't just mean slapping a web runtime on an existing Linux, even AT&T Mobility subscribers in Los Angeles can now one aimed at mobile, as MeeGo has been." text and make calls again on their mobile devices after technicians repaired a widespread network outage that affected millions of people. Sousou said that emphasizing HTML5 means APIs need to evolve with platform technology and by market segment, which a new platform could more AT&T spokesperson Meredith Red said late yesterday easily provide. that a hardware failure led to network issues with about 900 cellular towers across LA. Tizen will reside within the Linux Foundation, be governed by a Technical Steering Group, will be The service problems began at about 3.00 P.M. developed openly, and will support tablets, notebooks, Saturday and contributed to an evening of missed, handsets, smart TVs, and in-vehicle infotainment dropped and failed calls. Service was fully restored systems. early Sunday morning, local time. On the new Tizen.org website, a welcoming Red says it's unclear how many wireless subscribers statement said that Tizen APIs will cover various were affected, but conservative estimates are in the platform capabilities, including messaging, multimedia, millions.